/* Flexi Kanban Website — component styles, copied from public/assets/styles.css (everything below its :root token blocks).
   Colors, radii and shadows come from tokens.css; component rules use only those custom properties. */

/* Hero glow: a sky-blue wash fading into the page, a sky-blue glow top right and a faint orchid touch from the logo (decor only) */
:root, [data-theme="light"] { --hero-glow: radial-gradient(48% 70% at 86% 0%, color-mix(in srgb, #1b96ff 22%, transparent), transparent 70%), radial-gradient(34% 55% at 6% 6%, color-mix(in srgb, var(--logo-orchid) 9%, transparent), transparent 70%), linear-gradient(180deg, var(--sky-wash) 0%, color-mix(in srgb, var(--sky-wash) 35%, var(--bg)) 45%, var(--bg) 100%); }
[data-theme="dark"] { --hero-glow: radial-gradient(48% 70% at 86% 0%, color-mix(in srgb, #1b96ff 20%, transparent), transparent 70%), radial-gradient(34% 55% at 6% 6%, color-mix(in srgb, var(--logo-orchid) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--sky-wash) 0%, var(--bg) 100%); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
code, pre { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--bg-elev); padding: 8px 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-sunken); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 16px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* Status badges keep shipped vs. forward-looking honest everywhere on the site */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 650; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.now { color: var(--ok); background: var(--ok-soft); }
.badge.new { color: var(--brand-ink); background: var(--brand-soft); }
.badge.dev { color: var(--warn); background: var(--warn-soft); }
.badge.plan { color: var(--ink-3); background: transparent; border-color: var(--line-strong); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .95rem/1 var(--font-sans);
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-2); }
.btn.primary:hover { background: var(--brand-ink); }
.btn.ghost { background: var(--bg-elev); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--brand); }
.btn.small { padding: 9px 14px; font-size: .86rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .btn:not(.small) { white-space: normal; text-align: center; line-height: 1.3; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 1.12rem var(--font-display); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--ink-2); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.header-ctas { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; display: grid; place-items: center; }

@media (max-width: 1080px) {
  .nav, .header-ctas .btn.ghost { display: none; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .header-ctas { margin-left: auto; }
  .board-title .muted { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
  }
  .site-header.open .nav a { padding: 10px 0; font-size: 1rem; }
}
@media (max-width: 560px) {
  .header-ctas .btn.primary { display: none; }
  :root { --gutter: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-copy { max-width: 820px; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { margin-top: 22px; max-width: 680px; }
.hero .cta-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--ink-3); }
.hero-board { margin-top: 56px; }

/* ---------- Interactive board mock ---------- */
.board {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.board-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.board-title { font: 650 1rem var(--font-display); display: flex; align-items: center; gap: 10px; }
.board-title .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--brand); }
.board-stats { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; line-height: 1.2; }
.stat b { font: 700 1.05rem var(--font-display); }
.stat span { font-size: .72rem; color: var(--ink-3); }
.board-filters { display: flex; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.chip {
  font-size: .78rem; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-2); background: var(--bg-elev);
  cursor: pointer; font-family: inherit;
}
.chip[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; font-weight: 600; }
.legend { margin-left: auto; display: flex; gap: 14px; font-size: .74rem; color: var(--ink-3); flex-wrap: wrap; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }

.columns {
  display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px;
  padding: 16px; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--bg-sunken);
}
.col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 10px; min-height: 300px; scroll-snap-align: start; transition: background .15s, border-color .15s; }
.col.drop-ok { border-color: var(--ok); background: var(--ok-soft); }
.col.drop-no { border-color: var(--risk); background: var(--risk-soft); }
.col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 10px; }
.col-head h4 { font-size: .86rem; font-weight: 650; }
.obj-tag { font-size: .66rem; font-weight: 650; padding: 2px 7px; border-radius: 5px; color: #fff; }
.obj-tag.job { background: var(--obj-job); }
.obj-tag.app { background: var(--obj-app); }
.obj-tag.place { background: var(--obj-place); }
.obj-tag.opp { background: var(--obj-opp); }
.col-stat { font-size: .72rem; color: var(--ink-3); padding: 0 4px 10px; display: flex; justify-content: space-between; }
.col-stat .bar { flex: 0 0 56px; height: 5px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.col-stat .bar span { display: block; height: 100%; background: var(--brand); }
.cards { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }

.card {
  position: relative; background: var(--bg-elev); border: 1px solid var(--line); border-left: 3px solid var(--obj-app);
  border-radius: 10px; padding: 10px 12px; font-size: .8rem; box-shadow: var(--shadow-1);
  cursor: grab; user-select: none; transition: transform .12s, box-shadow .12s, opacity .12s;
}
.card:hover { box-shadow: var(--shadow-2); }
.card.dragging { opacity: .45; transform: scale(.98); }
.card.job { border-left-color: var(--obj-job); cursor: default; }
.card.place { border-left-color: var(--obj-place); }
.card.opp { border-left-color: var(--obj-opp); }
.card.stuck { background: linear-gradient(0deg, var(--risk-soft), var(--risk-soft)), var(--bg-elev); }
.card-title { font-weight: 650; color: var(--ink); font-size: .84rem; padding-right: 26px; }
.card-sub { color: var(--ink-3); font-size: .74rem; margin-top: 1px; }
.card-fields { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; color: var(--ink-2); font-size: .73rem; }
.card-fields b { font-weight: 600; color: var(--ink); }
.age { position: absolute; top: 10px; right: 10px; font-size: .66rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--bg-sunken); color: var(--ink-3); }
.card.stuck .age { background: var(--risk); color: #fff; }
.card-move {
  position: absolute; right: 8px; bottom: 8px; width: 24px; height: 24px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--ink-2); cursor: pointer;
  display: grid; place-items: center; font-size: .8rem; line-height: 1;
}
.card-move:hover { border-color: var(--brand); color: var(--brand); }

.board-toast {
  display: flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-2);
}
.board-toast .ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: #fff; background: var(--ink-3); flex: none; }
.board-toast.ok .ico { background: var(--ok); }
.board-toast.no .ico { background: var(--risk); }
.board-toast code { font-size: .78rem; background: var(--bg-sunken); padding: 1px 6px; border-radius: 4px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }

.tile {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.tile p { color: var(--ink-2); }
.tile ul { margin: 4px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .94rem; }
.tile ul li + li { margin-top: 4px; }
.tile-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.tile-ico svg { width: 22px; height: 22px; }
.tile .head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Cross-object flow ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.flow-step { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px; }
.flow-step .obj-tag { display: inline-block; margin-bottom: 10px; }
.flow-step h3 { font-size: 1.05rem; }
.flow-step p { font-size: .9rem; color: var(--ink-2); margin-top: 6px; }
.flow-arrow { align-self: center; color: var(--ink-3); font-size: 1.4rem; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-arrow { transform: rotate(90deg); justify-self: center; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* min-width: 0 lets wide children (code samples, the guide mock) shrink instead of widening the page */
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* Board Creation Guide mock */
.guide { display: grid; grid-template-columns: 260px 1fr; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); }
.guide-list { border-right: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 6px; font-size: .84rem; }
.guide-list .prog { font-size: .74rem; color: var(--ink-3); margin-bottom: 8px; }
.guide-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); }
.guide-item.active { background: var(--brand-soft); color: var(--ink); font-weight: 600; }
.guide-item .st { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; font-size: .62rem; }
.guide-item.done .st { background: var(--ok); border-color: var(--ok); color: #fff; }
.guide-item .opt { margin-left: auto; font-size: .66rem; color: var(--ink-3); }
.guide-main { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.start-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.start-opt { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .8rem; background: var(--bg); cursor: pointer; text-align: left; color: var(--ink-2); font-family: inherit; }
.start-opt b { display: block; color: var(--ink); font-size: .86rem; margin-bottom: 3px; }
.start-opt[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.mini-preview { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: 8px; overflow-x: auto; background: var(--bg-sunken); border-radius: 12px; padding: 10px; }
.mini-col { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: .72rem; font-weight: 600; color: var(--ink-2); min-height: 108px; }
.mini-col i { display: block; height: 18px; border-radius: 5px; background: var(--bg-sunken); margin-top: 6px; border-left: 3px solid var(--brand); }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } .guide-list { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Cost / AI comparison ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .versus { grid-template-columns: 1fr; } }
.versus .tile.without { background: var(--bg); }
.versus .tile.with { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.vs-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.vs-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.vs-list li::before { content: "–"; color: var(--risk); font-weight: 700; text-align: center; }
.with .vs-list li::before { content: "✓"; color: var(--ok); }

.code {
  background: #10161d; color: #e6edf3; border-radius: var(--radius-m); padding: 20px 22px;
  font-size: .8rem; line-height: 1.65; overflow-x: auto; border: 1px solid #222c36;
}
.code .k { color: var(--logo-sky); }
.code .s { color: var(--logo-mint); }
.code .c { color: #8b97a3; }
.code-label { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--ink-3); margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }

/* Ownership board (future concept) */
.owner-board { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; background: var(--bg-elev); border: 1px dashed var(--line-strong); border-radius: var(--radius-l); padding: 16px; }
.owner-col h4 { font-size: .82rem; margin-bottom: 10px; color: var(--ink-2); }
.owner-card { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .8rem; margin-bottom: 8px; }
.owner-card b { display: block; font-size: .82rem; }
.own { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .68rem; font-weight: 650; padding: 2px 7px; border-radius: 5px; color: #fff; }
.own.human { background: var(--own-human); }
.own.agent { background: var(--own-agent); }
.own.auto { background: var(--own-auto); }
.own.review { background: var(--own-review); }

/* Surfaces & ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ladder { grid-template-columns: 1fr; } }
.rung { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; }
.rung .n { font: 700 .8rem var(--font-mono); color: var(--brand-ink); }
.rung h3 { font-size: 1rem; margin-top: 6px; }
.rung p { font-size: .86rem; color: var(--ink-2); margin-top: 6px; }

.layers { display: grid; gap: 14px; }
.layer { display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: center; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; }
.layer .lname { font: 700 .8rem var(--font-mono); color: var(--brand-ink); text-transform: uppercase; letter-spacing: .06em; }
.layer p { color: var(--ink-2); font-size: .95rem; margin-top: 4px; }
@media (max-width: 720px) { .layer { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-elev); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 650 .86rem var(--font-display); background: var(--bg-sunken); }
.compare thead th:last-child { color: var(--brand-ink); }
.compare td:first-child { font-weight: 600; width: 26%; }
.compare td { color: var(--ink-2); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- Pricing ---------- */
.pricing { max-width: 880px; margin: 0 auto; }
.price .price-amount { font: 700 2.2rem var(--font-display); letter-spacing: -0.02em; }
.price .checks { margin: 4px 0 8px; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Early-access form ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--ink-3); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] select { border-color: var(--risk); }
.field .err { font-size: .78rem; color: var(--risk); min-height: 1em; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .88rem; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.opts input { accent-color: var(--brand); }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .84rem; color: var(--ink-2); align-items: start; }
.consent input { margin-top: 3px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9rem; }
.form-status.err { color: var(--risk); }
.thanks { text-align: center; padding: 24px 8px; }
.thanks .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 1.4rem; margin: 0 auto 16px; }

/* ---------- Quotes ---------- */
.quotes { columns: 3 300px; column-gap: 20px; }
.quote { break-inside: avoid; margin: 0 0 20px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: .96rem; }
.quote figcaption { margin-top: 16px; font-size: .86rem; }
.quote figcaption b { display: block; color: var(--ink); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; color: var(--ink); border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 88px) 24px;
  position: relative; overflow: hidden; isolation: isolate;
  /* Liquid glass: a translucent, lightly tinted pane over soft sky blobs */
  background: linear-gradient(135deg, color-mix(in srgb, var(--bg-elev) 70%, transparent), color-mix(in srgb, var(--brand-soft) 55%, transparent));
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 color-mix(in srgb, var(--brand) 12%, transparent), 0 24px 60px -28px rgba(1, 68, 134, .30);
}
:root, [data-theme="light"] { --glass-edge: rgba(255, 255, 255, .75); --glass-highlight: rgba(255, 255, 255, .9); --glass-sheen: rgba(255, 255, 255, .55); }
[data-theme="dark"] { --glass-edge: rgba(255, 255, 255, .12); --glass-highlight: rgba(255, 255, 255, .10); --glass-sheen: rgba(255, 255, 255, .06); }
.final-cta::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(32px);
  background:
    radial-gradient(30% 45% at 24% 22%, color-mix(in srgb, #1b96ff 30%, transparent), transparent 70%),
    radial-gradient(28% 40% at 78% 18%, color-mix(in srgb, var(--logo-sky) 38%, transparent), transparent 70%),
    radial-gradient(30% 45% at 58% 92%, color-mix(in srgb, var(--logo-orchid) 14%, transparent), transparent 70%);
}
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, var(--glass-sheen) 0%, transparent 40%); }
.final-cta > * { position: relative; }
.final-cta p { color: var(--ink-2); max-width: 620px; margin: 18px auto 0; font-size: 1.1rem; }
.final-cta .cta-row { justify-content: center; margin-top: 32px; }
.final-cta .btn.ghost { background: color-mix(in srgb, var(--bg-elev) 60%, transparent); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 96px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-base { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
