:root {
  color-scheme: light;
  --ink: #10212b;
  --muted: #5f7079;
  --line: #dce6e8;
  --paper: #f7faf9;
  --white: #ffffff;
  --blue: #1677ff;
  --cyan: #11b6c9;
  --green: #17a673;
  --coral: #ef765c;
  --amber: #f2b441;
  --shadow: 0 18px 55px rgba(30, 60, 70, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 33, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 43, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.counter-pixel { position: absolute; left: -9999px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(16, 33, 43, 0.08);
  background: rgba(247, 250, 249, 0.88);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 20px; font-weight: 600; }
.brand img { border-radius: 8px; box-shadow: 0 8px 22px rgba(22, 119, 255, 0.22); }
.brand strong { color: var(--blue); font-weight: 800; }
.site-header nav { display: flex; align-items: center; gap: 30px; color: #40515a; font-weight: 600; }
.site-header nav a { transition: color 180ms ease, transform 180ms ease; }
.site-header nav a:hover { color: var(--blue); transform: translateY(-1px); }
.header-actions { display: flex; justify-content: flex-end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: 0.58; transform: none; }
.button-quiet { border-color: var(--line); background: rgba(255, 255, 255, 0.72); }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 30px rgba(16, 33, 43, 0.18); }
.button-primary:hover { background: #17323f; box-shadow: 0 16px 34px rgba(16, 33, 43, 0.22); }

main { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.search-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 54px;
  align-items: end;
  padding: 78px 0 44px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: var(--coral); }
.eyebrow.success { color: var(--green); }
.eyebrow.success > span { background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 830px; margin: 18px 0; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.02; letter-spacing: 0; }
.intro-copy > p { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.intro-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.intro-metrics div { min-height: 104px; padding: 18px; background: rgba(255, 255, 255, 0.9); }
.intro-metrics strong { display: block; margin-bottom: 8px; color: var(--blue); font-size: 23px; }
.intro-metrics span { display: block; color: var(--muted); font-size: 12px; }

.search-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.query-panel, .trust-panel { padding: clamp(26px, 4vw, 52px); }
.query-panel { border-right: 1px solid var(--line); }
.panel-heading, .panel-heading > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-heading h2, .trust-panel h2 { margin: 0; font-size: 24px; }
.step-number { color: var(--coral); font-size: 12px; font-weight: 800; }
.query-counter { padding: 6px 10px; border-radius: 99px; background: #eef5f5; color: var(--muted); font-size: 12px; font-weight: 700; }
.query-panel form { margin-top: 34px; }
.query-panel label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.query-panel textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 18px;
  border: 1px solid #cbd9dc;
  border-radius: 7px;
  outline: none;
  color: var(--ink);
  background: #fbfdfc;
  line-height: 1.55;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.query-panel textarea:focus { border-color: var(--cyan); background: white; box-shadow: 0 0 0 4px rgba(17, 182, 201, 0.11); }
.query-hint { display: flex; justify-content: space-between; gap: 20px; margin: 10px 0 14px; color: var(--muted); font-size: 12px; }
.query-hint button { padding: 0; border: 0; color: var(--blue); background: none; cursor: pointer; font-weight: 600; }
.query-chips { display: flex; flex-wrap: wrap; gap: 7px; min-height: 31px; }
.query-chip { max-width: 100%; overflow: hidden; padding: 5px 9px; border: 1px solid #d8e7e8; border-radius: 4px; color: #33505c; background: #f0f7f6; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.search-button { width: 100%; min-height: 58px; margin-top: 24px; font-size: 16px; }
.button-icon { position: relative; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.button-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; background: currentColor; content: ""; transform: rotate(45deg); }
.search-button.loading .button-icon { border-top-color: transparent; animation: spin 700ms linear infinite; }

.trust-panel { background: #f3f7f6; }
.trust-panel h2 { margin: 10px 0 32px; }
.trust-panel ol { display: grid; gap: 25px; margin: 0; padding: 0; list-style: none; }
.trust-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.trust-panel li > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #c7d8d9; border-radius: 50%; color: var(--blue); background: white; font-size: 12px; font-weight: 800; }
.trust-panel li strong { display: block; margin-bottom: 3px; }
.trust-panel li p { margin: 0; color: var(--muted); font-size: 13px; }
.privacy-note { display: flex; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #d8e3e3; }
.privacy-note > span { display: grid; flex: 0 0 27px; height: 27px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.privacy-note p { margin: 1px 0 0; color: #4b6068; font-size: 12px; }

.scan-panel { position: relative; overflow: hidden; margin-top: 24px; padding: 30px; color: #eafaf7; background: #0c1821; box-shadow: var(--shadow); }
.scan-head, .scan-head > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #36dd9a; box-shadow: 0 0 0 6px rgba(54, 221, 154, 0.12); animation: pulse 1.4s ease-in-out infinite; }
.scan-track { height: 4px; margin: 20px 0; overflow: hidden; background: #263942; }
.scan-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), #36dd9a, var(--amber)); transition: width 420ms ease; }
.scan-console { position: relative; min-height: 112px; overflow: hidden; padding: 20px; border: 1px solid #263943; color: #95b2bc; background: #101f28; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.scan-console p { margin: 0 0 8px; }
.scan-beam { position: absolute; inset: -40% 0 auto; height: 45%; background: linear-gradient(180deg, transparent, rgba(17, 182, 201, 0.14), transparent); animation: scan 2.3s linear infinite; }

.results-section { margin-top: 24px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.results-heading h2 { margin: 11px 0 7px; font-size: 30px; }
.results-heading p { margin: 0; color: var(--muted); }
.result-total { min-width: 190px; text-align: right; }
.result-total span { display: block; color: var(--muted); font-size: 11px; }
.result-total strong { display: block; color: var(--blue); font-size: 42px; line-height: 1.05; }
.preview-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0; }
.preview-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 76px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fbfdfc; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.preview-item:hover { border-color: #a9c7cb; transform: translateY(-2px); box-shadow: 0 9px 25px rgba(30, 60, 70, 0.08); }
.preview-item strong { display: block; overflow: hidden; margin-bottom: 3px; text-overflow: ellipsis; white-space: nowrap; }
.preview-item-masked { max-width: 190px; overflow: hidden; color: #617285; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.empty-result { margin: 26px 0 0; padding: 30px; border-left: 4px solid var(--amber); background: #fff9ed; }
.empty-result p { margin: 5px 0 0; color: var(--muted); }
.checkout-panel, .download-panel { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 24px 26px; border: 1px solid #cbdad9; background: #f2f8f6; }
.checkout-panel > div > span { display: block; color: var(--muted); font-size: 12px; }
.checkout-panel strong { display: block; margin: 2px 0; font-size: 30px; }
.checkout-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.button-pay { min-width: 320px; min-height: 58px; color: white; background: var(--green); box-shadow: 0 13px 30px rgba(23, 166, 115, 0.2); }
.button-pay:hover { background: #12865d; }
.button-pay i { font-size: 21px; font-style: normal; }
.download-panel > div:first-child { display: flex; align-items: center; gap: 14px; }
.download-panel p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.download-check { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 20px; font-weight: 800; }
.download-actions { display: flex; gap: 8px; }
.download-actions button { min-height: 42px; padding: 0 18px; border: 1px solid #bfd3d2; border-radius: 5px; color: var(--ink); background: white; cursor: pointer; font-weight: 700; }
.locked-download-panel { position: relative; min-height: 82px; margin-top: 10px; overflow: hidden; border: 1px solid #d7e1e0; background: #f7faf9; }
.locked-download-files { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 24px; filter: blur(2.5px); opacity: 0.5; user-select: none; }
.locked-download-files button { min-width: 104px; min-height: 42px; border: 1px solid #c7d6d5; border-radius: 5px; color: #6d7e83; background: white; }
.locked-download-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; color: #2a4148; background: rgba(247, 250, 249, 0.52); backdrop-filter: blur(2px); text-align: center; }
.locked-download-overlay span { font-size: 18px; }
.scan-panel.complete .scan-track span { background: var(--green); }
.scan-panel.complete .live-dot { background: var(--green); box-shadow: 0 0 0 6px rgba(23, 166, 115, 0.14); }

.how-it-works { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 50px; padding: 80px 0; }
.how-it-works h2 { margin-top: 13px; font-size: 34px; line-height: 1.1; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: white; }
.process-grid article { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); }
.process-grid article:last-child { border-right: 0; }
.process-grid article > span { color: var(--coral); font-size: 12px; font-weight: 800; }
.process-grid h3 { margin: 32px 0 8px; font-size: 18px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 4vw; border-top: 1px solid var(--line); background: white; }
.brand.compact { font-size: 17px; }
footer > div { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }

.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(390px, calc(100% - 32px)); padding: 14px 18px; border-radius: 6px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes scan { from { transform: translateY(-20%); } to { transform: translateY(430%); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .search-intro, .search-workspace, .how-it-works { grid-template-columns: 1fr; }
  .search-intro { gap: 30px; padding-top: 54px; }
  .query-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; }
  .process-grid h3 { margin-top: 18px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 66px; padding: 0 16px; }
  .brand { font-size: 17px; }
  .brand img { width: 36px; height: 36px; }
  .button-quiet { min-height: 40px; padding: 0 12px; font-size: 12px; }
  main { width: min(100% - 24px, 1320px); }
  h1 { font-size: 39px; }
  .intro-copy > p { font-size: 16px; }
  .intro-metrics { grid-template-columns: 1fr; }
  .intro-metrics div { min-height: 0; }
  .search-workspace { display: block; }
  .query-panel, .trust-panel, .results-section { padding: 22px; }
  .panel-heading h2, .trust-panel h2 { font-size: 21px; }
  .preview-list { grid-template-columns: 1fr; }
  .preview-item { grid-template-columns: 36px minmax(0, 1fr); }
  .preview-item-masked { grid-column: 2; max-width: 100%; }
  .results-heading, .checkout-panel, .download-panel { align-items: stretch; flex-direction: column; }
  .result-total { text-align: left; }
  .button-pay { min-width: 0; width: 100%; }
  .download-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
  .download-actions button { padding: 0 10px; }
  .locked-download-files { justify-content: center; padding-inline: 12px; }
  .locked-download-files button { min-width: 0; flex: 1; }
  .how-it-works { gap: 20px; padding: 56px 0; }
  footer { align-items: flex-start; flex-direction: column; padding: 26px 20px; }
  footer > div { flex-wrap: wrap; gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

html.public-menu-locked {
  overflow: hidden;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .public-search-page .public-header-v2.is-scrolled,
  .public-search-page .public-nav-v2 {
    background: rgba(255, 255, 255, 0.96);
  }
}

/* Premium search experience: 2026-07-18 */
:root {
  --ink: #121b31;
  --muted: #637087;
  --line: #dce5f0;
  --paper: #f4f7fb;
  --blue: #1f73f1;
  --green: #1aa374;
  --shadow: 0 24px 64px rgba(24, 49, 89, 0.09);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(circle at 8% 8%, rgba(31, 115, 241, 0.08), transparent 26%),
    radial-gradient(circle at 92% 16%, rgba(26, 163, 116, 0.055), transparent 24%),
    var(--paper);
  background-size: auto;
}

.site-header {
  min-height: 78px;
  border-bottom-color: rgba(21, 42, 78, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(25, 48, 87, 0.035);
}

.site-header nav {
  gap: 34px;
}

.button {
  border-radius: 8px;
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(31, 115, 241, 0.2);
}

.button-primary:hover {
  background: #0d62de;
  box-shadow: 0 18px 36px rgba(31, 115, 241, 0.25);
}

main {
  flex: 1 0 auto;
  width: min(1180px, calc(100% - 40px));
}

.search-intro {
  display: block;
  padding: clamp(70px, 9vw, 118px) 0 42px;
}

.intro-copy {
  max-width: 920px;
}

h1 {
  max-width: 900px;
  margin: 0 0 22px;
  color: #111b31;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
}

.intro-copy > p {
  max-width: 730px;
  color: #5f6d84;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.search-workspace {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-color: rgba(183, 201, 224, 0.7);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-workspace .query-panel {
  border-right: 0;
}

.query-panel,
.trust-panel {
  padding: clamp(30px, 4vw, 52px);
}

.panel-heading h2,
.trust-panel h2 {
  font-size: 26px;
}

.query-counter {
  padding: 7px 12px;
  color: #49607f;
  background: #edf4fd;
}

.query-panel form {
  margin-top: 30px;
}

.query-panel textarea {
  min-height: 166px;
  padding: 18px 20px;
  border-color: #cbd8e8;
  border-radius: 8px;
  background: #fbfdff;
}

.query-panel textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 115, 241, 0.1);
}

.query-chip {
  border-color: #d7e3f2;
  color: #365274;
  background: #f1f6fc;
}

.search-button {
  min-height: 62px;
  margin-top: 20px;
}

.trust-panel {
  border-left: 1px solid #e2eaf4;
  background: linear-gradient(180deg, #f7faff 0%, #f0f5fb 100%);
}

.trust-panel h2 {
  margin: 0 0 10px;
}

.trust-lead {
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid #dbe5f1;
  list-style: none;
}

.trust-list li {
  display: grid;
  gap: 5px;
  padding: 22px 0;
  border-bottom: 1px solid #dbe5f1;
}

.trust-list strong {
  color: #17243e;
  font-size: 16px;
}

.trust-list span {
  color: #66758d;
  font-size: 13px;
  line-height: 1.5;
}

.scan-panel {
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid #d8e4f2;
  border-radius: 10px;
  color: #16233e;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 49, 89, 0.07);
}

.live-dot {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(31, 115, 241, 0.1);
}

.scan-track {
  margin: 18px 0 0;
  border-radius: 99px;
  background: #e8eef6;
}

.scan-track span {
  border-radius: inherit;
  background: linear-gradient(90deg, #1f73f1, #20a4ed, #1aa374);
}

.scan-console {
  display: none;
}

.results-section {
  border-color: rgba(183, 201, 224, 0.7);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.search-workspace[hidden],
.scan-panel[hidden],
.results-section[hidden],
.result-email[hidden] {
  display: none !important;
}

.preview-item {
  display: block;
  min-height: 0;
  padding: 15px 17px;
  border-color: #dde6f1;
  border-radius: 8px;
  background: #fbfdff;
}

.preview-item > div {
  min-width: 0;
}

.preview-item strong {
  margin: 0 0 7px;
  color: #15213a;
  font-size: 14px;
  line-height: 1.35;
}

.preview-item-masked {
  display: block;
  max-width: 100%;
  color: #63738b;
}

.preview-lock-shell {
  position: relative;
  min-height: 180px;
  margin: 26px 0;
  overflow: hidden;
  border-radius: 10px;
}

.preview-lock-shell[hidden],
.preview-lock-overlay[hidden] {
  display: none !important;
}

.preview-lock-shell .preview-list {
  margin: 0;
  transition: filter 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-lock-shell.is-locked .preview-list {
  filter: blur(9px);
  opacity: 0.46;
  pointer-events: none;
  user-select: none;
}

.preview-lock-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 20px;
  color: #17384f;
  background: rgba(235, 246, 250, 0.74);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  text-align: center;
}

.preview-lock-overlay strong {
  font-size: clamp(16px, 2vw, 20px);
}

.result-email {
  margin: 30px 0 10px;
  padding: 22px 24px;
  border: 1px solid #d9e4f0;
  border-radius: 9px;
  background: #f8fbff;
}

.result-email label {
  display: block;
  margin-bottom: 10px;
  color: #1a2842;
  font-size: 13px;
  font-weight: 700;
}

.result-email input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #cbd8e8;
  border-radius: 7px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.result-email input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 115, 241, 0.1);
}

.result-email-error {
  margin: 8px 2px 0;
  color: #c92f3d;
  font-size: 13px;
  font-weight: 650;
}

.result-email-error[hidden] {
  display: none !important;
}

.result-email input[aria-invalid="true"] {
  border-color: #d64350;
  box-shadow: 0 0 0 4px rgba(214, 67, 80, 0.09);
}

.checkout-panel,
.download-panel {
  border-color: #d5e6df;
  border-radius: 9px;
  background: #f3faf7;
}

.checkout-panel > div {
  display: grid;
  align-items: start;
  gap: 6px;
}

.checkout-panel strong {
  margin: 0;
}

.checkout-panel p {
  min-width: 0;
  color: #3b5560;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.button-pay {
  border-radius: 8px;
}

.back-to-search {
  display: block;
  margin: 18px auto 0;
  padding: 9px 4px;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.back-to-search:hover {
  text-decoration: underline;
}

footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #111a2c;
}

footer,
footer a {
  color: #d8dfeb;
}

@media (max-width: 980px) {
  .search-workspace {
    grid-template-columns: 1fr;
  }

  .trust-panel {
    border-top: 1px solid #e2eaf4;
    border-left: 0;
  }

  .trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border-top: 0;
  }

  .trust-list li {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 680px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .search-intro {
    padding: 52px 0 30px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .query-panel,
  .trust-panel,
  .results-section {
    padding: 22px;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid #dbe5f1;
  }

  .trust-list li {
    padding: 18px 0;
    border-bottom: 1px solid #dbe5f1;
  }

  .scan-panel {
    padding: 20px;
  }

  .preview-item {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 14px;
  }

  .preview-list {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .preview-item > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .preview-item-masked {
    grid-column: auto;
  }

  .result-email {
    padding: 18px;
  }

  .checkout-panel > div {
    justify-content: space-between;
    width: 100%;
  }
}

/* Shared public navigation and search experience v2 ---------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(130, 75, 255, 0.1), transparent 26%),
    radial-gradient(circle at 96% 6%, rgba(37, 135, 255, 0.12), transparent 30%),
    #f4f7fc;
}

.public-header-v2 {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 0 clamp(24px, 5vw, 88px);
  border-bottom: 1px solid rgba(29, 48, 89, 0.08);
  background: rgba(249, 251, 255, 0.78);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: min-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.public-header-v2.is-scrolled,
.public-header-v2.menu-open {
  min-height: 70px;
  background: rgba(249, 251, 255, 0.94);
  box-shadow: 0 14px 40px rgba(21, 41, 83, 0.08);
}

.brand-v2 {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
}

.brand-v2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(73, 89, 238, 0.22));
}

.public-nav-v2 {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
}

.public-nav-v2 a,
.telegram-support-v2 {
  color: #394760;
  font-size: 14px;
  font-weight: 650;
}

.public-nav-v2 a {
  position: relative;
}

.public-nav-v2 a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #8e4dff, #2587ff);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.public-nav-v2 a:hover,
.public-nav-v2 a[aria-current="page"] {
  color: #121a31;
}

.public-nav-v2 a:hover::after,
.public-nav-v2 a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.telegram-support-v2 {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d7e1f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.telegram-support-v2:hover {
  color: #176cec;
  border-color: #a9c8f7;
  transform: translateY(-2px);
}

.telegram-support-v2 svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.public-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d7e1f1;
  border-radius: 50%;
  color: #18223b;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.public-menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  border-radius: 4px;
  background: currentColor;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.public-header-v2.menu-open .public-menu-toggle span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.public-header-v2.menu-open .public-menu-toggle span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

main {
  width: min(1080px, calc(100% - 40px));
  padding-bottom: clamp(90px, 10vw, 138px);
}

.search-experience-standalone .search-intro {
  padding: clamp(74px, 9vw, 112px) 0 42px;
  text-align: center;
}

.search-experience-standalone h1 {
  max-width: 860px;
  margin: 0 auto;
  color: #11182f;
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 680;
  line-height: 1;
  text-wrap: balance;
}

.search-workspace {
  overflow: hidden;
  border: 1px solid rgba(171, 192, 226, 0.66);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 95px rgba(25, 48, 91, 0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.query-panel {
  padding: clamp(28px, 5vw, 58px);
}

.panel-heading h2 {
  color: #11182f;
  font-size: clamp(25px, 3vw, 34px);
}

.query-panel textarea {
  border-radius: 14px;
}

.query-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 13px;
}

.query-example {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  color: #4a5f7e;
  background: #f7faff;
  cursor: pointer;
  font-size: 12px;
}

.query-example:hover {
  color: #145fcf;
  border-color: #adccf7;
  background: #eef6ff;
}

.scan-panel,
.results-section {
  border-radius: 20px;
}

.search-toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  padding: 14px 18px;
  border-radius: 10px;
  color: #fff;
  background: rgba(12, 20, 45, 0.94);
  box-shadow: 0 20px 55px rgba(16, 32, 66, 0.25);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-toast.visible {
  opacity: 1;
  transform: none;
}

footer {
  min-height: 104px;
  padding-right: clamp(24px, 5vw, 88px);
  padding-left: clamp(24px, 5vw, 88px);
}

.footer-brand-v2 {
  width: 38px;
  height: 38px;
}

@media (max-width: 820px) {
  .public-header-v2 {
    grid-template-columns: 46px minmax(0, 1fr) 44px;
    min-height: 70px;
    padding: 0 16px;
  }

  .brand-v2 {
    width: 42px;
    height: 42px;
  }

  .public-menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .telegram-support-v2 {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-right: 8px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .public-nav-v2 {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid #d8e2f1;
    border-radius: 18px;
    background: rgba(250, 252, 255, 0.97);
    box-shadow: 0 24px 62px rgba(21, 42, 83, 0.18);
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
  }

  .public-header-v2.menu-open .public-nav-v2 {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .public-nav-v2 a {
    min-height: 50px;
    padding: 0 14px;
    border-radius: 10px;
    line-height: 50px;
  }

  .public-nav-v2 a:hover,
  .public-nav-v2 a[aria-current="page"] {
    background: #eef4fc;
  }

  .public-nav-v2 a::after {
    display: none;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1080px);
  }

  .search-experience-standalone .search-intro {
    padding: 58px 0 30px;
  }

  .search-experience-standalone h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .query-panel,
  .results-section {
    padding: 22px;
  }

  .query-examples {
    flex-wrap: nowrap;
    margin-right: -22px;
    padding-right: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .query-example {
    flex: 0 0 auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer > div {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}
