/* ==========================================================================
   Design tokens. Change colours here.
   ========================================================================== */
:root {
  --bg: #faf7f2;          /* warm off-white */
  --bg-2: #f3ede4;        /* deeper warm band */
  --surface: #ffffff;
  --ink: #15203a;         /* dark navy text */
  --ink-2: #48526a;       /* secondary text (≈7:1 on --bg) */
  --ink-3: #6b7387;       /* tertiary text (≈4.6:1 on --bg) */
  --line: #e5ddd1;
  --line-2: #d6ccbd;

  --accent: #0b7a78;      /* teal (≈5:1 on --bg, white text on it ≈5.3:1) */
  --accent-strong: #075f5d;
  --accent-bright: #19b5a9;
  --accent-soft: #dcf1ee;
  --accent-tint: #eef8f6;

  --note-bg: #fff5dc;
  --note-line: #edd9a3;
  --note-ink: #5b4410;
  --error: #b42318;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 32, 58, .06), 0 2px 8px rgba(21, 32, 58, .04);
  --shadow: 0 2px 4px rgba(21, 32, 58, .04), 0 12px 32px -8px rgba(21, 32, 58, .14);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.band { background: var(--bg-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .8rem/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --b-bg: var(--accent); --b-ink: #fff; --b-line: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--b-ink); background: var(--b-bg);
  border: 2px solid var(--b-line); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(11, 122, 120, .55);
}
.btn:hover { --b-bg: var(--accent-strong); --b-line: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { --b-bg: transparent; --b-ink: var(--ink); --b-line: var(--line-2); box-shadow: none; }
.btn-ghost:hover { --b-bg: var(--surface); --b-line: var(--ink); color: var(--ink); }
.btn-dark { --b-bg: var(--ink); --b-line: var(--ink); box-shadow: none; }
.btn-dark:hover { --b-bg: #000; --b-line: #000; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Notices / banners
   ========================================================================== */
.site-banner {
  background: var(--note-bg); color: var(--note-ink);
  border-bottom: 1px solid var(--note-line);
  font-size: .875rem; line-height: 1.45; padding: 8px 0; text-align: center;
}
.site-banner code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 5px; font-size: .85em; }
.site-banner[hidden] { display: none; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-ink);
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.5;
}
.notice.teal { background: var(--accent-tint); border-color: #bfe3dd; color: #0c4a48; }
.notice svg { flex: none; margin-top: 2px; }
.placeholder {
  background: var(--note-bg); color: var(--note-ink);
  border: 1px dashed var(--note-line); border-radius: 6px; padding: 0 .3em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.1rem/1.1 var(--font-display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px -4px rgba(11,122,120,.6);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:not(.btn):hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--bg-2); }
.nav .btn { min-height: 42px; padding: .55em 1.15em; margin-left: 8px; font-size: .95rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; border-radius: 10px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(25, 181, 169, .18), rgba(25, 181, 169, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -15%; bottom: -30%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(244, 196, 140, .22), rgba(244, 196, 140, 0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .accent { color: var(--accent); position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
  border-radius: 4px; opacity: .45;
}
.hero .lede { margin: 1.25rem 0 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }

/* Hero illustration: layered mock browser + phone, pure CSS */
.hero-art { position: relative; min-height: 420px; }
.mock-browser {
  position: absolute; inset: 0 8% 14% 0;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden; animation: float 9s ease-in-out infinite;
}
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fcfaf7; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock-bar .url { margin-left: 10px; flex: 1; height: 9px; border-radius: 6px; background: var(--bg-2); }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { height: 108px; border-radius: 12px; background: linear-gradient(120deg, var(--ink) 0%, #26365c 60%, var(--accent) 140%); position: relative; }
.mock-hero::before { content: ""; position: absolute; left: 18px; top: 22px; width: 52%; height: 14px; border-radius: 6px; background: rgba(255,255,255,.9); }
.mock-hero::after { content: ""; position: absolute; left: 18px; top: 46px; width: 34%; height: 9px; border-radius: 6px; background: rgba(255,255,255,.45); box-shadow: 0 32px 0 -1px var(--accent-bright); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-row span { height: 64px; border-radius: 10px; background: var(--bg-2); }
.mock-row span:nth-child(2) { background: var(--accent-tint); }
.mock-lines { display: grid; gap: 8px; }
.mock-lines span { height: 8px; border-radius: 6px; background: var(--bg-2); }
.mock-lines span:nth-child(2) { width: 82%; }
.mock-lines span:nth-child(3) { width: 64%; }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 42%; max-width: 210px; aspect-ratio: 9 / 17;
  background: var(--ink); border-radius: 30px; padding: 9px;
  box-shadow: 0 30px 60px -20px rgba(21,32,58,.45);
  animation: float 9s ease-in-out -4.5s infinite;
}
.mock-phone .screen { height: 100%; border-radius: 22px; background: var(--surface); overflow: hidden; display: grid; grid-template-rows: 70px auto 1fr; }
.mock-phone .cover { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%); }
.mock-phone .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 3px solid var(--surface); margin: -23px 0 0 14px; box-shadow: 0 0 0 2px var(--accent-soft) inset; }
.mock-phone .feed { padding: 10px 14px; display: grid; gap: 7px; align-content: start; }
.mock-phone .feed span { height: 7px; border-radius: 5px; background: var(--bg-2); }
.mock-phone .feed .grid { height: auto; background: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.mock-phone .feed .grid b { aspect-ratio: 1; border-radius: 4px; background: var(--bg-2); }
.mock-phone .feed .grid b:nth-child(3n+2) { background: var(--accent-soft); }
.hero-tag {
  position: absolute; left: -4%; bottom: 6%; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35;
  animation: float 9s ease-in-out -2s infinite;
}
.hero-tag strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.art-caption { position: absolute; right: 0; top: -28px; font-size: .78rem; color: var(--ink-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 340px; max-width: 520px; margin-top: 12px; }
}
@media (max-width: 480px) {
  .hero-art { min-height: 300px; }
  .hero-tag { left: 0; }
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.service-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.service-card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-strong); margin-bottom: 18px;
}
.service-card h3 { margin-bottom: .35em; }
.service-card p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* Examples (illustrative mockups) */
.example { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.example-visual { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.example-meta { padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.example-meta h3 { font-size: 1.08rem; margin-bottom: .2em; }
.example-meta p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.example-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--ink-2); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line);
}
/* sample 1: café landing page */
.ex-cafe { background: #f4e9dc; padding: 46px 22px 0; }
.ex-cafe .pg { background: #fffaf3; border-radius: 10px 10px 0 0; height: 100%; padding: 18px; box-shadow: 0 10px 30px -10px rgba(91,60,30,.3); }
.ex-cafe .t1 { font: 700 1.25rem/1.05 var(--font-display); color: #4a2e18; max-width: 70%; }
.ex-cafe .t2 { margin-top: 8px; height: 7px; width: 55%; background: #e7d7c4; border-radius: 4px; }
.ex-cafe .cta { margin-top: 14px; display: inline-block; background: #b4552e; color: #fff; font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.ex-cafe .pics { margin-top: 16px; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; height: 38%; }
.ex-cafe .pics i { border-radius: 8px; background: linear-gradient(135deg, #c9875a, #8a4f2c); }
.ex-cafe .pics i + i { background: linear-gradient(135deg, #e8c9a6, #c9a07a); }
/* sample 2: trades website */
.ex-trade { background: #e6edf6; padding: 46px 22px 0; }
.ex-trade .pg { background: #fff; border-radius: 10px 10px 0 0; height: 100%; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(21,32,58,.3); }
.ex-trade .nav-s { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #edf0f5; }
.ex-trade .nav-s b { width: 60px; height: 9px; border-radius: 4px; background: #1d3a66; }
.ex-trade .nav-s span { font-size: .62rem; font-weight: 700; background: #f2b51d; color: #1d2a40; padding: 4px 8px; border-radius: 6px; }
.ex-trade .ban { background: #1d3a66; color: #fff; padding: 16px 14px; }
.ex-trade .ban strong { display: block; font: 700 1.05rem/1.1 var(--font-display); max-width: 75%; }
.ex-trade .ban em { display: block; margin-top: 8px; height: 6px; width: 45%; background: rgba(255,255,255,.4); border-radius: 4px; }
.ex-trade .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 14px; }
.ex-trade .tiles i { height: 46px; border-radius: 8px; background: #eef2f8; border: 1px solid #e1e7f0; }
/* sample 3: social profile */
.ex-social { background: linear-gradient(160deg, #f3dfe6, #efe5f6); display: grid; place-items: end center; padding-top: 46px; }
.ex-social .ph { width: 58%; height: 100%; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px -10px rgba(80,40,90,.35); overflow: hidden; }
.ex-social .cv { height: 26%; background: linear-gradient(135deg, #c25b85, #8a4fb0); }
.ex-social .av { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 3px solid #fff; margin: -21px auto 0; box-shadow: 0 0 0 2px #f1d5e2 inset; }
.ex-social .nm { width: 50%; height: 8px; border-radius: 4px; background: #3a2340; margin: 8px auto 0; opacity: .85; }
.ex-social .bio { width: 70%; height: 6px; border-radius: 4px; background: #eadde8; margin: 6px auto 0; }
.ex-social .btns { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.ex-social .btns i { width: 34%; height: 18px; border-radius: 6px; background: #c25b85; }
.ex-social .btns i + i { background: #f1e6ef; }
.ex-social .gr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 10px; }
.ex-social .gr i { aspect-ratio: 1; background: #f4ebf1; border-radius: 3px; }
.ex-social .gr i:nth-child(odd) { background: #ead3e4; }

/* ==========================================================================
   Pricing cards
   ========================================================================== */
.price-grid { display: grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.bundle { background: linear-gradient(180deg, var(--accent-tint) 0%, var(--surface) 42%); border-color: #c4e5df; }
.price-card .cat { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-strong); }
.price-card h3 { margin: .45em 0 .35em; font-size: 1.35rem; }
.price-card .summary { color: var(--ink-2); font-size: .98rem; margin-bottom: 18px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.price .amount { font: 700 2.6rem/1 var(--font-display); letter-spacing: -.03em; }
.price .unit { color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.price-note { font-size: .86rem; color: var(--ink-3); margin-bottom: 20px; }
.price-note .save { color: var(--accent-strong); font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; font-size: .96rem; }
.feature-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.feature-list li .tick { margin-top: 2px; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px dashed var(--line-2); }
.meta-list dt { color: var(--ink-3); }
.meta-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.pkg-note { font-size: .88rem; color: var(--note-ink); background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 10px; padding: 10px 12px; margin: 0 0 18px; }
.price-card .btn { margin-top: auto; }
.best-for { font-size: .9rem; color: var(--ink-2); margin: -6px 0 18px; }
.best-for b { color: var(--ink); font-weight: 600; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  font: 600 .95rem/1 var(--font-body); color: var(--ink);
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-section + .price-section { margin-top: 56px; }
.price-section > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ==========================================================================
   Included vs not included
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split .card h3 { display: flex; align-items: center; gap: 10px; }
.x { width: 20px; height: 20px; flex: none; border-radius: 50%; background: #f6e3df; color: #9b2c1c; display: grid; place-items: center; }
.cost-callout {
  margin-top: 24px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius);
  background: var(--ink); color: #e9edf5; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
}
.cost-callout h3 { color: #fff; margin-bottom: .3em; }
.cost-callout p { margin: 0; color: #c9d1e1; }
.cost-callout .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--accent-bright); display: grid; place-items: center; }
@media (max-width: 520px) { .cost-callout { grid-template-columns: 1fr; } }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 24px); list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 700 .95rem/1 var(--font-display); color: var(--accent);
  margin-bottom: 14px; letter-spacing: .02em;
}
.steps h3 { font-size: 1.12rem; margin-bottom: .35em; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative;
  font: 600 1.05rem/1.4 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* ==========================================================================
   CTA band & footer
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #13968f 0%, var(--accent-strong) 38%, var(--ink) 100%);
}
.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { color: #d5e6e6; max-width: 36em; }
.cta-band .btn { --b-bg: #fff; --b-ink: var(--ink); --b-line: #fff; box-shadow: none; }
.cta-band .btn:hover { --b-bg: var(--accent-soft); --b-line: var(--accent-soft); color: var(--ink); }
.cta-band .btn-ghost { --b-bg: transparent; --b-ink: #fff; --b-line: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { --b-bg: rgba(255,255,255,.1); --b-line: #fff; color: #fff; }

.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 10vw, 120px); font-size: .93rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 600 .82rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); position: relative; }
.page-head::before {
  content: ""; position: absolute; right: -10%; top: -40%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(closest-side, rgba(25,181,169,.14), transparent 70%); pointer-events: none;
}
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* ==========================================================================
   Forms (checkout & intake)
   ========================================================================== */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.mobile-total { display: none; }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .summary-card { position: static; }
  .mobile-total {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem;
  }
  .mobile-total strong { font: 700 1.25rem/1 var(--font-display); white-space: nowrap; }
  .mobile-total a { font-size: .85rem; }
}
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-card + .form-card { margin-top: 20px; }
.form-card { scroll-margin-top: 90px; }
.form-card h2 { font-size: 1.45rem; margin-bottom: .25em; }
.form-card > p.muted { margin-bottom: 24px; font-size: .97rem; }
.fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.fieldset:last-child { margin-bottom: 0; }
.fieldset legend { font: 700 1.15rem/1.3 var(--font-display); padding: 0; margin-bottom: 6px; }
.fieldset .hint { margin: 0 0 18px; color: var(--ink-2); font-size: .93rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field .help { display: block; font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fdfcfa; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; min-height: 48px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #bfb3a2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(25,181,169,.18); background: #fff; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); }
.field .err { display: none; color: var(--error); font-size: .86rem; margin-top: 6px; font-weight: 500; }
.field.invalid .err { display: block; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fdfcfa; font-size: .95rem; line-height: 1.35;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: #bfb3a2; }
.choice input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.choice:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(25,181,169,.22); }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.counter { font-size: .86rem; color: var(--ink-3); margin-top: 8px; }

.check {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fdfcfa; font-size: .95rem; line-height: 1.5;
}
.check + .check { margin-top: 10px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.check.invalid { border-color: var(--error); }

.summary-card { position: sticky; top: 96px; }
.summary-card .card { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.summary-card h2 { font-size: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.sum-row:last-of-type { border-bottom: 0; }
.sum-row.total { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 4px; padding-top: 16px; font-weight: 700; font-size: 1.15rem; }
.sum-row.total span:last-child { font-family: var(--font-display); font-size: 1.5rem; }
.sum-sub { font-size: .9rem; color: var(--ink-2); }
.sum-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; font-size: .9rem; color: var(--ink-2); }
.sum-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.sum-block { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.sum-block h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }

.pay-box { border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 20px; background: #fdfcfa; }
.pay-box .notice { margin-bottom: 16px; }
.form-error { display: none; margin-top: 16px; color: var(--error); font-weight: 500; }
.form-error.show { display: block; }

.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; flex-wrap: wrap; }
.progress li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-3); font-weight: 500; }
.progress li + li::before { content: ""; width: 24px; height: 1.5px; background: var(--line-2); margin-right: 2px; }
.progress .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 1.5px solid var(--line-2); background: var(--surface); }
.progress .done { color: var(--ink-2); }
.progress .done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress .current { color: var(--ink); }
.progress .current .dot { border-color: var(--ink); background: var(--ink); color: #fff; }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 24px; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* Admin table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--bg-2); white-space: nowrap; }
.status.paid_test { background: var(--note-bg); color: var(--note-ink); }
.status.intake_received { background: var(--accent-soft); color: var(--accent-strong); }
pre.answers { white-space: pre-wrap; font-size: .82rem; background: var(--bg); border-radius: 10px; padding: 12px; margin: 8px 0 0; max-height: 360px; overflow: auto; }

/* ==========================================================================
   Project questionnaire
   ========================================================================== */
.q-steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.q-steps li { flex: none; }
.q-steps button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 .88rem/1 var(--font-body); color: var(--ink-3);
  background: transparent; border: 1.5px solid transparent; border-radius: 999px; padding: 8px 12px 8px 8px;
}
.q-steps button .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--surface); font-size: .78rem; }
.q-steps button:disabled { cursor: default; opacity: .7; }
.q-steps .visited button { color: var(--ink-2); }
.q-steps .visited .dot { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-strong); }
.q-steps [aria-current="step"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.q-steps [aria-current="step"] .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-progressbar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin: 0 0 24px; }
.q-progressbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); border-radius: 6px; transition: width .4s ease; }
.q-step-head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: .2em; }
.q-step-head p { color: var(--ink-2); margin-bottom: 26px; }
.q-group + .q-group { margin-top: 34px; padding-top: 28px; border-top: 1px dashed var(--line-2); }
.q-group-title { display: flex; align-items: center; gap: 10px; font: 700 1.05rem/1.3 var(--font-display); margin: 0 0 18px; }
.q-group-title .pill { font: 600 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; background: var(--accent-tint); color: var(--accent-strong); padding: 5px 9px; border-radius: 999px; }
.q-fields { display: grid; gap: 22px; }
.q-field[hidden] { display: none; }
.req { font-weight: 500; font-size: .82rem; color: var(--accent-strong); margin-left: 6px; }
.optl { font-weight: 400; font-size: .82rem; color: var(--ink-3); margin-left: 6px; }
.limit-note { font-size: .88rem; margin-top: 8px; color: var(--ink-3); }
.limit-note.over { color: var(--note-ink); background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 10px; padding: 8px 12px; }
.choice .desc { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 3px; }
.choice-grid.cols-1 { grid-template-columns: 1fr; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.style-card { position: relative; display: block; cursor: pointer; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.style-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.style-card .sw { height: 64px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; }
.style-card .sw i { display: block; border-radius: 6px; }
.style-card .txt { padding: 10px 12px 12px; font-size: .92rem; line-height: 1.35; }
.style-card .txt strong { display: block; }
.style-card .txt span { color: var(--ink-3); font-size: .82rem; }
.style-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,181,169,.25); }
.style-card:has(input:focus-visible) { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.sw-0 { background: #f7f7f5; } .sw-0 i { background: #d9d9d4; width: 40%; height: 8px; }
.sw-1 { background: #111827; } .sw-1 i { background: #facc15; width: 50%; height: 16px; }
.sw-2 { background: #f6e7d8; } .sw-2 i { background: #d9895b; width: 30%; height: 24px; border-radius: 999px !important; }
.sw-3 { background: #1e3a5f; } .sw-3 i { background: #e6ecf3; width: 60%; height: 10px; }
.sw-4 { background: #f2eee8; } .sw-4 i { background: #3b3127; width: 45%; height: 3px; }
.sw-5 { background: linear-gradient(120deg, #ffd6e0, #c7f0ff); } .sw-5 i { background: #ff5fa2; width: 22px; height: 22px; border-radius: 50% !important; }
.sw-5 i + i { background: #4cc3ff; }
.sw-6 { background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--surface) 8px, var(--surface) 16px); }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.save-status { font-size: .86rem; color: var(--ink-3); flex: 1; text-align: center; min-width: 120px; }
.save-status.error { color: var(--error); font-weight: 600; }
.error-summary { border: 2px solid var(--error); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; background: #fff6f5; }
.error-summary h2 { font-size: 1.05rem; color: var(--error); margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 1.1em; }
.error-summary a { color: var(--error); }
.uploader { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 18px; background: #fdfcfa; }
.uploader .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.uploader .row .field { flex: 1 1 200px; }
.file-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.file-list .meta { color: var(--ink-3); font-size: .82rem; }
.btn-small { min-height: 36px; padding: .4em .9em; font-size: .86rem; }
.review-section { margin-top: 26px; }
.review-section h3 { font-size: 1.1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-section h3 button { font: 600 .86rem var(--font-body); color: var(--accent-strong); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-table { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 8px 16px; font-size: .93rem; margin: 0; }
.review-table dt { color: var(--ink-3); }
.review-table dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 560px) { .review-table { grid-template-columns: 1fr; } .review-table dd { margin-bottom: 8px; } }
.scope-box { border-radius: 14px; padding: 16px 18px; margin-top: 18px; }
.scope-box h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.scope-box ul { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.scope-box.included { background: var(--accent-tint); border: 1px solid #c4e5df; }
.scope-box.missing { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-ink); }
.scope-box.review { background: #f3f1fb; border: 1px solid #d9d3f0; color: #362a6b; }
@media (max-width: 900px) { .q-layout .summary-card { order: 2; position: static; } }

/* Owner dashboard */
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.brief { white-space: pre-wrap; font: .86rem/1.55 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-height: 70vh; overflow: auto; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.admin-toolbar .field { min-width: 180px; }
tr.selected td { background: var(--accent-tint); }
.link-btn { background: none; border: 0; color: var(--accent-strong); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Design polish
   ========================================================================== */
/* Slim announcement bar */
.site-banner { background: var(--ink); color: #e6ebf5; border-bottom: 0; font-size: .86rem; padding: 9px 0; }
.site-banner .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.banner-badge {
  font-weight: 700; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink); background: linear-gradient(135deg, #7fe3d8, var(--accent-bright)); padding: 4px 9px; border-radius: 999px;
}

/* Dotted panel behind the hero illustration */
.hero-art::before {
  content: ""; position: absolute; inset: -7% -5% 2% 12%; border-radius: var(--radius-lg);
  background-image: radial-gradient(rgba(21, 32, 58, .13) 1.2px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}

/* Quick facts strip under the hero */
.facts {
  position: relative; z-index: 1; margin-top: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.facts:empty { display: none; }
.fact { padding: 20px 24px; border-left: 1px solid var(--line); margin-left: -1px; display: grid; gap: 4px; }
.fact strong { font: 700 1.55rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--accent-strong); }
.fact span { font-size: .9rem; color: var(--ink-2); }

/* Price cards: accent bar and bundle ribbon */
.price-card { overflow: hidden; }
.price-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright)); opacity: 0; transition: opacity .25s ease;
}
.price-card:hover::before, .price-card.bundle::before { opacity: 1; }
.ribbon {
  align-self: flex-start; margin-bottom: 12px; font-size: .76rem; font-weight: 700; letter-spacing: .03em;
  color: #fff; background: var(--accent-strong); padding: 5px 11px; border-radius: 999px;
}

/* Service cards: icon fills on hover */
.service-card .icon { transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.service-card:hover .icon { background: var(--accent); color: #fff; transform: rotate(-4deg) scale(1.05); }

/* Steps: numbered circles joined by a line */
.steps li { padding-top: 30px; }
.steps li::before {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: .9rem; margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
@media (min-width: 961px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 51px; left: 78px; right: -34px; height: 2px; z-index: 1;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
  }
}

/* Dark footer */
.site-footer { background: var(--ink); color: #b9c2d6; border-top: 0; }
.site-footer .brand, .site-footer a { color: #fff; }
.site-footer h4 { color: #8f9bb5; }
.site-footer .footer-legal { border-top-color: rgba(255, 255, 255, .12); color: #8f9bb5; }
.site-footer .footer-legal a { color: #d5dcea; }
.site-footer :focus-visible { outline-color: #7fe3d8; }

/* ==========================================================================
   DESIGN SYSTEM v2 (redesign). Tokens first, then components.
   Fonts: Bricolage Grotesque (display) + Inter (body). Nothing else.
   Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 · 128
   ========================================================================== */
:root {
  --night: #0a1222;            /* dark sections */
  --night-2: #111c33;
  --night-line: rgba(255, 255, 255, .1);
  --on-night: #e8edf6;
  --on-night-2: #a9b4c8;        /* ≈7:1 on --night */
  --glow: #2ee6d1;
  --violet: #7b6cff;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --shadow-lg: 0 30px 80px -30px rgba(10, 18, 34, .45);
  --ring: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

/* --- Dark sections (alternate with light for rhythm) --- */
.section-dark { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark p { color: var(--on-night-2); }
.section-dark .eyebrow { color: var(--glow); }
.section-dark a:not(.btn) { color: #9ff3e9; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: var(--night-line); box-shadow: var(--ring); }
.section-dark .card h3 { color: #fff; }
.section-dark .muted { color: var(--on-night-2); }
.section-dark .btn-ghost { --b-ink: #fff; --b-line: rgba(255, 255, 255, .28); }
.section-dark .btn-ghost:hover { --b-bg: rgba(255, 255, 255, .08); --b-line: #fff; color: #fff; }
.grid-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* --- Hero v2 --- */
.hx { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 112px); isolation: isolate; }
.hx .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.hx .orb.a { width: 520px; height: 520px; background: radial-gradient(circle, #13b3a5, transparent 65%); top: -160px; right: -120px; }
.hx .orb.b { width: 460px; height: 460px; background: radial-gradient(circle, #5b4dff, transparent 65%); bottom: -220px; left: -140px; animation-delay: -6s; opacity: .4; }
.hx .orb.c { width: 300px; height: 300px; background: radial-gradient(circle, #f0b36b, transparent 65%); top: 30%; left: 45%; animation-delay: -12s; opacity: .18; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.12); } }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hx-grid { grid-template-columns: minmax(0, 1fr); } }
.hx-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); font-size: .88rem; color: var(--on-night); margin-bottom: 22px; }
.hx-badge b { background: linear-gradient(135deg, var(--glow), #67f0b9); color: var(--night); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.hx h1 { color: #fff; font-size: clamp(2.6rem, 6.6vw, 5rem); line-height: .98; letter-spacing: -.045em; margin-bottom: 22px; }
.hx h1 .grad { background: linear-gradient(100deg, #5ff2df 0%, #a7f3d0 45%, #c4b5fd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx .lede { color: var(--on-night-2); font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 36em; margin-bottom: 30px; }
.hx .btn { --b-bg: #fff; --b-ink: var(--night); --b-line: #fff; box-shadow: 0 10px 30px -10px rgba(46, 230, 209, .55); }
.hx .btn:hover { --b-bg: #d9fbf6; --b-line: #d9fbf6; color: var(--night); }
.hx-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--on-night-2); font-size: .93rem; }
.hx-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hx-proof .tick { background: rgba(46, 230, 209, .15); color: var(--glow); }
.hx-stage { position: relative; min-height: 440px; }
.glass { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hx-frame { position: absolute; inset: 0 6% 12% 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); animation: floaty 10s ease-in-out infinite; }
.hx-frame .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #f1f3f7; border-bottom: 1px solid #e3e7ee; }
.hx-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d9e2; }
.hx-frame .bar span { margin-left: 8px; font: 500 .72rem var(--font-body); color: #7a8296; background: #fff; border-radius: 6px; padding: 3px 10px; }
.hx-frame iframe, .frame-live iframe { border: 0; display: block; pointer-events: none; transform-origin: 0 0; }
.hx-chip { position: absolute; padding: 14px 16px; font-size: .86rem; line-height: 1.35; color: var(--on-night); animation: floaty 10s ease-in-out infinite; }
.hx-chip strong { display: block; font: 700 1.25rem/1.1 var(--font-display); color: #fff; }
.hx-chip.one { left: -4%; bottom: 4%; animation-delay: -3s; }
.hx-chip.two { right: 0; top: 8%; animation-delay: -6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .hx-stage { min-height: 330px; } .hx-chip.two { top: -4%; } }

/* --- Trust bar --- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.trustbar li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.trustbar svg { color: var(--accent); flex: none; }

/* --- Bento services --- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento > * { grid-column: span 2; }
.bento .wide { grid-column: span 3; }
.bento .full { grid-column: span 6; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento > *, .bento .wide { grid-column: span 1; } .bento .full { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento > *, .bento .wide, .bento .full { grid-column: span 1; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); color: var(--ink); }
.tile::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(25,181,169,.18), transparent 70%); transition: transform .5s ease; }
.tile:hover::after { transform: scale(1.4); }
.tile .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-strong); }
.tile h3 { font-size: 1.22rem; margin: 6px 0 0; }
.tile p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.tile .from { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--ink-3); }
.tile .from b { font: 700 1.35rem var(--font-display); color: var(--ink); }
.tile .go { color: var(--accent-strong); font-weight: 600; }

/* --- Portfolio / work cards --- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.wcard { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.wcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); }
.wthumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e9edf3; }
.wthumb iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 880px; border: 0; transform-origin: 0 0; pointer-events: none; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.wthumb .story {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px;
  background: linear-gradient(180deg, rgba(10,18,34,0) 25%, rgba(10,18,34,.92) 100%); color: #fff;
  opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease;
}
.wcard:hover .story, .wcard:focus-visible .story { opacity: 1; transform: none; }
.wthumb .story p { margin: 0; color: #d6deeb; font-size: .92rem; }
.wthumb .story b { color: #9ff3e9; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
@media (hover: none) { .wthumb .story { opacity: 1; transform: none; background: linear-gradient(180deg, rgba(10,18,34,0) 45%, rgba(10,18,34,.88) 100%); } .wthumb .story p { display: none; } }
.wmeta { padding: 18px 22px 22px; }
.wmeta h3 { font-size: 1.14rem; margin: 0 0 4px; }
.wmeta p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.demo-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font: 700 .7rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.94); color: var(--ink-2); border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: 600 .9rem var(--font-body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Case study --- */
.cs-hero { padding: clamp(40px, 7vw, 80px) 0 32px; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.cs-meta span { font-size: .86rem; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.cs-meta span b { color: var(--ink-3); font-weight: 600; margin-right: 4px; }
.frame-live { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.frame-live .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #f1f3f7; border-bottom: 1px solid #e3e7ee; }
.frame-live .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d9e2; }
.frame-live .bar a { margin-left: auto; font: 600 .78rem var(--font-body); }
.frame-live .view { position: relative; overflow: hidden; }
.pin {
  position: absolute; z-index: 3; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .9rem var(--font-display); color: #fff; background: var(--violet);
  border: 3px solid #fff; box-shadow: 0 6px 18px rgba(91, 77, 255, .45); cursor: pointer;
}
.pin::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(123,108,255,.55); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pin[aria-expanded="true"] { background: var(--accent); }
.callouts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: c; }
.callouts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, background-color .2s ease; }
.callouts li.on { border-color: var(--violet); background: #f4f2ff; }
.callouts .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font: 700 .9rem var(--font-display); }
.callouts b { display: block; }
.callouts p { margin: 2px 0 0; color: var(--ink-2); font-size: .94rem; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .cs-grid { grid-template-columns: minmax(0, 1fr); } }
.phone { width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 10px; background: #0d1426; box-shadow: var(--shadow-lg); margin: 0 auto; }
.phone .screen { width: 100%; height: 100%; border-radius: 29px; overflow: hidden; position: relative; background: #fff; }
.phone iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.facts-list > div { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.facts-list b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 6px; }

/* --- Before / after slider --- */
.ba { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; user-select: none; }
.ba .layer { position: relative; }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(10,18,34,.2); pointer-events: none; z-index: 3; }
.ba .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba .lbl { position: absolute; top: 12px; z-index: 2; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(10,18,34,.78); color: #fff; }
.ba .lbl.l { left: 12px; } .ba .lbl.r { right: 12px; background: var(--accent); }

/* --- Service page --- */
.svc-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.svc-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 24px; }
.svc-price .amount { font: 700 clamp(2.6rem, 5vw, 3.4rem)/1 var(--font-display); letter-spacing: -.03em; }
.svc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .svc-cols { grid-template-columns: minmax(0, 1fr); } }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 44px; counter-increment: t; color: var(--ink-2); }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 .8rem var(--font-display); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 2px; width: 1px; background: var(--line-2); }

/* --- Pricing: highlighted tier --- */
.price-card.highlight { border: 2px solid var(--accent); box-shadow: 0 30px 60px -30px rgba(11,122,120,.5); transform: translateY(-6px); }
.price-card.highlight .hl { position: absolute; top: 18px; right: 18px; font: 700 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 640px) { .price-card.highlight { transform: none; } }

/* --- Reviews (honest empty state until real reviews exist) --- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.review { padding: 26px; border-radius: var(--radius-lg); }
.review .stars { color: #f5b301; letter-spacing: 2px; }
.review blockquote { margin: 12px 0; font-size: 1.04rem; }
.review cite { font-style: normal; font-size: .9rem; }
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.promise > div { padding: 22px; border-radius: 18px; }
.promise h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* --- Sticky mobile CTA --- */
.mcta { display: none; }
@media (max-width: 720px) {
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; gap: 10px; padding: 10px; border-radius: 18px; }
  .mcta .btn { flex: 1; min-height: 46px; font-size: .95rem; }
  body.has-mcta { padding-bottom: 84px; }
}

/* --- v2 additions: page links & small utilities --- */
.h3 { font-size: 1.2rem; margin: 0 0 14px; }
.card-link { display: block; text-align: center; margin-top: 12px; font-weight: 600; font-size: .92rem; }
.price-card { position: relative; }
.wcard[hidden] { display: none; }
.cs-hero .eyebrow a, .svc-hero .eyebrow a { color: inherit; }
.frame-live .view .pin { pointer-events: auto; }
.svc-cols .card { height: 100%; }
.hx .btn.btn-ghost, .section-dark .btn.btn-ghost { --b-bg: transparent; --b-ink: #fff; --b-line: rgba(255,255,255,.3); color: #fff; box-shadow: none; }
.hx .btn.btn-ghost:hover, .section-dark .btn.btn-ghost:hover { --b-bg: rgba(255,255,255,.08); --b-line: #fff; color: #fff; }
.mcta.glass { background: rgba(10,18,34,.9); border-color: rgba(255,255,255,.12); }
.mcta .btn.btn-ghost { --b-bg: transparent; --b-ink: #fff; --b-line: rgba(255,255,255,.35); color: #fff; }
.hx-frame [data-fit] { height: calc(100% - 31px); }
.section-dark .wcard h3 { color: var(--ink); }
.section-dark .wcard .wmeta p { color: var(--ink-2); }
.section-dark .wthumb .story p { color: #d6deeb; }
[data-fit] { position: relative; overflow: hidden; }
[data-fit] > iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.ba .after { position: absolute; inset: 0; }
.social-links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.social-links a:hover { border-color: var(--accent); }

/* --- Guides (articles) --- */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.prose .table-scroll { overflow-x: auto; }
.prose blockquote { margin: 0 0 1.2em; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.article-meta { color: var(--ink-3); font-size: .92rem; margin-top: 14px; }
.guide-cta { margin: 2.4em 0; padding: 26px; border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); }
.guide-cta h2 { color: #fff; margin: 0 0 .4em; font-size: 1.4rem; }
.guide-cta p { color: var(--on-night-2); }
.guide-cta .btn.btn-ghost { --b-bg: transparent; --b-ink: #fff; --b-line: rgba(255,255,255,.3); color: #fff; }
.guide-list { display: grid; gap: 16px; }
.guide-list a.tile { min-height: 0; }

/* Owner dashboard: visitor stats */
.stats-panel { border:1px solid var(--line); border-radius:var(--radius); padding:20px; background:var(--bg); }
.stats-head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.stats-head h2 { font-size:1.3rem; margin:0; }
.stat-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; }
.stat-tile { display:grid; gap:2px; padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--bg-2); }
.stat-tile b { font:700 1.8rem/1.1 var(--font-display); color:var(--ink); }
.stat-chart { display:flex; align-items:flex-end; gap:2px; height:120px; margin-top:18px; padding-bottom:2px; border-bottom:1px solid var(--line); }
.stat-bar { flex:1; height:100%; position:relative; min-width:2px; }
.stat-bar i { position:absolute; left:0; right:0; bottom:0; background:var(--accent); opacity:.28; border-radius:3px 3px 0 0; }
.stat-bar i.v { left:25%; right:25%; opacity:1; }
.stat-axis { display:flex; justify-content:space-between; gap:8px; margin-top:6px; flex-wrap:wrap; }
.stat-axis .key { display:inline-block; width:10px; height:10px; border-radius:2px; vertical-align:-1px; margin-left:8px; background:var(--accent); opacity:.35; }
.stat-axis .key.v { opacity:1; }
.stat-axis .key.v { background:var(--accent); }
.stat-lists { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin-top:20px; }
.stat-lists h3 { font-size:1rem; margin:0 0 8px; }
.stat-list { width:100%; font-size:.92rem; }
.stat-list td { padding:5px 0; border-bottom:1px solid var(--line); word-break:break-all; }
.stat-list td:last-child { text-align:right; padding-left:12px; font-weight:600; white-space:nowrap; }

/* Spin-the-wheel discount */
.spin-fab { position:fixed; left:16px; bottom:16px; z-index:60; display:inline-flex; align-items:center; gap:8px; max-width:calc(100vw - 32px); padding:12px 16px; border-radius:999px; border:0; background:var(--night,#0a1222); color:#fff; font:600 .95rem var(--font-body); box-shadow:0 10px 30px -10px rgba(0,0,0,.5); cursor:pointer; }
.spin-fab span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spin-fab b { color:var(--glow,#2ee6d1); }
@media (max-width: 760px) { .has-mcta .spin-fab { bottom:84px; } }
.spin-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:16px; background:rgba(10,18,34,.6); }
.spin-modal[hidden] { display:none; }
body.spin-open { overflow:hidden; }
.spin-card { position:relative; width:min(440px,100%); max-height:calc(100vh - 32px); overflow:auto; background:var(--bg); color:var(--ink); border-radius:var(--radius-lg,20px); padding:24px; box-shadow:0 30px 80px -20px rgba(0,0,0,.5); }
.spin-card h2 { margin:0 0 4px; font-size:1.5rem; }
.spin-close { position:absolute; top:10px; right:12px; width:40px; height:40px; border:0; background:none; font-size:1.6rem; color:var(--ink-2); cursor:pointer; border-radius:10px; }
.spin-wrap { position:relative; width:min(280px,100%); margin:16px auto 12px; }
.spin-wheel { display:block; width:100%; height:auto; transform-origin:50% 50%; filter:drop-shadow(0 8px 18px rgba(0,0,0,.2)); }
.spin-wheel text { fill:#fff; font:800 20px var(--font-display,sans-serif); }
.spin-pointer { position:absolute; left:50%; top:-6px; z-index:2; transform:translateX(-50%); width:0; height:0; border-left:14px solid transparent; border-right:14px solid transparent; border-top:24px solid var(--ink); }
.spin-form label { font-weight:600; font-size:.92rem; }
.spin-row { display:flex; gap:8px; margin-top:6px; }
.spin-row input { flex:1; min-width:0; min-height:46px; padding:10px 14px; border-radius:10px; border:1.5px solid var(--line); font:inherit; background:#fff; color:#111; }
.spin-result { text-align:center; margin-top:8px; }
.spin-win { font-size:1.2rem; margin:0 0 8px; }
.spin-code code { font:700 1.3rem ui-monospace,monospace; letter-spacing:.06em; padding:6px 10px; border-radius:8px; background:var(--bg-2); }
.spin-odds { margin-top:14px; font-size:.92rem; }
.spin-odds summary { cursor:pointer; font-weight:600; }
.spin-odds table { width:100%; margin:8px 0; }
.spin-odds td { padding:4px 0; border-bottom:1px solid var(--line); }
.spin-odds td:last-child { text-align:right; }
