/* Cornerstone Devs: the board.
   Every page is a board of filled tiles squared to one corner tile, the cornerstone.
   Tokens first; everything below references them. */

:root {
    /* brand, kept from the logo */
    --ground: #040a0b;
    --tile: #0c1517;
    --tile-2: #12201f;
    --ink: #f4f4f5;
    --soft: #a1a1aa;
    --accent: #5ec77a;
    --accent-strong: #93e68e;
    --accent-ink: #04130b;
    --teal: #25a18a;
    --sage: #1a4f5d;
    --mint: #93e68e;
    --deep-1: #0e2a2a;
    --deep-2: #123634;
    --deep-3: #17423f;
    --cyan: #22d3ee;
    /* the logo's own gradient: deep teal through green to mint */
    --brand-grad: linear-gradient(135deg, #25a18a 0%, #3fb98a 38%, #5ec77a 68%, #93e68e 100%);
    --brand-text: linear-gradient(100deg, #f4f4f5 0%, #f4f4f5 18%, #5ec77a 42%, #22d3ee 62%, #25a18a 80%, #f4f4f5 100%);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-text: 'Inter', system-ui, sans-serif;

    /* five sizes do all the work */
    --fs-hero: clamp(56px, 7.8vw, 140px);
    --fs-xl: clamp(40px, 4.4vw, 76px);
    --fs-l: clamp(21px, 1.75vw, 28px);
    --fs-m: 18px;
    --fs-s: 15px;

    --gap: 8px;
    --m: 16px;
    --r: 6px;
    --pad: 24px;
    --section: clamp(76px, 7vw, 108px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
    --t-press: 140ms;
    --t-hover: 180ms;
    --t-ui: 240ms;
    --t-reveal: 800ms;
    --t-open: 1200ms;
    --stagger-item: 70ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }
body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: var(--fs-m);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.035em; line-height: 0.95; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xl); letter-spacing: -0.03em; line-height: 1; }
.statement { font-size: var(--fs-l); line-height: 1.25; letter-spacing: -0.01em; }
.small { font-size: var(--fs-s); line-height: 1.45; }
.soft { color: var(--soft); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- tiles and controls ---------- */

.tile { background: var(--tile); border-radius: var(--r); padding: var(--pad); position: relative; }
.tile--accent { background: var(--brand-grad); color: var(--accent-ink); }
.tile--ink { background: var(--ink); color: var(--ground); }
.tile--sage { background: var(--sage); }
.tile--teal { background: var(--teal); color: var(--accent-ink); }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 24px;
    border-radius: var(--r);
    background: var(--accent); color: var(--accent-ink);
    font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; white-space: nowrap;
    transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--ground); }
.button--dark { background: var(--ground); color: var(--ink); }
.link {
    text-decoration: underline; text-decoration-color: currentColor;
    text-underline-offset: 0.22em; text-decoration-thickness: 0.07em;
    transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.arrow { display: inline-block; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .button:hover { background: var(--accent-strong); }
    .button--ink:hover { background: var(--accent); color: var(--accent-ink); }
    .button--dark:hover { background: var(--tile-2); }
    .link:hover { text-decoration-color: transparent; }
    a:hover > .arrow, .button:hover .arrow { transform: translateX(4px); }
}

/* ---------- the board frame ---------- */

.frame { padding-left: var(--m); padding-right: var(--m); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.section { margin-top: var(--section); }

/* top row: the cornerstone tile, the links, the one action */
.site-nav {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--gap);
    height: 64px; background: transparent; position: relative; z-index: 3;
}
.site-nav .tile { padding: 0; display: flex; align-items: center; }
.t-logo { justify-content: center; background: var(--ink); text-decoration: none; }
.t-logo .logo-img { width: 84px; height: auto; max-width: none; margin: 0 -10px; }
.t-links { padding: 0 24px !important; gap: 28px; }
.t-links a { text-decoration: none; font-size: 16px; color: var(--ink); white-space: nowrap; }
.t-links a[aria-current="page"] { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .t-links a:hover { color: var(--accent); } }
.t-links .t-links-spacer { flex: 1; }
.t-links .t-links-brand { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; font-size: 17px; }
.t-action { padding: 0 24px !important; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.t-action:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .t-action:hover { background: var(--accent-strong); } }
.site-nav .t-menu { display: none; padding: 0 20px; font-weight: 600; }

.mobile-menu {
    position: absolute; top: 72px; left: 0; right: 0; z-index: 10;
    background: var(--tile-2); border-radius: var(--r); padding: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); /* taste-skill-ignore: open menu overlay */
    display: grid; gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 12px; font-size: 20px; text-decoration: none; border-radius: var(--r); }
.mobile-menu a:active { background: var(--tile); }

/* ---------- hero: tools arrive tangled, scrolling squares them to the corner tile ---------- */

.hero-pin { position: relative; }
.hero-stage {
    position: relative; height: 100svh; min-height: 640px;
    padding: var(--m); display: grid; grid-template-rows: 64px minmax(0, 1fr); gap: var(--gap);
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.wires path { fill: none; stroke: var(--teal); stroke-width: 1.5; }
.wires path.pulse { stroke: var(--mint); stroke-width: 2; stroke-dasharray: 10 190; }
.board {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--gap); min-height: 0;
}
.board > *, .tools > * { will-change: transform; }
.t-name { z-index: 2; }
.t-name { grid-column: 1 / 7; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.t-name h1 { display: flex; flex-direction: column; gap: 18px; }
.t-name .h1-name { background: var(--brand-text); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; font-size: var(--fs-hero); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em; line-height: 0.9; margin-left: -0.03em; }
.t-name .h1-what { font-size: var(--fs-l); font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.t-photo { grid-column: 7 / 13; padding: 0; overflow: hidden; }
.t-photo figcaption { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; bottom: 14px; font-size: var(--fs-s); color: var(--ink); background: var(--ground); padding: 4px 10px; border-radius: var(--r); display: grid; }
.t-photo figcaption > span { grid-area: 1 / 1; transition: opacity var(--t-ui) ease; }
.hub-state-was { opacity: calc(1 - var(--fix, 1)); }
.hub-state-now { opacity: var(--fix, 1); }
.tools { grid-column: 1 / 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--gap); min-height: 0; }
.t-tool {
    padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between;
    text-decoration: none; background: var(--tile-2);
    transition: background-color var(--t-hover) ease;
}
.t-tool .tool-name { font-size: var(--fs-s); color: var(--soft); display: flex; align-items: center; gap: 10px; }
.t-tool .tool-name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-stage.is-tangled .t-tool .tool-name::before { background: color-mix(in srgb, var(--accent) calc(var(--fix, 0) * 100%), #fb7185); }
.t-tool .tool-state { display: grid; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; }
.t-tool .tool-state > span { grid-area: 1 / 1; transition: opacity var(--t-ui) ease; }
.t-tool .was { opacity: 0; color: var(--ink); }
.t-tool .now { opacity: 1; }
.t-tool .tool-go { font-size: var(--fs-s); color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .t-tool:hover { background: var(--deep-2); } }
.hero-stage.is-tangled .t-tool .was { opacity: var(--was, 1); transform: translateY(calc((1 - var(--was, 1)) * -8px)); }
.hero-stage.is-tangled .t-tool .now { opacity: var(--fix, 0); transform: translateY(calc((1 - var(--fix, 0)) * 8px)); }
.t-owner { grid-column: 7 / 10; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-founder { grid-column: 10 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-owner p, .t-founder p { font-size: var(--fs-l); line-height: 1.22; letter-spacing: -0.01em; }
.t-owner .door, .t-founder .door { align-self: flex-start; font-size: 16px; padding: 12px 18px; min-height: 48px; }

/* ---------- intro: lead line over four columns ---------- */

.intro h2 { grid-column: 1 / -1; }
.intro .lead { grid-column: 1 / -1; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.22; letter-spacing: -0.01em; max-width: 48ch; margin-top: 28px; }
.intro .cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
.intro .cols p { font-size: 16px; line-height: 1.5; color: var(--soft); }
.intro .cols b { color: var(--ink); font-weight: 600; }
.intro-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.intro-text { grid-column: 1 / 9; padding: 8px 0; }
.intro-pic { grid-column: 9 / 13; border-radius: var(--r); overflow: hidden; align-self: stretch; min-height: 320px; }
.intro-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* ---------- pricing: three ways in, as a large table ---------- */

.ways { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ways col.c-label { width: 20%; }
.ways th, .ways td { text-align: left; vertical-align: top; padding: 20px 20px; font-size: 18px; line-height: 1.3; font-weight: 400; }
.ways thead th { padding-top: 28px; padding-bottom: 28px; vertical-align: bottom; }
.ways thead th .plan { display: block; font-family: var(--font-display); font-size: clamp(22px, 2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ways thead th .price { display: block; font-family: var(--font-display); font-size: clamp(22px, 2vw, 32px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin-top: 8px; }
.ways thead th .per { font-size: 16px; font-family: var(--font-text); letter-spacing: 0; }
.ways thead th.corner { vertical-align: top; }
.ways tbody th { color: var(--soft); }
.ways tbody tr:nth-child(odd) > * { background: var(--tile); }
.ways tbody tr:nth-child(odd) > *:first-child { border-radius: var(--r) 0 0 var(--r); }
.ways tbody tr:nth-child(odd) > *:last-child { border-radius: 0 var(--r) var(--r) 0; }
.ways .rec { background: var(--accent) !important; color: var(--accent-ink); }
.ways thead .rec { background: linear-gradient(135deg, #25a18a, #5ec77a) !important; }
.ways thead .rec { border-radius: var(--r) var(--r) 0 0; }
.ways tfoot .rec { border-radius: 0 0 var(--r) var(--r); }
.ways tfoot td { padding-top: 24px; padding-bottom: 24px; }
.ways .rec .button { background: var(--ground); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ways .rec .button:hover { background: var(--tile-2); } }
.ways-stack { display: none; }

.ways-stack .plan-block { border-radius: var(--r); background: var(--tile); padding: 22px; display: grid; gap: 14px; }
.ways-stack .plan-block.rec { background: var(--accent); color: var(--accent-ink); }
.ways-stack .plan-block .name { font-family: var(--font-display); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.ways-stack .plan-block .price { font-family: var(--font-display); font-size: clamp(22px, 6vw, 30px); letter-spacing: -0.03em; line-height: 1.05; }
.ways-stack dl { display: grid; gap: 12px; }
.ways-stack dt { font-size: 15px; color: var(--soft); }
.ways-stack .rec dt { color: var(--accent-ink); opacity: 0.75; }
.ways-stack dd { font-size: 17px; }
.ways-stack .button { justify-content: center; }
.ways-stack .rec .button { background: var(--ground); color: var(--ink); }

/* ---------- list: the done-for-you menu, one calm row per system ---------- */

.menu-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-bottom: 40px; }
.menu-head h2 { grid-column: 1 / 7; }
.menu-head p { grid-column: 8 / 13; color: var(--soft); max-width: 44ch; }
.menu { display: grid; gap: var(--gap); }
.menu a {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center;
    padding: 26px 28px; border-radius: var(--r); background: var(--tile); text-decoration: none;
    transition: background-color var(--t-hover) ease;
}
.m-name { grid-column: 1 / 5; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.m-line { grid-column: 5 / 10; color: var(--soft); font-size: 17px; line-height: 1.4; padding-right: 24px; }
.m-price { grid-column: 10 / 12; font-size: 17px; font-weight: 600; display: grid; }
.m-price span { font-weight: 400; color: var(--soft); font-size: 15px; }
.m-go { grid-column: 12 / 13; justify-self: end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tile-2); color: var(--accent); font-size: 18px; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
    .menu a:hover { background: var(--deep-1); }
    .menu a:hover .m-go { background: var(--accent); color: var(--accent-ink); transform: translateX(4px); }
}
.menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; color: var(--soft); flex-wrap: wrap; }

/* ---------- work: giant title, uneven wall ---------- */

.work { background: rgba(12, 21, 23, 0.72); padding: 96px var(--m) var(--m); }
.work-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 0 6px; }
.work-head h2 { font-family: var(--font-display); font-size: clamp(64px, 7.2vw, 108px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.85; text-transform: uppercase; }
.work-head .aside { max-width: 42ch; text-align: right; }
.work-head .aside { display: grid; gap: 14px; justify-items: end; }
.work-head .aside p { color: var(--soft); }
.work-head .aside .aside-lead { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-l); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.aside-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 6px; }
.doors { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wall { display: flex; flex-direction: column; gap: var(--gap); margin-top: 32px; }
.wall-row { display: flex; gap: var(--gap); }
.wall-row a { flex: 1 1 calc(var(--ar) * var(--h)); min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.wall-row .pic { height: var(--h); border-radius: var(--r); overflow: hidden; background: var(--tile-2); }
.wall-row img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 900ms var(--ease-soft), opacity var(--t-ui) ease; }
.wall-row .cap { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-s); padding: 0 2px 12px; }
.wall-row .cap span:last-child { color: var(--soft); text-align: right; }
@media (hover: hover) and (pointer: fine) {
    .wall:hover .wall-row a img { opacity: 0.55; }
    .wall:hover .wall-row a:hover img { opacity: 1; transform: scale(1.03); }
}

/* ---------- stats: stepped figure tiles ---------- */

.stats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.stat { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.stat .fig { font-family: var(--font-display); font-size: clamp(56px, 5.4vw, 92px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .cap { font-size: 17px; line-height: 1.35; max-width: 26ch; }
.stat-a { grid-column: 1 / 7; height: 70vh; min-height: 440px; }
.stats-side { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.stats-side h2 { grid-column: 1 / -1; font-family: var(--font-display); font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; padding: 0 6px; min-height: 14vh; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.stat-b { grid-column: 1 / 4; height: 44vh; min-height: 300px; }
.stat-c { grid-column: 4 / 7; height: 34vh; min-height: 240px; margin-top: 12vh; background: var(--sage); }
.stat-a .cap { color: var(--accent-ink); }

.roll__digits { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1; }
.roll__col { display: inline-block; height: 1em; overflow: clip; }
.roll__strip { display: block; transform: translateY(calc(var(--d) * -1em)); }
.roll__strip::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; white-space: pre; display: block; line-height: 1em; }

/* ---------- how it works: one job card, four fields ---------- */

.fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field { min-height: 84svh; position: relative; padding: 28px; display: flex; flex-direction: column; }
.field:nth-child(1) { background: var(--tile); }
.field:nth-child(2) { background: var(--sage); }
.field:nth-child(3) { background: var(--teal); color: var(--accent-ink); }
.field:nth-child(4) { background: var(--mint); color: var(--accent-ink); }
.field h2 { font-family: var(--font-display); font-size: clamp(22px, 2vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.field .job { margin: auto; margin-top: 30svh; }
.field .clause { margin-top: auto; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.2; letter-spacing: -0.01em; max-width: 20ch; }
.job {
    width: min(270px, 100%); background: var(--ground); color: var(--ink); border-radius: var(--r);
    padding: 16px 16px 18px; font-size: 14px; line-height: 1.4;
    transition: transform 150ms var(--ease-out);
}
.job .job-top { display: flex; justify-content: space-between; color: var(--soft); font-size: 13px; }
.job .job-state { color: var(--accent); }
.job .job-title { margin-top: 8px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.job .job-meta { margin-top: 10px; display: grid; gap: 4px; color: var(--soft); font-size: 13px; }
.job .job-meta b { color: var(--ink); font-weight: 500; }
.job .job-check { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; }
.job .job-check li { display: flex; gap: 8px; align-items: center; }
.job .job-check .box { width: 14px; height: 14px; border-radius: 3px; background: var(--tile-2); flex: none; display: grid; place-items: center; }
.job .job-check .done .box { background: var(--accent); }
.job .job-check .done .box::after { content: ""; width: 7px; height: 4px; border: solid var(--accent-ink); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.job .job-check .done { color: var(--soft); text-decoration: line-through; }
.job .job-final { margin-top: 12px; padding-top: 10px; background: var(--tile); margin-left: -16px; margin-right: -16px; margin-bottom: -18px; padding: 12px 16px; border-radius: 0 0 var(--r) var(--r); display: flex; justify-content: space-between; font-size: 13px; }
.job .job-final b { color: var(--accent); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .field:hover .job { transform: translateY(-6px); } }

/* ---------- faq: question index, one answer ---------- */

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 22px; }
.faq-list { grid-column: 1 / 6; display: grid; gap: 18px; align-content: start; }
.faq-list h2 { font-size: 18px; font-weight: 400; color: var(--soft); font-family: var(--font-text); letter-spacing: 0; line-height: 1.4; }
.faq-q { display: flex; gap: 14px; align-items: baseline; text-align: left; font-size: 18px; line-height: 1.4; color: var(--soft); transition: color var(--t-hover) ease; }
.faq-q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--soft); flex: none; transform: translateY(-2px); transition: background-color var(--t-hover) ease; }
.faq-q[aria-expanded="true"] { color: var(--ink); }
.faq-q[aria-expanded="true"]::before { background: var(--accent); }
.faq-a { font-size: 18px; color: var(--ink); padding: 8px 0 6px 22px; }
.faq-pane { grid-column: 7 / 13; position: sticky; top: 120px; align-self: start; display: none; }
.faq-pane > p { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; transition: opacity 150ms ease; }
.faq-pane .faq-pic { margin-top: 40px; height: 300px; border-radius: var(--r); overflow: hidden; }
.faq-pane .faq-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.js .faq-pane { display: block; }
.js .faq-list .faq-a { display: none; }

/* ---------- cta: the action tile ---------- */

.cta-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.cta-row > * { height: 380px; border-radius: var(--r); }
.cta-side-l { grid-column: 1 / 3; overflow: hidden; background: #071312; }
.cta-side-l canvas { width: 100%; height: 100%; display: block; }
.cta-main { grid-column: 3 / 11; background: var(--brand-grad); color: var(--accent-ink); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cta-main h2 { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cta-main p { font-size: 17px; max-width: 52ch; }
.cta-main .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.cta-main .alt { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.cta-side-r { grid-column: 11 / 13; background: radial-gradient(60% 50% at 50% 50%, rgba(37, 161, 138, 0.25), transparent 70%), #071011; display: grid; place-items: center; overflow: hidden; }
.cta-side-r { position: relative; }
.cta-side-r img { position: absolute; left: 50%; top: 50%; width: 125%; height: auto; max-width: none; transform: translate(-50%, -50%); }

/* ---------- footer: the mark, built large ---------- */

.site-footer { margin-top: var(--section); padding: 0 var(--m) var(--m); }
.foot-brand { display: flex; align-items: center; gap: 4px; text-decoration: none; padding: 0 6px; }
.foot-brand img { width: clamp(120px, 12vw, 190px); height: auto; margin: -18px -14px -18px -28px; }
.foot-word { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6vw, 104px); letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.foot-tag { padding: 0 8px; margin-top: 18px; color: var(--soft); font-size: var(--fs-l); }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; padding: 0 6px; }
.foot-cols .col { grid-column: span 2; display: grid; gap: 8px; align-content: start; font-size: var(--fs-s); }
.foot-cols .col h2 { font-size: var(--fs-s); font-weight: 600; font-family: var(--font-text); margin-bottom: 4px; }
.foot-cols .col a { text-decoration: none; color: var(--soft); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .foot-cols .col a:hover { color: var(--ink); } }
.foot-cols .contact { grid-column: 9 / 13; display: grid; gap: 8px; align-content: start; font-size: var(--fs-s); }
.foot-cols .contact a { color: var(--ink); }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding: 0 6px; font-size: 14px; color: var(--soft); flex-wrap: wrap; }
.foot-last .credits { max-width: 90ch; font-size: 13px; }
.foot-last .credits a { color: var(--soft); }
.foot-last .button { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* ---------- brand atmosphere across the whole page: teal glows and a faint grid, never flat black ---------- */

body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -1; }
/* the glows: teal, green and cyan from the logo, drifting slowly */
body::before {
    inset: -20%;
    background:
        radial-gradient(42% 36% at 18% 14%, rgba(37, 161, 138, 0.32), transparent 70%),
        radial-gradient(38% 34% at 86% 40%, rgba(34, 211, 238, 0.17), transparent 70%),
        radial-gradient(44% 36% at 40% 88%, rgba(94, 199, 122, 0.18), transparent 70%),
        radial-gradient(34% 30% at 92% 92%, rgba(26, 79, 93, 0.55), transparent 70%),
        linear-gradient(180deg, #061315 0%, #040a0b 55%, #05100f 100%);
}
/* the grid, fading out toward the bottom of the screen */
body::after {
    inset: 0;
    background:
        linear-gradient(rgba(147, 230, 142, 0.055) 1px, transparent 1px) 0 0 / 64px 64px,
        linear-gradient(90deg, rgba(147, 230, 142, 0.055) 1px, transparent 1px) 0 0 / 64px 64px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.25) 100%);
}
@media (prefers-reduced-motion: no-preference) {
    body::before { animation: aurora 38s ease-in-out infinite alternate; will-change: transform; }
}
@keyframes aurora {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(4%, -3%, 0) scale(1.06); }
    100% { transform: translate3d(-3%, 4%, 0) scale(1.02); }
}

/* ---------- brand atmosphere: the old site's teal and cyan glow, kept behind the board ---------- */

.hero-stage::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(60% 55% at 72% 30%, rgba(37, 161, 138, 0.16), transparent 62%),
        radial-gradient(45% 50% at 20% 80%, rgba(34, 211, 238, 0.08), transparent 60%);
}

/* ---------- the hub: six tools, dead links, then live beams into the logo ---------- */

.t-hub { background: #071011; }
.hub { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub path { fill: none; }
.hub-dead path { stroke: #3f4650; stroke-width: 2; stroke-dasharray: 3 7; }
.hub-dead { opacity: calc(1 - var(--fix, 1)); }
.hub-x path { stroke: #fb7185; stroke-width: 3; stroke-dasharray: none !important; stroke-linecap: round; }
.hub-live { opacity: var(--fix, 1); }
.hub-live path { stroke: #25a18a; stroke-width: 2; stroke-opacity: .55; }
.hub-pulse { opacity: var(--fix, 1); }
.hub-pulse path { stroke: url(#hub-beam); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 18 240; stroke-dashoffset: 0; }
.hub-core { fill: #0d1a1a; stroke: #25a18a; stroke-opacity: calc(.25 + var(--fix, 1) * .6); stroke-width: 2; }
.hub-apps rect { fill: #121619; stroke: #232a30; }
.hub-apps text { fill: #a1a1aa; font: 500 13px var(--font-text); text-anchor: middle; }
.hub-glow { opacity: calc(.25 + var(--fix, 1) * .75); transform-box: fill-box; transform-origin: center; }
.hub-ring { transform-box: fill-box; transform-origin: center; }

/* ---------- console: an example morning of busywork handled ---------- */

.console { background: #071011; padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; min-height: 360px; position: relative; overflow: hidden; }
.console::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(50% 60% at 50% 100%, rgba(37, 161, 138, 0.22), transparent 70%); pointer-events: none; }
.console-top, .audit-top { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; }
.console-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(94, 199, 122, 0.18); }
.chip { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--soft); background: var(--tile-2); padding: 3px 9px; border-radius: 6px; }
.console-feed { display: grid; gap: 10px; position: relative; z-index: 1; }
.console-feed li { display: grid; grid-template-columns: 44px 84px 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; background: var(--tile); border-radius: var(--r); line-height: 1.35; }
.console-feed .t { color: var(--soft); font-variant-numeric: tabular-nums; font-size: 13px; }
.console-feed .src { color: var(--c); font-weight: 600; font-size: 13px; }
.console-feed .sum { background: rgba(94, 199, 122, 0.12); }
.console-feed .sum .msg { color: var(--accent-strong); }

/* ---------- audit: a scan line passes, each row gets its verdict ---------- */

.audit { background: #071011; padding: 20px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; height: auto !important; }
.audit-top span:first-child { color: var(--ink); font-weight: 600; }
.audit-rows { display: grid; gap: 8px; }
.audit-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--r); background: var(--tile); font-size: 15px; }
.audit-rows li b { font-weight: 600; transition: opacity var(--t-ui) ease, color var(--t-ui) ease; }
.audit-rows li[data-s="ok"] b { color: var(--accent); }
.audit-rows li[data-s="warn"] b { color: #e8b45a; }
.audit-rows li[data-s="fail"] b { color: #fb7185; }
.audit-rows li b::before { content: "● "; font-size: 10px; vertical-align: 2px; }
.audit-foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); padding: 4px 2px 0; }
.audit-foot b { color: var(--accent); }
.audit-scan { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.14) 70%, rgba(34, 211, 238, 0.5) 98%, transparent); }

@media (prefers-reduced-motion: no-preference) {
    .t-name .h1-name { animation: brandSheen 9s var(--ease-in-out) infinite alternate; }
    .hub-pulse path { animation: beam 2.6s linear infinite; }
    .hub-pulse path:nth-child(2n) { animation-duration: 3.3s; animation-delay: -1.2s; }
    .hub-pulse path:nth-child(3n) { animation-duration: 2.2s; animation-delay: -0.6s; }
    .hub-glow { animation: glowBreath 4.8s ease-in-out infinite; }
    .hub-ring { animation: spin 40s linear infinite; }
    .hub-ring--b { animation-duration: 64s; animation-direction: reverse; }
    .console-feed li.arrive { animation: arrive 620ms var(--ease-out); }
    .console-feed li.arrive .src { animation: flash 1.4s ease-out; }
    .js [data-audit] .audit-rows li b { opacity: 0; }
    .js [data-audit] .audit-rows li.on b { opacity: 1; }
    .js [data-audit].scanning .audit-scan { opacity: 1; animation: scan 3.2s var(--ease-in-out) forwards; }
}
@keyframes brandSheen { to { background-position: 0 0; } }
@keyframes beam { to { stroke-dashoffset: -258; } }
@keyframes glowBreath { 50% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@keyframes flash { from { text-shadow: 0 0 12px var(--c); } }
@keyframes scan { from { transform: translateY(-64px); } to { transform: translateY(var(--scan-to, 360px)); } }
.paused, .paused * { animation-play-state: paused !important; }

/* ---------- motion layer ---------- */

@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * var(--stagger-item)); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
    /* the clip sits on the picture, not the frame, so the frame stays observable */
    .js .shutter img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1100ms var(--ease-in-out), transform 1500ms var(--ease-soft); }
    .js .shutter.is-in img { clip-path: inset(0); transform: none; }
    .roll:not(.is-in) .roll__strip { transform: none; }
    .roll.is-in .roll__strip { transition: transform 1100ms var(--ease-expo) calc(var(--i) * var(--stagger-item)); }
    .wires path.pulse { animation: pulse 3.2s linear infinite; }
    .wires path.pulse:nth-of-type(2n) { animation-duration: 4.1s; }
    .wires path.pulse:nth-of-type(3n) { animation-duration: 2.7s; }
}
@keyframes pulse { to { stroke-dashoffset: -400; } }

/* Reduce Motion: keep the gentle, ambient effects (colour shifts, light along lines, fades),
   drop anything that tilts, slides, scales or follows the scroll. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .wires path.pulse { animation: pulse 5s linear infinite; }
    .t-name .h1-name, .page-hero h1 { animation: brandSheen 14s ease-in-out infinite alternate; }
    .hub-pulse path { animation: beam 4.5s linear infinite; }
    .hub-pulse path:nth-child(2n) { animation-duration: 5.5s; animation-delay: -2s; }
    .hub-glow { animation: glowFade 6s ease-in-out infinite; }
    .tl-beam::after { animation: travel 9s ease-in-out infinite; }
    .console-feed li.arrive, .pipe-rows li.arrive { animation: fadeIn 800ms ease both; }
    .pipe-rows li.arrive .p-checks i { animation: fadeIn 500ms ease both; }
    .pipe-rows li.arrive .p-checks i:nth-child(2) { animation-delay: 300ms; }
    .pipe-rows li.arrive .p-checks i:nth-child(3) { animation-delay: 600ms; }
    .pipe-rows li.arrive .p-res { animation: fadeIn 500ms ease 900ms both; }
    .js [data-audit] .audit-rows li b { opacity: 0; transition: opacity 500ms ease; }
    .js [data-audit] .audit-rows li.on b { opacity: 1; }
    .js [data-reveal] { opacity: 0; transition: opacity 700ms ease; transition-delay: calc(var(--i, 0) * 60ms); }
    .js [data-reveal].is-in { opacity: 1; }
}
@keyframes glowFade { 50% { opacity: 0.55; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- the glow layer: soft glass on a live aurora, nothing reads as a flat block ---------- */

:root {
    --r: 18px;
    --tile: rgba(10, 24, 26, 0.62);
    --tile-2: rgba(20, 40, 40, 0.72);
    --edge: rgba(147, 230, 142, 0.13);
    --edge-hot: rgba(94, 199, 122, 0.5);
    --halo: 0 24px 70px -30px rgba(37, 161, 138, 0.65);
}
.aurora { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.has-aurora body::before { display: none; }
.tile { border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.tile--accent { border-color: rgba(147, 230, 142, 0.5); box-shadow: 0 30px 80px -30px rgba(94, 199, 122, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.button { border-radius: 12px; }
.button:not(.button--ink):not(.button--dark) { background: linear-gradient(135deg, #5ec77a, #93e68e); box-shadow: 0 10px 30px -10px rgba(94, 199, 122, 0.7); }
.button--dark { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.8); }
@media (hover: hover) and (pointer: fine) {
    .button:not(.button--ink):not(.button--dark):hover { background: linear-gradient(135deg, #6fd68a, #a8f0a3); box-shadow: 0 14px 40px -10px rgba(94, 199, 122, 0.9); }
}

/* hero: the name and the hub float on the aurora; the rest are glass */
.board { gap: 12px; }
.tools { gap: 12px; }
.t-name { background: transparent; border-color: transparent; box-shadow: none; padding-left: 20px; }
.t-hub { background: transparent; border-color: transparent; box-shadow: none; }
.t-hub .hub-glow { opacity: calc(.45 + var(--fix, 1) * .55); }
.t-logo { background: transparent; border-color: transparent; box-shadow: none; }
.t-logo .logo-img { filter: drop-shadow(0 0 14px rgba(37, 161, 138, 0.45)); }
.t-links, .t-menu { background: var(--tile); }
.t-action { border-radius: 12px !important; background: linear-gradient(135deg, #5ec77a, #93e68e); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(94, 199, 122, 0.8); }
.t-tool { background: var(--tile); transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, box-shadow var(--t-ui) ease; }
.t-photo figcaption { background: rgba(4, 10, 11, 0.8); border: 1px solid var(--edge); border-radius: 999px; padding: 5px 14px; }
@media (hover: hover) and (pointer: fine) {
    .t-tool:hover, .menu a:hover { background: var(--tile-2); border-color: var(--edge-hot); box-shadow: var(--halo); }
}

/* four ways in: one glass panel */
.ways { background: var(--tile); border: 1px solid var(--edge); border-radius: 24px; overflow: hidden; }
.ways tbody tr:nth-child(odd) > * { background: rgba(255, 255, 255, 0.025); }
.ways tbody tr:nth-child(odd) > *:first-child, .ways tbody tr:nth-child(odd) > *:last-child { border-radius: 0; }
.ways .rec { background: #56bd73 !important; }
.ways thead .rec { border-radius: 0; background: linear-gradient(180deg, #5ec77a, #56bd73) !important; }
.ways tfoot .rec { border-radius: 0; }
.ways-stack .plan-block { border: 1px solid var(--edge); border-radius: 20px; }
.ways-stack .plan-block.rec { background: linear-gradient(135deg, #25a18a, #5ec77a 60%, #93e68e); box-shadow: var(--halo); }

/* builds: no band, screenshots float with a glow on hover */
.work { background: transparent; padding-top: 0; }
.wall-row .pic { border-radius: 14px; border: 1px solid var(--edge); }
@media (hover: hover) and (pointer: fine) { .wall-row a:hover .pic { box-shadow: var(--halo); border-color: var(--edge-hot); } }

/* menu */
.menu a { border: 1px solid var(--edge); }

/* stats: glowing glass, figures in the brand gradient */
.stat { background: var(--tile); color: var(--ink); }
.stat .fig { color: #effff2; text-shadow: 0 0 34px rgba(94, 199, 122, 0.55); }
.stat .cap, .stat-a .cap { color: var(--soft); }
.stat-glow { background: radial-gradient(120% 90% at 0% 0%, rgba(94, 199, 122, 0.4), rgba(10, 24, 26, 0.62) 62%); border-color: rgba(147, 230, 142, 0.3); box-shadow: var(--halo); }
.stat-b { background: radial-gradient(120% 90% at 100% 0%, rgba(34, 211, 238, 0.2), rgba(10, 24, 26, 0.62) 65%); }
.stat-c { background: radial-gradient(120% 90% at 0% 100%, rgba(37, 161, 138, 0.3), rgba(10, 24, 26, 0.62) 65%); }

/* how a job moves: a timeline with a beam running through it */
.how-title { margin-bottom: 48px; }
.fields { position: relative; gap: 20px; }
.field, .field:nth-child(n) { background: transparent; color: var(--ink); min-height: 0; padding: 0; }
.field .job { margin: 0; position: relative; z-index: 1; }
.field .clause { margin-top: 22px; font-size: var(--fs-l); max-width: 18ch; }
.job { background: rgba(6, 16, 17, 0.94); border: 1px solid var(--edge); border-radius: 16px; width: 100%; max-width: 300px; }
.job .job-final { border-radius: 0 0 16px 16px; background: rgba(94, 199, 122, 0.1); }
.field:last-of-type .job { border-color: var(--edge-hot); box-shadow: var(--halo); }
.tl-beam { position: absolute; left: 0; right: 0; top: 46px; height: 2px; z-index: 0; border-radius: 2px;
    background: linear-gradient(90deg, rgba(37, 161, 138, 0), #25a18a 12%, #22d3ee 50%, #93e68e 88%, rgba(147, 230, 142, 0)); opacity: 0.7; }
.tl-beam::after { content: ""; position: absolute; top: -5px; left: 0; width: 120px; height: 12px; border-radius: 12px;
    background: radial-gradient(closest-side, rgba(147, 230, 142, 0.95), rgba(34, 211, 238, 0.35) 60%, transparent); filter: blur(2px); }

/* the close: one glowing panel with the logo inside */
.cta-panel {
    display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 24px;
    padding: 56px; border-radius: 28px; position: relative; overflow: hidden;
    background: radial-gradient(70% 120% at 100% 50%, rgba(37, 161, 138, 0.38), transparent 62%), linear-gradient(135deg, rgba(10, 24, 26, 0.88), rgba(10, 24, 26, 0.6));
    border: 1px solid rgba(147, 230, 142, 0.24); box-shadow: 0 40px 120px -50px rgba(37, 161, 138, 0.75);
}
.cta-text { display: grid; gap: 18px; justify-items: start; }
.cta-text h2 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.cta-text p { font-size: var(--fs-l); color: var(--soft); }
.cta-text .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta-mark { display: grid; place-items: center; height: 300px; }
.cta-mark img { width: min(150%, 520px); max-width: none; height: auto; filter: drop-shadow(0 0 40px rgba(37, 161, 138, 0.55)); }

/* glass for the live examples */
.console, .audit { background: rgba(6, 16, 17, 0.88) !important; border: 1px solid var(--edge); border-radius: 20px !important; }
.console-feed li, .audit-rows li { background: rgba(255, 255, 255, 0.035); border-radius: 12px; }

@media (prefers-reduced-motion: no-preference) {
    .tl-beam::after { animation: travel 5.5s var(--ease-in-out) infinite; }
    .cta-mark img { animation: float 7s ease-in-out infinite; }
}
@keyframes travel { from { transform: translateX(-120px); } to { transform: translateX(calc(100vw - 80px)); } }
@keyframes travelDown { from { transform: translateY(-90px); } to { transform: translateY(1600px); } }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* ---------- why it needs architecture: data checked before AI touches it ---------- */

.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.why-text { grid-column: 1 / 7; display: grid; gap: 20px; justify-items: start; }
.why-text .h2 { font-size: clamp(40px, 4.6vw, 80px); }
.why-lead { font-size: var(--fs-l); line-height: 1.3; color: var(--soft); max-width: 36ch; }
.pipe { grid-column: 7 / 13; background: rgba(6, 16, 17, 0.88); border: 1px solid var(--edge); border-radius: 20px; padding: 20px; display: grid; gap: 12px; overflow: hidden; }
.pipe-top { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; }
.pipe-rows { display: grid; gap: 8px; }
.pipe-rows li { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); font-size: 15px; }
.p-in { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-checks { display: flex; gap: 6px; }
.p-checks i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(94, 199, 122, 0.14); color: var(--accent); }
.p-checks i[data-fail] { background: rgba(251, 113, 133, 0.16); color: #fda4af; }
.p-res { justify-self: end; font-weight: 600; font-size: 14px; text-align: right; }
[data-result="pass"] .p-res { color: var(--accent); }
[data-result="stop"] .p-res { color: #fda4af; }
[data-result="stop"] .p-in { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(251, 113, 133, 0.6); }
.why-cards { margin-top: 28px; }
.why-proof { margin-top: 22px; color: var(--soft); font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
    .pipe-rows li.arrive { animation: arrive 620ms var(--ease-out); }
    .pipe-rows li.arrive .p-checks i { animation: checkIn 420ms var(--ease-out) both; }
    .pipe-rows li.arrive .p-checks i:nth-child(2) { animation-delay: 260ms; }
    .pipe-rows li.arrive .p-checks i:nth-child(3) { animation-delay: 520ms; }
    .pipe-rows li.arrive .p-res { animation: checkIn 420ms var(--ease-out) 820ms both; }
}
@keyframes checkIn { from { opacity: 0; transform: scale(0.85); } }

/* ---------- inner pages: the same glass and glow, as reusable parts ---------- */

.page-top { padding: var(--m) var(--m) 0; position: relative; z-index: 3; }
.page-hero { padding: clamp(72px, 9vw, 128px) var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.page-hero .ph-text { grid-column: 1 / 8; display: grid; gap: 22px; justify-items: start; }
.page-hero .ph-side { grid-column: 8 / 13; }
.page-hero.solo .ph-text { grid-column: 1 / 11; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 5.6vw, 96px); letter-spacing: -0.03em; line-height: 0.98;
    background: var(--brand-text); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { font-size: var(--fs-l); line-height: 1.3; color: var(--soft); max-width: 40ch; }
.page-hero .ph-price { font-family: var(--font-display); font-size: var(--fs-l); font-weight: 600; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 60ch; }
.section-head p { color: var(--soft); font-size: var(--fs-l); line-height: 1.3; }

.glass { background: var(--tile); border: 1px solid var(--edge); border-radius: var(--r); padding: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.glass--glow { border-color: rgba(147, 230, 142, 0.3); box-shadow: var(--halo), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: radial-gradient(120% 90% at 0% 0%, rgba(94, 199, 122, 0.22), rgba(10, 24, 26, 0.62) 62%); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.card p { color: var(--soft); font-size: 17px; line-height: 1.45; }
.card .card-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
a.card { text-decoration: none; transition: border-color var(--t-hover) ease, box-shadow var(--t-ui) ease, background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { a.card:hover { border-color: var(--edge-hot); box-shadow: var(--halo); background: var(--tile-2); } }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(94, 199, 122, 0.8); }
.ticks--muted li::before { background: #fb7185; box-shadow: none; }

.price-card { display: grid; gap: 16px; align-content: start; }
.price-card .pc-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .pc-price { font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price-card .pc-price span { font-family: var(--font-text); font-size: 16px; color: var(--soft); letter-spacing: 0; font-weight: 400; }
.price-card .pc-note { color: var(--soft); font-size: 15px; }
.price-card .button { width: 100%; }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.split > :first-child { grid-column: 1 / 7; }
.split > :last-child { grid-column: 7 / 13; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; opacity: 0.6;
    background: linear-gradient(90deg, rgba(37, 161, 138, 0), #25a18a 12%, #22d3ee 50%, #93e68e 88%, rgba(147, 230, 142, 0)); }
.steps > li { position: relative; z-index: 1; }
.steps .step-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(94, 199, 122, 0.9); margin: 23px 0 18px 24px; }
.steps h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--soft); font-size: 17px; }

.prose { max-width: 70ch; display: grid; gap: 18px; font-size: 18px; line-height: 1.6; }
.prose h2 { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-top: 28px; }
.prose h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 12px; }
.prose p, .prose li { color: #d4d7dc; }
.prose ul { display: grid; gap: 8px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose img { border-radius: 14px; border: 1px solid var(--edge); }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-row .glass .fig { font-family: var(--font-display); font-size: clamp(40px, 3.6vw, 60px); font-weight: 500; letter-spacing: -0.03em; color: #effff2; text-shadow: 0 0 30px rgba(94, 199, 122, 0.5); }
.stat-row .glass p { color: var(--soft); margin-top: 6px; }

.note { color: var(--soft); font-size: 15px; }
.checkout-error { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(251, 113, 133, 0.12); border: 1px solid rgba(251, 113, 133, 0.4); color: #fecdd3; }
.checkout-error[hidden] { display: none; }
.button[disabled] { opacity: 0.7; cursor: progress; }

/* forms (the discovery deposit) */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 15px; color: var(--soft); }
.form input, .form textarea, .form select, .stripe-field {
    width: 100%; font: inherit; color: var(--ink); background: rgba(4, 10, 11, 0.7);
    border: 1px solid var(--edge); border-radius: 12px; padding: 14px 16px; min-height: 52px;
    transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.form input:focus, .form textarea:focus, .stripe-field.StripeElement--focus { outline: none; border-color: var(--edge-hot); box-shadow: 0 0 0 4px rgba(94, 199, 122, 0.15); }
.form .form-error { color: #fda4af; font-size: 15px; min-height: 1.2em; }

/* the wordmark in the nav on inner pages links home */
.t-links-brand a { text-decoration: none; }

/* ---------- tablet ---------- */

@media (max-width: 1100px) {
    .t-links a.t-links-optional { display: none; }
    .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .tl-beam { display: none; }
    .t-owner .door, .t-founder .door { font-size: 15px; white-space: normal; justify-content: flex-start; text-align: left; padding: 10px 14px; width: 100%; }
    .ways { display: none; }
    .ways-stack { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ways-stack .plan-block .name { font-size: clamp(26px, 4vw, 32px); }
    .ways-stack > h2 { grid-column: 1 / -1; }
    .ways th, .ways td { font-size: 18px; padding: 16px; }
    .wall-row { flex-wrap: wrap; }
    .wall-row a { flex: 1 1 calc(50% - var(--gap)); }
    .wall-row .cap { flex-wrap: wrap; }
}

/* ---------- phone: its own board ---------- */

@media (max-width: 767px) {
    :root { --gap: 6px; --m: 16px; --pad: 20px; --section: 80px; }
    .hero-stage .site-nav, .board { margin-left: -8px; margin-right: -8px; }
    .page-top .t-logo .logo-img { width: 56px; margin: 0; }
    .site-nav { grid-template-columns: 56px minmax(0, 1fr) auto; height: 56px; }
    .t-logo .logo-img { width: 74px; }
    .t-links { display: none !important; }
    .site-nav .t-menu { display: flex; justify-content: center; }
    .t-action { padding: 0 12px !important; font-size: 15px; white-space: nowrap; }
    .site-nav .t-menu { padding: 0 14px; }
    .site-nav { grid-template-columns: 56px auto minmax(0, 1fr); }
    .t-menu { order: 2; }
    .t-action { order: 3; justify-content: center; }

    .hero-stage { height: auto; min-height: 0; grid-template-rows: auto auto; }
    .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .t-name { grid-column: 1 / -1; min-height: 24svh; order: 1; }
    .t-name .h1-name { font-size: 14.5vw; }
    .t-name .h1-what { font-size: 20px; }
    .t-photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; order: 2; }
    .t-photo figcaption { font-size: 12px; bottom: 6px; padding: 3px 10px; }
    .t-owner { grid-column: 1 / 2; min-height: 200px; padding: 16px; order: 3; }
    .t-founder { grid-column: 2 / 3; min-height: 200px; padding: 16px; order: 3; }
    .t-owner p, .t-founder p { font-size: 17px; }
    .t-owner .door, .t-founder .door { font-size: 15px; white-space: normal; justify-content: flex-start; text-align: left; padding: 10px 14px; width: 100%; }
    .tools { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; order: 4; }
    .t-tool { min-height: 120px; padding: 14px 16px; gap: 10px; }
    .t-tool .tool-state { font-size: 17px; }

    .intro .cols { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
    .intro-text, .intro-pic { grid-column: 1 / -1; }
    .intro-pic { min-height: 240px; margin-top: 32px; }
    .console-feed li { grid-template-columns: 40px 1fr; }
    .console-feed .msg { grid-column: 1 / -1; }
    .intro .lead { font-size: 20px; }

    .ways-stack { grid-template-columns: 1fr; gap: 28px; }

    .menu-head { grid-template-columns: 1fr; margin-bottom: 24px; }
    .menu-head h2, .menu-head p { grid-column: 1 / -1; }
    .menu a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; padding: 20px; }
    .m-name, .m-line { grid-column: 1 / -1; padding-right: 0; }
    .m-name { font-size: 22px; }
    .m-price { grid-column: 1 / 2; }
    .m-go { grid-column: 2 / 3; }

    .work { padding: 0 var(--m) var(--m); }
    .work-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .work-head h2 { font-size: 17vw; }
    .work-head .aside { text-align: left; justify-items: start; }
    .aside-actions { justify-content: flex-start; }
    .wall-row { flex-wrap: wrap; }
    .wall-row a { flex: 1 1 100%; }
    .wall-row a:nth-child(n+2) { flex-basis: calc(50% - 3px); }
    .wall-row .pic { height: calc(var(--h) * 0.6); }

    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-a { grid-column: 1 / -1; height: 56vw; min-height: 260px; order: 2; }
    .stats-side { grid-column: 1 / -1; display: contents; }
    .stats-side h2 { grid-column: 1 / -1; order: 1; min-height: 0; font-size: 26px; margin-bottom: 8px; padding: 0 4px; }
    .stat-b { grid-column: 1 / 2; height: auto; min-height: 200px; order: 3; }
    .stat-c { grid-column: 2 / 3; height: auto; min-height: 200px; margin-top: 32px; order: 4; }
    .stat { padding: 20px; gap: 24px; }
    .stat-a .fig { font-size: 15vw; }
    .stat-b .fig, .stat-c .fig { font-size: 11vw; }
    .stat .cap { font-size: 15px; }

    .fields { grid-template-columns: 1fr; gap: 28px; }
    .fields { padding-left: 26px; }
    .tl-beam { display: block; left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
        background: linear-gradient(180deg, rgba(37, 161, 138, 0), #25a18a 8%, #22d3ee 50%, #93e68e 92%, rgba(147, 230, 142, 0)); }
    .tl-beam::after { top: 0; left: -5px; width: 12px; height: 90px; animation-name: travelDown; }
    .cta-panel { grid-template-columns: 1fr; padding: 28px 22px; }
    .cta-mark { height: 140px; order: -1; justify-items: start; overflow: hidden; }
    .cta-mark img { width: 190px; }
    .cta-text .button { width: 100%; }
    .field, .field:nth-child(n) { padding: 0; }
    .field h2 { font-size: 24px; margin-bottom: 12px; }
    .field .clause { margin-top: 0; font-size: 24px; order: -1; }
    .field h2 { order: -2; }
    .field .job { margin: 32px 0 0; }

    .faq { grid-template-columns: 1fr; padding: 0 var(--m); }
    .faq-list { grid-column: 1 / -1; }
    .js .faq-pane { display: block; grid-column: 1 / -1; position: static; margin-top: 28px; }
    .js .faq-pane > p { display: none; }
    .faq-pane .faq-pic { margin-top: 0; }
    .js .faq-list .faq-a { display: block; }
    .js .faq-list .faq-a[hidden] { display: none; }
    .faq-a { font-size: 19px; }

    .cta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 0; }
    .cta-main { grid-column: 1 / -1; order: -1; height: auto; min-height: 300px; padding: 24px; }
    .cta-main h2 { font-size: 28px; }
    .cta-main .button { width: 100%; justify-content: center; }
    .cta-side-l { grid-column: 1 / 2; height: 120px; }
    .cta-side-r { grid-column: 2 / 3; height: 120px; }

    .foot-brand img { width: 96px; margin: -12px -10px -12px -18px; }
    .foot-word { font-size: 11vw; }
    .foot-tag { font-size: 18px; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .foot-cols .col { grid-column: span 1; }
    .foot-cols .contact { grid-column: 1 / -1; }
}

/* inner pages on tablet and phone */
@media (max-width: 1100px) {
    .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .steps::before { display: none; }
}
@media (max-width: 767px) {
    .page-hero { grid-template-columns: 1fr; padding-top: 56px; }
    .page-hero .ph-text, .page-hero .ph-side, .page-hero.solo .ph-text { grid-column: 1 / -1; }
    .page-hero h1 { font-size: clamp(38px, 11vw, 56px); }
    .cards, .cards--2, .cards--4, .stat-row { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split > :first-child, .split > :last-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: 1fr; }
    .glass { padding: 22px; }
    .actions .button { width: 100%; }
}

@media (max-width: 1100px) {
    .why-text, .pipe { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .pipe-rows li { grid-template-columns: minmax(0, 1fr) auto; }
    .p-checks { grid-column: 1 / -1; order: 3; }
    .why-cards { grid-template-columns: 1fr; }
}

/* phones: the steps keep their beam, running down the side */
@media (max-width: 767px) {
    .steps { padding-left: 22px; }
    .steps::before { display: block; left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
        background: linear-gradient(180deg, rgba(37, 161, 138, 0), #25a18a 8%, #22d3ee 50%, #93e68e 92%, rgba(147, 230, 142, 0)); }
    .steps .step-dot { margin: 4px 0 12px -22px; }
}
