/* Reenter — marketplace layout: sticky header, photo-led sections, card grids in a 1320px frame. TR at root, EN under /en/. */
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #ffffff; --surface: #f6f6f0; --surface-2: #ebede2; --line: #dfe2d5;
  --ink: #1f2418; --ink-2: #4b5240; --ink-3: #6f7663;
  --brand: #4a5a28; --brand-hover: #3a4720; --brand-ink: #ffffff; --brand-soft: #eef1e2;
  --accent: #c8392f; --cta: #c4391f; --cta-hover: #a92e17; --cta-2: #e0661c; --cta-ink: #ffffff;
  --cta-glow: rgba(196, 57, 31, .30); --cta-soft: #fdeee8;
  --brass: #9a5a0c; --brass-soft: #fdf0dc; --good: #3f7a2a; --good-soft: #e7f2df; --danger: #c0352a;
  --plan-wall: #262b1d; --plan-fill: #ffffff; --plan-text: #4b5240;
  --tint-1: #e6ebd5; --tint-2: #f4e7d3; --tint-3: #e2e8ec; --tint-4: #f4dfdb;
  --chart-1: #3f6b12; --chart-2: #1f78b4; --chart-3: #e0601b; --chart-4: #b58500; --chart-muted: #d9dccf;
  --night: #1b2013; --night-2: #262d1b; --night-ink: #eef0e6; --night-ink-2: #b9bfaa;
  --shadow: 0 10px 30px rgba(31, 36, 24, .12); --shadow-s: 0 1px 2px rgba(31, 36, 24, .08), 0 4px 12px rgba(31, 36, 24, .06);
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-xl: 30px;
  --gutter: clamp(16px, 4vw, 48px); --header-h: 72px;
}
:root[data-theme="dark"] {
  --bg: #12140e; --surface: #1a1d15; --surface-2: #23271c; --line: #33382a;
  --ink: #eef0e6; --ink-2: #bcc2ae; --ink-3: #959c88;
  --brand: #a9bb6b; --brand-hover: #c0d084; --brand-ink: #1a2108; --brand-soft: #262d17;
  --accent: #ee6a5f; --cta: #d9472c; --cta-hover: #ec5a3c; --cta-2: #ef7a2e; --cta-ink: #ffffff; --cta-glow: rgba(239, 106, 70, .32); --cta-soft: #3a1d15;
  --brass: #f0a94b; --brass-soft: #382910; --good: #9fd17f; --good-soft: #1f3317; --danger: #ff7b72;
  --plan-wall: #e0e4d4; --plan-fill: #1d2017; --plan-text: #bcc2ae;
  --tint-1: #262d18; --tint-2: #33291a; --tint-3: #1d262c; --tint-4: #35221f;
  --chart-1: #6a9a28; --chart-2: #3a8fd0; --chart-3: #e8692c; --chart-4: #d9a92f; --chart-muted: #3a3f31;
  --night: #0c0e09; --night-2: #171a12; --night-ink: #eef0e6; --night-ink-2: #b9bfaa;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5); --shadow-s: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cta-2); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.fine { font-size: .82rem; color: var(--ink-3); }
.kicker { font-weight: 700; color: var(--cta); font-size: .92rem; letter-spacing: .01em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s, color .2s; text-align: center; line-height: 1.2; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: var(--cta-ink); background: linear-gradient(120deg, var(--cta) 0%, var(--cta) 55%, var(--cta-2) 140%); box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 6px 18px var(--cta-glow); }
.btn-primary:hover { background: linear-gradient(120deg, var(--cta-hover) 0%, var(--cta) 60%, var(--cta-2) 120%); transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 12px 28px var(--cta-glow); }
.btn-ghost { background: var(--bg); border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--cta-soft); border-color: var(--cta); transform: translateY(-2px); }
.btn-olive { background: var(--brand); color: var(--brand-ink); }
.btn-olive:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-light { background: #ffffff; color: #1f2418; }
.btn-light:hover { background: #f1f3ea; transform: translateY(-2px); }
.btn-quiet { background: transparent; color: var(--ink); padding: 0 12px; }
.btn-quiet:hover { background: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--cta); }
.linkbtn { background: none; border: 0; color: var(--cta); font-weight: 700; cursor: pointer; padding: 6px 4px; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; flex: none; }
.logo img { height: 40px; width: auto; }
.logo .logo-dark { display: none; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
.tabs { display: flex; gap: 2px; min-width: 0; }
.tabs a { padding: 9px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: .95rem; white-space: nowrap; }
.tabs a:hover { background: var(--surface); color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 750; background: var(--surface); }
.hdr-right { display: flex; align-items: center; gap: 8px; flex: none; }
.host-link { padding: 8px 15px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; border: 1.5px solid var(--cta); color: var(--cta); transition: background .2s, color .2s; white-space: nowrap; }
.host-link:hover { background: var(--cta); color: var(--cta-ink); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.menu-btn:hover { box-shadow: var(--shadow-s); }
.menu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-btn .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; color: var(--bg); }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 8px 0; max-height: calc(100vh - 100px); overflow: auto; }
.menu a { display: block; padding: 10px 18px; text-decoration: none; }
.menu a:hover { background: var(--surface); }
.menu .strong { font-weight: 700; color: var(--cta); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.lang { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg); }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border-radius: 999px; text-decoration: none; font-size: .8rem; font-weight: 750; color: var(--ink-2); letter-spacing: .02em; }
.lang a svg { width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.lang a:not([aria-current="true"]):hover { background: var(--surface); color: var(--ink); }
@media (max-width: 1240px) { .tabs { display: none; } }
@media (max-width: 640px) { .host-link { display: none; } .logo img { height: 34px; } .lang a { padding: 5px 7px 5px 5px; } .lang a span { display: none; } .menu-btn { padding: 0 4px 0 10px; gap: 6px; } }
.lang-hint { background: var(--ink); color: var(--bg); font-size: .9rem; }
.lang-hint .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding-block: 8px; }
.lang-hint a { color: var(--bg); font-weight: 700; }
.lang-hint button { background: none; border: 0; color: var(--bg); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px 8px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.alt { background: var(--surface); }
.section.night { background: var(--night); color: var(--night-ink); }
.section.night .lede, .section.night .muted { color: var(--night-ink-2); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(26px, 4vw, 44px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.head-row .section-head { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 920px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: minmax(0, 1fr); } .split .order-first { order: -1; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- photos ---------- */
.ph { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--surface-2); max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.r43 { aspect-ratio: 4 / 3; } .ph.r32 { aspect-ratio: 3 / 2; } .ph.r11 { aspect-ratio: 1; } .ph.r45 { aspect-ratio: 4 / 5; } .ph.r169 { aspect-ratio: 16 / 9; } .ph.r21 { aspect-ratio: 2 / 1; }
.float-card { position: absolute; background: var(--bg); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 2px; font-size: .85rem; min-width: 0; max-width: 72%; }
.float-card b { font-family: var(--f-display); font-size: 1.05rem; }
.float-card .row { display: flex; align-items: center; gap: 8px; }
.dot-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none; box-shadow: 0 0 0 4px var(--good-soft); }
.photo-credit { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); opacity: .85; }

/* ---------- home hero ---------- */
.hero { padding-block: clamp(26px, 4vw, 52px) 10px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-grid h1 { max-width: 14ch; }
.hero-media { position: relative; }
.hero-media .ph { aspect-ratio: 5 / 4; border-radius: var(--r-xl); }
.hero-media .fc1 { left: -18px; bottom: 26px; }
.hero-media .fc2 { right: 16px; top: 18px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-media .fc1 { left: 12px; } }
.notice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9rem; color: var(--ink-2); background: var(--brass-soft); border-radius: 999px; padding: 8px 16px; width: fit-content; max-width: 100%; }
.notice b { color: var(--ink); }
@media (max-width: 560px) { .notice { border-radius: 14px; } }

/* search pill */
.search { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); padding: 6px; margin-top: clamp(20px, 3vw, 30px); }
.seg { position: relative; display: flex; flex-direction: column; padding: 8px 20px; border-radius: 999px; min-width: 0; }
.seg:hover { background: var(--surface); }
.seg + .seg::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.seg label { font-size: .74rem; font-weight: 750; letter-spacing: .01em; }
.seg input, .seg select { border: 0; background: transparent; padding: 0; font-size: .95rem; color: var(--ink-2); outline: none; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.seg input { cursor: text; }
.seg input::placeholder { color: var(--ink-3); }
.search-go { height: 52px; min-width: 52px; padding: 0 18px; border-radius: 999px; border: 0; background: linear-gradient(135deg, var(--cta), var(--cta-2)); color: var(--cta-ink); display: inline-flex; gap: 8px; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px var(--cta-glow); font-weight: 750; }
.search-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.search-go:hover { filter: brightness(1.05); }
@media (max-width: 1100px) { .search-go .t { display: none; } .search-go { padding: 0; } }
@media (max-width: 860px) {
  .search { grid-template-columns: 1fr 1fr; border-radius: var(--r-l); gap: 2px; padding: 8px; }
  .seg { border-radius: 14px; padding: 10px 14px; }
  .seg + .seg::before { display: none; }
  .seg:first-child { grid-column: 1 / -1; }
  .search-go { grid-column: 1 / -1; width: 100%; border-radius: 12px; height: 50px; }
  .search-go .t { display: inline; }
}
.ai-search { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: .9rem; color: var(--ink-2); flex-wrap: wrap; }
.ai-search .pill { cursor: pointer; border: 1px dashed var(--line); background: var(--bg); }
.ai-search .pill:hover { border-color: var(--cta); color: var(--cta); }

/* chips */
.chips-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: clamp(18px, 3vw, 34px); overflow-x: auto; scrollbar-width: none; padding-top: 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 2px 12px; border: 0; background: none; border-bottom: 2px solid transparent; color: var(--ink-3); cursor: pointer; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.chip svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip:hover { color: var(--ink); border-bottom-color: var(--line); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* listing grid + cards */
.grid-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-block: 22px 14px; }
.grid-head .count { color: var(--ink-2); font-size: .95rem; }
.listings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; padding-bottom: 28px; }
@media (max-width: 1180px) { .listings { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 540px) { .listings { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; display: grid; gap: 10px; min-width: 0; }
.card-link { text-decoration: none; color: inherit; display: grid; gap: 10px; min-width: 0; }
.cm { position: relative; aspect-ratio: 20 / 19; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); max-width: 100%; }
.cm-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.cm-track::-webkit-scrollbar { display: none; }
.cm-track > * { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.cm-track img { width: 100%; height: 100%; object-fit: cover; }
.cm-track .plan { width: 100%; height: 100%; display: block; }
.cm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f2418; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 2px 6px rgba(0,0,0,.18); z-index: 2; }
.cm-nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.cm-nav.prev { left: 10px; } .cm-nav.next { right: 10px; }
.card:hover .cm-nav, .cm-nav:focus-visible { opacity: 1; }
@media (hover: none) { .cm-nav { display: none; } }
.cm-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; z-index: 2; }
.cm-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); transition: background .2s, transform .2s; }
.cm-dots i.on { background: #fff; transform: scale(1.2); }
.badge { position: absolute; left: 12px; top: 12px; background: #ffffff; color: #1f2418; font-size: .76rem; font-weight: 750; padding: 6px 11px; border-radius: 999px; box-shadow: var(--shadow-s); display: inline-flex; gap: 6px; align-items: center; z-index: 2; }
.badge svg { width: 14px; height: 14px; stroke: #4a5a28; fill: none; stroke-width: 2.2; }
.sample-tag { position: absolute; left: 12px; bottom: 30px; font-size: .68rem; font-weight: 650; color: #fff; background: rgba(20, 24, 14, .55); padding: 3px 8px; border-radius: 6px; z-index: 2; }
.heart { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; z-index: 3; }
.heart svg { width: 26px; height: 26px; fill: rgba(22,32,27,.45); stroke: #fff; stroke-width: 2; transition: transform .15s; }
.heart:hover svg { transform: scale(1.08); }
.heart[aria-pressed="true"] svg { fill: var(--danger); }
.card-body { display: grid; gap: 1px; font-size: .95rem; min-width: 0; }
.card-top { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.card-top .where { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rating { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; flex: none; }
.rating svg { width: 12px; height: 12px; fill: var(--ink); }
.specs { color: var(--ink-2); display: flex; flex-wrap: wrap; column-gap: 10px; }
.price { margin-top: 5px; }
.price b { font-weight: 750; }
.price .cover { color: var(--ink-3); font-size: .88rem; }
.empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--r-m); display: grid; gap: 12px; justify-items: center; }
.ai-note { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); padding-bottom: 8px; }
.ai-note .pill { background: var(--brand-soft); color: var(--brand); }

/* floor plan svg */
.plan .bg { fill: var(--tint-1); }
.plan .room { fill: var(--plan-fill); stroke: var(--plan-wall); stroke-width: 1.2; }
.plan .outer { fill: none; stroke: var(--plan-wall); stroke-width: 3.2; stroke-linejoin: round; }
.plan .gap { stroke: var(--plan-fill); stroke-width: 3.6; }
.plan .door { fill: none; stroke: var(--plan-text); stroke-width: .7; }
.plan .win { stroke: var(--plan-fill); stroke-width: 2.4; }
.plan .winl { stroke: var(--plan-wall); stroke-width: .6; }
.plan .bal { fill: none; stroke: var(--plan-wall); stroke-width: 1; stroke-dasharray: 2.5 2; }
.plan .lbl { fill: var(--plan-text); font-family: var(--f-body); font-size: 6.6px; font-weight: 600; text-anchor: middle; }
.plan .lbl2 { fill: var(--plan-text); font-family: var(--f-body); font-size: 5.6px; text-anchor: middle; opacity: .8; }
.plan .fix { fill: none; stroke: var(--plan-text); stroke-width: .6; opacity: .75; }
.plan .north { fill: var(--plan-text); font-family: var(--f-body); font-size: 5.5px; font-weight: 700; text-anchor: middle; }

/* city cards */
.cities { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .cities { grid-template-columns: minmax(0, 1fr); } }
.city { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: #262b1d; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.city:hover img { transform: scale(1.04); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(12, 14, 8, .78) 100%); }
.city .txt { position: relative; z-index: 1; padding: 22px; display: grid; gap: 4px; }
.city .txt b { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: -0.02em; }
.city .txt span { font-size: .92rem; color: #eef0e6; }
.city .tag { position: absolute; z-index: 1; left: 18px; top: 18px; background: #ffffff; color: #1f2418; font-size: .75rem; font-weight: 750; padding: 5px 10px; border-radius: 999px; }

/* comparison bars */
.compare { display: grid; gap: 22px; }
.bar-row { display: grid; gap: 8px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-weight: 650; }
.bar-label span:last-child { font-variant-numeric: tabular-nums; }
.bar { display: flex; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.bar i { display: flex; align-items: center; height: 100%; font-style: normal; font-size: .75rem; font-weight: 650; color: var(--ink); padding-left: 8px; white-space: nowrap; overflow: hidden; border-right: 2px solid var(--bg); min-width: 0; }
.bar .b-rent { background: var(--tint-3); } .bar .b-dep { background: var(--brass-soft); } .bar .b-agent { background: var(--tint-4); } .bar .b-cover { background: var(--brand-soft); }
.compare-note { font-size: .86rem; color: var(--ink-3); }
.big-save { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--brand); line-height: 1; font-variant-numeric: tabular-nums; }

/* steps & timelines */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); counter-increment: step; min-width: 0; }
.steps > li::before { content: counter(step); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--cta); }
.steps p { color: var(--ink-2); }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: fl; list-style: none; padding: 0; margin: 0; }
.flow > li { position: relative; padding: 16px 14px 16px 0; display: grid; gap: 6px; align-content: start; counter-increment: fl; min-width: 0; }
.flow > li::before { content: counter(fl); width: 34px; height: 34px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); display: grid; place-items: center; font-weight: 800; position: relative; z-index: 1; }
.flow > li::after { content: ""; position: absolute; top: 33px; left: 34px; right: 0; height: 2px; background: var(--line); }
.flow > li:last-child::after { display: none; }
.flow p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow > li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; } .flow > li::before { grid-row: span 2; } .flow > li::after { display: none; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.timeline li b { font-variant-numeric: tabular-nums; }

/* profile cards */
.pcard { background: var(--bg); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; min-width: 0; }
.pcard-top { display: flex; gap: 14px; align-items: center; }
.pav { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); background: var(--tint-2); position: relative; flex: none; overflow: visible; }
.pav img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pav.b { background: var(--tint-3); }
.pav .tick { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; border: 2px solid var(--bg); }
.pav .tick svg { width: 12px; height: 12px; stroke: var(--brand-ink); fill: none; stroke-width: 3; }
.pcard .role { font-size: .85rem; color: var(--ink-3); }
.pstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 12px; gap: 6px; }
.pstats div { display: grid; min-width: 0; }
.pstats b { font-family: var(--f-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.pstats span { font-size: .76rem; color: var(--ink-3); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; stroke: var(--brand); fill: none; stroke-width: 2.4; margin-top: 3px; }
.xlist svg { stroke: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 750; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); width: fit-content; white-space: nowrap; }
.pill.free, .pill.good { background: var(--brand-soft); color: var(--brand); }
.pill.warm { background: var(--cta-soft); color: var(--cta); }
.pill.soon { background: var(--brass-soft); color: var(--brass); }

/* photo cards (services, tools) */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1040px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pcards { grid-template-columns: minmax(0, 1fr); } }
.pc { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
a.pc:hover, .pc.hov:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.pc .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.pc .ph img { transition: transform .5s ease; }
a.pc:hover .ph img { transform: scale(1.04); }
.pc .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc .body p { color: var(--ink-2); font-size: .95rem; }
.pc .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.pc .go { font-weight: 750; color: var(--cta); }
.pc .meta { font-size: .78rem; font-weight: 750; color: var(--ink-3); letter-spacing: .02em; }

/* feature rows (photo + text) */
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.frow + .frow { margin-top: clamp(48px, 7vw, 88px); }
.frow.flip > :first-child { order: 2; }
@media (max-width: 860px) { .frow { grid-template-columns: minmax(0, 1fr); } .frow.flip > :first-child { order: 0; } }

/* band */
.band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--night); color: var(--night-ink); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 380px; }
.band .txt { padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; align-content: center; }
.band h2 { color: #ffffff; }
.band p { color: var(--night-ink-2); }
.band .ph { border-radius: 0; height: 100%; }
.band-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.band-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.band-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.band-list b { font-family: var(--f-display); font-size: 1.1rem; color: #ffffff; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); } .band .ph { aspect-ratio: 16 / 10; height: auto; order: -1; } }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; display: grid; gap: 10px; }

/* forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .form-row, .f3 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > label, .field .lbl { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); outline: none; min-width: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-3); }
@media (max-width: 860px) { .field input, .field select, .field textarea, .seg input, .seg select { font-size: 16px; } }
.roles { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.roles legend { font-size: .85rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.roles label { cursor: pointer; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: .92rem; }
.roles input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.roles input:focus-visible + span { outline: 3px solid var(--cta-2); outline-offset: 2px; }
.chk { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .94rem; }
.chk input { width: 20px; height: 20px; accent-color: var(--cta); flex: none; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .92rem; border-radius: 10px; padding: 12px 14px; }
.form-msg.ok { background: var(--brand-soft); color: var(--ink); }
.form-msg.err { background: var(--brass-soft); color: var(--ink); }
.waitlist { background: var(--bg); border-radius: var(--r-l); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 34px); display: grid; gap: 14px; }
input[type="range"] { width: 100%; accent-color: var(--cta); }
.range-field { display: grid; gap: 8px; }
.range-field .rv { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.range-field output { font-variant-numeric: tabular-nums; }
.toggle { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 650; }
.toggle input { width: 20px; height: 20px; accent-color: var(--cta); }

/* kpis / panels */
.calc-out { background: var(--bg); border-radius: var(--r-l); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border-radius: var(--r-m); padding: 16px; display: grid; gap: 4px; min-width: 0; }
.kpi span { font-size: .82rem; color: var(--ink-2); }
.kpi b { font-family: var(--f-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; overflow-wrap: anywhere; }
@media (max-width: 460px) { .kpis { grid-template-columns: minmax(0, 1fr); } }
.panel { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg); padding: 20px; display: grid; gap: 16px; min-width: 0; }
.panel h2 { font-size: 1.15rem; }
.boxed { border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.result-big { font-family: var(--f-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.warns { display: grid; gap: 8px; }
.warn { padding: 10px 12px; border-radius: 10px; font-size: .88rem; background: var(--brass-soft); color: var(--ink); }
.warn.err { background: var(--cta-soft); } .warn.ok { background: var(--brand-soft); }

/* tables */
.dtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); max-width: 100%; }
.dtable { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.dtable th, .dtable td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.dtable th { font-size: .76rem; color: var(--ink-3); font-weight: 750; background: var(--surface); letter-spacing: .02em; }
.dtable td.r, .dtable th.r { text-align: right; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tr.hl td { background: var(--cta-soft); font-weight: 650; }
.dtable input, .dtable select { width: 100%; min-width: 0; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: .9rem; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 750; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status.paid { background: var(--brand-soft); color: var(--brand); } .status.due { background: var(--surface-2); color: var(--ink-2); }
.status.late { background: var(--cta-soft); color: var(--cta); } .status.part { background: var(--brass-soft); color: var(--brass); }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(10, 13, 8, .58); }
.modal-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100% - 32px); overflow: auto; background: var(--bg); border-radius: var(--r-l); padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.modal-card.wide { max-width: 700px; padding: 0; }
.modal-card.wide .mbody { padding: 24px 28px 28px; display: grid; gap: 14px; }
.modal-card.wide .ph { border-radius: 0; aspect-ratio: 21 / 9; }
.modal-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.modal-x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); box-shadow: var(--shadow-s); cursor: pointer; font-size: 1.3rem; line-height: 1; z-index: 2; color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 650; font-size: .92rem; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
@media (max-width: 760px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: .92rem; }
.f-brand { display: grid; gap: 10px; margin-bottom: 28px; }
.f-brand .logo img { height: 34px; }
.f-brand p { color: var(--ink-2); max-width: 52ch; }
.f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.f-cols h4 { margin: 0 0 12px; font-size: .92rem; font-family: var(--f-body); font-weight: 750; letter-spacing: 0; }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-cols a { text-decoration: none; color: var(--ink-2); }
.f-cols a:hover { text-decoration: underline; color: var(--ink); }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; color: var(--ink-2); align-items: center; }
.f-base nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.f-base a { text-decoration: none; } .f-base a:hover { text-decoration: underline; }
@media (max-width: 900px) { .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .f-cols { grid-template-columns: minmax(0, 1fr); } }
.f-social { display: flex; gap: 10px; flex-wrap: wrap; }
.f-social a, .f-social span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: var(--bg); }
.f-social a:hover { color: var(--cta); border-color: var(--cta); }
.f-social svg { width: 18px; height: 18px; fill: currentColor; }

/* bottom nav + to top */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: var(--bg); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; text-decoration: none; color: var(--ink-3); font-size: .68rem; font-weight: 650; min-height: 48px; text-align: center; }
  .bottom-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav a[aria-current="page"] { color: var(--cta); }
  body { padding-bottom: 72px; }
  body.has-mobile-book .bottom-nav { display: none; }
}
.to-top { position: fixed; right: 18px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 42; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow-s); display: grid; place-items: center; cursor: pointer; color: var(--ink); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 760px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 14px; } body.has-mobile-book .to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- listing detail ---------- */
.l-head { padding-block: 24px 18px; display: grid; gap: 10px; }
.crumbs { font-size: .9rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.l-title-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.l-title-row h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 30ch; }
.l-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: .95rem; }
.save-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.save-btn[aria-pressed="true"] svg { fill: var(--danger); stroke: var(--danger); }
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 2.25 / 1; max-width: 100%; }
.gallery > * { min-width: 0; min-height: 0; position: relative; background: var(--surface-2); }
.gallery img, .gallery .plan { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .main { grid-row: 1 / 3; }
.gallery .tag { position: absolute; left: 10px; bottom: 10px; background: #ffffff; color: #1f2418; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; aspect-ratio: auto; } .gallery .main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; } .gallery > :not(.main) { aspect-ratio: 4 / 3; } }
.photo-note { font-size: .85rem; color: var(--ink-3); margin-top: 10px; }
.l-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 6vw, 88px); padding-block: 36px 64px; align-items: start; }
@media (max-width: 980px) { .l-body { grid-template-columns: minmax(0, 1fr); } }
.l-main > section { padding-block: 28px; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.l-main > section:first-child { padding-top: 0; }
.l-main h2 { font-size: 1.45rem; }
.host-row { display: flex; gap: 14px; align-items: center; }
.host-row .pav { width: 52px; height: 52px; font-size: 1.2rem; }
.highlights { display: grid; gap: 20px; }
.hl { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; }
.hl svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hl p { color: var(--ink-3); font-size: .92rem; }
.amen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; list-style: none; margin: 0; padding: 0; }
.amen li { display: flex; gap: 12px; align-items: center; }
.amen svg { width: 22px; height: 22px; stroke: var(--ink-2); fill: none; stroke-width: 1.6; flex: none; }
@media (max-width: 520px) { .amen { grid-template-columns: minmax(0, 1fr); } }
.costs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.costs td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.costs td:last-child { text-align: right; font-weight: 650; padding-left: 12px; white-space: nowrap; }
.costs .sub { display: block; font-size: .82rem; color: var(--ink-3); font-weight: 400; }
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 640px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
.review { display: grid; gap: 10px; }
.review .who { display: flex; gap: 12px; align-items: center; }
.review .pav { width: 44px; height: 44px; font-size: 1rem; }
.review p { color: var(--ink-2); }
.know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.know h3 { font-size: 1rem; margin-bottom: 8px; }
.know ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; font-size: .94rem; }
@media (max-width: 760px) { .know { grid-template-columns: minmax(0, 1fr); } }
.book { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 24px); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 16px; background: var(--bg); }
.book .rent { font-size: 1.5rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.book .rent span { font-size: 1rem; font-weight: 400; color: var(--ink-2); }
.book-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ink-3); border-radius: 12px; overflow: hidden; }
.book-fields .seg2 { padding: 10px 12px; display: grid; min-width: 0; }
.book-fields .seg2 + .seg2 { border-left: 1px solid var(--ink-3); }
.book-fields label { font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.book-fields select { border: 0; background: transparent; padding: 0; outline: none; font-size: .92rem; width: 100%; min-width: 0; }
.plan-pick { display: grid; gap: 8px; }
.plan-pick label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .9rem; }
.plan-pick label:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.plan-pick input { accent-color: var(--cta); width: 18px; height: 18px; }
.plan-pick b { font-variant-numeric: tabular-nums; }
.mc { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.mc td { padding: 6px 0; vertical-align: top; }
.mc td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.mc .strike { color: var(--ink-3); text-decoration: line-through; margin-right: 6px; font-size: .85rem; }
.mc .tot td { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 750; font-size: 1.05rem; }
.save-line { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.mobile-book { display: none; }
@media (max-width: 980px) {
  .book { position: static; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--bg); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; align-items: center; gap: 12px; }
  .mobile-book .rent { font-weight: 750; font-variant-numeric: tabular-nums; }
  .mobile-book small { display: block; color: var(--ink-3); }
  body.has-mobile-book { padding-bottom: 84px; }
}

/* ---------- cover / pricing ---------- */
.cert { background: var(--bg); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 14px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.cert::after { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--line); border-radius: 10px; pointer-events: none; }
.cert-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cert .no { font-size: .76rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cert dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px; font-variant-numeric: tabular-nums; }
.cert dt { color: var(--ink-2); } .cert dd { margin: 0; text-align: right; font-weight: 650; }
.seal { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; color: var(--accent); font-family: var(--f-display); font-weight: 700; font-size: .68rem; text-align: center; line-height: 1.1; transform: rotate(-10deg); flex: none; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .tiers { grid-template-columns: minmax(0, 1fr); } }
.tier { border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 22px; display: grid; gap: 10px; align-content: start; background: var(--bg); min-width: 0; }
.tier.on { border-color: var(--ink); box-shadow: var(--shadow-s); }
.tier .score { font-size: .8rem; font-weight: 750; color: var(--ink-3); }
.tier .amt { font-family: var(--f-display); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tier .amt small { font-family: var(--f-body); font-size: .9rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.tier .or { font-size: .88rem; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 10px; }
.cover-table-wrap { overflow-x: auto; }
.cover-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cover-table th, .cover-table td { text-align: left; padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cover-table thead th { font-family: var(--f-display); font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
.cover-table th[scope="row"] { font-weight: 650; width: 28%; }
.cover-table .hl-col { background: var(--brand-soft); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan-card { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); min-width: 0; }
.plan-card.pick { border: 2px solid var(--ink); }
.plan-card .who { font-size: .9rem; color: var(--ink-3); }
.plan-card .amt { font-family: var(--f-display); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-card .amt small { font-family: var(--f-body); font-size: .92rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan-card .btn { margin-top: auto; }

/* misc page bits */
.phero { padding-block: clamp(28px, 5vw, 60px) clamp(18px, 3vw, 30px); display: grid; gap: 14px; }
.phero > * { max-width: 880px; }
.crumb-row { font-size: .9rem; color: var(--ink-3); }
.crumb-row a { color: var(--ink-2); }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--ink-2); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.privacy-note svg { width: 18px; height: 18px; flex: none; stroke: var(--brand); fill: none; stroke-width: 2; margin-top: 1px; }
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.founder .pav { width: 88px; height: 88px; font-size: 2rem; }
.roles-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.roles-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.roles-list span { color: var(--ink-3); font-size: .92rem; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-row code { font-family: var(--f-body); font-weight: 650; font-size: 1.05rem; background: var(--surface); padding: 8px 12px; border-radius: 8px; user-select: all; word-break: break-all; }
.vmv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .vmv { grid-template-columns: minmax(0, 1fr); } }
.vmv > div { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--surface); }
.vmv > div:nth-child(2) { background: var(--brand-soft); } .vmv > div:nth-child(3) { background: var(--cta-soft); }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr); } }
.values div { display: grid; gap: 6px; align-content: start; border-top: 2px solid var(--ink); padding-top: 14px; }
.values b { font-family: var(--f-display); font-size: 1.1rem; }
.values p { color: var(--ink-2); font-size: .92rem; }
.socials { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .socials { grid-template-columns: minmax(0, 1fr); } }
.soc { border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: 8px; text-decoration: none; color: inherit; align-content: start; background: var(--bg); transition: transform .2s, border-color .2s; min-width: 0; }
a.soc:hover { transform: translateY(-3px); border-color: var(--cta); }
.soc .sh { display: flex; gap: 10px; align-items: center; font-weight: 750; }
.soc .sh svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.soc p { font-size: .88rem; color: var(--ink-2); }
.credits { columns: 3 240px; column-gap: 24px; font-size: .82rem; color: var(--ink-3); }
.credits a { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fact { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.fact b { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.fact p { color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.svc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 22px; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tabs button { flex: none; border: 1.5px solid var(--line); background: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-2); min-height: 44px; }
.svc-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc-tabs button:hover { border-color: var(--cta); }
.legal { padding-block: 48px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-3); margin-bottom: 26px; }
.legal-body { display: grid; gap: 14px; max-width: 74ch; color: var(--ink-2); }
.legal-body h2 { font-size: 1.4rem; color: var(--ink); margin-top: 26px; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 1.05rem; color: var(--ink); margin-top: 8px; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-body strong { color: var(--ink); }
.toc { max-width: 74ch; margin-bottom: 28px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.draft-note { background: var(--brass-soft); border-radius: 12px; padding: 14px 16px; color: var(--ink); font-size: .92rem; max-width: 74ch; margin-bottom: 24px; }
.nf { padding-block: 72px; }

/* ===================== tools ===================== */
.tool { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 56px; }
.tool.wide-side { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); }
@media (max-width: 1100px) { .tool, .tool.wide-side { grid-template-columns: minmax(0, 1fr); } }
.tool-side { display: grid; gap: 14px; min-width: 0; align-content: start; }
.tool-main { display: grid; gap: 16px; min-width: 0; align-content: start; }
@media (min-width: 1101px) { .tool-main.sticky { position: sticky; top: calc(var(--header-h) + 16px); } }
.acc { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); min-width: 0; }
.acc > summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 750; position: relative; display: flex; gap: 10px; align-items: center; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.acc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc > summary .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cta-soft); color: var(--cta); font-size: .8rem; flex: none; }
.acc .acc-b { padding: 2px 16px 18px; display: grid; gap: 14px; min-width: 0; }
.acc hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .spacer { flex: 1 1 0; min-width: 0; }
.seg-tabs { display: inline-flex; background: var(--surface); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; max-width: 100%; }
.seg-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--ink-2); min-height: 36px; }
.seg-tabs button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-s); }
.export-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; border-radius: var(--r-m); background: var(--surface); }
.export-bar .lbl { font-size: .82rem; font-weight: 750; color: var(--ink-3); margin-right: 4px; }
.clauses { display: grid; gap: 8px; }
.clause { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; min-width: 0; }
.clause.off { opacity: .55; }
.clause-top { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.clause-top label { display: flex; gap: 10px; align-items: center; font-weight: 650; font-size: .92rem; cursor: pointer; min-width: 0; flex: 1 1 160px; }
.clause-top input { width: 20px; height: 20px; accent-color: var(--cta); flex: none; }
.clause-top .tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.clause textarea { width: 100%; min-height: 120px; font-size: .88rem; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); resize: vertical; }
.clause .tag { font-size: .7rem; font-weight: 750; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.clause .tag.law { background: var(--surface-2); color: var(--ink-2); }
.clause .tag.ed { background: var(--cta-soft); color: var(--cta); }
.paper-wrap { background: var(--surface-2); border-radius: var(--r-l); padding: clamp(10px, 2.5vw, 28px); overflow: auto; max-width: 100%; }
.paper { background: #ffffff; color: #1a1a1a; max-width: 820px; margin-inline: auto; padding: clamp(18px, 5vw, 56px); border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.12); font-family: "Lora", Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.paper h1 { font-family: Georgia, serif; font-size: 21px; text-align: center; letter-spacing: .02em; margin-bottom: 4px; color: #111; text-wrap: balance; }
.paper h2 { font-family: Georgia, serif; font-size: 15px; margin: 18px 0 6px; color: #111; letter-spacing: 0; }
.paper p { margin: 0 0 8px; }
.paper .sub { text-align: center; color: #555; font-size: 12px; margin-bottom: 18px; }
.paper .en { color: #555; font-style: italic; }
.paper table.info { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 13px; table-layout: fixed; }
.paper table.info td { border: 1px solid #bbb; padding: 6px 8px; vertical-align: top; }
.paper table.info td:first-child { width: 36%; background: #f4f4f1; font-weight: 600; }
.paper .clause-p { margin-bottom: 10px; text-align: justify; hyphens: auto; }
.paper .clause-p b { display: block; margin-bottom: 2px; }
.paper .sigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-top: 28px; }
.paper .sig { border-top: 1px solid #333; padding-top: 6px; font-size: 12px; min-height: 90px; }
.paper .sig img { display: block; max-height: 60px; max-width: 100%; margin-bottom: 4px; }
.paper .fine-p { font-size: 11px; color: #666; margin-top: 18px; }
.paper table.lines { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.paper table.lines th, .paper table.lines td { border-bottom: 1px solid #ddd; padding: 7px 6px; text-align: left; }
.paper table.lines .r { text-align: right; white-space: nowrap; }
.paper table.lines tr.tot td { border-top: 2px solid #222; border-bottom: 0; font-weight: 700; }
.paper .doc-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; border-bottom: 2px solid #222; padding-bottom: 12px; margin-bottom: 14px; }
.paper .doc-head h1 { text-align: left; margin: 0; }
.paper .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13px; }
@media (max-width: 560px) { .paper .two { grid-template-columns: 1fr; } .paper { font-size: 13px; } }
.sigpad { display: grid; gap: 8px; }
.sigpad canvas { width: 100%; height: 140px; border: 1.5px dashed var(--ink-3); border-radius: 12px; background: #ffffff; touch-action: none; cursor: crosshair; }
.sigpad .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.signed { color: var(--brand); font-weight: 750; font-size: .9rem; }
.saved-list { display: grid; gap: 8px; }
.saved-item { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; background: var(--bg); color: inherit; font: inherit; text-align: left; width: 100%; min-width: 0; }
.saved-item > :first-child { min-width: 0; flex: 1 1 180px; }
.saved-item .meta { font-size: .82rem; color: var(--ink-3); }
button.saved-item { cursor: pointer; }
button.saved-item[aria-current="true"] { background: var(--cta-soft); border-color: var(--cta); }
.brackets { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.brackets i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .72rem; font-weight: 750; color: var(--ink); border-right: 2px solid var(--bg); white-space: nowrap; overflow: hidden; min-width: 0; }
.brackets i:nth-child(1) { background: var(--tint-1); } .brackets i:nth-child(2) { background: var(--tint-3); } .brackets i:nth-child(3) { background: var(--tint-2); } .brackets i:nth-child(4) { background: var(--tint-4); } .brackets i:nth-child(5) { background: var(--cta-soft); }
/* property rows in tax tool: card list instead of a cramped table */
.prop-list { display: grid; gap: 10px; }
.prop { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, .7fr) auto; gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.prop .field > label { font-size: .74rem; }
.prop .field input, .prop .field select { min-height: 42px; padding: 8px 10px; }
.prop .wh { grid-column: 1 / -1; }
.prop .x { align-self: end; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--ink-2); }
.prop .x:hover { border-color: var(--cta); color: var(--cta); }
@media (max-width: 700px) { .prop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prop .f-name { grid-column: 1 / -1; } }
.ledger .dtable { min-width: 620px; }
.jump { display: none; }
@media (max-width: 1100px) { .jump { display: inline-flex; position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 43; box-shadow: var(--shadow); } }
@media (min-width: 761px) and (max-width: 1100px) { .jump { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); right: 76px; } }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .guide { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 14px; max-width: 72ch; color: var(--ink-2); font-size: 1.02rem; }
.prose h2 { color: var(--ink); margin-top: 18px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); scroll-margin-top: 90px; }
.prose h3 { color: var(--ink); margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.prose .callout { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; color: var(--ink); }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
@media (max-width: 960px) { .aside-card { position: static; } }
.aside-card .ph { aspect-ratio: 4 / 3; }
.tool-strip { display: grid; gap: 8px; }
.tool-strip a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.tool-strip a:hover { border-color: var(--cta); }
.tool-strip img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.tool-strip b { font-size: .92rem; }
.tool-strip span { font-size: .8rem; color: var(--ink-3); display: block; }
@media print {
  .site-header, .site-footer, .bottom-nav, .chips-bar, .tool-side, .no-print, .preview-bar, .mobile-book, .to-top, .lang-hint, .guide, .phero { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .tool { display: block; } .paper-wrap { background: none; padding: 0; } .paper { box-shadow: none; max-width: none; padding: 0; }
}

/* ===================== app page ===================== */
.app-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 80% -10%, color-mix(in srgb, var(--cta-2) 22%, transparent), transparent 60%), radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 60%), var(--night); color: var(--night-ink); }
.app-hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.app-hero h1 { color: #ffffff; max-width: 14ch; }
.app-hero .lede { color: var(--night-ink-2); }
@media (max-width: 960px) { .app-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); color: #ffffff; text-decoration: none; min-height: 48px; }
.store svg { width: 22px; height: 22px; fill: #ffffff; flex: none; }
.store small { display: block; font-size: .66rem; opacity: .8; line-height: 1.1; }
.store b { font-size: .95rem; line-height: 1.1; }
.phones { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1600px; padding-block: 24px 10px; min-height: 560px; }
.phone { width: 252px; flex: none; aspect-ratio: 9 / 19.2; border-radius: 42px; background: #15180f; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), inset 0 0 0 2px #3a3f30, inset 0 0 0 5px #0b0d08; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #0b0d08; z-index: 3; }
.phones .phone:nth-child(1) { transform: rotateY(26deg) rotateX(6deg) translateZ(-80px) translateX(44px); z-index: 1; }
.phones .phone:nth-child(2) { transform: rotateX(4deg) translateZ(40px) scale(1.06); z-index: 3; }
.phones .phone:nth-child(3) { transform: rotateY(-26deg) rotateX(6deg) translateZ(-80px) translateX(-44px); z-index: 1; }
.phones:hover .phone:nth-child(1) { transform: rotateY(16deg) rotateX(3deg) translateZ(-40px) translateX(20px); }
.phones:hover .phone:nth-child(3) { transform: rotateY(-16deg) rotateX(3deg) translateZ(-40px) translateX(-20px); }
@media (max-width: 960px) {
  .phones { overflow-x: auto; justify-content: flex-start; gap: 18px; perspective: none; scroll-snap-type: x mandatory; padding-inline: 4px; min-height: 0; }
  .phones .phone, .phones:hover .phone { transform: none !important; scroll-snap-align: center; width: 236px; }
}
.notif { position: absolute; z-index: 5; background: rgba(255,255,255,.96); color: #1f2418; border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; width: 250px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); font-size: .8rem; animation: floaty 6s ease-in-out infinite; }
.notif .i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #eef1e2; }
.notif .i svg { width: 18px; height: 18px; fill: none; stroke: #4a5a28; stroke-width: 2; }
.notif.warm .i { background: #fdeee8; } .notif.warm .i svg { stroke: #c4391f; }
.notif b { display: block; font-size: .84rem; }
.notif span { color: #5b6250; }
.notif.n1 { left: 0; top: 70px; } .notif.n2 { right: 0; top: 40%; animation-delay: -2s; } .notif.n3 { left: 6%; bottom: 40px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .notif { display: none; } }
/* phone screens (fixed light UI, like a real app) */
.scr { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #f6f6f0; color: #1f2418; font-family: var(--f-body); font-size: 11px; display: flex; flex-direction: column; position: relative; line-height: 1.35; }
.scr .sb { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-weight: 750; font-size: 10px; }
.scr .apphead { padding: 8px 16px 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scr .apphead b { font-family: var(--f-display); font-size: 16px; letter-spacing: -0.01em; }
.scr .av { width: 26px; height: 26px; border-radius: 50%; background: #e6ebd5; display: grid; place-items: center; font-weight: 750; font-size: 11px; flex: none; }
.scr .body { padding: 6px 12px; display: grid; gap: 8px; align-content: start; flex: 1; overflow: hidden; }
.scr .c2 { background: #ffffff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: grid; gap: 4px; min-width: 0; }
.scr .c2.dark { background: #262d1b; color: #ffffff; }
.scr .c2.warm { background: linear-gradient(135deg, #c4391f, #e0661c); color: #ffffff; }
.scr .lab { font-size: 9px; opacity: .72; font-weight: 650; }
.scr .big { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scr .rowx { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; }
.scr .mini-btn { background: #ffffff; color: #c4391f; border-radius: 999px; padding: 5px 10px; font-weight: 800; font-size: 10px; flex: none; }
.scr .mini-btn.o { background: #1f2418; color: #ffffff; }
.scr .chip2 { font-size: 8.5px; font-weight: 750; padding: 2px 7px; border-radius: 999px; background: #eef1e2; color: #4a5a28; white-space: nowrap; flex: none; }
.scr .chip2.r { background: #fdeee8; color: #c4391f; } .scr .chip2.y { background: #fdf0dc; color: #9a5a0c; } .scr .chip2.g { background: #ebede2; color: #4b5240; }
.scr .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px 16px; background: #ffffff; border-top: 1px solid #e6e8df; font-size: 8px; text-align: center; color: #737a67; font-weight: 750; }
.scr .tabbar span.on { color: #c4391f; }
.scr .li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eef0e8; min-width: 0; }
.scr .li:last-child { border-bottom: 0; }
.scr .li .dot { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: #f4e7d3; flex: none; }
.scr .li .dot svg { width: 14px; height: 14px; fill: none; stroke: #4b5240; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scr .li .dot img { width: 26px; height: 26px; border-radius: 9px; object-fit: cover; }
.scr .li > div { min-width: 0; flex: 1; }
.scr .li small { display: block; color: #737a67; font-size: 8.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr .li b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scr svg.spark { width: 100%; height: 50px; display: block; }
.scr .gauge { width: 112px; height: 62px; margin: 0 auto; display: block; }
.scr .thumb { width: 100%; height: 86px; border-radius: 10px; object-fit: cover; }
.scr .bars { display: flex; align-items: flex-end; gap: 4px; height: 54px; }
.scr .bars i { flex: 1; background: #4a5a28; border-radius: 3px 3px 0 0; }
.scr .bars i.m { background: #d9dccf; }
.scr .seg3 { display: flex; background: #ebede2; border-radius: 9px; padding: 2px; gap: 2px; }
.scr .seg3 span { flex: 1; text-align: center; padding: 4px; border-radius: 7px; font-weight: 750; font-size: 9px; color: #5b6250; }
.scr .seg3 span.on { background: #ffffff; color: #1f2418; }
.scr .progress { height: 6px; border-radius: 999px; background: #ebede2; overflow: hidden; }
.scr .progress i { display: block; height: 100%; background: #4a5a28; border-radius: 999px; }
/* app tour */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (max-width: 1000px) { .tour { grid-template-columns: minmax(0, 1fr); justify-items: center; } .tour .tour-list { width: 100%; } }
.tour .phone { width: 280px; transform: none; }
@media (max-width: 380px) { .tour .phone { width: 250px; } }
.tour-list { display: grid; gap: 8px; align-content: center; min-width: 0; }
.tour-item { display: grid; gap: 4px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; background: var(--bg); cursor: pointer; color: inherit; transition: border-color .2s, background .2s; }
.tour-item b { font-size: 1rem; }
.tour-item span { font-size: .88rem; color: var(--ink-2); }
.tour-item[aria-selected="true"] { border-color: var(--cta); background: var(--cta-soft); }
.tour-item:hover { border-color: var(--ink-3); }
.role-tabs { display: flex; justify-content: center; margin-bottom: 26px; }
.scr-stack { position: relative; width: 100%; height: 100%; }
.scr-stack .scr { position: absolute; inset: 0; transition: opacity .35s, transform .35s; }
.scr-stack .scr[hidden] { display: flex !important; opacity: 0; transform: translateX(14px); pointer-events: none; }
/* desktop dashboard mock */
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); max-width: 100%; }
.browser .bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.browser .bar span { margin-left: 10px; font-size: .76rem; color: var(--ink-3); background: var(--bg); padding: 3px 12px; border-radius: 999px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 560px; }
.dash nav { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: .88rem; background: var(--bg); }
.dash nav button { display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); cursor: pointer; font-weight: 600; }
.dash nav button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dash nav button:hover { background: var(--surface); }
.dash nav button[aria-selected="true"] { background: var(--cta-soft); color: var(--cta); font-weight: 750; }
.dash nav .who { display: flex; gap: 8px; align-items: center; padding: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dash nav .who .pav { width: 32px; height: 32px; font-size: .9rem; }
.dash nav .who b { font-size: .86rem; display: block; } .dash nav .who span { font-size: .72rem; color: var(--ink-3); }
.dash .main { padding: 18px; display: grid; gap: 14px; min-width: 0; align-content: start; background: var(--surface); }
.dash .dtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.dash .dtop h3 { font-size: 1.15rem; }
.dash-select { display: none; }
@media (max-width: 900px) { .dash { grid-template-columns: minmax(0, 1fr); } .dash nav { display: none; } .dash-select { display: block; padding: 12px 14px 0; background: var(--surface); } .dash-select select { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line); padding: 8px 10px; background: var(--bg); } }
.kpis4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpis4 > div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; min-width: 0; }
.kpis4 span { font-size: .74rem; color: var(--ink-3); }
.kpis4 b { font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpis4 em { font-style: normal; font-size: .74rem; font-weight: 750; color: var(--good); }
.kpis4 em.neg { color: var(--cta); }
@media (max-width: 700px) { .kpis4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.dgrid.eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .dgrid, .dgrid.eq { grid-template-columns: minmax(0, 1fr); } }
.chartbox { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; min-width: 0; align-content: start; position: relative; }
.chartbox h4 { margin: 0; font-size: .9rem; font-family: var(--f-body); font-weight: 750; letter-spacing: 0; }
.chartbox .sub { font-size: .76rem; color: var(--ink-3); }
.chartbox svg { width: 100%; height: auto; display: block; overflow: visible; }
.chartbox svg text { fill: var(--ink-3); font-size: 10px; font-family: var(--f-body); }
.chartbox svg .gl { stroke: var(--line); stroke-width: 1; }
.chartbox svg .axis { stroke: var(--ink-3); stroke-width: 1; }
.legend { display: flex; gap: 14px; font-size: .76rem; color: var(--ink-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.tip { position: absolute; pointer-events: none; z-index: 5; background: var(--ink); color: var(--bg); font-size: .76rem; padding: 6px 9px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); font-variant-numeric: tabular-nums; }
.alerts { display: grid; gap: 8px; }
.alert-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: .86rem; }
.alert-row::before { content: ""; width: 8px; height: 100%; min-height: 28px; border-radius: 4px; background: var(--chart-muted); }
.alert-row.crit::before { background: var(--cta); } .alert-row.warn::before { background: var(--chart-4); } .alert-row.ok::before { background: var(--good); }
.alert-row small { display: block; color: var(--ink-3); font-size: .76rem; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.kcol { background: var(--surface-2); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.kcol h5 { margin: 0; font-size: .8rem; display: flex; justify-content: space-between; color: var(--ink-2); }
.kcard { background: var(--bg); border-radius: 10px; padding: 10px; display: grid; gap: 6px; font-size: .82rem; box-shadow: var(--shadow-s); border-left: 3px solid var(--chart-muted); }
.kcard.urg { border-left-color: var(--cta); } .kcard.mid { border-left-color: var(--chart-4); } .kcard.low { border-left-color: var(--good); }
.kcard b { font-size: .86rem; }
.kcard .m { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .74rem; gap: 6px; }
.kcard img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; }
.heat { display: grid; grid-template-columns: repeat(31, minmax(0, 1fr)); gap: 2px; }
.heat i { aspect-ratio: 1; border-radius: 2px; background: var(--surface-2); }
.prop-rows { display: grid; gap: 8px; }
.prop-row { display: grid; grid-template-columns: 54px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 90px; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: .86rem; }
.prop-row img { width: 54px; height: 44px; border-radius: 8px; object-fit: cover; }
.prop-row b { display: block; } .prop-row small { color: var(--ink-3); font-size: .74rem; display: block; }
.prop-row svg { width: 90px; height: 30px; }
@media (max-width: 640px) { .prop-row { grid-template-columns: 48px minmax(0, 1fr) auto; } .prop-row .hide-s { display: none; } }
.auto-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { .auto-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .auto-steps { grid-template-columns: minmax(0, 1fr); } }
.auto-steps > div { border-radius: var(--r-m); padding: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.auto-steps .day { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--cta); }
.photo-phone { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: #0b0d08; max-width: 100%; }
.photo-phone > img { width: 100%; height: 100%; object-fit: cover; }
.photo-phone .screen-on { position: absolute; overflow: hidden; border-radius: 6% / 3%; }
.photo-phone .screen-on .scr { border-radius: 0; font-size: 7px; }
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.roadmap > div { border-top: 3px solid var(--line); padding-top: 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.roadmap > div.done { border-top-color: var(--good); } .roadmap > div.now { border-top-color: var(--cta); }
.roadmap ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .92rem; display: grid; gap: 4px; }
@media (max-width: 860px) { .roadmap { grid-template-columns: minmax(0, 1fr); } }

/* ===================== AI page ===================== */
.ai-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .ai-demo { grid-template-columns: minmax(0, 1fr); } }
.score-ring { width: 180px; height: 180px; margin: 0 auto; display: block; }
.score-ring .trk { fill: none; stroke: var(--surface-2); stroke-width: 14; }
.score-ring .val { fill: none; stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .5s ease, stroke .3s; }
.score-ring text { fill: var(--ink); font-family: var(--f-display); text-anchor: middle; }
.score-ring text.s { fill: var(--ink-3); font-family: var(--f-body); }
.factors { display: grid; gap: 10px; }
.factor { display: grid; gap: 4px; }
.factor .fl { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 650; }
.factor .fb { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.factor .fb i { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .4s; }
.factor .fb i.neg { background: var(--cta); }
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ly; }
@media (max-width: 900px) { .layers { grid-template-columns: minmax(0, 1fr); } }
.layer { border-radius: var(--r-l); padding: 22px; display: grid; gap: 10px; align-content: start; background: var(--bg); border: 1px solid var(--line); position: relative; min-width: 0; }
.layer::before { counter-increment: ly; content: "L" counter(ly); position: absolute; right: 18px; top: 16px; font-family: var(--f-display); font-weight: 700; color: var(--cta); }
.layer ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .92rem; display: grid; gap: 4px; }
.layer .out { font-size: .82rem; font-weight: 750; color: var(--brand); background: var(--brand-soft); padding: 6px 10px; border-radius: 8px; }
.weights { display: grid; gap: 12px; }
.weight { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 46px; gap: 12px; align-items: center; font-size: .92rem; }
.weight .wb { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.weight .wb i { display: block; height: 100%; border-radius: 999px; background: var(--chart-1); }
.weight b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .weight { grid-template-columns: minmax(0, 1fr) 46px; } .weight .wb { grid-column: 1 / -1; grid-row: 2; } }
.chat { display: grid; gap: 10px; max-width: 520px; }
.msg { padding: 10px 14px; border-radius: 16px; font-size: .92rem; max-width: 85%; }
.msg.u { background: var(--ink); color: var(--bg); justify-self: end; border-bottom-right-radius: 4px; }
.msg.b { background: var(--surface); justify-self: start; border-bottom-left-radius: 4px; }

/* ===================== investor deck ===================== */
.deck-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 18px 6px; }
.deck-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.deck-nav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.deck-nav .wrap::-webkit-scrollbar { display: none; }
.deck-nav a { flex: none; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 750; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.deck-nav a:hover { background: var(--surface); }
.deck-nav a.on { background: var(--ink); color: var(--bg); }
.slides { display: grid; gap: 26px; padding-block: 26px 80px; }
.slide { position: relative; border-radius: 28px; border: 1px solid var(--line); background: var(--bg); padding: clamp(22px, 4.5vw, 60px); min-height: min(660px, 82vh); display: grid; align-content: center; gap: 22px; scroll-margin-top: calc(var(--header-h) + 64px); box-shadow: var(--shadow-s); overflow: hidden; min-width: 0; }
.slide.dark { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.slide.dark p, .slide.dark li, .slide.dark .lede { color: var(--night-ink-2); }
.slide.dark h2, .slide.dark h3 { color: #ffffff; }
.slide.warm { background: linear-gradient(140deg, #b8341b, #df6a20); color: #ffffff; border: 0; }
.slide.warm p, .slide.warm .lede { color: #ffeadf; } .slide.warm h2 { color: #ffffff; }
.slide.photo { color: #ffffff; border: 0; background: #1b2013; }
.slide.photo > img.bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.slide.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,17,10,.92) 0%, rgba(14,17,10,.6) 55%, rgba(14,17,10,.25) 100%); }
.slide.photo > :not(img):not(.sn) { position: relative; z-index: 1; }
.slide.photo h2 { color: #ffffff; } .slide.photo p { color: #e6e9dc; }
.slide .sn { position: absolute; top: 20px; right: 24px; font-size: .78rem; font-weight: 750; color: var(--ink-3); font-variant-numeric: tabular-nums; z-index: 2; }
.slide.dark .sn, .slide.warm .sn, .slide.photo .sn { color: rgba(255,255,255,.7); }
.slide h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); max-width: 22ch; }
.slide .eyebrow { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cta); }
.slide.dark .eyebrow, .slide.photo .eyebrow { color: var(--cta-2); } .slide.warm .eyebrow { color: #ffe0d0; }
.bigstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.bigstats > div { display: grid; gap: 4px; align-content: start; min-width: 0; }
.bigstats b { font-family: var(--f-display); font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.bigstats span { opacity: .85; font-size: .92rem; }
.bigstats small { font-size: .74rem; opacity: .7; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.mkt-table th, .mkt-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.mkt-table td.r, .mkt-table th.r { text-align: right; }
.mkt-table thead th { font-size: .76rem; color: var(--ink-3); }
.comp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.comp-table th, .comp-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.comp-table thead th { font-size: .78rem; color: var(--ink-3); }
.comp-table tr.us td, .comp-table td.us { background: var(--cta-soft); font-weight: 650; }
.moat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .moat { grid-template-columns: minmax(0, 1fr); } }
.moat > div { border-left: 3px solid var(--cta); padding-left: 14px; display: grid; gap: 4px; }
.lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: lc; }
@media (max-width: 900px) { .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lifecycle { grid-template-columns: minmax(0, 1fr); } }
.lifecycle > div { counter-increment: lc; border-radius: var(--r-m); background: var(--surface); padding: 14px; display: grid; gap: 4px; align-content: start; }
.lifecycle > div::before { content: counter(lc); font-family: var(--f-display); font-weight: 700; color: var(--cta); }
.lifecycle b { font-size: .95rem; } .lifecycle p { font-size: .84rem; color: var(--ink-2); } .lifecycle small { font-size: .72rem; color: var(--ink-3); font-weight: 700; }
.fin-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .fin-grid { grid-template-columns: minmax(0, 1fr); } }
.model-switch { display: grid; gap: 8px; }
.model-switch label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: .88rem; }
.model-switch label:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.model-switch input { accent-color: var(--cta); margin-top: 3px; }
.donut-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
@media (max-width: 560px) { .donut-wrap { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.donut-wrap svg { width: 200px; height: 200px; }
.donut-legend { display: grid; gap: 8px; width: 100%; }
.donut-legend div { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .92rem; }
.donut-legend i { width: 12px; height: 12px; border-radius: 3px; }
.donut-legend b { font-variant-numeric: tabular-nums; }
.circles { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin-inline: auto; }
.circles div { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border-radius: 50%; display: grid; justify-items: center; align-content: start; padding-top: 7%; text-align: center; font-size: .76rem; font-weight: 750; transition: width .4s, height .4s; color: var(--ink); }
.circles .c1 { width: 100%; height: 100%; background: var(--tint-1); }
.circles .c2 { width: 62%; height: 62%; background: var(--tint-2); }
.circles .c3 { width: 30%; height: 30%; background: var(--cta); color: #ffffff; padding-top: 8%; }
.circles b { display: block; font-family: var(--f-display); font-size: 1rem; }
.risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .risk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .risk-grid { grid-template-columns: minmax(0, 1fr); } }
.risk-grid > div { border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; display: grid; gap: 6px; align-content: start; }
.risk-grid b { font-size: .98rem; } .risk-grid p { font-size: .88rem; color: var(--ink-2); }
/* present mode */
body.presenting { overflow: hidden; }
body.presenting .slides { position: fixed; inset: 0; z-index: 90; background: #0c0e09; padding: 0; display: block; }
body.presenting .slide { position: absolute; inset: 0; margin: auto; width: min(100vw, calc(100vh * 16 / 9)); height: min(100vh, calc(100vw * 9 / 16)); min-height: 0; border-radius: 0; overflow: auto; display: none; }
body.presenting .slide.cur { display: grid; }
.present-ui { display: none; }
body.presenting .present-ui { display: flex; position: fixed; z-index: 95; right: 16px; bottom: 16px; gap: 8px; }
.present-ui button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f2418; cursor: pointer; font-size: 1.1rem; font-weight: 800; }

/* ===================== additions: header, search, menu, finder, premium steps ===================== */
@media (min-width: 1241px) { .host-link { display: none; } }
.tabs a { padding: 9px 10px; font-size: .92rem; }

/* grouped menu */
.menu { width: min(520px, calc(100vw - 32px)); padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
.menu .menu-cta { grid-column: 1 / -1; display: flex; gap: 8px; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu .menu-cta a { flex: 1; text-align: center; border-radius: 10px; padding: 10px 12px; font-weight: 750; }
.menu .menu-cta a.strong { background: var(--cta); color: var(--cta-ink); }
.menu .menu-cta a.strong:hover { background: var(--cta-hover); }
.menu .menu-cta a.ghost { border: 1.5px solid var(--line); }
.menu .mg { display: grid; align-content: start; min-width: 0; }
.menu .mh { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 4px; }
.menu .mg a { padding: 8px 10px; border-radius: 8px; font-size: .94rem; }
@media (max-width: 560px) { .menu { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.f-top .f-brand { margin-bottom: 0; }
.f-lang { display: grid; gap: 8px; justify-items: start; font-weight: 750; font-size: .85rem; }
.lang-lg a { font-size: .86rem; padding: 7px 12px 7px 8px; }
.lang-lg a svg { width: 24px; height: 16px; }
@media (max-width: 640px) { .lang-lg a span { display: inline; } }
.f-disc { margin-top: 18px; max-width: 110ch; }

/* smart search */
.qsearch { margin-top: clamp(20px, 3vw, 30px); display: grid; gap: 10px; }
.sbox-wrap { position: relative; }
.sbox { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); padding: 6px 6px 6px 18px; }
.sbox:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-s); }
.sbox > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; }
.sbox input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 1rem; padding: 12px 4px; color: var(--ink); }
.sbox input::placeholder { color: var(--ink-3); }
.sf-toggle { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 0 14px; height: 46px; font-weight: 700; cursor: pointer; flex: none; }
.sf-toggle:hover, .sf-toggle[aria-expanded="true"] { border-color: var(--ink); }
.sf-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sf-count { background: var(--cta); color: var(--cta-ink); border-radius: 999px; font-size: .72rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; }
.sbox .search-go { height: 48px; padding: 0 18px; white-space: nowrap; }
.sugg { position: absolute; z-index: 35; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); max-height: 340px; overflow: auto; }
.sugg li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.sugg li svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; flex: none; }
.sugg li small { color: var(--ink-3); }
.sugg li[aria-selected="true"], .sugg li:hover { background: var(--surface); }
.sfilters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); }
.sfilters .field select { min-height: 44px; padding: 8px 10px; }
.qchip { cursor: pointer; border: 0; font: inherit; font-size: .76rem; font-weight: 750; }
.qchip span { opacity: .6; margin-left: 2px; }
.qchip:hover span { opacity: 1; }
@media (max-width: 640px) {
  .sbox { flex-wrap: wrap; border-radius: var(--r-l); padding: 8px 8px 8px 14px; }
  .sbox input { flex: 1 1 calc(100% - 34px); }
  .sf-toggle { flex: 1 1 auto; justify-content: center; }
  .sbox .search-go { flex: 2 1 auto; }
  .sfilters { grid-template-columns: minmax(0, 1fr); }
}

/* comparison bar: service fee */
.bar .b-fee { background: var(--tint-2); }

/* premium steps */
.steps7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; }
.steps7 > div { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 0; }
.steps7 .col { width: 100%; border-radius: 8px 8px 0 0; background: var(--brand-soft); display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps7 .col.start { background: var(--cta-soft); color: var(--cta); }
.steps7 small { font-size: .74rem; color: var(--ink-3); }
.steps7 b { font-size: .8rem; }
@media (max-width: 560px) { .steps7 .col { font-size: .74rem; } .steps7 small { display: none; } }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rules > div { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: grid; gap: 4px; background: var(--bg); }
.rules b.d { font-family: var(--f-display); font-size: 1.3rem; }
.rules .up { color: var(--good); } .rules .down { color: var(--cta); } .rules .same { color: var(--ink-3); }
@media (max-width: 860px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.psim-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .psim-periods { grid-template-columns: minmax(0, 1fr); } }

/* rent budget and area finder */
.finder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 960px) { .finder { grid-template-columns: minmax(0, 1fr); } }
.pri { display: flex; flex-wrap: wrap; gap: 8px; }
.pri label { cursor: pointer; }
.pri input { position: absolute; opacity: 0; pointer-events: none; }
.pri span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: .88rem; }
.pri input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pri input:focus-visible + span { outline: 3px solid var(--cta-2); outline-offset: 2px; }
.fd-item { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; display: grid; gap: 8px; background: var(--bg); }
.fd-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fd-top b { font-size: 1.02rem; }
.fd-fit { margin-left: auto; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.fd-bar { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); }
.fd-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--chart-1); }
.fd-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.fd-bar em.s { background: var(--cta); }
.fd-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .88rem; color: var(--ink-2); }
.fd-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-3); }
.fd-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; border-radius: 2px; }

/* misc */
.cert-float { padding: 0; background: none; box-shadow: none; max-width: min(320px, 82%); }
.cert-float .cert { padding: 18px; }
.tier[data-band] { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tool-main.sticky .paper-wrap { max-height: none; }
@media (min-width: 1101px) { .tool-main.sticky .paper-wrap { max-height: calc(100vh - var(--header-h) - 190px); } }
.prose table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tour > div { min-width: 0; }
.notice span { min-width: 0; }
@media (max-width: 520px) { .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: j; }
.journey li { counter-increment: j; border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; display: grid; gap: 6px; align-content: start; background: var(--bg); }
.journey li::before { content: counter(j); width: 30px; height: 30px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); display: grid; place-items: center; font-weight: 800; }
.journey li p { color: var(--ink-2); font-size: .94rem; }
.journey li .who { font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey { grid-template-columns: minmax(0, 1fr); } }
.money-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.money-flow .node { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; background: var(--bg); display: grid; gap: 4px; text-align: center; }
.money-flow .node.mid { border-color: var(--brand); background: var(--brand-soft); }
.money-flow .arr { font-size: 1.4rem; color: var(--ink-3); text-align: center; }
.money-flow small { color: var(--ink-3); font-size: .8rem; }
@media (max-width: 760px) { .money-flow { grid-template-columns: minmax(0, 1fr); } .money-flow .arr { transform: rotate(90deg); } }

/* live phone screen on a real photo (crisp at any size) */
.hand-phone { position: relative; overflow: hidden; border-radius: var(--r-xl); background: #0b0d08; aspect-ratio: 4 / 3; max-width: 100%; }
.hand-phone > img { position: absolute; max-width: none; }
.hand-phone .hp-screen { position: absolute; overflow: hidden; border-radius: 7% / 3.4%; background: #f6f6f0; }
.hand-phone .hp-screen .scr { position: absolute; left: 0; top: 0; width: 250px; height: 536px; border-radius: 0; transform-origin: 0 0; }
.hand-phone .hp-notch { position: absolute; background: #0c0c0c; border-radius: 0 0 10px 10px; }
.band .hand-phone { border-radius: 0; height: 100%; aspect-ratio: auto; min-height: 340px; }
#ps-table td:first-child { white-space: nowrap; }
#ps-table td:last-child { min-width: 150px; }

/* ===================== polish: theme, menu, footer, brand, motion ===================== */

/* smooth colour change only while the visitor switches theme */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease, stroke .35s ease, box-shadow .35s ease !important;
}
body { transition: background-color .35s ease; }

/* theme switch button */
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; position: relative; overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .15s; }
.theme-btn:hover { box-shadow: var(--shadow-s); border-color: var(--ink-3); }
.theme-btn:active { transform: scale(.94); }
.theme-btn span, .mf-theme span.ti-sun, .mf-theme span.ti-moon { display: grid; place-items: center; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.theme-btn span { position: absolute; inset: 0; }
.theme-btn svg, .mf-theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ti-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.ti-moon { opacity: 1; transform: none; }
:root[data-theme="dark"] .ti-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .ti-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
@media (max-width: 640px) { .theme-btn { width: 40px; height: 40px; } }
@media (max-width: 380px) { .hdr-right > .theme-btn { display: none; } }

/* ---------- grouped menu with icons ---------- */
.menu { width: min(660px, calc(100vw - 24px)); padding: 12px; gap: 6px 14px; border-radius: 20px; box-shadow: 0 18px 50px rgba(20, 24, 14, .18), 0 2px 6px rgba(20, 24, 14, .08); transform-origin: top right; }
.menu:not([hidden]) { animation: menuIn .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.menu .menu-cta { gap: 10px; padding: 2px 2px 12px; margin-bottom: 4px; }
.menu .menu-cta a.mc { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s; }
.menu .menu-cta a.mc svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu .menu-cta a.mc span { display: grid; gap: 1px; min-width: 0; }
.menu .menu-cta a.mc b { font-size: .95rem; }
.menu .menu-cta a.mc small { font-size: .78rem; opacity: .85; font-weight: 500; }
.menu .menu-cta a.mc.strong { background: linear-gradient(120deg, var(--cta), var(--cta-2)); color: var(--cta-ink); box-shadow: 0 6px 16px var(--cta-glow); }
.menu .menu-cta a.mc.ghost { border: 1.5px solid var(--line); color: var(--ink); }
.menu .menu-cta a.mc:hover { transform: translateY(-2px); }
.menu .menu-cta a.mc.ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.menu .mh { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px; color: var(--ink-3); }
.menu .mh svg { width: 15px; height: 15px; fill: none; stroke: var(--cta); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.menu a.mi { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .18s; }
.menu a.mi .mi-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); color: var(--brand); flex: none; transition: background .2s, color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.menu a.mi .mi-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu a.mi .mi-tx { display: grid; gap: 1px; min-width: 0; }
.menu a.mi b { font-size: .93rem; font-weight: 700; }
.menu a.mi small { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.menu a.mi:hover { background: var(--surface); }
.menu a.mi:hover .mi-ic { background: var(--brand); color: var(--brand-ink); transform: rotate(-6deg) scale(1.06); }
.menu .menu-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 6px 2px; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.menu .menu-foot .lang a { padding: 5px 9px 5px 6px; }
.menu .menu-foot .lang a span { display: inline !important; }
.mf-theme { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 14px 6px 10px; cursor: pointer; font-weight: 700; font-size: .85rem; position: relative; }
.mf-theme:hover { border-color: var(--ink-3); }
.mf-theme .ti-sun, .mf-theme .ti-moon { width: 20px; height: 20px; }
.mf-theme .ti-sun { position: absolute; left: 10px; top: 50%; margin-top: -10px; }
.mf-theme .mf-l::after { content: ""; display: inline-block; width: 30px; height: 18px; border-radius: 999px; background: var(--surface-2); margin-left: 10px; vertical-align: -4px; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s; }
.mf-theme .mf-l { position: relative; }
.mf-theme .mf-l::before { content: ""; position: absolute; right: 15px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .25s cubic-bezier(.2, .8, .2, 1); z-index: 1; }
:root[data-theme="dark"] .mf-theme .mf-l::after { background: var(--brand); }
:root[data-theme="dark"] .mf-theme .mf-l::before { transform: translateX(12px); }
@media (max-width: 760px) {
  .menu { position: fixed; left: 10px; right: 10px; top: calc(var(--header-h) + 6px + env(safe-area-inset-top, 0px)); width: auto; max-height: calc(100dvh - var(--header-h) - 96px); overflow-y: auto; overscroll-behavior: contain; transform-origin: top center; }
}
@media (max-width: 560px) { .menu .menu-cta { flex-direction: column; } }

/* ---------- stacked logo ---------- */
.brand-stack { display: inline-block; line-height: 0; }
.brand-stack img { height: var(--bh, 96px); width: auto; }
.brand-stack .bl-dark { display: none; }
:root[data-theme="dark"] .brand-stack .bl-light { display: none; }
:root[data-theme="dark"] .brand-stack .bl-dark { display: inline-block; }
.brand-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; margin-top: 36px; padding: clamp(20px, 3vw, 34px); border-radius: var(--r-l); background: var(--bg); border: 1px solid var(--line); }
.brand-card p:not(.kicker) { color: var(--ink-2); max-width: 64ch; }
@media (max-width: 640px) { .brand-card { grid-template-columns: minmax(0, 1fr); justify-items: start; } .brand-card .brand-stack img { height: 110px; } }
.nf .brand-stack { margin-bottom: 6px; }

/* ---------- footer ---------- */
.f-brand { display: flex; gap: 22px; align-items: center; }
.f-mark { flex: none; display: block; border-radius: 16px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.f-mark:hover { transform: translateY(-3px) rotate(-2deg); }
.f-bt { display: grid; gap: 14px; min-width: 0; }
@media (max-width: 520px) { .f-brand { flex-direction: column; align-items: flex-start; } }
.f-social { gap: 10px; }
.f-social a, .f-social button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: var(--bg); cursor: pointer; padding: 0; position: relative; transition: transform .22s cubic-bezier(.2, .8, .2, 1), color .2s, background .2s, border-color .2s, box-shadow .2s; }
.f-social a:hover, .f-social button:hover, .f-social button[aria-expanded="true"] { transform: translateY(-3px); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.f-social [data-net="instagram"]:hover, .f-social [data-net="instagram"][aria-expanded="true"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.f-social [data-net="tiktok"]:hover, .f-social [data-net="tiktok"][aria-expanded="true"] { background: #111; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.f-social [data-net="linkedin"]:hover, .f-social [data-net="linkedin"][aria-expanded="true"] { background: #0a66c2; }
.f-social [data-net="youtube"]:hover, .f-social [data-net="youtube"][aria-expanded="true"] { background: #ff0000; }
.f-social [data-net="x"]:hover, .f-social [data-net="x"][aria-expanded="true"] { background: #000; }
.f-social svg { width: 18px; height: 18px; fill: currentColor; }
.soon-pop { position: absolute; z-index: 60; width: min(290px, calc(100vw - 32px)); background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 10px; animation: menuIn .2s cubic-bezier(.2, .8, .2, 1); }
.soon-pop .sp-h { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.soon-pop .sp-h i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.soon-pop .sp-h i svg { width: 18px; height: 18px; fill: currentColor; }
.soon-pop p { font-size: .88rem; color: var(--ink-2); }
.soon-pop .sp-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soon-pop .sp-x { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.soon-pop .sp-x:hover { background: var(--surface); color: var(--ink); }
.soon-pop .sp-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.f-cols a { position: relative; transition: color .2s; text-decoration: none; }
.f-cols a:hover { text-decoration: none; color: var(--cta); }
.f-cols a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px; background: currentColor; transition: right .25s ease; }
.f-cols a:hover::after { right: 0; }

/* ---------- livelier cards and controls ---------- */
.card { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.card:hover { transform: translateY(-4px); }
.card .cm img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .cm img { transform: scale(1.035); }
.tier, .plan-card, .soc, .vmv > div, .fd-item, .journey li, .rules > div, .pcard { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.tier:hover, .plan-card:hover, .soc:hover, .vmv > div:hover, .journey li:hover, .rules > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier:hover, .plan-card:not(.pick):hover, .journey li:hover, .rules > div:hover { border-color: var(--ink-3); }
.values div { transition: border-color .25s; }
.values div:hover { border-color: var(--cta); }
.fact b { transition: color .25s; }
.fact:hover b { color: var(--cta); }
.chip { transition: background .2s, border-color .2s, color .2s, transform .2s; }
.chip:hover { transform: translateY(-1px); }
.chip svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.chip:hover svg { transform: scale(1.15); }
.pill[data-try] { transition: background .2s, border-color .2s, transform .2s; cursor: pointer; }
.pill[data-try]:hover { transform: translateY(-1px); border-color: var(--ink-3); background: var(--surface); }
details summary { transition: color .2s; }
details summary:hover { color: var(--cta); }
.to-top { transition: transform .25s, opacity .25s, box-shadow .2s; }
.to-top:hover { transform: translateY(-3px); }

/* reveal on scroll (added by JS only, so pages still show without it) */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
@media print { .rv { opacity: 1 !important; transform: none !important; } }

/* ===================== search: Where · When · Who · What · How ===================== */
.hero-search { margin-top: clamp(22px, 3vw, 34px); position: relative; }
@media (min-width: 901px) { .hero-search { z-index: 34; } }
.xs { position: relative; }
.xs-mob, .xs-shead, .xs-sfoot { display: none; }
.xs-bar { position: relative; display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 22px rgba(31, 36, 24, .10), 0 1px 3px rgba(31, 36, 24, .08); transition: background .25s, box-shadow .25s; min-height: 70px; }
.xs.has-active .xs-bar { background: var(--surface-2); box-shadow: 0 10px 30px rgba(31, 36, 24, .14); }
.xs-seg { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; border-radius: 999px; transition: background .2s, box-shadow .2s; }
.xs-where { flex: 1.45 1 0; }
.xs-seg:hover { background: var(--surface); }
.xs.has-active .xs-seg:hover:not(.on) { background: var(--surface-2); filter: brightness(.97); }
.xs-seg.on { background: var(--bg) !important; box-shadow: 0 6px 20px rgba(31, 36, 24, .16); z-index: 2; }
.xs-trig { flex: 1; min-width: 0; display: grid; gap: 2px; align-content: center; text-align: left; padding: 12px 18px 12px 26px; border: 0; background: none; cursor: pointer; border-radius: 999px; height: 100%; color: inherit; }
.xs-trig:focus-visible { outline-offset: -3px; }
.xs-l { font-size: .76rem; font-weight: 800; letter-spacing: .02em; color: var(--ink); cursor: pointer; }
.xs-v { font-size: .92rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xs-v.set { color: var(--ink); font-weight: 650; }
.xs-trig input { border: 0; background: transparent; outline: none; padding: 0; font-size: .95rem; color: var(--ink); min-width: 0; width: 100%; text-overflow: ellipsis; }
.xs-trig input::placeholder { color: var(--ink-3); }
.xs-trig input::-webkit-search-cancel-button { display: none; }
.xs-clr { flex: none; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.xs-clr:hover { background: var(--line); transform: scale(1.08); }
.xs-clr svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.xs-div { width: 1px; align-self: center; height: 32px; background: var(--line); flex: none; transition: opacity .2s; }
.xs-seg:hover + .xs-div, .xs-div:has(+ .xs-seg:hover), .xs-seg.on + .xs-div, .xs-div:has(+ .xs-seg.on) { opacity: 0; }
.xs-go { flex: none; align-self: center; margin: 0 9px 0 6px; height: 52px; min-width: 52px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; color: var(--cta-ink); background: linear-gradient(120deg, var(--cta), var(--cta-2)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: .98rem; box-shadow: 0 6px 16px var(--cta-glow); transition: padding .3s cubic-bezier(.2, .8, .2, 1), filter .2s, transform .15s; white-space: nowrap; }
.xs-go:hover { filter: brightness(1.06); }
.xs-go:active { transform: scale(.97); }
.xs-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.xs.has-active .xs-go { padding: 0 22px 0 18px; }

/* popovers */
.xs-pop { display: none; position: absolute; top: calc(100% + 14px); left: 0; z-index: 40; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 18px 48px rgba(20, 24, 14, .2); padding: 22px; width: 440px; max-width: calc(100vw - 32px); max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain; }
.xs-seg.on > .xs-pop { display: block; animation: popIn .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#pop-where { width: 520px; }
#pop-when { width: 560px; }
#pop-what { width: 600px; }
#pop-how { width: 470px; }
.xp-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 4px 2px 12px; flex-wrap: wrap; }
.xp-h b { font-size: 1rem; }
.xp-h small { color: var(--ink-3); font-size: .82rem; }
.xp-h + .xp-h, * + .xp-h { margin-top: 20px; }
.xp-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface); font-size: .86rem; color: var(--ink-2); }
.xp-tip svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.xs-pop button { font: inherit; color: inherit; cursor: pointer; }
.xs-pop svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* where */
.sugg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sugg-list[hidden] { display: none; }
.sugg-list li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.sugg-list li svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--surface); flex: none; }
.sugg-list li small { color: var(--ink-3); margin-left: 4px; }
.sugg-list li[aria-selected="true"], .sugg-list li:hover { background: var(--surface); }
.sugg-list li[aria-selected="true"] svg, .sugg-list li:hover svg { background: var(--bg); }
.xp-recent { display: grid; gap: 2px; }
.xp-line { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 12px; text-align: left; }
.xp-line:hover { background: var(--surface); }
.xp-line svg { width: 18px; height: 18px; color: var(--ink-3); }
.xp-line[aria-pressed="true"] { background: var(--surface); font-weight: 700; }
.xp-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.xp-city { display: grid; gap: 8px; border: 0; background: none; padding: 0; text-align: left; border-radius: 16px; }
.xp-city img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.xp-city:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.xp-city span { display: grid; padding-inline: 2px; }
.xp-city b { font-size: .92rem; }
.xp-city small { font-size: .78rem; color: var(--ink-3); }
.xp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 7px 12px 7px 10px; font-size: .86rem; font-weight: 650; transition: border-color .2s, background .2s, transform .2s; }
.xp-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.xp-chip svg { width: 15px; height: 15px; color: var(--cta); }
.xp-chip small { color: var(--ink-3); font-weight: 600; }
/* when */
.xp-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.xp-tile { display: grid; justify-items: start; gap: 2px; padding: 14px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 16px; text-align: left; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.xp-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.xp-tile svg { width: 22px; height: 22px; margin-bottom: 6px; color: var(--ink-3); }
.xp-tile b { font-size: 1rem; }
.xp-tile small { color: var(--ink-3); font-size: .8rem; }
.xp-tile em { font-style: normal; font-size: .78rem; font-weight: 750; color: var(--brand); margin-top: 6px; }
.xp-tile[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.xp-tile[aria-pressed="true"] svg { color: var(--cta); }
.xp-any { margin-top: 10px; }
/* who */
.xp-step { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.xp-step div:first-child { display: grid; }
.xp-step small { color: var(--ink-3); font-size: .84rem; }
.xp-ctl { display: flex; align-items: center; gap: 12px; }
.xp-ctl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--bg); font-size: 1.15rem; line-height: 1; display: grid; place-items: center; transition: border-color .2s, transform .15s; padding: 0; }
.xp-ctl button:hover { border-color: var(--ink); }
.xp-ctl button:active { transform: scale(.9); }
.xp-ctl output { min-width: 18px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.xp-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 2px 4px; cursor: pointer; }
.xp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.xp-check span { display: grid; }
.xp-check small { color: var(--ink-3); font-size: .84rem; }
/* what */
.xp-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xp-kind { display: grid; justify-items: start; gap: 2px; padding: 14px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 16px; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.xp-kind svg { width: 28px; height: 28px; margin-bottom: 8px; color: var(--ink-2); transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .2s; }
.xp-kind:hover { border-color: var(--ink); }
.xp-kind:hover svg { transform: translateY(-2px) scale(1.06); }
.xp-kind small { color: var(--ink-3); font-size: .8rem; }
.xp-kind[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.xp-kind[aria-pressed="true"] svg { color: var(--cta); }
.xp-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-seg button { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .9rem; transition: border-color .2s, background .2s, color .2s; }
.xp-seg button:hover { border-color: var(--ink); }
.xp-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.xp-hist { display: flex; align-items: flex-end; gap: 4px; height: 62px; padding: 0 9px; }
.xp-hist i { flex: 1; border-radius: 4px 4px 0 0; background: var(--line); transition: background .2s; }
.xp-hist i.on { background: var(--brand); }
.xp-range { width: 100%; margin: 0; accent-color: var(--cta); height: 28px; cursor: pointer; }
.xp-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
[data-bout] { font-weight: 750; color: var(--ink); }
/* how */
.xp-opt { display: flex; gap: 14px; align-items: center; width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 16px; text-align: left; margin-top: 8px; transition: border-color .2s, background .2s; }
.xp-opt:hover { border-color: var(--ink); }
.xp-opt > svg { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.xp-opt span { display: grid; flex: 1; min-width: 0; }
.xp-opt small { color: var(--ink-3); font-size: .82rem; }
.xp-opt i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-3); flex: none; transition: border-color .2s, box-shadow .2s; }
.xp-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.xp-opt[aria-pressed="true"] i { border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--ink); }
.xp-always { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--brand-soft); font-size: .86rem; }
.xp-always b { width: 100%; font-size: .82rem; }
.xp-always span { display: inline-flex; gap: 6px; align-items: center; font-weight: 650; }
.xp-always svg { width: 16px; height: 16px; color: var(--brand); }
.via-own { color: var(--good); font-weight: 700; }

/* tablet & phone: compact pill that opens a full-screen sheet */
@media (max-width: 900px) {
  .xs-mob { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 10px 10px 18px; min-height: 62px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 6px 22px rgba(31, 36, 24, .12); cursor: pointer; color: var(--ink); }
  .xs-mob > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
  .xs-mob span { display: grid; flex: 1; min-width: 0; }
  .xs-mob b { font-size: .98rem; }
  .xs-mob small { color: var(--ink-3); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .xs-mob i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; position: relative; }
  .xs-mob i svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .xs-mob i[data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--cta); color: #fff; font-size: .7rem; font-weight: 800; font-style: normal; display: grid; place-items: center; padding: 0 4px; }
  .xs-sheet { display: none; }
  .xs.sheet-open .xs-sheet { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 300; background: var(--surface); padding-top: env(safe-area-inset-top, 0px); animation: sheetIn .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .xs-lock, .xs-lock body { overflow: hidden; }
  .xs-shead { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
  .xs-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
  .xs-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
  .xs-bar { flex: 1; flex-direction: column; gap: 10px; overflow-y: auto; background: transparent !important; border: 0; box-shadow: none !important; border-radius: 0; padding: 4px 16px 16px; min-height: 0; }
  .xs-div, .xs-go { display: none; }
  .xs-seg { display: block; flex: none !important; background: var(--bg) !important; border-radius: 22px; box-shadow: 0 2px 10px rgba(31, 36, 24, .08); }
  .xs-seg:hover { background: var(--bg); }
  .xs-seg.on { box-shadow: 0 8px 26px rgba(31, 36, 24, .16); }
  .xs-trig { flex-direction: row; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; gap: 14px; border-radius: 22px; width: 100%; height: auto; }
  .xs-trig .xs-v { text-align: right; }
  .xs-where .xs-trig { display: grid; justify-content: stretch; }
  .xs-where .xs-trig input { font-size: 1.05rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; }
  .xs-seg.on .xs-trig .xs-l { font-size: 1.25rem; font-family: var(--f-display); letter-spacing: -0.01em; }
  .xs-seg.on:not(.xs-where) > .xs-trig { display: none; }
  .xs-seg.on > .xs-pop { padding-top: 20px; }
  .xs-seg.on > .xs-pop > .xp-h:first-child b { font-size: 1.3rem; font-family: var(--f-display); letter-spacing: -0.01em; }
  .xs-seg.on .xs-trig .xs-v { display: none; }
  .xs-clr { position: absolute; right: 12px; top: 18px; margin: 0; }
  .xs-where .xs-clr { top: 64px; right: 28px; }
  .xs-seg.on .xs-clr:not(.xs-where .xs-clr) { display: none; }
  .xs-pop { position: static; width: 100% !important; max-width: none; max-height: none; border: 0; box-shadow: none; border-radius: 0 0 22px 22px; padding: 0 20px 20px; overflow: visible; }
  .xs-seg.on > .xs-pop { animation: none; }
  .xp-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xs-sfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .xs-clear-all { border: 0; background: none; font-weight: 750; text-decoration: underline; cursor: pointer; color: var(--ink); padding: 8px 4px; }
  .xs-sfoot .btn { min-height: 52px; padding: 0 22px; }
  .xs-sfoot .btn svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) { .xp-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } .xp-kinds { grid-template-columns: minmax(0, 1fr); } .xp-cities { gap: 8px; } }

/* ===================== AI page: pipeline, model cards, learning ===================== */
.pipe { display: grid; gap: 22px; }
.pipe-rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pipe-rail::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 25px; height: 3px; border-radius: 3px; background: var(--line); }
.pipe-fill { position: absolute; left: calc(100% / 12); top: 25px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--cta)); width: 0; max-width: calc(100% - 100% / 6); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.pipe-rail button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--ink-2); font: inherit; }
.pt-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); transition: background .3s, border-color .3s, color .3s, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.pt-dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-l { font-weight: 750; font-size: .9rem; text-align: center; }
.pipe-rail button:hover .pt-dot { border-color: var(--ink-3); transform: translateY(-2px); }
.pipe-rail button.done .pt-dot { border-color: var(--brand); color: var(--brand); }
.pipe-rail button[aria-selected="true"] { color: var(--ink); }
.pipe-rail button[aria-selected="true"] .pt-dot { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); transform: scale(1.08); box-shadow: 0 8px 20px var(--cta-glow); }
.pipe-panel { border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 3vw, 30px); background: var(--bg); box-shadow: var(--shadow-s); animation: popIn .35s cubic-bezier(.2, .8, .2, 1); }
.pp-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.pp-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.pp-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-head h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.pp-grid > div { padding: 16px; border-radius: 14px; background: var(--surface); min-width: 0; }
.pp-grid dt { font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.pp-grid dd { margin: 0; color: var(--ink-2); }
.pp-grid .pp-guard { background: var(--good-soft); }
.pp-grid .pp-guard dt { color: var(--good); }
.pp-grid .pp-guard svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 760px) {
  .pipe-rail { grid-template-columns: repeat(6, 64px); overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; justify-content: start; }
  .pipe-rail::-webkit-scrollbar { display: none; }
  .pipe-rail::before, .pipe-fill { display: none; }
  .pt-dot { width: 46px; height: 46px; }
  .pt-l { font-size: .78rem; }
  .pp-grid { grid-template-columns: minmax(0, 1fr); }
}
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mcards { grid-template-columns: minmax(0, 1fr); } }
.mcard { border: 1px solid var(--line); border-radius: var(--r-l); padding: 20px; background: var(--bg); display: grid; gap: 12px; align-content: start; min-width: 0; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ink-3); }
.mc-top { display: flex; gap: 12px; align-items: center; }
.mc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--cta-soft); color: var(--cta); flex: none; }
.mc-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mcard > p { color: var(--ink-2); font-size: .94rem; }
.mcard dl { margin: 0; display: grid; gap: 8px; border-top: 1px dashed var(--line); padding-top: 12px; }
.mcard dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; font-size: .86rem; }
.mcard dt { color: var(--ink-3); font-weight: 700; }
.mcard dd { margin: 0; }
.lifeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 22px; }
.lifeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--cta)); border-radius: 2px; }
.lifeline li { position: relative; display: grid; gap: 4px; }
.lifeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.lifeline li:last-child::before { border-color: var(--cta); }
.ll-when { font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cta); }
.lifeline p { color: var(--ink-2); }
.report-card { border-radius: var(--r-l); padding: 22px; background: var(--night); color: var(--night-ink); display: grid; gap: 10px; margin-top: 8px; }
.report-card .kicker { color: var(--cta-2); }
.report-card h3 { color: var(--night-ink); }
.checks-mini { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.checks-mini li { display: flex; gap: 10px; align-items: flex-start; color: var(--night-ink-2); font-size: .92rem; }
.checks-mini svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--good); stroke-width: 2.4; margin-top: 2px; }
:root[data-theme="dark"] .checks-mini svg { stroke: var(--good); }
:root[data-theme="dark"] .report-card { border: 1px solid var(--line); }

/* ---------- small live touches ---------- */
.site-header { transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(20, 24, 14, .08); }
:root[data-theme="dark"] .site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.hero-media .float-card { animation: bob 7s ease-in-out infinite; }
.hero-media .float-card.fc2 { animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.btn svg:last-child:not(:first-child) { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.tabs a { transition: background .2s, color .2s; }
@media (max-width: 760px) {
  .bottom-nav a svg { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
  .bottom-nav a[aria-current="page"] svg { transform: translateY(-1px) scale(1.08); }
  .bottom-nav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--cta); }
  .bottom-nav a { position: relative; }
}
@media (prefers-reduced-motion: reduce) { .hero-media .float-card { animation: none; } }
