/* ============================================================
   Unlisted — off-market real estate
   Design tokens + base styles
   ============================================================ */

:root {
  /* --- Color: warm paper + pine + clay accent (theme: estate) --- */
  --paper:        oklch(0.972 0.008 95);
  --paper-2:      oklch(0.945 0.012 92);   /* slightly deeper cream panel */
  --card:         oklch(0.995 0.004 95);
  --ink:          oklch(0.235 0.012 160);
  --ink-soft:     oklch(0.42 0.018 160);
  --muted:        oklch(0.56 0.015 150);
  --line:         oklch(0.885 0.012 95);
  --line-strong:  oklch(0.80 0.014 95);
  --primary:      oklch(0.46 0.062 158);   /* pine */
  --primary-deep: oklch(0.30 0.045 160);   /* dark section bg */
  --primary-ink:  oklch(0.92 0.02 150);    /* text on dark */
  --accent:       oklch(0.63 0.118 48);    /* clay / terracotta */
  --accent-soft:  oklch(0.93 0.035 60);

  /* --- Type --- */
  --display: "Newsreader", Georgia, serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* --- Geometry --- */
  --radius:   14px;
  --radius-sm: 9px;
  --maxw:     1180px;
  --gutter:   clamp(20px, 5vw, 64px);
  --shadow-sm: 0 1px 2px oklch(0.3 0.02 150 / 0.06), 0 2px 8px oklch(0.3 0.02 150 / 0.05);
  --shadow-md: 0 12px 40px oklch(0.3 0.03 150 / 0.10), 0 2px 8px oklch(0.3 0.02 150 / 0.06);
  --shadow-lg: 0 30px 80px oklch(0.28 0.04 155 / 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--primary);
  opacity: 0.5;
}
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); }
.section-head .lede { margin-top: 18px; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: oklch(1 0 0 / 0.5); }
.btn-accent { background: var(--accent); color: oklch(0.99 0.01 60); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.02); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: oklch(0.972 0.008 95 / 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); background: oklch(0.972 0.008 95 / 0.92); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 23px; letter-spacing: -0.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary);
  display: grid; place-items: center;
  position: relative;
  flex: none;
}
.brand .mark::before { /* keyhole / pin */
  content:""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 7px 0 -2px var(--paper);
}
.brand b { font-weight: 600; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero[data-layout="centered"] .hero-grid { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; text-align: center; }
.hero[data-layout="centered"] .hero-visual { display: none; }
.hero[data-layout="centered"] .hero-search { margin-inline: auto; }
.hero[data-layout="centered"] .trust-strip { justify-content: center; }
.hero[data-layout="centered"] .eyebrow { justify-content: center; }

.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero h1 em { color: var(--primary); font-style: italic; }
.hero .sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink-soft);
  max-width: 48ch;
  text-wrap: pretty;
}
.hero[data-layout="centered"] .hero .sub { margin-inline: auto; }

/* search field */
.hero-search {
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 8px 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  max-width: 540px;
  position: relative;
}
.hero-search .pin { color: var(--primary); flex: none; }
.hero-search input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--body); font-size: 16.5px; color: var(--ink);
  padding: 12px 4px; outline: none; min-width: 0;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search .btn { padding: 13px 22px; }

.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 20; display: none;
}
.search-suggest.open { display: block; }
.search-suggest button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 13px 18px; font-family: var(--body); font-size: 15px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.search-suggest button:last-child { border-bottom: 0; }
.search-suggest button:hover { background: var(--paper-2); }
.search-suggest .s-pin { color: var(--muted); flex:none; }
.search-suggest .s-meta { color: var(--muted); font-family: var(--mono); font-size: 12px; margin-left: auto; }

.trust-strip {
  margin-top: 30px;
  display: flex; gap: 34px; flex-wrap: wrap; align-items: center;
}
.trust-strip .stat .n { font-family: var(--mono); font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.trust-strip .stat .l { font-size: 13px; color: var(--muted); margin-top: 2px; }
.trust-strip .divider { width: 1px; height: 34px; background: var(--line); }

/* hero visual: stacked property card + valuation chip */
.hero-visual { position: relative; }
.hero-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-card image-slot { display:block; width: 100%; height: 300px; }
.hero-card .meta { padding: 18px 20px; display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.hero-card .meta .addr { font-family: var(--display); font-size: 18px; }
.hero-card .meta .facts { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 3px; }
.tag-unlisted {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--primary-deep); color: var(--primary-ink);
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}
.hero-chip {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.hero-chip .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero-chip .v { font-family: var(--mono); font-size: 28px; letter-spacing: -0.02em; color: var(--ink); }
.hero-chip .d { font-size: 12px; color: var(--muted); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .hero-chip { left: auto; right: 16px; bottom: -22px; }
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.step { background: var(--paper); padding: 30px 26px 34px; position: relative; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.step .ico { margin: 18px 0 16px; color: var(--primary); }
.step h3 { font-size: 21px; }
.step p { margin-top: 9px; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Valuation engine (dark section)
   ============================================================ */
.engine { background: var(--primary-deep); color: var(--primary-ink); }
.engine .eyebrow { color: oklch(0.78 0.06 60); }
.engine .eyebrow::before { background: oklch(0.78 0.06 60); }
.engine h2 { color: var(--card); }
.engine .lede { color: oklch(0.85 0.02 150); }
.engine-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: 54px; }
.engine-points { display: flex; flex-direction: column; gap: 26px; }
.engine-point { display: flex; gap: 16px; }
.engine-point .b { width: 34px; height: 34px; flex:none; border-radius: 9px; background: oklch(0.4 0.05 160); display:grid; place-items:center; color: var(--card); }
.engine-point h4 { font-family: var(--body); font-weight: 650; font-size: 16.5px; color: var(--card); }
.engine-point p { margin-top: 5px; color: oklch(0.82 0.02 150); font-size: 15px; }

/* valuation visual card */
.val-card {
  background: oklch(0.26 0.035 160); border: 1px solid oklch(0.4 0.04 160);
  border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg);
}
.val-card .vc-head { display:flex; justify-content: space-between; align-items: baseline; }
.val-card .vc-head .t { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.7 0.03 150); }
.val-card .vc-head .conf { font-family: var(--mono); font-size: 12px; color: oklch(0.78 0.06 60); }
.val-card .big { font-family: var(--mono); font-size: clamp(34px, 5vw, 46px); color: var(--card); letter-spacing: -0.02em; margin-top: 10px; }
.val-card .range { font-family: var(--mono); font-size: 13px; color: oklch(0.72 0.02 150); margin-top: 4px; }
.val-bars { margin-top: 26px; display:flex; flex-direction: column; gap: 11px; }
.val-bar { display:flex; align-items:center; gap: 12px; }
.val-bar .lab { font-family: var(--mono); font-size: 11px; color: oklch(0.7 0.03 150); width: 120px; flex:none; }
.val-bar .track { flex:1; height: 8px; border-radius: 999px; background: oklch(0.34 0.03 160); overflow:hidden; }
.val-bar .fill { height:100%; border-radius: 999px; background: oklch(0.7 0.09 150); }
.val-bar .v { font-family: var(--mono); font-size: 11px; color: oklch(0.8 0.02 150); width: 56px; text-align:right; flex:none; }

/* ============================================================
   Interactive demo
   ============================================================ */
.demo { background: var(--paper-2); }
.demo-shell {
  margin-top: 50px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow-md); overflow: hidden;
  display: grid; grid-template-columns: 0.95fr 1.05fr;
}
@media (max-width: 900px){ .demo-shell { grid-template-columns: 1fr; } }
.demo-left { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); }
@media (max-width: 900px){ .demo-left { border-right: 0; border-bottom: 1px solid var(--line); } }
.demo-left h3 { font-size: 24px; }
.demo-left .hint { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }
.demo-field {
  margin-top: 22px; display:flex; align-items:center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px 6px 6px 14px;
}
.demo-field .pin { color: var(--primary); flex:none; }
.demo-field input { flex:1; border:0; background:transparent; outline:none; font-family: var(--body); font-size: 15.5px; color:var(--ink); padding: 11px 2px; min-width:0; }
.demo-field button { padding: 11px 18px; font-size:15px; }
.demo-chips { margin-top: 18px; display:flex; flex-wrap: wrap; gap: 9px; }
.demo-chips .lbl { width:100%; font-family: var(--mono); font-size: 11px; letter-spacing:0.08em; text-transform:uppercase; color: var(--muted); margin-bottom: 2px; }
.chip {
  font-family: var(--body); font-size: 13.5px; cursor:pointer;
  border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 999px; padding: 8px 14px; transition: all .15s ease; color: var(--ink-soft);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--paper); }

.demo-legend { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--muted); }
.demo-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lg-dot.known { background: var(--primary); }
.lg-dot.unknown { background: var(--accent); }

.demo-right { padding: clamp(26px, 3vw, 40px); position: relative; min-height: 420px; background: var(--card); }
.demo-empty { display:grid; place-items:center; height:100%; text-align:center; color: var(--muted); }
.demo-empty .ico { opacity: 0.4; margin-bottom: 14px; }
.demo-empty p { font-size: 14.5px; max-width: 30ch; }

.result { opacity: 0; transition: opacity .35s ease; }
.result.show { opacity: 1; }
.r-photo { margin: -6px 0 18px; border-radius: 14px; overflow: hidden; background: var(--paper-2); aspect-ratio: 16/7; }
.r-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.result .r-addr { font-family: var(--display); font-size: 21px; }
.result .r-facts { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; display:flex; gap: 14px; flex-wrap:wrap; }
.result .r-offer-lbl { font-family: var(--mono); font-size: 11px; letter-spacing:0.12em; text-transform:uppercase; color: var(--accent); margin-top: 26px; }
.result .r-offer { font-family: var(--mono); font-size: clamp(40px, 6vw, 56px); letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-top: 6px; }
.result .r-range { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.result .r-conf { margin-top: 18px; }
.result .r-conf .crow { display:flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.result .r-conf .track { height: 7px; background: var(--line); border-radius: 999px; overflow:hidden; }
.result .r-conf .fill { height:100%; width:0; background: var(--primary); border-radius:999px; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.r-comps { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.r-comps .ct { font-family: var(--mono); font-size: 11px; letter-spacing:0.1em; text-transform:uppercase; color: var(--muted); margin-bottom: 12px; }
.comp-row { display:flex; align-items:center; justify-content:space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.comp-row:last-child { border-bottom: 0; }
.comp-row .ca { color: var(--ink-soft); }
.comp-row .cp { font-family: var(--mono); color: var(--ink); }
.comp-row .cd { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.result .r-cta { margin-top: 26px; display:flex; gap: 12px; flex-wrap: wrap; align-items:center; }
.result .r-note { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   For owners
   ============================================================ */
.owners-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 860px){ .owners-grid { grid-template-columns: 1fr; } }
.owners-visual { position: relative; }
.owners-visual image-slot { display:block; width:100%; height: 420px; border-radius: 20px; box-shadow: var(--shadow-md); }
.owner-note {
  position:absolute; right: -18px; bottom: 28px;
  background: var(--card); border:1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: var(--shadow-lg); max-width: 240px;
}
.owner-note .q { font-family: var(--display); font-size: 15px; font-style: italic; color: var(--ink); }
.owner-note .a { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 8px; }
.owner-list { margin-top: 28px; display:flex; flex-direction:column; gap: 18px; }
.owner-item { display:flex; gap: 14px; }
.owner-item .c { width: 26px; height:26px; flex:none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display:grid; place-items:center; }
.owner-item h4 { font-family: var(--body); font-weight: 650; font-size: 16px; }
.owner-item p { margin-top: 4px; color: var(--ink-soft); font-size: 15px; }

/* ============================================================
   Pricing / fees
   ============================================================ */
.price-grid { margin-top: 52px; display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px){ .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: var(--card); display:flex; flex-direction:column; }
.price-card.feature { background: var(--primary-deep); color: var(--primary-ink); border-color: var(--primary-deep); }
.price-card .pc-ey { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.price-card.feature .pc-ey { color: oklch(0.8 0.06 60); }
.price-card h3 { font-size: 26px; margin-top: 14px; }
.price-card.feature h3 { color: var(--card); }
.price-card .amt { font-family: var(--mono); font-size: 40px; letter-spacing: -0.02em; margin-top: 16px; }
.price-card.feature .amt { color: var(--card); }
.price-card .amt small { font-family: var(--body); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.price-card.feature .amt small { color: oklch(0.78 0.02 150); }
.price-card .pdesc { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.price-card.feature .pdesc { color: oklch(0.82 0.02 150); }
.price-card ul { list-style:none; margin: 22px 0 0; padding: 0; display:flex; flex-direction:column; gap: 12px; }
.price-card li { display:flex; gap: 10px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.price-card.feature li { color: oklch(0.86 0.02 150); }
.price-card li svg { flex:none; margin-top: 3px; color: var(--primary); }
.price-card.feature li svg { color: oklch(0.78 0.09 150); }
.price-card .btn { margin-top: 26px; justify-content:center; }
.price-foot { margin-top: 22px; text-align:center; font-size: 13.5px; color: var(--muted); }

.price-addon {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 32px; background: var(--card);
}
.price-addon .pa-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.price-addon h4 { font-family: var(--display); font-size: 21px; margin-top: 8px; }
.price-addon .pa-left p { margin-top: 7px; color: var(--ink-soft); font-size: 14.5px; max-width: 52ch; }
.price-addon .pa-price { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.price-addon .pa-amt { font-family: var(--mono); font-size: 38px; letter-spacing: -0.02em; color: var(--ink); }
.price-addon .pa-per { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 620px){ .price-addon { flex-direction: column; align-items: flex-start; } .price-addon .pa-price { flex-direction: row; align-items: baseline; gap: 8px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { margin-top: 48px; display:grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px,5vw,64px); align-items:start; }
@media (max-width: 820px){ .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display:flex; flex-direction:column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:0; cursor:pointer; padding: 22px 0; display:flex; justify-content:space-between; gap: 20px; align-items:center; font-family: var(--display); font-size: 19px; color: var(--ink); }
.faq-q .pm { flex:none; width: 24px; height:24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--primary); border-radius:2px; transition: transform .25s ease; }
.faq-q .pm::before { top: 11px; left: 4px; width: 16px; height: 2px; }
.faq-q .pm::after  { top: 4px; left: 11px; width: 2px; height: 16px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; }

/* ============================================================
   Final CTA + footer
   ============================================================ */
.final { text-align:center; }
.final-card {
  background: var(--primary); color: var(--paper);
  border-radius: 28px; padding: clamp(48px, 7vw, 96px) var(--gutter);
  position: relative; overflow: hidden;
}
.final-card h2 { font-size: clamp(34px, 5.5vw, 64px); color: var(--paper); max-width: 18ch; margin-inline:auto; line-height: 1.0; }
.final-card h2 em { color: var(--accent-soft); }
.final-card p { margin-top: 20px; color: oklch(0.93 0.02 150); font-size: clamp(16px,1.7vw,20px); max-width: 46ch; margin-inline:auto; }
.final .hero-search { margin: 32px auto 0; background: var(--card); }
.final-card .fineprint { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: oklch(0.88 0.03 150); }

.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--line); margin-top: 0; }
.footer-top { display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-cols { display:flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.footer-col a { display:block; font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom .disc { max-width: 60ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }

/* image-slot placeholder default look */
image-slot { --slot-bg: var(--paper-2); }
.hero-card image-slot,
.owners-visual image-slot {
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg,
    oklch(0.92 0.014 92) 0 13px, oklch(0.965 0.01 95) 13px 26px);
}

/* ============================================================
   Smart-ID trust bits + owner status in demo result
   ============================================================ */
.hero-trust {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
}
.hero-trust svg { color: var(--primary); }
.hero[data-layout="centered"] .hero-trust { display: inline-flex; }

.r-owner {
  margin-top: 18px; display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; padding: 11px 14px; border-radius: 11px;
  border: 1px solid var(--line);
}
.r-owner .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.r-owner.known   { background: oklch(0.95 0.03 150 / 0.6); color: var(--primary); border-color: oklch(0.85 0.04 150); }
.r-owner.known .dot   { background: var(--primary); }
.r-owner.unknown { background: var(--accent-soft); color: var(--accent); border-color: oklch(0.86 0.05 60); }
.r-owner.unknown .dot { background: var(--accent); }

/* ============================================================
   Sealed-letter section
   ============================================================ */
.letter-sec { background: var(--paper-2); }
.letter-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 880px){ .letter-grid { grid-template-columns: 1fr; } }
.letter-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.letter-step { display: flex; gap: 15px; align-items: flex-start; }
.letter-step .ls-n { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--primary); }
.letter-step h4 { font-family: var(--body); font-weight: 650; font-size: 16px; }
.letter-step p { margin-top: 3px; color: var(--ink-soft); font-size: 15px; }

/* envelope visual */
.envelope {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 28px; position: relative; overflow: hidden;
}
.envelope::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
  background: repeating-linear-gradient(45deg, var(--primary) 0 14px, var(--card) 14px 28px, var(--accent) 28px 42px, var(--card) 42px 56px);
  opacity: 0.85;
}
.env-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.env-from { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.env-stamp { font-family: var(--mono); font-size: 10px; color: var(--accent); border: 1px solid var(--accent); border-radius: 5px; padding: 3px 7px; letter-spacing: 0.1em; }
.env-to { margin-top: 22px; }
.env-to .t1 { font-family: var(--display); font-size: 20px; }
.env-to .t2 { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 3px; }
.env-qrbox { margin-top: 24px; display: flex; gap: 18px; align-items: center; padding: 18px; background: var(--paper-2); border-radius: 14px; }
.env-qrbox .cap { font-size: 14px; color: var(--ink-soft); }
.env-qrbox .cap b { font-family: var(--display); font-size: 16px; color: var(--ink); display: block; margin-bottom: 4px; font-weight: 500; }

/* faux QR */
.qr { display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr); width: 96px; height: 96px; flex: none; background: #fff; padding: 7px; border-radius: 10px; border: 1px solid var(--line); gap: 0; }
.qr i { background: transparent; }
.qr i.on { background: var(--ink); border-radius: 1px; }
.ml-qr { display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr); width: 84px; height: 84px; flex: none; background: #fff; padding: 6px; border-radius: 9px; border: 1px solid var(--line); }
.ml-qr i { background: transparent; }
.ml-qr i.on { background: var(--ink); }

/* ============================================================
   Modal (Smart-ID flow)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0.2 0.02 155 / 0.42); backdrop-filter: blur(5px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: 22px; width: min(440px, 100%);
  box-shadow: var(--shadow-lg); padding: 32px 30px 28px; position: relative;
  transform: translateY(12px) scale(0.985); transition: transform .28s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--muted);
  font-size: 19px; line-height: 1; display: grid; place-items: center; transition: all .15s ease;
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }

.sid-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; font-weight: 500; background: oklch(0.95 0.03 150 / 0.5); border: 1px solid oklch(0.86 0.04 150); padding: 6px 12px; border-radius: 999px; }
.m-title { font-size: 25px; margin-top: 18px; letter-spacing: -0.015em; }
.m-sub { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.m-sub strong { color: var(--ink); font-weight: 650; }

.m-offercard { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper-2); }
.m-offercard .oc-addr { font-family: var(--display); font-size: 17px; }
.m-offercard .oc-city { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.m-offercard .oc-amt { font-family: var(--mono); font-size: 24px; color: var(--primary); letter-spacing: -0.02em; }

.m-field { display: block; margin-top: 22px; }
.m-flabel { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.m-field input { width: 100%; border: 1px solid var(--line-strong); border-radius: 11px; padding: 13px 15px; font-family: var(--mono); font-size: 16px; color: var(--ink); background: var(--paper); outline: none; letter-spacing: 0.04em; }
.m-field input:focus { border-color: var(--primary); }

.m-btn { width: 100%; justify-content: center; margin-top: 18px; }
.m-btn.ghost { margin-top: 10px; }
.m-fine { margin-top: 16px; font-size: 12.5px; color: var(--muted); display: flex; align-items: flex-start; gap: 7px; line-height: 1.45; }
.m-fine svg { flex: none; margin-top: 1px; color: var(--muted); }

.sid-code { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 1px dashed var(--line-strong); border-radius: 14px; background: var(--paper-2); }
.sid-code .sc-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sid-code .sc-num { font-family: var(--mono); font-size: 40px; letter-spacing: 0.12em; color: var(--ink); }
.sid-spinner { display: flex; justify-content: center; gap: 7px; margin-top: 22px; }
.sid-spinner span { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); animation: sidbounce 1s infinite ease-in-out both; }
.sid-spinner span:nth-child(1){ animation-delay: -0.32s; }
.sid-spinner span:nth-child(2){ animation-delay: -0.16s; }
@keyframes sidbounce { 0%,80%,100%{ transform: scale(0.5); opacity: 0.4; } 40%{ transform: scale(1); opacity: 1; } }

.m-ok-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: oklch(0.93 0.04 150); color: var(--primary); }
.m-ok-badge.success { background: var(--primary); color: var(--card); }

.m-letter { margin-top: 20px; display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }
.m-letter .ml-copy .ml-head { font-family: var(--display); font-size: 17px; display: flex; align-items: center; gap: 10px; }
.m-letter .ml-fee { font-family: var(--mono); font-size: 12px; color: var(--accent); border: 1px solid var(--accent); border-radius: 6px; padding: 2px 7px; }
.m-letter .ml-copy p { margin-top: 7px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

.m-summary { margin-top: 20px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.m-summary .ms-row { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.m-summary .ms-row:last-child { border-bottom: 0; }
.m-summary .ms-row span { color: var(--muted); }
.m-summary .ms-row b { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.m-summary .ms-status { color: var(--primary) !important; }

/* nav login link */
.nav-login { font-size: 15px; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-login:hover { color: var(--ink); }
.nav-login svg { color: var(--primary); }
@media (max-width: 560px){ .nav-login span.lbl { display: none; } }
