/* ==========================================================
   auctionsheet.com.bd — site styles
   ========================================================== */
:root {
  --ink: #0E1B2C;
  --ink-2: #1B2B40;
  --paper: #F7F5F0;
  --paper-2: #EFECE4;
  --surface: #FFFFFF;
  --line: #E3DED3;
  --line-strong: #CFC8B9;
  --muted: #5D6572;
  --faint: #8A909A;
  --accent: #E0452B;
  --accent-ink: #B8321C;
  --accent-soft: #FCE9E4;
  --ok: #1E8757;
  --ok-soft: #E3F4EB;
  --warn: #A86A00;
  --warn-soft: #FDF3DC;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 8px 24px -8px rgba(14, 27, 44, .12);
  --shadow-lg: 0 2px 4px rgba(14, 27, 44, .05), 0 24px 60px -20px rgba(14, 27, 44, .28);
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.35em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(14, 27, 44, .45); }
.btn:active { transform: translateY(0); }
.btn-accent { --bg: var(--accent); }
.btn-accent:hover { --bg: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(224, 69, 43, .6); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1em 1.6em; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .5em .85em; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2);
}
.nav-links a:hover, .nav-links a.active { background: var(--paper-2); }
.nav-cta { margin-left: 8px; }
.nav-links a.btn { background: var(--accent); color: #fff; padding: .75em 1.15em; }
.nav-links a.btn:hover { background: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85em 1em; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .brand img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .4em .9em .4em .5em; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-bottom: 22px;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }

.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); padding: 8px; border-radius: 999px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  max-width: 560px;
}
.search-box:focus-within { box-shadow: var(--shadow-lg), inset 0 0 0 2px var(--ink); }
.search-box .icon { width: 22px; height: 22px; color: var(--faint); margin-left: 14px; flex: none; }
.search-box input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 1.1rem/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); padding: 14px 4px;
}
.search-box input::placeholder { color: var(--faint); text-transform: none; font-family: var(--font-body); letter-spacing: 0; font-weight: 400; }
.search-hint { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.search-hint button {
  font: inherit; font-family: var(--font-mono); font-size: .85rem; background: var(--paper-2);
  border: 0; border-radius: 6px; padding: .15em .5em; cursor: pointer; color: var(--ink);
}
.search-hint button:hover { background: var(--line); }
@media (max-width: 560px) {
  .search-box { flex-direction: column; border-radius: 20px; align-items: stretch; padding: 10px; }
  .search-box .icon { display: none; }
  .search-box input { padding: 12px 10px; text-align: center; }
  .search-box .btn { width: 100%; }
}

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .92rem; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: .5em; }
.trust-row svg { width: 18px; height: 18px; color: var(--ok); }

/* Specimen sheet */
.specimen-wrap { position: relative; padding: 10px; }
.specimen {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  padding: 22px; transform: rotate(1.6deg);
}
.specimen-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.specimen-head small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.specimen-head strong { font-family: var(--font-mono); font-size: 1.02rem; }
.specimen-body { display: grid; grid-template-columns: 1fr 130px; gap: 18px; padding-top: 16px; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: .88rem; margin: 0; }
.spec-list dt { color: var(--faint); }
.spec-list dd { margin: 0; font-weight: 600; font-family: var(--font-mono); font-size: .84rem; }
.car-map { width: 100%; height: auto; color: var(--ink); }
.stamp {
  position: absolute; right: -14px; top: -22px;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  color: var(--accent); border: 3px solid var(--accent);
  background: rgba(255, 255, 255, .85);
  transform: rotate(-14deg);
  font-family: var(--font-display); line-height: 1;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.9), inset 0 0 0 6.5px var(--accent);
}
.stamp b { display: block; font-size: 2.3rem; letter-spacing: -.04em; }
.stamp small { display: block; font-size: .6rem; letter-spacing: .18em; font-weight: 700; margin-top: 2px; }
.specimen-foot { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.specimen-foot div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.specimen-foot small { display: block; font-size: .7rem; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.specimen-foot strong { font-family: var(--font-mono); font-size: .92rem; }
.float-chip {
  position: absolute; left: -18px; bottom: -22px; transform: rotate(-3deg);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .88rem;
}
.float-chip .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.float-chip svg { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .specimen-wrap { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .specimen { transform: none; padding: 16px; }
  .specimen-body { grid-template-columns: 1fr; }
  .car-map { max-width: 150px; margin: 0 auto; }
  .stamp { width: 84px; height: 84px; right: -6px; top: -26px; }
  .stamp b { font-size: 1.8rem; }
  .float-chip { left: 0; bottom: -16px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--ink); color: #E8ECF2; }
.section-dark .muted { color: #9AA6B6; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
@media (max-width: 720px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: 30px 26px 28px; box-shadow: inset 0 0 0 1px var(--line);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: .85rem; color: var(--faint);
  position: absolute; top: 26px; right: 26px;
}
.step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; margin-bottom: 22px; color: var(--ink); }
.step-icon svg { width: 26px; height: 26px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--ink); padding: 30px 26px; }
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.feature h3 { color: #fff; }
.feature p { margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Report contents */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }

.grade-table { background: var(--surface); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.grade-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; border-top: 1px solid var(--line); }
.grade-row:first-child { border-top: 0; }
.grade-row b { font-family: var(--font-display); font-size: 1.35rem; text-align: center; padding: 14px 0; border-right: 1px solid var(--line); }
.grade-row span { padding: 12px 18px; font-size: .94rem; color: var(--muted); }
.grade-row.hl b { color: var(--accent); }

/* Pricing band */
.price-band {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: var(--surface); border-radius: 28px; padding: 48px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.price-tag { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price-tag small { font-size: 1.1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 800px) { .price-band { grid-template-columns: 1fr; padding: 30px 22px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0; }
.crumbs { font-size: .88rem; color: var(--faint); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Cards & forms ---------- */
.card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; }
.card-lg { padding: 36px; }
@media (max-width: 560px) { .card, .card-lg { padding: 20px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--faint); }
.input, select.input, textarea.input {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  padding: 13px 14px; transition: border-color .15s ease, background .15s ease;
  appearance: none; -webkit-appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230E1B2C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
textarea.input { min-height: 150px; resize: vertical; }
.input:hover { background: var(--paper-2); }
.input:focus { outline: 0; background: var(--surface); border-color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; margin-bottom: 18px; align-items: flex-start; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert-error { background: var(--accent-soft); color: var(--accent-ink); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }

.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.secure-note svg { width: 16px; height: 16px; color: var(--ok); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.pay-methods span { font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: .35em .7em; border-radius: 6px; background: var(--paper); color: var(--ink-2); }

/* ---------- Search result ---------- */
.result-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding: 40px 0 96px; }
@media (max-width: 960px) { .result-layout { grid-template-columns: 1fr; } }
.result-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.badge { display: inline-flex; align-items: center; gap: .45em; font-size: .8rem; font-weight: 600; padding: .38em .8em; border-radius: 999px; }
.badge svg { width: 14px; height: 14px; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-red { background: var(--accent-soft); color: var(--accent-ink); }
.badge-ink { background: var(--ink); color: #fff; }
.vehicle-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 4px; }
.vehicle-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); margin: 18px 0 22px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spec { background: var(--paper); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.spec small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); margin-bottom: 2px; }
.spec strong { display: block; font-family: var(--font-mono); font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 520px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.locked { margin-top: 22px; border-radius: var(--radius); border: 1.5px dashed var(--line-strong); padding: 18px; }
.locked h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.locked h3 svg { width: 18px; height: 18px; color: var(--accent); }
.locked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.locked-grid .spec strong { filter: blur(5px); user-select: none; }
@media (max-width: 520px) { .locked-grid { grid-template-columns: repeat(2, 1fr); } }
.checkout { position: sticky; top: 92px; }
.checkout-price { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.checkout-price b { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.03em; }

.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 72px 0 96px; }
.empty-icon { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.empty-icon svg { width: 34px; height: 34px; color: var(--accent); }
.empty-state .search-box { margin: 28px auto 0; }

/* ---------- Report ---------- */
.report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 36px 0 26px; }
.report-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.report-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; padding-bottom: 96px; }
@media (max-width: 960px) { .report-grid { grid-template-columns: 1fr; } }
.score-card { text-align: center; padding: 30px 24px; }
.score-ring {
  width: 150px; height: 150px; margin: 6px auto 16px; border-radius: 50%;
  display: grid; place-items: center; color: var(--accent);
  border: 4px solid var(--accent);
  box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 9px var(--accent);
  transform: rotate(-8deg);
  font-family: var(--font-display);
}
.score-ring b { font-size: 3.4rem; letter-spacing: -.05em; line-height: 1; }
.score-ring small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .2em; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 11px 0; border-top: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
.data-table tr:first-child th, .data-table tr:first-child td { border-top: 0; }
.data-table th { color: var(--muted); font-weight: 500; width: 44%; padding-right: 12px; }
.data-table td { font-family: var(--font-mono); font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--paper-2); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery button:first-child { grid-column: 1 / -1; aspect-ratio: auto; min-height: 260px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery button:first-child img { object-fit: contain; background: #fff; max-height: 780px; }
.gallery button:hover img { transform: scale(1.02); }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.section-title h2 { font-size: 1.35rem; margin: 0; }
.verify-strip { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--ink); color: #D6DDE7; border-radius: var(--radius); font-size: .9rem; margin-top: 24px; }
.verify-strip svg { width: 22px; height: 22px; color: #6EE7A8; flex: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 24, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; background: #fff; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Prose (terms / about) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #384250; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 48px 0 96px; align-items: start; }
.toc-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.toc-nav a { text-decoration: none; padding: .55em .9em; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.toc-nav a:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 860px) {
  .toc-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--radius-lg); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 48px 0 96px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 0; padding-top: 4px; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; flex: none; }
.contact-item svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--faint); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-item a, .contact-item strong { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* Status pages */
.status-page { padding: 72px 0 110px; }
.status-card { max-width: 620px; margin: 0 auto; text-align: center; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; }
.status-icon svg { width: 40px; height: 40px; }
.status-icon.ok { background: var(--ok-soft); color: var(--ok); }
.status-icon.warn { background: var(--warn-soft); color: var(--warn); }
.status-icon.err { background: var(--accent-soft); color: var(--accent); }
.status-card .data-table { margin: 22px 0 28px; text-align: left; }
.status-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- CTA + Footer ---------- */
.cta { text-align: center; }
.cta h2 { color: #fff; max-width: 16em; margin-left: auto; margin-right: auto; }
.cta .search-box { margin: 30px auto 0; box-shadow: none; }

.site-footer { background: var(--ink); color: #9AA6B6; padding: 64px 0 30px; font-size: .94rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { max-width: 24em; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: #C8D0DB; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery img { transition: none; }
}

/* Print (report) */
@media print {
  body { background: #fff; font-size: 12px; }
  .site-header, .site-footer, .no-print, .lightbox { display: none !important; }
  .report-grid { grid-template-columns: 260px 1fr; gap: 16px; padding: 0; }
  .card { box-shadow: 0 0 0 1px #ddd; padding: 14px; break-inside: avoid; }
  .checkout { position: static; }
  .gallery button:first-child img { max-height: none; }
  .verify-strip { background: #fff; color: #000; box-shadow: 0 0 0 1px #ddd; }
  a { text-decoration: none; }
}

.status-card .search-box { margin: 26px auto 0; text-align: left; }
