/* Brightnet design system
   Warm cream paper, deep plum ink, sunshine yellow and coral. Each part of the
   daily loop has its own colour: morning (sun), afternoon (coral), evening
   (lilac). Big radii, soft blobs, rounded display type: friendly for families,
   calm and clear enough for parents and schools. */

:root {
  --ink: #2a1b3d;
  --ink-2: #4a3d5c;
  --muted: #6e6280;
  --paper: #fff8ee;
  --paper-2: #fbeedb;
  --card: #ffffff;
  --line: #efdfc8;
  --line-2: #e2cdb0;

  --sun: #ffc23c; --sun-soft: #fff0c4; --sun-ink: #8a5a00;
  --coral: #e5553a; --coral-soft: #ffe1d8; --coral-fill: #ff8a6b;
  --lilac: #7b61d9; --lilac-soft: #ebe5ff;
  --teal: #12806f; --teal-soft: #d8f2ec;
  --sky: #6cc3f5;

  --font-display: "Fredoka", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Consolas, monospace;

  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --shadow-1: 0 1px 2px rgba(42, 27, 61, .06);
  --shadow-2: 0 2px 6px rgba(42, 27, 61, .05), 0 24px 48px -20px rgba(42, 27, 61, .3);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 116px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17.5px/1.62 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
svg[viewBox="0 0 24 24"] { width: 1.15em; height: 1.15em; flex: none; }
h3 > svg[viewBox="0 0 24 24"] { display: inline-block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.22rem, 1.7vw, 1.45rem); line-height: 1.2; font-weight: 600; }
h4 { font-size: 1.05rem; line-height: 1.3; }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); font-size: .86em; }
::selection { background: var(--sun-soft); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-white { background: var(--card); }
.section-sun { background: var(--sun-soft); }
.section-lilac { background: var(--lilac-soft); }
.on-dark { background: var(--ink); color: #e6deef; }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lede, .on-dark .muted { color: #bfb3cf; }

.label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 .82rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.on-dark .label { color: var(--sun); }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.24rem); color: var(--ink-2); line-height: 1.58; max-width: 62ch; }
.muted { color: var(--muted); }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lede { margin-left: auto; margin-right: auto; }
.mark { background: var(--sun); border-radius: 12px; padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 0 rgba(42, 27, 61, .18); }
.btn-primary:hover { background: #3c2a54; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 rgba(138, 90, 0, .25); }
.btn-sun:hover { background: #ffcd5c; }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--coral); text-decoration: none; }
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.on-dark .arrow-link { color: var(--sun); }

/* Pills & badges */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; background: var(--card); border: 2px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.pill .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font: 700 .72rem/1.4 var(--font-body); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.badge-dev { background: var(--sun-soft); color: var(--sun-ink); }
.badge-roadmap { background: var(--lilac-soft); color: #4a35a8; }
.badge-now { background: var(--teal-soft); color: #0b5e52; }
.badge-proposed { background: var(--paper-2); color: var(--ink-2); }
.badge-sample { background: var(--ink); color: var(--sun); }
.phase { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; }
.phase svg { width: 16px; height: 16px; }
.ph-morning { background: var(--sun-soft); color: var(--sun-ink); }
.ph-afternoon { background: var(--coral-soft); color: #a83a22; }
.ph-evening { background: var(--lilac-soft); color: #4a35a8; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 34px; height: 34px; }
.wordmark { font: 600 1.55rem/1 var(--font-display); letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--sun-soft); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--coral-soft); color: #a83a22; }
.nav-demo:hover { background: #ffd2c5; }
.nav-demo svg { width: 16px; height: 16px; }
.nav-toggle { display: none; }
@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--card); cursor: pointer; color: var(--ink); }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-menu { position: fixed; inset: 74px 0 auto 0; max-height: calc(100vh - 74px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 26px; background: var(--paper); border-bottom: 2px solid var(--line); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 13px 12px; font-size: 1.08rem; border-radius: 12px; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions a { justify-content: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.blob.b1 { width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle at 40% 40%, #ffe08a, rgba(255, 194, 60, 0) 70%); }
.blob.b2 { width: 420px; height: 420px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(185, 166, 255, .45), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 22px 0; }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 20px; font-size: .9rem; color: var(--muted); max-width: 58ch; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.day { display: grid; gap: 14px; position: relative; }
.day > * { min-width: 0; }
.day .dcard:nth-child(1) { transform: rotate(-1.2deg); }
.day .dcard:nth-child(2) { transform: rotate(.8deg) translateX(clamp(0px, 3vw, 28px)); }
.day .dcard:nth-child(3) { transform: rotate(-.6deg); }
@media (prefers-reduced-motion: reduce) { .day .dcard { transform: none !important; } }

.page-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 19ch; }
.page-hero .lede { margin-top: 14px; }
.page-hero .btn-row { margin-top: 24px; }

/* Cards & mock screens */
.dcard { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 18px 20px; position: relative; font-size: 15px; line-height: 1.5; }
.dcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { font: 700 10.5px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; background: var(--ink); color: var(--sun); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.dcard .t { font: 600 1.15rem/1.2 var(--font-display); margin: 0 0 4px; }
.dcard .meta { font-size: 13px; color: var(--muted); }
.dcard .act { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font: 700 13px/1 var(--font-body); background: var(--ink); color: #fff; }
.fake-btn.alt { background: var(--paper-2); color: var(--ink); }
.child-screen { background: linear-gradient(160deg, #fff4dd, #ffe6dd); border-radius: 20px; padding: 16px; text-align: center; }
.child-screen .q { font: 600 1.05rem/1.3 var(--font-display); margin: 8px 0 12px; }
.big-pic { font-size: 56px; line-height: 1; margin: 6px 0; }
.big-choices { display: flex; justify-content: center; gap: 12px; }
.big-choices span { min-width: 74px; padding: 12px 18px; border-radius: 18px; background: #fff; border: 3px solid var(--ink); font: 600 1.6rem/1 var(--font-display); }
.big-choices span.on { background: var(--teal-soft); border-color: var(--teal); }
.recap-list { margin: 8px 0 0; padding-left: 1.1em; font-size: 14px; color: var(--ink-2); }
.recap-list li { margin-bottom: 4px; }
.scoreline { display: flex; align-items: baseline; gap: 10px; }
.scoreline b { font: 600 2rem/1 var(--font-display); }
.dots { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; display: block; background: var(--teal); }
.dots i.x { background: var(--coral-fill); }
.mock-caption { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* Grids */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid > *, .split > *, .feature > *, .ai-grid > *, .contact-grid > *, .seg > *, .flow-step > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } .g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; display: flex; flex-direction: column; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--sun); box-shadow: var(--shadow-2); }
.card-link .arrow-link { margin-top: auto; padding-top: 14px; }
.ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--sun-soft); color: var(--sun-ink); }
.ico svg { width: 23px; height: 23px; }
.ico.c { background: var(--coral-soft); color: #a83a22; } .ico.l { background: var(--lilac-soft); color: #4a35a8; } .ico.t { background: var(--teal-soft); color: var(--teal); }
.on-dark .card { background: #3a2a50; border-color: #4b3a63; color: #ddd3ea; }

/* Audience strip */
.strip { padding: 18px 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; }
.strip-label { font-weight: 700; color: var(--muted); font-size: .9rem; margin-right: 6px; }
.strip-inner span.chipx { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-weight: 600; font-size: .93rem; }
.strip-inner span.chipx svg { width: 17px; height: 17px; color: var(--coral); }

/* Highlights */
.hls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hl { padding: 22px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); }
.hl b { display: block; font: 600 1.3rem/1.2 var(--font-display); margin-bottom: 6px; }
.hl p { margin: 0; color: var(--muted); font-size: .95rem; }
.hl:nth-child(1) { border-top: 6px solid var(--sun); } .hl:nth-child(2) { border-top: 6px solid var(--coral-fill); } .hl:nth-child(3) { border-top: 6px solid var(--lilac); } .hl:nth-child(4) { border-top: 6px solid var(--teal); }
@media (max-width: 960px) { .hls { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hls { grid-template-columns: 1fr; } }

/* Facts */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact { background: var(--card); border-radius: var(--r-lg); padding: 28px 26px; border: 2px solid var(--line); display: flex; flex-direction: column; }
.fact b { font: 600 clamp(2.3rem, 3.6vw, 3rem)/1 var(--font-display); color: var(--coral); margin-bottom: 12px; }
.fact p { color: var(--ink-2); font-size: .98rem; }
.fact .src { margin-top: auto; font-size: .85rem; color: var(--muted); }
.fact .src a { color: var(--ink); font-weight: 600; }
.src-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba > div { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); }
.ba .b { background: var(--card); border: 2px solid var(--line); }
.ba .a { background: var(--ink); color: #e6deef; }
.ba .a h3 { color: #fff; }
.ba ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ba li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ba li svg { width: 20px; height: 20px; margin-top: 3px; }
.ba .b li svg { color: var(--coral); }
.ba .a li svg { color: var(--sun); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }

/* Timeline (daily loop) */
.loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loop > * { min-width: 0; }
.loop .stage { border-radius: var(--r-lg); padding: 26px; }
.loop .s1 { background: var(--sun-soft); } .loop .s2 { background: var(--coral-soft); } .loop .s3 { background: var(--lilac-soft); }
.loop .stage h3 { margin: 14px 0 8px; }
.loop .stage p { color: var(--ink-2); margin: 0 0 14px; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr; } }

/* Features */
.features { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 100px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .f-copy { order: 2; }
.f-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feature h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); margin: 12px 0 14px; }
.benefit { margin-top: 18px; padding: 14px 18px; background: var(--sun-soft); border-radius: 16px; font-size: .97rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .f-copy { order: 0; } }

/* Flow (how it works) */
.flow { display: flex; flex-direction: column; }
.flow-step { display: grid; grid-template-columns: 110px 1fr 1fr; gap: clamp(20px, 3vw, 48px); padding: clamp(30px, 4vw, 46px) 0; border-top: 2px dashed var(--line-2); align-items: start; }
.flow-step:first-child { border-top: 0; }
.flow-time { font: 600 1.3rem/1.1 var(--font-display); }
.flow-time small { display: block; font: 600 .78rem/1.3 var(--font-body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.flow-step h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); margin-bottom: 10px; }
.flow-step ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.flow-step li { margin-bottom: 6px; }
@media (max-width: 900px) { .flow-step { grid-template-columns: 90px 1fr; } .flow-step > .flow-visual { grid-column: 2; } }
@media (max-width: 560px) { .flow-step { grid-template-columns: 1fr; } .flow-step > .flow-visual { grid-column: auto; } }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 2px solid var(--paper-2); vertical-align: top; }
thead th { font: 700 .78rem/1.3 var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: #fffcf6; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }
.col-us { background: #fff8e0; }
.yes, .no, .part { display: inline-flex; align-items: center; gap: 6px; }
.yes svg, .no svg, .part svg { width: 18px; height: 18px; }
.yes svg { color: var(--teal); } .no svg { color: #b9adc6; } .part svg { color: var(--sun-ink); }
.table-note { margin-top: 12px; font-size: .87rem; color: var(--muted); }

/* AI */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.dd { display: grid; gap: 14px; }
.dd h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.dd ul { margin: 8px 0 0; padding-left: 1.1em; }
.dd li { margin-bottom: 7px; color: var(--ink-2); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* Segments */
.seg { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 64px) 0; border-top: 2px dashed var(--line-2); }
.seg:first-of-type { border-top: 0; }
.seg dl { margin: 0; display: grid; gap: 16px; }
.seg dt { font: 700 .78rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--coral); margin-bottom: 4px; }
.seg dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .seg { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 3px solid var(--ink); box-shadow: var(--shadow-2); }
.plan .ribbon { position: absolute; top: -14px; left: 26px; background: var(--sun); color: var(--ink); font: 700 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 6px; }
.price b { font: 600 3rem/1 var(--font-display); }
.price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan li svg { width: 19px; height: 19px; color: var(--teal); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r); background: var(--sun-soft); color: #5e3f00; font-size: .96rem; margin: 0; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.notice.neutral { background: var(--card); border: 2px solid var(--line); color: var(--ink-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roadmap li { padding: 24px; border-radius: var(--r); background: var(--card); border: 2px solid var(--line); }
.roadmap li:first-child { background: var(--ink); color: #e6deef; border-color: var(--ink); }
.roadmap li:first-child h3 { color: #fff; }
.roadmap .when { font: 700 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .07em; color: var(--coral); }
.roadmap li:first-child .when { color: var(--sun); }
.roadmap h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.roadmap p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* Team & facts */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.person { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.person img, .person .initials { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.person .initials { display: grid; place-items: center; background: var(--sun); color: var(--ink); font: 600 1.8rem/1 var(--font-display); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--muted); display: block; margin-bottom: 10px; }
.dl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; }
.dl-facts div { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 2px solid var(--line); }
.dl-facts dt { font: 700 .74rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.dl-facts dd { margin: 0; font-weight: 700; }

/* Architecture */
.arch { background: var(--card); border: 2px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2vw, 28px); overflow-x: auto; margin: 0; }
.arch svg { min-width: 760px; width: 100%; height: auto; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #e6deef; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta::before { content: ""; position: absolute; right: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 60, .5), transparent 65%); }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: #cfc3dd; }
.cta .btn-row { justify-content: flex-end; position: relative; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .94rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 2px solid var(--line-2); border-radius: 14px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px var(--lilac-soft); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field .err { color: var(--coral); font-size: .86rem; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-soft); color: #0b5e52; }
.form-status.bad { background: var(--coral-soft); color: #8a2c19; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); text-decoration-color: var(--coral); }
.toc { padding: 18px 22px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 36px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: .95rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* Footer */
.site-footer { background: var(--ink); color: #bfb3cf; padding: 72px 0 30px; font-size: .96rem; border-radius: 36px 36px 0 0; }
.site-footer a { color: #f0e9f6; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; }
.site-footer h2 { font: 700 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-status { margin-top: 48px; padding-top: 22px; border-top: 1px solid #4b3a63; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .87rem; color: #a99bbd; }
.footer-status p { margin: 0; max-width: 72ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 600 clamp(5rem, 16vw, 10rem)/1 var(--font-display); color: var(--ink); }
.notfound .code span { color: var(--sun); }

/* Motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; } .mb-0 { margin-bottom: 0; } .mt-0 { margin-top: 0; }
.center { text-align: center; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.list-check li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.list-check svg { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
hr.rule { border: 0; border-top: 2px dashed var(--line-2); margin: 40px 0; }
