:root {
  --bg: #F1F2F6;
  --card: #FFFFFF;
  --ink: #0E0B2C;
  --ink-2: #2A2747;
  --muted: #55536E;
  --line: #ECEDF2;
  --line-2: #F3F4F7;
  --brand: #6A12F5;
  --brand-dark: #4A0BB0;
  --lav: #F1E8FF;
  --lav-ink: #5A0FD1;
  --lav-soft: #F7F5FF;
  --on-brand: #E2D3FF;
  --sun: #FFC53D;
  --ok-bg: #E3F6EA;
  --ok: #166534;
  --down-bg: #FDECEC;
  --down: #9B1C1C;
  --warn-bg: #FFF3D6;
  --warn: #8A5A00;
  --orange: #F97316;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 'Sora', system-ui, sans-serif; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
img, svg { flex-shrink: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.05em; line-height: 1.04; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* header */
.top { padding-top: 20px; }
.top header { background: var(--card); border-radius: 20px; padding: 12px 12px 12px 20px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo:hover { color: var(--ink); }
.logo .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); display: inline-flex;
  align-items: center; justify-content: center; }
.logo b, .brand-dot { color: var(--brand); font-weight: 800; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
nav.main a { color: var(--ink-2); text-decoration: none; padding: 10px 14px; font-weight: 500; font-size: 15px; }
nav.main a:hover { color: var(--brand); }
nav.main .btn { margin-left: 8px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px;
  background: var(--line-2); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  nav.main { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 6px; }
  .top header.open nav.main { display: flex; }
  nav.main a { padding: 12px 8px; border-radius: 10px; }
  nav.main a:hover { background: var(--line-2); }
  nav.main .btn { margin: 8px 0 0; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none;
  cursor: pointer; white-space: nowrap; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #24205a; color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); font-weight: 800; }
.btn-sun:hover { background: #ffb60f; color: var(--ink); }
.btn-white { background: var(--card); color: var(--ink); }
.btn-white:hover { color: var(--brand); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.brand { background: var(--lav); color: var(--lav-ink); }
.pill.dark { background: var(--ink); color: #fff; }
.pill.warn { background: var(--warn-bg); color: var(--warn); }

.icon-box { width: 48px; height: 48px; border-radius: 14px; background: var(--lav); display: inline-flex;
  align-items: center; justify-content: center; flex: 0 0 auto; }

/* sections */
.section { padding-top: 112px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head > div:not(.filter):not(.export) { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.title { font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); }
.lead { color: var(--muted); font-size: 17px; }
@media (max-width: 600px) { .section { padding-top: 72px; } }

/* hero */
.hero { padding: 72px 0 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 800; font-size: clamp(44px, 6.4vw, 80px); line-height: 1; letter-spacing: -0.055em; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: 18px; max-width: 520px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px;
  border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 22px; padding: 8px;
  max-width: 600px; box-shadow: 0 24px 60px rgba(14,11,44,0.08); }
.search .field { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; min-height: 60px; }
.search input { flex: 1 1 0; width: 100%; min-width: 0; border: 0; background: transparent; font: 500 22px var(--mono);
  color: var(--ink); padding: 12px 0; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--brand), 0 24px 60px rgba(14,11,44,0.08); }
.search .tld { font: 700 22px var(--mono); color: var(--brand); }
.search .btn { min-height: 60px; border-radius: 16px; font-size: 17px; padding: 0 26px; }
@media (max-width: 520px) {
  .search { flex-wrap: wrap; }
  .search .btn { width: 100%; }
}
.form-error { color: var(--down); font-size: 14px; font-weight: 600; min-height: 22px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; font-weight: 600; }
.hero-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

.hero-art { flex: 1 1 420px; min-width: 0; position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.value-card { width: 100%; max-width: 420px; background: var(--brand); color: #fff; border-radius: 40px 40px 120px 40px;
  padding: 40px 36px 48px; display: flex; flex-direction: column; gap: 22px; text-decoration: none; }
.value-card:hover { color: #fff; }
.value-card .kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-brand); }
.value-card .name { font: 700 30px var(--mono); letter-spacing: -0.03em; word-break: break-all; }
.value-card .vlabel { font-size: 14px; color: var(--on-brand); display: block; }
.value-card .big { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.value-card .bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,0.22); }
.value-card .bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #fff; }
.value-card .bar b { position: absolute; top: -5px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: var(--sun); border: 4px solid var(--brand); }
.value-card .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--on-brand); }
.float { position: absolute; background: var(--card); border-radius: 20px; padding: 14px 18px; display: flex;
  align-items: center; gap: 12px; box-shadow: 0 20px 50px rgba(14,11,44,0.12); }
.float strong { font-size: 16px; display: block; line-height: 1.3; }
.float span.muted { font-size: 13px; }
.float.tl { top: 18px; left: 0; }
.float.br { bottom: 24px; right: 0; }
@media (max-width: 600px) { .hero-art { min-height: 0; } .float { display: none; } .value-card .big { font-size: 48px; } }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stat { background: var(--card); border-radius: 20px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.stat strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.stat span { font-size: 14px; color: var(--muted); }

/* tables */
.table-box { background: var(--card); border-radius: 24px; overflow-x: auto; }
table.data { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; }
table.data th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 20px 28px; border-bottom: 1px solid var(--line); }
table.data td { padding: 18px 28px; border-bottom: 1px solid var(--line-2); }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-weight: 800; white-space: nowrap; }
table.data .dom { font: 700 17px var(--mono); }
table.data .dom a { color: var(--ink); text-decoration: none; }
table.data .dom a:hover { color: var(--brand); }
@media (max-width: 600px) { table.data th, table.data td { padding: 14px 16px; } }

/* listing cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lcard { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 24px; padding: 26px; display: flex;
  flex-direction: column; gap: 22px; min-height: 250px; transition: transform .15s ease; }
.lcard:hover { color: var(--ink); transform: translateY(-3px); }
.lcard.dark { background: var(--ink); color: #fff; }
.lcard.dark:hover { color: #fff; }
.lcard .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.lcard .icon-box { width: 52px; height: 52px; border-radius: 15px; }
.lcard.dark .icon-box { background: var(--brand); }
.lcard .name { font: 700 22px var(--mono); letter-spacing: -0.03em; word-break: break-all; }
.lcard .name.long, .fcard .name.long { font-size: 18px; }
.lcard .prices { display: flex; gap: 22px; margin-top: auto; }
.lcard .prices small { display: block; font-size: 13px; color: var(--muted); }
.lcard.dark .prices small, .lcard.dark .est { color: #B9B7CF; }
.lcard .ask { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.lcard .est { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--muted); }
.lcard .go { font-weight: 700; font-size: 15px; color: var(--brand); }
.lcard.dark .go { color: #fff; }
.filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter input { height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; font: inherit; background: var(--card); width: 260px; max-width: 100%; }

/* method */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.step { background: var(--card); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.step.dark { background: var(--ink); color: #fff; }
.step h3 { margin-top: 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; }
.step p { color: var(--muted); font-size: 15px; }
.step.dark p { color: #B9B7CF; }

/* sell CTA */
.cta { background: var(--brand); color: #fff; border-radius: 32px; padding: 48px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 36px; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cta-copy p { color: #E8DBFF; font-size: 17px; max-width: 480px; }
.cta .chip { color: var(--ink); }
.tiles { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { text-decoration: none; background: var(--card); color: var(--ink); border-radius: 20px; padding: 22px 10px; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; min-height: 116px;
  font: inherit; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; }
.tile:hover { color: var(--brand); }
.tile.dark { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .cta { padding: 32px 20px; } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* footer */
footer.site { background: var(--ink); color: #B9B7CF; margin-top: 112px; }
footer.site .wrap { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
footer.site .f-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
footer.site .f-brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
footer.site .logo-text { font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.03em; }
footer.site .logo-text b { color: #A877FF; }
footer.site .f-nav { flex: 2 1 480px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 14px; }
footer.site .f-nav div { display: flex; flex-direction: column; gap: 10px; }
footer.site .f-nav strong { color: #fff; }
footer.site .f-nav a { color: #B9B7CF; text-decoration: none; }
footer.site .f-nav a:hover { color: #fff; }
footer.site .f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
footer.site .f-bottom a { color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 520px) { footer.site .f-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* dialogs */
dialog { border: 0; border-radius: 24px; padding: 0; width: min(520px, calc(100vw - 32px)); color: var(--ink); background: var(--card); }
dialog::backdrop { background: rgba(14,11,44,0.55); }
dialog form { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
dialog h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
dialog label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
dialog input { min-height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 400; }
dialog .actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
dialog .note { font-size: 14px; color: var(--muted); }
dialog .done { color: var(--ok); font-weight: 700; }

/* report page */
.crumbs { font-size: 14px; color: var(--muted); font-weight: 500; }
.crumbs a { text-decoration: none; font-weight: 700; }
.report-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.report-main { flex: 999 1 560px; min-width: 0; background: var(--card); border: 1px solid #E3E4EC; border-radius: 28px; padding: 40px;
  display: flex; flex-direction: column; gap: 28px; box-shadow: 0 24px 60px rgba(60,30,160,0.07); }
.report-main h1 { font: 700 clamp(32px, 5vw, 54px) var(--mono); letter-spacing: -0.04em; word-break: break-all; }
.report-main h1 span { color: var(--brand); }
.est-label { font-size: 15px; color: var(--muted); font-weight: 600; }
.est-value { font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.05em; }
.range { position: relative; height: 16px; border-radius: 999px; background: #EDE8FF; }
.range .span { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--brand); }
.range .mid { position: absolute; top: -7px; width: 5px; height: 30px; margin-left: -2px; border-radius: 3px; background: var(--ink); }
.range .ask { position: absolute; top: -3px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--orange);
  border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.range-legend { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); flex-wrap: wrap; gap: 8px; font-weight: 500; }
.range-legend strong { color: var(--ink); font-weight: 800; }
.dot-ask { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); margin-right: 6px; }
.summary { font-size: 17px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fact { background: var(--lav-soft); border: 1px solid #EEEAFB; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fact strong { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.dated { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.dated .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }

.buybox { flex: 1 1 340px; min-width: 0; border-radius: 28px; padding: 36px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 22px; }
.buybox .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #BDB3F5; }
.buybox .price { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.buybox p, .buybox .sub { color: #D6CFFB; font-size: 15px; }
.buybox .btns { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.buybox .btn { justify-content: space-between; min-height: 54px; }
.buybox a.light { color: #fff; font-weight: 700; }

/* Rows of three; leftovers become wider cards so no row ends with a lone card (7 = 3 + 2 + 2). */
.factors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.factors .factor { grid-column: span 2; }
.factors .factor.half { grid-column: span 3; }
.factors .factor.full { grid-column: span 6; }
@media (max-width: 1000px) {
  .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factors .factor, .factors .factor.half, .factors .factor.full { grid-column: span 1; }
  .factors .factor.last-odd { grid-column: span 2; }
}
@media (max-width: 640px) {
  .factors { grid-template-columns: 1fr; }
  .factors .factor.last-odd { grid-column: span 1; }
}
.factor { background: var(--card); border: 1px solid #E3E4EC; border-radius: 20px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.factor .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.factor .txt strong { font-size: 17px; }
.factor .txt span { font-size: 14px; color: var(--muted); }
.effect { flex: 0 0 auto; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 10px; background: var(--line-2); color: var(--muted); }
.effect.up { background: var(--ok-bg); color: var(--ok); }
.effect.down { background: var(--down-bg); color: var(--down); }
.h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; }
.h2 span { color: var(--brand); }

.simgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sim { text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid #E3E4EC; border-radius: 20px; padding: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sim:hover { color: var(--ink); border-color: var(--brand); }
.sim .name { font: 700 18px var(--mono); word-break: break-all; }
.sim .ask { font-weight: 800; color: var(--brand); }
.sim .arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; }

/* estimating screen: full-screen purple with a progress card */
.lscreen { position: fixed; inset: 0; z-index: 50; overflow: auto; background: var(--brand); display: flex; flex-direction: column; }
.lrings { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lrings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); animation: lpulse 3.2s ease-in-out infinite; }
.lrings i:nth-child(1) { width: 1500px; height: 1500px; border-color: rgba(255,255,255,0.10); }
.lrings i:nth-child(2) { width: 1150px; height: 1150px; border-color: rgba(255,255,255,0.14); animation-delay: .4s; }
.lrings i:nth-child(3) { width: 820px; height: 820px; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.18); animation-delay: .8s; }
@keyframes lpulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.06); opacity: .9; } }
.lhead { position: relative; width: 100%; padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lhead .logo, .lhead .logo:hover { color: #fff; }
.lhead .logo .mark { background: #fff; }
.lhead .logo b { color: #D9C4FF; }
.lcancel { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.4); }
.lcancel:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lmain { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 24px 72px; }
.lcard { width: 100%; max-width: 720px; background: var(--card); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 28px;
  box-shadow: 0 40px 100px rgba(14,11,44,0.35); }
.ltop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ltop .lh { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.ltop .lname { display: block; font: 700 clamp(30px, 5vw, 44px) var(--mono); letter-spacing: -0.04em; word-break: break-all; }
.ltop .lname span { color: var(--brand); }
.lpct { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.05em; color: var(--brand); }
.lpct small { font-size: 28px; }
.lbar { position: relative; height: 14px; border-radius: 999px; background: var(--lav); overflow: hidden; }
.lbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--brand); overflow: hidden; }
.lbar i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0));
  animation: lshine 1.4s ease-in-out infinite; }
@keyframes lshine { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.lsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lsteps li { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 18px; }
.lsteps li.active { background: #F6F0FF; }
.lsteps .ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--line-2); color: #9C9AB3; display: inline-flex; align-items: center; justify-content: center; }
.lsteps li.active .ico { background: var(--brand); color: #fff; }
.lsteps li.done .ico { background: var(--lav); color: var(--brand); }
.lsteps .txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.lsteps .txt strong { font-weight: 700; color: #8A88A3; }
.lsteps li.active .txt strong, .lsteps li.done .txt strong { color: var(--ink); }
.lsteps .txt span { font-size: 14px; color: var(--muted); }
.lsteps li.res .txt span { color: var(--ok); }
.lsteps .state { flex: 0 0 auto; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.lsteps .state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #D7D8E2; }
.lsteps li.active .state::before { width: 24px; height: 24px; box-sizing: border-box; border: 3px solid #E4D4FF; border-top-color: var(--brand); background: none; animation: spin .9s linear infinite; }
.lsteps li.done .state::before { width: 28px; height: 28px; background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.lnote { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 600px) {
  .lcard { padding: 26px 20px; border-radius: 26px; gap: 22px; }
  .lpct { font-size: 44px; }
  .lsteps li { padding: 10px; gap: 12px; }
  .lsteps .ico { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .lrings i, .lbar i::after, .lsteps li.active .state::before { animation: none; } }

/* page heads, filters and tables for the sales and for-sale pages */
nav.main a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.page-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.page-head h1 { font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.055em; }
.page-head h1 span { color: var(--brand); }
.page-main { padding-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.h-sub { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.top-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.top-band h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.seg.light { background: var(--line-2); }
.seg.light button { color: var(--ink-2); flex: 1; min-height: 44px; font-size: 14px; }
.seg.light button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.top5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.top5 li { background: rgba(255,255,255,0.06); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.top5 li:first-child { background: var(--brand); }
.top5 .rk { font-size: 13px; font-weight: 800; color: #A877FF; }
.top5 li:first-child .rk { color: var(--sun); }
.top5 a { color: #fff; text-decoration: none; font: 700 18px var(--mono); word-break: break-all; }
.top5 .pr { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.top5 .mt { font-size: 13px; color: #B9B7CF; }
.top5 li:first-child .mt { color: #E8DBFF; }
.band-stats { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: #B9B7CF; }
.band-stats strong { color: #fff; font-size: 18px; }
.filters { background: var(--card); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.frow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.frow label, .frow .fgroup { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.finput { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--bg); }
.finput input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.finput input:focus { outline: none; }
.finput:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.fselect, .fnum { min-height: 46px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--bg); font: inherit; font-size: 15px; color: var(--ink); width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips .lbl { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #E3E4EC; background: var(--card); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.ok[aria-pressed="true"] { background: var(--ok-bg); border-color: #86CFA0; color: var(--ok); }
.chip.link { border: 0; background: transparent; color: var(--brand); font-weight: 700; }
.export { display: flex; flex-wrap: wrap; gap: 8px; }
.export button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--card); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.export button:hover { color: var(--brand); }
table.data.compact th { padding: 18px 24px; }
table.data.compact td { padding: 14px 24px; font-size: 15px; }
table.data .catpill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: var(--lav); color: var(--lav-ink); white-space: nowrap; }
table.data .catpill.grey { background: var(--line-2); color: var(--ink-2); }
table.data .go { font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 14px; }
table.data .nowrap { white-space: nowrap; }
th button.sort { border: 0; background: none; font: inherit; color: var(--brand); font-weight: 700; cursor: pointer; padding: 0; }
.vs { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--line-2); color: var(--muted); }
.vs.below { background: var(--ok-bg); color: var(--ok); }
.vs.above { background: #FFF0E5; color: #9A3412; }
.buybtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; }
.buybtn:hover { background: var(--brand-dark); color: #fff; }
.dom-cell { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.dom-cell .icon-box { width: 38px; height: 38px; border-radius: 11px; }
.pager-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 0; background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.pager button[aria-current="page"] { background: var(--brand); color: #fff; }
.pager button:disabled { opacity: 0.4; cursor: default; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mini { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.mini:hover { color: var(--ink); outline: 2px solid var(--brand); }
.mini .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.mini .txt b { font: 700 16px var(--mono); word-break: break-all; }
.mini .txt span { font-size: 14px; color: var(--muted); }
.mini .arrow { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.band-cta { background: var(--brand); color: #fff; border-radius: 28px; padding: 36px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.band-cta .row { display: flex; align-items: center; gap: 18px; max-width: 660px; }
.band-cta strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.band-cta span.sub { color: #E8DBFF; }
.band-cta .icon-box { width: 56px; height: 56px; border-radius: 16px; background: #fff; }
@media (max-width: 600px) { .band-cta { padding: 28px 22px; } .top-band { padding: 20px; } }

/* for-sale featured cards */
.fcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fcard { background: var(--card); color: var(--ink); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 20px; min-height: 270px; }
.fcard.dark { background: var(--ink); color: #fff; }
.fcard .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fcard .icon-box { width: 54px; height: 54px; border-radius: 16px; }
.fcard.dark .icon-box { background: var(--brand); }
.fcard .tag { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.fcard.dark .tag { background: rgba(255,255,255,0.1); color: #fff; }
.fcard .name { font: 700 24px var(--mono); letter-spacing: -0.03em; word-break: break-all; color: inherit; text-decoration: none; }
.fcard .name:hover { color: var(--brand); }
.fcard.dark .name:hover { color: var(--sun); }
.fcard .prices { display: flex; gap: 22px; margin-top: auto; }
.fcard .prices small { display: block; font-size: 13px; color: var(--muted); }
.fcard.dark .prices small, .fcard.dark .est { color: #B9B7CF; }
.fcard .ask { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.fcard .est { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--muted); }
.fcard .buy { display: flex; justify-content: center; align-items: center; min-height: 46px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.fcard .buy:hover { background: var(--brand-dark); color: #fff; }
.fcard.dark .buy { background: var(--sun); color: var(--ink); }

/* share band on the report page */
.share-band { overflow: hidden; background: var(--brand); color: #fff; border-radius: 28px; padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.share-band .copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.share-band .copy p { color: #E8DBFF; font-size: 16px; }
.share-band .copy .chip-w { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.share-band .stack { flex: 1 1 460px; min-width: 0; position: relative; height: 330px; }
.share-band .stack a { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(14,11,44,0.4); display: block; background: rgba(255,255,255,0.1); }
.share-band .stack img { display: block; width: 100%; height: 100%; object-fit: cover; }
.share-band .stack .s1 { left: 0; top: 26px; width: 288px; height: 151px; transform: rotate(-9deg); }
.share-band .stack .s2 { right: 0; top: 26px; width: 288px; height: 151px; transform: rotate(8deg); }
.share-band .stack .s3 { left: 50%; top: 92px; width: 396px; height: 208px; margin-left: -198px; transform: rotate(-2deg); border-radius: 16px; box-shadow: 0 0 0 4px #fff, 0 36px 70px rgba(14,11,44,0.5); }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); }
.btn-ghost-white:hover { color: #fff; border-color: #fff; }
@media (max-width: 600px) {
  .share-band { padding: 28px 22px; }
  .share-band .stack { height: 220px; }
  .share-band .stack .s1, .share-band .stack .s2 { width: 200px; height: 105px; }
  .share-band .stack .s3 { width: 280px; height: 147px; margin-left: -140px; top: 60px; }
}

/* share builder */
.builder { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.preview-box { flex: 999 1 640px; min-width: 0; background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preview-box .bar { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.preview-box .bar strong { color: var(--ink); font-size: 15px; }
.preview-box .frame { width: 100%; max-width: 640px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(14,11,44,0.18); background: var(--line); position: relative; }
.preview-box .frame.square { max-width: 520px; }
.preview-box .frame img { display: block; width: 100%; height: auto; transition: opacity .2s ease; }
.preview-box .frame img.busy { opacity: 0.55; }
.controls { flex: 1 1 340px; min-width: 0; background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 26px; }
.controls .grp { display: flex; flex-direction: column; gap: 12px; }
.controls .grp > span, .controls label { font-weight: 700; }
.tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tpl { padding: 8px; border-radius: 16px; border: 2px solid #E3E4EC; background: var(--card); cursor: pointer; display: flex; flex-direction: column; gap: 8px; font: inherit; text-align: left; }
.tpl[aria-pressed="true"] { border-color: var(--brand); }
.tpl .sw { height: 64px; border-radius: 10px; display: flex; align-items: flex-end; padding: 8px 10px; font: 700 11px var(--mono); }
.tpl .nm { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0 4px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.money-in { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; border-radius: 14px; background: var(--bg); font-weight: 700; }
.money-in input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); }
.money-in input:focus { outline: none; }
.money-in:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.est-box { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 14px; background: var(--lav); color: var(--lav-ink); font-weight: 800; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #E3E4EC; background: var(--card);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.switch { width: 46px; height: 28px; border-radius: 999px; background: #D7D8E2; position: relative; flex: 0 0 auto; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: left .2s; }
.switch-row[aria-pressed="true"] .switch { background: var(--brand); }
.switch-row[aria-pressed="true"] .switch::after { left: 21px; }
.share-acts { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-acts .dl { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 56px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 800; }
.share-acts .dl:hover { background: var(--brand-dark); color: #fff; }
.share-acts .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.share-acts .three a, .share-acts .three button { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; border-radius: 14px; border: 0; background: var(--line-2);
  color: var(--ink); text-decoration: none; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.share-acts .three .x { background: var(--ink); color: #fff; }
.share-acts .note { font-size: 13px; color: var(--muted); text-align: center; }
/* loading */
.loading { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 96px 16px; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 5px solid var(--lav); border-top-color: var(--brand); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } .lcard { transition: none; } }
.skel { color: transparent !important; background: linear-gradient(90deg, #ECEDF2, #F6F7FA, #ECEDF2); background-size: 200% 100%;
  border-radius: 8px; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: 28px; color: var(--muted); }

/* .si domain appraisal landing page */
.ap-hero { position: relative; overflow: hidden; margin-top: 24px; background: var(--ink); color: #fff; border-radius: 36px; padding: 64px 24px 48px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ap-hero::before { content: ""; position: absolute; width: 1000px; height: 1000px; left: 50%; top: -560px; margin-left: -500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,18,245,0.7), rgba(106,18,245,0) 62%); pointer-events: none; }
.ap-rings { position: absolute; left: 50%; top: -60px; pointer-events: none; }
.ap-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); transform: translate(-50%, -50%); }
.ap-rings i:nth-child(1) { width: 520px; height: 520px; }
.ap-rings i:nth-child(2) { width: 820px; height: 820px; }
.ap-rings i:nth-child(3) { width: 1140px; height: 1140px; }
.ap-hero > *:not(.ap-rings) { position: relative; }
.ap-crumbs { font-size: 14px; color: #B9B7CF; }
.ap-crumbs a { color: #fff; text-decoration: none; font-weight: 700; }
.ap-kicker { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #E2D3FF; font-size: 14px; font-weight: 600; }
.ap-hero h1 { font-weight: 800; font-size: clamp(42px, 6.6vw, 84px); line-height: 1; letter-spacing: -0.055em; max-width: 900px; }
.ap-hero h1 span { color: var(--sun); }
.ap-lead { color: #C9C6E0; font-size: 18px; max-width: 640px; }
.ap-formwrap { width: 100%; max-width: 680px; text-align: left; }
.ap-form { max-width: none; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
.ap-hero .form-error { color: #FFB4B4; text-align: center; }
.ap-try { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: #B9B7CF; margin-top: -6px; }
.ap-try a { font: 700 13px var(--mono); color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.ap-try a:hover { background: rgba(255,255,255,0.16); color: #fff; }
.ap-trust { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; width: 100%; max-width: 820px; }
.ap-trust div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; padding: 4px 16px; }
.ap-trust div + div { border-left: 1px solid rgba(255,255,255,0.1); }
.ap-trust strong { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.ap-trust span { font-size: 14px; color: #B9B7CF; }
@media (max-width: 600px) {
  .ap-hero { padding: 44px 18px 32px; border-radius: 28px; }
  .ap-trust div { flex-basis: 45%; padding: 10px 8px; }
  .ap-trust div + div { border-left: 0; }
}

.ap-includes { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.ap-sample { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; padding: 20px 0; }
.ap-doc { position: relative; width: 100%; max-width: 380px; background: var(--card); border-radius: 24px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 40px 80px rgba(60,30,160,0.18), 0 0 0 1px #E3E4EC; }
.ap-doc-head { display: flex; justify-content: space-between; padding: 16px 22px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; }
.ap-doc-head span:last-child { color: #E2D3FF; text-transform: none; letter-spacing: 0; font-weight: 600; }
.ap-doc-body { padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 6px; }
.ap-doc-name { font: 700 26px var(--mono); letter-spacing: -0.03em; word-break: break-all; margin-bottom: 10px; }
.ap-doc-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.ap-doc-value { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.ap-doc-bar { position: relative; height: 12px; border-radius: 999px; background: var(--lav); margin-top: 14px; }
.ap-doc-bar i { position: absolute; top: 0; bottom: 0; left: 20%; right: 30%; border-radius: 999px; background: var(--brand); }
.ap-doc-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; }
.ap-doc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ap-doc-facts div { background: var(--lav-soft); border: 1px solid #EEEAFB; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.ap-doc-facts span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ap-doc-facts strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-stamp { position: absolute; right: 18px; top: 64px; transform: rotate(12deg); border: 3px solid var(--ok); color: var(--ok); border-radius: 12px;
  padding: 4px 12px; font-weight: 800; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.ap-inc-copy { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 600px) { .ap-doc { transform: rotate(-1.5deg); max-width: 340px; } .ap-includes { gap: 28px; } }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 10px; }
.ap-item { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 20px; padding: 18px; }
.ap-item .icon-box { width: 44px; height: 44px; border-radius: 13px; }
.ap-item h3 { font-size: 16px; letter-spacing: -0.02em; line-height: 1.3; }
.ap-item p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.ap-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 28px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #B58CFF); }
.ap-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ap-steps .n { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; box-shadow: 0 0 0 8px var(--bg); }
.ap-steps li:last-child .n { background: var(--ink); }
.ap-steps h3 { font-size: 19px; letter-spacing: -0.03em; margin-top: 6px; }
.ap-steps p { font-size: 15px; color: var(--muted); max-width: 260px; }
@media (max-width: 800px) {
  .ap-steps { grid-template-columns: 1fr; gap: 18px; }
  .ap-steps::before { left: 28px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; background: linear-gradient(180deg, var(--brand), #B58CFF); }
  .ap-steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; row-gap: 4px; text-align: left; align-items: start; }
  .ap-steps .n { grid-row: span 2; }
  .ap-steps h3 { margin-top: 12px; }
  .ap-steps p { max-width: none; }
}

.ap-value { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ap-value-copy { flex: 1.2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ap-value-copy p { font-size: 17px; color: var(--ink-2); }
.ap-factors { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ap-factor-col { background: var(--card); border-radius: 24px; padding: 24px; }
.ap-factor-col h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.ap-factor-col h3 .arrow { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ok-bg); color: var(--ok); }
.ap-factor-col.down h3 .arrow { background: var(--down-bg); color: var(--down); }
.ap-factor-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ap-factor-col li { position: relative; padding-left: 22px; color: var(--ink-2); }
.ap-factor-col li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ap-factor-col.down li::before { background: var(--down); }

.ap-recent { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ap-rcard { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid transparent; transition: border-color .15s ease; }
.ap-rcard:hover { color: var(--ink); border-color: var(--brand); }
.ap-rcard .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ap-rcard .nm { font: 700 18px var(--mono); word-break: break-all; }
.ap-rcard .val { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.ap-rcard .bar { position: relative; height: 8px; border-radius: 999px; background: var(--lav); }
.ap-rcard .bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--brand); }
.ap-rcard .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.ap-rcard .meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--lav); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 820px; }

.ap-cta { background: var(--brand); color: #fff; border-radius: 32px; padding: 52px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  position: relative; overflow: hidden; }
.ap-cta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,0.07); pointer-events: none; }
.ap-cta > * { position: relative; z-index: 1; }
.ap-cta p { color: #E8DBFF; font-size: 17px; }
.ap-cta .form-error { color: #FFE0E0; text-align: center; }
.ap-cta-link { background: none; border: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; padding: 8px; }
[hidden] { display: none !important; }

/* ---- company, content and legal pages (methodology, about, contact, legal, blog, posts, 404) ---- */
.co-main { gap: 64px; padding-bottom: 32px; }
.co-sec { display: flex; flex-direction: column; gap: 22px; }
.co-head { display: flex; flex-direction: column; gap: 8px; }
.co-head .lead { max-width: 680px; }
.co-h2 { font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.045em; line-height: 1.1; }
.co-title { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.co-main h1 { font-weight: 800; font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -0.055em; }
.co-main h1 span { color: var(--brand); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A877FF; }
.btn-line { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-line:hover { color: #fff; border-color: #fff; }
.btn.bordered { border: 1.5px solid #E3E4EC; }
.ib { width: 50px; height: 50px; border-radius: 15px; background: var(--lav); color: var(--brand); display: inline-flex;
  align-items: center; justify-content: center; flex: 0 0 auto; }
.small { font-size: 13px; }

/* methodology */
.mh-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.mh-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.mh-copy .lead { font-size: 18px; max-width: 640px; }
.short-card { flex: 1 1 300px; min-width: 0; background: var(--ink); color: #fff; border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; }
.short-card strong { font-size: 18px; line-height: 1.4; }
.short-card .btn { align-self: flex-start; margin-top: 6px; }
.inputs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.inputs li { background: var(--card); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.inputs .top-row { display: flex; justify-content: space-between; align-items: center; }
.inputs .num { font: 700 14px var(--mono); color: #8A88A3; }
.inputs h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.inputs p { color: var(--muted); font-size: 15px; }
.inputs li.dark { background: var(--ink); color: #fff; }
.inputs li.dark .ib { background: var(--brand); color: #fff; }
.inputs li.dark .num { color: #A877FF; }
.inputs li.dark p { color: #B9B7CF; }
.duo { display: flex; flex-wrap: wrap; gap: 16px; }
.duo-card { flex: 1 1 420px; min-width: 0; background: var(--card); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.duo-card h2 { font-weight: 800; font-size: 28px; letter-spacing: -0.04em; }
.ranges { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; font-size: 13px; color: var(--muted); }
.rbar { position: relative; height: 14px; border-radius: 999px; background: var(--lav); }
.rbar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--brand); }
.rbar i.soft { background: #B48CFF; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--lav); display: inline-flex;
  align-items: center; justify-content: center; margin-top: 1px; }
.not-band { background: var(--brand); color: #fff; border-radius: 28px; padding: 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.not-band h2 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.04em; }
.not-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.not-grid div { background: rgba(255,255,255,0.1); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.not-grid strong { font-size: 17px; }
.not-grid span { color: #E8DBFF; font-size: 15px; }
.faq-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.faq-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-side .co-h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.05em; line-height: 1.05; }
.faq-side .btn { align-self: flex-start; }
.qa { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.qa details { background: var(--card); border-radius: 18px; }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px;
  cursor: pointer; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.qa .pm { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--lav); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.qa details p { padding: 0 22px 22px; font-size: 15px; color: var(--muted); }
.qa details[open] { background: var(--ink); color: #fff; }
.qa details[open] .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.qa details[open] p { color: #C9C7DD; }
@media (max-width: 600px) { .not-band { padding: 28px 22px; } .duo-card { padding: 26px 22px; } }

/* about */
.ab-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ab-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.co-main .ab-copy h1 { font-size: clamp(40px, 6vw, 76px); }
.ab-copy .lead { font-size: 19px; max-width: 620px; }
.ab-copy .chip { padding: 7px 14px 7px 8px; }
.ab-copy .chip .yr { padding: 2px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.ab-art { flex: 1 1 360px; min-width: 0; position: relative; height: 340px; }
.si-block { position: absolute; inset: 0 0 0 30px; border-radius: 40px 40px 120px 40px; background: var(--brand); display: flex;
  align-items: center; justify-content: center; overflow: hidden; }
.si-block span { font: 700 120px var(--mono); letter-spacing: -0.06em; color: rgba(255,255,255,0.95); position: relative; }
.si-block .ring { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); }
.si-block .blob { position: absolute; left: -40px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.07); }
.si-chip { position: absolute; left: 0; bottom: 30px; background: var(--card); border-radius: 18px; padding: 14px 18px; display: flex;
  flex-direction: column; box-shadow: 0 20px 50px rgba(14,11,44,0.14); }
.si-chip span { font-size: 13px; color: var(--muted); }
.si-chip strong { font-size: 18px; letter-spacing: -0.02em; }
.story { display: flex; flex-wrap: wrap; gap: 40px; }
.story > h2 { flex: 1 1 260px; }
.story > div { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 18px; color: var(--ink-2); }
.maker { background: var(--ink); color: #fff; border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.maker .avatar { flex: 0 0 auto; width: 128px; height: 128px; border-radius: 36px; background: var(--brand); display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 54px; letter-spacing: -0.05em; }
.maker-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.maker-copy h2 { font-weight: 800; font-size: 32px; letter-spacing: -0.04em; }
.maker-copy h2 a { color: var(--sun); text-decoration: none; }
.maker-copy p { color: #C9C7DD; font-size: 17px; max-width: 640px; }
.maker-copy .disclosure { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.06); font-size: 14px; }
.maker-copy .disclosure strong { color: #fff; }
.maker-acts { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.principles > div { background: var(--card); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.principles h3 { margin-top: 6px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.principles p { color: var(--muted); font-size: 15px; }
.timeline { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 20px; }
.timeline li > div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 28px; }
.timeline .dot { flex: 0 0 auto; position: relative; width: 18px; display: flex; justify-content: center; }
.timeline .dot::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--dot); border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--dot); margin-top: 4px; position: relative; z-index: 1; }
.timeline .dot::after { content: ""; position: absolute; top: 24px; bottom: -4px; width: 2px; background: #D7D8E2; }
.timeline li:last-child .dot::after { display: none; }
.timeline .when { font: 700 14px var(--mono); color: var(--brand); }
.timeline strong { font-size: 19px; letter-spacing: -0.02em; }
.cta-band { background: var(--brand); color: #fff; border-radius: 32px; padding: 44px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 24px; }
.cta-band > div { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.cta-band strong { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.045em; }
.cta-band span { color: #E8DBFF; font-size: 17px; }
.cta-band .btn { min-height: 54px; padding: 0 28px; }
@media (max-width: 600px) {
  .ab-art { height: 260px; } .si-block span { font-size: 88px; }
  .maker, .cta-band { padding: 28px 22px; } .maker .avatar { width: 88px; height: 88px; font-size: 38px; border-radius: 26px; }
}

/* contact */
.ct-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: -28px; }
.ct-form { flex: 999 1 560px; min-width: 0; background: var(--card); border-radius: 28px; padding: 36px; }
.ct-form form { display: flex; flex-direction: column; gap: 22px; }
.ct-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-form legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid #E3E4EC; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.topics button svg { color: var(--muted); }
.topics button[aria-pressed="true"] { background: var(--lav); color: var(--lav-ink); border-color: var(--brand); }
.topics button[aria-pressed="true"] svg { color: var(--brand); }
.two-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.ct-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.ct-form .opt { font-weight: 500; color: var(--muted); font-size: 14px; }
.ct-form input, .ct-form textarea { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--bg);
  font: inherit; font-weight: 400; color: var(--ink); }
.ct-form textarea { padding: 14px 16px; resize: vertical; }
.dom-field { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 14px; background: var(--bg); }
.ct-form .dom-field input { flex: 1; width: 100%; min-width: 0; padding: 0; font-family: var(--mono); background: transparent; }
.dom-field span { font: 700 16px var(--mono); color: var(--brand); }
.dom-field:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.dom-field input:focus-visible { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.btn.big { min-height: 54px; padding: 0 30px; font-size: 16px; font-weight: 800; }
.sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 0; }
.sent strong { font-size: 26px; letter-spacing: -0.03em; }
.sent .muted { max-width: 420px; }
.ok-ring { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); display: inline-flex; align-items: center; justify-content: center; }
.ct-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.side-mail, .side-card { border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.side-mail { background: var(--ink); color: #fff; }
.side-mail .ib { background: var(--brand); width: 48px; height: 48px; border-radius: 14px; }
.side-mail a { color: var(--sun); font-weight: 700; text-decoration: none; font-size: 17px; overflow-wrap: anywhere; }
.side-card { background: var(--card); }
.side-card .ib { width: 48px; height: 48px; border-radius: 14px; }
.side-card strong, .side-mail strong { font-size: 18px; }
.side-card > a { font-weight: 700; text-decoration: none; }
.side-card.links { gap: 12px; }
.side-card.links a, .side-card.links button { display: flex; justify-content: space-between; text-decoration: none; font: inherit;
  font-weight: 600; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
@media (max-width: 600px) { .ct-form { padding: 24px 18px; } .send-row .btn { width: 100%; } }

/* legal */
.legal { gap: 28px; }
.legal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.legal-head > div { display: flex; flex-direction: column; gap: 12px; }
.co-main .legal-head h1 { font-size: clamp(36px, 5vw, 60px); }
.legal-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); }
.legal-tabs a { min-height: 46px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center;
  color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
[data-doc="privacy"] .tab-privacy, [data-doc="terms"] .tab-terms { background: var(--brand); color: #fff; }
[data-doc="privacy"] .doc-terms, [data-doc="terms"] .doc-privacy { display: none; }
.tpl-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--warn-bg); color: #6B4600; font-size: 14px; }
.tpl-note svg { margin-top: 2px; }
.legal-doc { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.legal-toc { flex: 1 1 240px; min-width: 0; background: var(--card); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.legal-toc strong { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.legal-toc a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 10px; display: flex; gap: 10px; }
.legal-toc a:hover { background: var(--bg); }
.legal-toc a span, .legal-body h2 span { font-family: var(--mono); color: var(--brand); }
.legal-body { flex: 999 1 600px; min-width: 0; background: var(--card); border-radius: 28px; padding: 40px; display: flex;
  flex-direction: column; gap: 30px; line-height: 1.7; }
.legal-body .intro { font-size: 17px; color: var(--ink-2); }
.legal-body section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 20px; }
.legal-body h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; display: flex; gap: 12px; line-height: 1.3; }
.legal-body p { color: #3A3756; white-space: pre-line; }
.legal-q { padding: 20px 22px; border-radius: 18px; background: var(--lav); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.legal-q span { font-weight: 600; }
.legal-q a { font-weight: 800; text-decoration: none; }
@media (max-width: 600px) { .legal-body { padding: 26px 20px; } }

/* blog */
.blog { gap: 36px; }
.blog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.blog-head > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
.co-main .blog-head h1 { font-size: clamp(40px, 5.6vw, 68px); }
.blog-head .lead { font-size: 18px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #E3E4EC; background: var(--card);
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cat-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-cover { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 14px; }
.post-cover .ring { position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; border: 2px solid var(--ring); }
.post-cover .blob { display: none; }
.post-cover .ctext { font: 700 22px var(--mono); position: relative; }
.post-cover.card { height: 180px; }
.post-cover.hero { height: 340px; border-radius: 32px; flex-wrap: wrap; padding: 24px; gap: 22px; }
.post-cover.hero .ring { right: -100px; top: -100px; width: 380px; height: 380px; }
.post-cover.hero .blob { display: block; position: absolute; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: var(--ring); }
.post-cover.hero .ctext { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.05em; }
.post-cover svg { position: relative; }
.post-featured { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; }
.post-featured:hover { color: var(--ink); }
.post-featured .art { flex: 1 1 440px; min-height: 320px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.post-featured .art .ring { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); }
.post-featured .art .blob { position: absolute; left: -60px; bottom: -100px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.post-featured .art-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; }
.post-featured .ctext { font: 700 clamp(40px, 5vw, 64px) var(--mono); letter-spacing: -0.05em; }
.chip-sun { padding: 8px 18px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 15px; }
.post-featured .copy { flex: 1 1 440px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.post-featured .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.post-featured h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.post-featured p { color: var(--muted); font-size: 17px; }
.by { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.by strong { color: var(--ink); }
.av { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-weight: 800; flex: 0 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.post-card { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { color: var(--ink); box-shadow: 0 20px 50px rgba(14,11,44,0.08); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.post-card .cat { padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-weight: 700; }
.post-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--brand); font-size: 15px; }
.empty-note { color: var(--muted); }
.newsletter { background: var(--ink); color: #fff; border-radius: 32px; padding: 40px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 28px; }
.newsletter > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.newsletter h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.04em; }
.newsletter > div span { color: #B9B7CF; }
.newsletter form { flex: 1 1 400px; display: flex; gap: 8px; background: rgba(255,255,255,0.08); padding: 6px; border-radius: 999px; }
.newsletter input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; color: #fff; }
.newsletter input::placeholder { color: #8A88A3; }
.newsletter input:focus-visible { outline: none; }
.newsletter form:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
.newsletter .btn { min-height: 50px; }
.nl-error { flex-basis: 100%; color: #FFB4B4; min-height: 0; }
.nl-error:empty { display: none; }
@media (max-width: 600px) { .post-featured .copy, .newsletter { padding: 26px 22px; } .post-featured .art { min-height: 220px; } }

/* blog post */
.post { gap: 32px; padding-top: 40px; }
.draft-banner { padding: 12px 18px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-weight: 700; font-size: 14px; }
.post-head { max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.post-head .pill { align-self: flex-start; }
.co-main .post-head h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -0.05em; }
.post-head .lead { font-size: 19px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.byline .av { width: 38px; height: 38px; border-radius: 11px; }
.byline a { font-weight: 700; text-decoration: none; }
.post-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.post-body { flex: 999 1 600px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 22px; font-size: 18px;
  line-height: 1.75; color: var(--ink-2); }
.post-body h2 { margin-top: 16px; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.2; scroll-margin-top: 20px; }
.post-body h3 { margin-top: 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.3; }
.post-body a { font-weight: 700; }
.post-body ul, .post-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.post-body blockquote { margin: 8px 0; padding: 22px 26px; border-radius: 20px; background: var(--card); font-size: 20px; font-weight: 700;
  color: var(--ink); line-height: 1.5; }
.post-body blockquote strong { color: var(--brand); }
.post-body code { font-family: var(--mono); font-size: 0.9em; background: var(--card); padding: 2px 6px; border-radius: 6px; }
.post-cta { margin: 8px 0; background: var(--brand); color: #fff; border-radius: 24px; padding: 26px 28px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 16px; }
.post-cta > div { display: flex; flex-direction: column; gap: 4px; }
.post-cta strong { font-size: 20px; letter-spacing: -0.02em; }
.post-cta span { color: #E8DBFF; font-size: 15px; line-height: 1.5; }
.post-body .post-cta a.btn { color: var(--ink); }
.share-row { margin-top: 16px; padding-top: 24px; border-top: 1px solid #D7D8E2; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 14px; font-size: 15px; }
.share-row > span { font-weight: 700; color: var(--ink); }
.share-row div { display: flex; gap: 8px; }
.share-row a, .share-row button { min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--card); color: var(--ink);
  text-decoration: none; font: inherit; font-weight: 700; display: inline-flex; align-items: center; border: 0; cursor: pointer; }
.share-row a.dark { background: var(--ink); color: #fff; }
.post-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 20px; }
.side-box { background: var(--card); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.side-box strong { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.side-box a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.side-box a:hover { background: var(--bg); }
.side-dark { background: var(--ink); color: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.side-dark strong { font-size: 17px; }
.side-dark a { display: flex; justify-content: space-between; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; }
.side-dark a .mono { font-weight: 700; overflow-wrap: anywhere; }
.side-dark a b { color: var(--sun); }
.side-dark a.all { color: #A877FF; font-weight: 700; }
.related { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.related h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.related > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.related a { text-decoration: none; color: var(--ink); background: var(--card); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.related a span { font-size: 13px; color: var(--muted); font-weight: 600; }
.related a strong { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
@media (max-width: 900px) { .post-side { position: static; } }
@media (max-width: 600px) { .post-cover.hero { height: 220px; border-radius: 24px; } .post-body { font-size: 17px; } .post-body h2 { font-size: 25px; } }

/* 404 */
.nf { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nf-code { font: 700 clamp(72px, 12vw, 140px) var(--mono); color: var(--brand); letter-spacing: -0.06em; line-height: 1; }
.nf-acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* owner listings */
.pill.owner { background: var(--warn-bg); color: var(--warn); font-size: 11px; font-weight: 600; padding: 2px 8px;
  letter-spacing: 0; line-height: 1.5; }
.fcard .tags { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ct-form .form-error:empty { display: none; }

/* cookie consent banner (static/partials/analytics.html) */
.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 50; max-width: 380px; background: var(--card); color: var(--ink);
  border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(14,11,44,0.18); display: flex; flex-direction: column;
  gap: 12px; font-size: 14px; line-height: 1.5; }
.cookie-bar p { color: var(--ink-2); }
.cookie-bar a { font-weight: 600; }
.cookie-bar div { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-bar .btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.cookie-bar .btn-white { border: 1.5px solid #E3E4EC; }
@media (max-width: 520px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
footer.site .f-nav .f-link { background: none; border: 0; padding: 0; font: inherit; color: #B9B7CF; text-align: left; cursor: pointer; }
footer.site .f-nav .f-link:hover { color: #fff; }
