/* SimFlow, built on the motionsites.ai "BookedUp" hero (design/motionsites-bookedup-prompt.md), extended to every page.
   Tokens from the prompt: page #F7F7F7, ink #202020, muted neutral-500, accent #F25C40, live green #52D352, star #FFB648.
   Headings: a rounded face (Varela Round, OFL) in place of SK Reykjavik Rounded; body: Inter. */
@font-face { font-family: 'Heading'; src: url('/assets/fonts/varela-round-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F7F7F7; --ink: #202020; --ink-2: #404040; --muted: #737373; --muted-2: #a3a3a3; --line: #E8E8E8; --line-2: #DADADA;
  --card: #fff; --accent: #F25C40; --accent-soft: #FDECE8; --live: #52D352; --live-line: #D1F2D1; --live-ink: #2E9E2E; --star: #FFB648;
  --font-heading: 'Heading', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 16px; --r-sm: 10px; --wrap: 1240px; --gut: 20px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, .03);
  --shadow-lift: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(0, 0, 0, .05);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(38px, 6.2vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 247, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--font-heading); font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .dd > button { font: 500 14.5px/1 var(--font-sans); color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .dd > button:hover, .dd.open > button { background: #EDEDED; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.dd { position: relative; }
.dd > button .ico { width: 14px; height: 14px; transition: transform .2s; }
.dd.open > button .ico { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); padding: 8px; display: none; }
.dd.open .dd-panel { display: block; }
.dd-panel a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; }
.dd-panel a:hover { background: var(--bg); }
.dd-panel b { display: block; font-weight: 600; font-size: 14.5px; }
.dd-panel span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-cta .link { font-weight: 500; font-size: 14.5px; color: var(--ink-2); text-decoration: none; padding: 10px 8px; }
.hdr-cta .link:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.mnav { display: none; }
@media (max-width: 1020px) {
  .nav, .hdr-cta .link { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .hdr-cta { gap: 8px; }
  .hdr-cta .btn { padding: 0 14px; height: 40px; font-size: 14px; }
  .mnav { position: fixed; inset: 68px 0 0; background: var(--bg); overflow-y: auto; padding: 8px var(--gut) 40px; z-index: 49; }
  .mnav.open { display: block; }
  .mnav h2 { font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 6px; }
  .mnav a { display: block; padding: 11px 0; font-size: 17px; text-decoration: none; border-bottom: 1px dotted var(--line-2); }
  .mnav .btns { margin-top: 24px; }
}
@media (max-width: 420px) { .hdr-cta .btn-dark { display: none; } }

/* ---------- buttons (DeepShadowButton + white button) ---------- */
.btn { --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 10px; font: 500 15px/1 var(--font-sans); text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; isolation: isolate; transition: transform .2s; }
.btn .ico { width: 16px; height: 16px; }
.btn-dark { background: #202020; color: #fff; box-shadow: inset 0 0 4px rgba(255, 255, 255, .25), 0 6px 19px rgba(0, 0, 0, .25); }
.btn-dark::before { content: ''; position: absolute; inset: 6px 10px 0; z-index: -1; background: #212121; opacity: .4; filter: blur(25px); border-radius: 12px; transition: transform .3s; }
.btn-dark:hover::before { transform: scale(1.1) translateY(4px); }
.btn-dark:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.btn-white:hover { color: var(--ink); border-color: #c8c8c8; }
.btn-white .ico { color: var(--ink); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.tlink:hover { border-color: var(--ink); }
.tlink .ico { width: 15px; height: 15px; }

/* ---------- pulse badge, deep icon ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--live-line); background: #fff; border-radius: 999px; padding: 6px 12px 6px 10px; font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--live-ink); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px rgba(82, 211, 82, .6); animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.pill.plain { border-color: var(--line-2); color: var(--muted); }
.pill.plain i { background: var(--muted-2); box-shadow: none; animation: none; }
@keyframes pulse { 50% { opacity: .5; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.deep { position: relative; display: inline-flex; flex: none; vertical-align: middle; align-self: flex-start; width: fit-content; }
.deep::before { content: ''; position: absolute; inset: 0; background: var(--accent); opacity: .6; filter: blur(18px); transform: scale(.9) translateY(6px); border-radius: 16px; }
.deep > span { position: relative; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; padding: 8px; border-radius: 16px; box-shadow: inset 0 0 5px rgba(255, 255, 255, .5), 0 8px 20px rgba(242, 92, 64, .35); }
.deep svg { width: 22px; height: 22px; }
.deep.sm > span { padding: 7px; border-radius: 12px; }
.deep.sm svg { width: 18px; height: 18px; }
.deep.sm::before { filter: blur(12px); }
.deep.ink::before { background: #202020; opacity: .35; }
.deep.ink > span { background: #202020; box-shadow: inset 0 0 4px rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .2); }
.h-ico { display: inline-flex; transform: rotate(-6deg); margin: 0 .12em; position: relative; top: -.06em; }
.h-ico > span { padding: .16em; border-radius: .28em; }
.h-ico svg { width: .62em; height: .62em; }

/* ---------- hero (BookedUp) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); display: grid; gap: 48px; grid-template-columns: 1fr; }
.hero-l { padding: 56px 0 8px; display: flex; flex-direction: column; justify-content: center; }
.hero-l .pill { align-self: flex-start; margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; max-width: 13em; font-size: clamp(38px, 5vw, 66px); }
.hero .sub { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 33em; margin-bottom: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: stretch; margin-top: 44px; }
.proof .sep { width: 1px; background: var(--line-2); }
.proof dt { font: 600 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.proof dd { margin: 0; font-weight: 500; font-size: 14.5px; display: flex; align-items: center; gap: 7px; }
.proof dd .ico { width: 16px; height: 16px; color: var(--live-ink); }
.hero-r { position: relative; height: 560px; overflow: hidden; margin: 0 calc(var(--gut) * -1); }
.hero-r .fade-t, .hero-r .fade-b { position: absolute; left: 0; right: 0; height: 90px; z-index: 2; pointer-events: none; }
.hero-r .fade-t { top: 0; background: linear-gradient(to bottom, var(--bg), rgba(247, 247, 247, 0)); }
.hero-r .fade-b { bottom: 0; background: linear-gradient(to top, var(--bg), rgba(247, 247, 247, 0)); }
.hero-r .tag { position: absolute; z-index: 3; top: 10px; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font: 600 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; box-shadow: var(--shadow-card); }
.tracks { display: grid; grid-template-columns: 1fr; gap: 20px; height: 100%; padding: 0 22px; }
.track { display: flex; flex-direction: column; gap: 30px; padding-top: 40px; animation: scrollY 46s linear infinite; will-change: transform; }
.track.t2 { display: none; animation-duration: 54s; animation-delay: -20s; }
.hero-r:hover .track { animation-play-state: paused; }
@keyframes scrollY { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }
@media (min-width: 640px) and (max-width: 1023px) { .tracks { grid-template-columns: 1fr 1fr; } .track.t2 { display: flex; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; height: clamp(640px, calc(100svh - 68px), 860px); padding: 0 40px; }
  .hero-l { padding: 24px 0 40px 24px; }
  .hero-r { height: 100%; margin: 0; }
  .tracks { position: absolute; inset: 0; padding: 0 34px; }
}
@media (min-width: 1280px) { .hero-l { padding-left: 56px; } }
.proof-m { display: none; }
@media (max-width: 1023px) {
  .hero-l .proof { display: none; }
  .proof-m { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 8px var(--gut) 8px; margin: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
  .proof-m li { display: inline-flex; align-items: center; gap: 6px; }
  .proof-m .ico { width: 15px; height: 15px; color: var(--live-ink); }
  .hero-l { padding-top: 36px; }
  .hero .sub { margin-bottom: 24px; }
}

/* project card (ClientCard) */
.pc { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .025); padding: 16px 18px 6px; transform: rotate(var(--rot, 3deg)); }
.pc:nth-child(even) { --rot: -3deg; }
.pc-h { display: flex; justify-content: space-between; font: 600 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.pc-i { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dotted var(--line-2); }
.pc-i:last-child { border-bottom: 0; }
.pc-av { position: relative; flex: none; width: 36px; height: 36px; }
.pc-av::before { content: ''; position: absolute; inset: 4px; background: #000; opacity: .2; filter: blur(10px); border-radius: 50%; transform: translateY(4px); }
.pc-av span { position: relative; display: flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: #F1F1F1; color: var(--ink); }
.pc-av.glow::before { background: var(--accent); opacity: .6; filter: blur(14px); }
.pc-av.glow span { background: var(--accent); color: #fff; }
.pc-av svg { width: 17px; height: 17px; }
.pc-b { min-width: 0; flex: 1; }
.pc-t { font-weight: 600; font-size: 14px; line-height: 1.35; display: flex; justify-content: space-between; gap: 8px; }
.pc-t small { font-weight: 500; font-size: 11px; color: var(--live-ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.pc-t small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.pc-t small.wait { color: #B7791F; }
.pc-t small.wait::before { background: var(--star); }
.pc-l { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.pc.static { transform: none; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec.tight { padding: 56px 0; }
.sec.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-h { max-width: 760px; margin-bottom: 44px; }
.sec-h.c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-h.c .eyebrow { justify-content: center; }
.sec-h p { color: var(--muted); font-size: 18px; margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
@media (max-width: 700px) { .sec { padding: 64px 0; } .sec-h { margin-bottom: 32px; } .sec-h p, .lead { font-size: 16.5px; } }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-l { grid-template-columns: 1.35fr 1fr; } .split.wide-r { grid-template-columns: 1fr 1.35fr; } .split.top { align-items: start; } }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); padding: 26px; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card.link { text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card.link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card.link .more { margin-top: auto; padding-top: 18px; font-weight: 500; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.card.link .more .ico { width: 15px; height: 15px; transition: transform .2s; }
.card.link:hover .more .ico { transform: translateX(3px); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }

/* screenshot frame (app window) */
.shot { margin: 0; background: #0f1a1c; border-radius: 14px; padding: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 24px 60px rgba(0, 0, 0, .12); }
.shot img { border-radius: 9px; width: 100%; }
.shot.light { background: #fff; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.shot.tilt { transform: rotate(-1.2deg); }
figcaption, .cap { font-size: 13.5px; color: var(--muted); margin-top: 12px; display: block; line-height: 1.5; }
figcaption b, .cap b { color: var(--ink); font-weight: 600; }
.shot + figcaption { padding: 0 4px; }

/* lists */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li > .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--live-ink); }
.checks b { font-weight: 600; }
.checks span { color: var(--muted); }
.checks.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px 32px; }
.qs { display: flex; flex-wrap: wrap; gap: 10px; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.q .ico { width: 15px; height: 15px; color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 12px/1 var(--font-sans); letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.steps b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 19px; letter-spacing: -.01em; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

/* path compare */
.path { display: grid; gap: 16px; }
.path-row { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); }
.path-row h3 { font-size: 15px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.path-row h3 .ico { width: 18px; height: 18px; }
.path-row.bad h3 .ico { color: #C0392B; }
.path-row.good { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-lift); }
.path-row.good h3 .ico { color: var(--live-ink); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; list-style: none; margin: 0; padding: 0; }
.chain li { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.chain li span { padding: 6px 11px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.chain li + li::before { content: ''; width: 14px; height: 1px; background: var(--muted-2); margin: 0 2px; }
.path-row.good .chain li:last-child span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* wizard steps rail (home) */
.wsteps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); counter-reset: w; }
.wstep { margin: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .04); counter-increment: w; }
.wstep img { width: 100%; aspect-ratio: 880 / 648; object-fit: cover; object-position: top left; background: #F6F5F0; border-bottom: 1px solid var(--line); }
.wstep figcaption { display: block; padding: 18px 20px 20px; margin: 0; font-size: 15px; }
.wstep figcaption b { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 400; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.wstep figcaption b::before { content: counter(w); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12.5px/26px var(--font-sans); text-align: center; flex: none; }

/* studio tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px; width: fit-content; max-width: 100%; margin-bottom: 18px; }
.tabs button { font: 500 14px/1 var(--font-sans); padding: 10px 14px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabpanel[hidden] { display: none; }

/* retailer project card (big) */
.proj { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lift), 0 0 0 1px rgba(0, 0, 0, .03); overflow: hidden; }
.proj-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px dotted var(--line-2); }
.proj-h b { font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.proj-h small { font: 600 10.5px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--live-ink); background: #EEF9EE; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.proj dl { margin: 0; padding: 6px 20px; display: grid; grid-template-columns: auto 1fr; }
.proj dt, .proj dd { padding: 10px 0; border-bottom: 1px dotted var(--line); font-size: 14px; }
.proj dt { color: var(--muted); padding-right: 16px; }
.proj dd { margin: 0; font-weight: 500; text-align: right; }
.proj dl > :nth-last-child(-n+2) { border-bottom: 0; }
.proj-f { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #202020; color: #fff; }
.proj-f span { font-size: 13px; color: #bdbdbd; }
.proj-f b { white-space: nowrap; font-family: var(--font-heading); font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.retail { display: grid; gap: 18px; }
.retail .pdf { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); }
.retail .pdf img { border-radius: 6px; border: 1px solid var(--line); }
.retail .pdf b { display: block; font-weight: 600; margin-bottom: 4px; }
.retail .pdf span { font-size: 14px; color: var(--muted); }
.side-label { font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.side-label i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/22px var(--font-sans); text-align: center; font-style: normal; }

/* feature columns (everything in one platform) */
.fcols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.fcol { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); }
.fcol h3 { font-size: 17px; margin: 0 0 12px; }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { padding: 7px 0; border-bottom: 1px dotted var(--line-2); font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.fcol li:last-child { border-bottom: 0; }
.fcol li .ico { width: 15px; height: 15px; color: var(--live-ink); }

/* design partner */
.partner { background: #202020; color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.partner::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; background: var(--accent); opacity: .22; filter: blur(90px); border-radius: 50%; }
.partner h2, .partner h3 { color: #fff; }
.partner p { color: #bdbdbd; }
.partner .pill { background: transparent; border-color: rgba(82, 211, 82, .4); }
.partner .checks span { color: #d0d0d0; }
.partner .checks li > .ico { color: var(--live); }
.partner .btn-white { border-color: #fff; }
.partner > * { position: relative; z-index: 1; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 18px; height: 18px; flex: none; transition: transform .2s; color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* CTA band */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { max-width: 15em; margin: 0 auto 16px; }
.cta p { color: var(--muted); max-width: 36em; margin: 0 auto 30px; font-size: 18px; }
.cta .btns { justify-content: center; }
.cta small { display: block; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* page hero (inner pages) */
.phero { padding: 56px 0 24px; }
.phero h1 { font-size: clamp(34px, 5vw, 60px); max-width: 15em; margin-bottom: 20px; }
.phero .sub { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.phero.c { text-align: center; }
.phero.c h1, .phero.c .sub { margin-left: auto; margin-right: auto; }
.phero.c .btns { justify-content: center; }
.phero-img { margin-top: 48px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* quote block */
.quote { font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.person b { display: block; font-weight: 600; }
.person span { color: var(--muted); font-size: 14px; }

/* stats strip (market data) */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .03); }
.stat b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.stat span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.source { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- article (guides, glossary, legal) ---------- */
.art { max-width: 760px; margin: 0 auto; }
.art-h { padding: 48px 0 8px; }
.art-h h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 18px; }
.art-h .lede { font-size: 19px; color: var(--ink-2); line-height: 1.6; }
.art-h .by { font-size: 14px; color: var(--muted); }
.prose { font-size: 17px; line-height: 1.72; color: #2b2b2b; }
.prose h2 { font-size: clamp(24px, 2.8vw, 31px); margin: 2em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink); }
.guide-table { overflow-x: auto; margin: 1.4em 0 1.6em; background: #fff; border-radius: 14px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .04); -webkit-overflow-scrolling: touch; }
.guide-table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; min-width: 520px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px dotted var(--line-2); }
.guide-table th { font: 600 11.5px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #FAFAFA; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-figure { margin: 1.8em 0; background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, .04); }
.guide-figure svg { width: 100%; height: auto; }
.guide-figure figcaption { margin-top: 10px; }
.guide-note { background: #FFF7E8; border-radius: 12px; padding: 14px 18px; font-size: 15.5px; border: 1px solid #F6E2B8; }
.guide-about { margin-top: 2.4em; padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15.5px; }
.guide-about p { margin: 0; }
.glossary h2 { font-size: 22px; margin: 1.6em 0 .4em; }
.glossary .guide-note { line-height: 2; }
.term-link { font-size: 14px; color: var(--muted); }
.aside-cta { margin: 56px 0 0; background: #202020; color: #fff; border-radius: 20px; padding: 30px; position: relative; overflow: hidden; }
.aside-cta::after { content: ''; position: absolute; right: -80px; bottom: -100px; width: 260px; height: 260px; background: var(--accent); opacity: .25; filter: blur(70px); border-radius: 50%; }
.aside-cta > * { position: relative; z-index: 1; }
.aside-cta h2 { color: #fff; font-size: 26px; }
.aside-cta p { color: #c9c9c9; }
.aside-cta .eyebrow { color: #a8a8a8; }
.aside-cta img { border-radius: 10px; margin: 6px 0 20px; }
.toc { position: sticky; top: 90px; font-size: 14px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }
.legal { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .legal { grid-template-columns: 240px 1fr; } }
@media (max-width: 979px) { .toc { display: none; } }
.legal-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }

/* calculator */
.calc { background: #fff; border-radius: 20px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(0, 0, 0, .03); }
.calc h2 { font-size: 24px; margin-top: 0; }
.calc-f { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.calc-help { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.calc-result { margin-top: 26px; border-top: 1px dotted var(--line-2); padding-top: 20px; }
.calc-verdict { font-size: 30px; margin: 0 0 6px; }
.calc-summary { color: var(--ink-2); }
.calc-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.calc-row:last-child { border-bottom: 0; }
.calc-row-name { font-weight: 600; font-size: 14.5px; }
.calc-row-text { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.calc-badge { display: inline-block; font: 600 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 5px 9px; background: #EEE; }
.calc-badge[data-level="0"] { background: #FDE8E6; color: #B3261E; }
.calc-badge[data-level="1"] { background: #FFF3DC; color: #9A6200; }
.calc-badge[data-level="2"] { background: #E8F1FD; color: #1F5FAD; }
.calc-badge[data-level="3"] { background: #E7F7E7; color: #23802A; }
@media (max-width: 520px) { .calc-row { grid-template-columns: 1fr; gap: 2px; } }
.field-error { color: #B3261E; font-size: 14px; margin: 12px 0 0; }

/* ---------- forms + dialog ---------- */
.form { display: grid; gap: 14px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, label.lbl { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--muted-2); font-weight: 400; }
input, select, textarea { font: 400 16px/1.4 var(--font-sans); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; width: 100%; min-height: 46px; }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23737373' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.form-msg { font-size: 14.5px; margin: 0; }
.form-msg.err { color: #B3261E; }
.form-msg.err a { color: inherit; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .deep { margin: 0 auto 18px; }
.thanks h3 { font-size: 26px; }
.thanks p { color: var(--muted); }
dialog.demo { border: 0; padding: 0; border-radius: 22px; width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--bg); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); overflow: auto; }
dialog.demo::backdrop { background: rgba(20, 20, 20, .45); backdrop-filter: blur(3px); }
.demo-in { display: grid; grid-template-columns: 1fr; }
@media (min-width: 820px) { .demo-in { grid-template-columns: 330px 1fr; } }
.demo-l { background: #202020; color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.demo-l img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; width: 100%; }
.demo-l p { color: #cfcfcf; margin: 0; font-size: 15px; }
.demo-l .quote { font-size: 20px; color: #fff; }
.demo-l ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: #cfcfcf; }
.demo-l li { display: flex; gap: 8px; align-items: center; }
.demo-l li .ico { width: 15px; height: 15px; color: var(--live); }
@media (max-width: 819px) { .demo-l img, .demo-l ul { display: none; } .demo-l { padding: 22px 22px 18px; } }
.demo-r { padding: 28px; position: relative; }
.demo-r h2 { font-size: 28px; margin-right: 40px; }
.x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.x svg { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: #fff; padding: 64px 0 28px; font-size: 14.5px; }
.ftr-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 899px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
.ftr h2 { font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { text-decoration: none; color: var(--ink-2); }
.ftr a:hover { color: var(--ink); text-decoration: underline; }
.ftr .about p { color: var(--muted); max-width: 26em; }
.ftr address { font-style: normal; color: var(--muted); line-height: 1.6; }
.ftr-b { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: 13.5px; }

/* reveal */
.js [data-r] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-r].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-r] { opacity: 1; transform: none; transition: none; } }
