/* BrandStack — brandstack.co
   VOICE   a studio's own site: confident, technical, warm in the copy
   IDEA    the stack. BrandStack's two-pill logo, exploded into the layers a small business runs on
           (website, booking and payments, customer records, automations); each page shows a working piece of one
   PICTURE home: an isometric stack of pill-shaped layers with a labeled rail, the active layer lit in brand blue;
           inner pages: a sample screen or flow drawn in the same panel language
   COLOUR  night navy ground #071123 everywhere, ink #eef3ff, brand blue #1071ff and sky #10acff as light, yellow
           #ffd83a as the one sharp accent; each division keeps its own colour (Build blue, Automate sky, Products yellow)
   TYPE    neulis-sans (owner's Adobe kit) for everything; a monospace for small labels and numbers in samples
   LAYOUT  laptop: headline left, stack and rail right, division links along the bottom of the first screen;
           phone: headline, stack, then the rail as a two-by-two list */

:root {
  --bg: #071123;
  --bg-2: #0a1730;
  --panel: rgba(150, 185, 255, .045);
  --panel-2: rgba(150, 185, 255, .08);
  --line: rgba(160, 190, 255, .16);
  --line-2: rgba(160, 190, 255, .28);
  --ink: #eef3ff;
  --muted: #9eabc9;
  --dim: #6f7d9e;
  --blue: #1071ff;
  --sky: #10acff;
  --yellow: #ffd83a;
  --violet: #8e9bff;
  --build: var(--blue);
  --automate: var(--sky);
  --products: var(--yellow);
  --work: var(--violet);
  --sans: "neulis-sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px;
  --gutter: max(5vw, 16px);
  --max: 1480px; /* site container (was 1340px; owner asked for a bit wider, 2026-12-02) */
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 5.6vw, 5.4rem); letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.inner { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.band + .band { border-top: 1px solid var(--line); }
.band.flush { padding-top: 0; border-top: 0; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: #c7d1ea; line-height: 1.55; max-width: 36em; }
.muted { color: var(--muted); }

/* Small mono label with a short rule in front of it */
.tag { display: flex; align-items: center; gap: 12px; font: 500 13px/1.3 var(--mono); color: var(--muted); margin: 0 0 22px; letter-spacing: .01em; }
.tag::before { content: ""; width: 28px; height: 1px; background: var(--c, var(--line-2)); flex: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  padding: 15px 20px; border-radius: 12px;
  background: var(--blue); color: #fff; border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #2a82ff; }
.btn-line { background: rgba(150, 185, 255, .06); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { background: rgba(150, 185, 255, .12); border-color: rgba(160, 190, 255, .5); }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.arrow::after { content: "\2192"; transition: transform .2s; }
.arrow:hover::after { transform: translateX(4px); }
.arrow.up::after { content: "\2197"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 35, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.scrolled .site-header { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 158px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) { position: relative; font-size: 15px; text-decoration: none; color: #d6deef; padding-block: 6px; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 12px; border-radius: 2px;
  background: var(--c, var(--line-2)); transition: width .25s;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current]::after { width: 100%; }
.site-nav a[aria-current] { color: #fff; }
.nav-build { --c: var(--build); } .nav-automate { --c: var(--automate); } .nav-products { --c: var(--products); }
.nav-work { --c: var(--work); } .nav-about { --c: #c9d3ee; }
.site-nav .btn { padding: 12px 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 40px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .25s; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Hero (home) */
.hero { position: relative; overflow: hidden; margin-top: -76px; padding-top: 76px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 460px at 74% 52%, rgba(16, 113, 255, .26), transparent 70%),
    radial-gradient(rgba(150, 185, 255, .17) 1px, transparent 1.5px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 70% 45%, #000 30%, transparent 80%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 100px) 28px;
}
.hero h1 { margin-bottom: 28px; font-size: clamp(2.6rem, 5vw, 4.6rem); } /* same size as the inner pages, now that it says what we do */
.hero h1 .second {
  display: block;
  background: linear-gradient(95deg, #8fc4ff 0%, var(--sky) 45%, #6ad0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { max-width: 31em; }

.stack-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; }
.stack { width: 100%; height: auto; max-height: min(680px, calc(100vh - 210px)); overflow: visible; }
.stack .guide { stroke: rgba(160, 190, 255, .28); stroke-width: 1; stroke-dasharray: 3 5; }
.stack .leader { stroke: rgba(160, 190, 255, .3); stroke-width: 1; transition: stroke .4s; }
.stack .sd { fill: url(#side); }
.stack .tp { fill: #0d1f43; stroke: rgba(110, 170, 255, .55); stroke-width: 1.2; }
.stack .u { fill: none; stroke: rgba(140, 185, 255, .55); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.stack .f { fill: rgba(140, 185, 255, .24); }
.stack .g { fill: rgba(140, 185, 255, .38); }
.stack .a { fill: rgba(16, 172, 255, .75); }
.stack .dot { fill: var(--yellow); }
.stack .ck { fill: none; stroke: #0b1730; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stack .lift { transition: transform .7s cubic-bezier(.2, .75, .2, 1); }
.stack .slab.on .lift { transform: translateY(-16px); }
.stack .slab.on .sd { fill: url(#side-on); }
.stack .slab.on .tp { fill: url(#top-on); stroke: rgba(190, 225, 255, .9); }
.stack .slab.on .u { stroke: rgba(255, 255, 255, .9); }
.stack .slab.on .f { fill: rgba(255, 255, 255, .45); }
.stack .slab.on .g { fill: rgba(255, 255, 255, .7); }
.stack .slab.on .a { fill: var(--yellow); }
.stack .slab.on .leader { stroke: var(--sky); }
.stack .sd, .stack .tp, .stack .u, .stack .f, .stack .g, .stack .a { transition: fill .5s, stroke .5s; }

.rail { list-style: none; margin: 0; padding: 0; position: relative; height: 100%; border-right: 1px solid var(--line); }
.rail li { position: absolute; right: 0; top: var(--y); transform: translateY(-50%); text-align: right; padding-right: 18px; cursor: default; }
.rail li::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transform: translateY(-50%); transition: background .3s, border-color .3s; }
.rail b { display: block; font-weight: 500; font-size: 16px; color: #c4cee6; transition: color .3s; white-space: nowrap; }
.rail span { display: block; font: 12px/1.5 var(--mono); color: var(--dim); }
.rail li.on b { color: #fff; }
.rail li.on::after { background: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 4px rgba(16, 172, 255, .2); }

.hero-links { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; padding-block: 8px 34px; }
.hero-links a { display: block; text-decoration: none; padding-top: 14px; border-top: 1px solid var(--line); position: relative; }
.hero-links a::before { content: ""; position: absolute; left: 0; top: -1px; width: 34px; height: 1px; background: var(--c); transition: width .35s; }
.hero-links a:hover::before { width: 100%; }
.hero-links b { display: flex; justify-content: space-between; font-weight: 500; font-size: 15px; }
.hero-links b::after { content: "\2197"; color: var(--muted); }
.hero-links span { font-size: 13px; color: var(--muted); }

/* Big numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.numbers div { border-top: 1px solid var(--line); padding-top: 22px; }
.numbers b { display: block; font-weight: 300; font-size: clamp(2.8rem, 5.2vw, 4.8rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 14px; white-space: nowrap; }
.numbers span { color: var(--muted); font-size: 15px; display: block; max-width: 18em; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 32em; }
.sec-head.solo { grid-template-columns: minmax(0, 1fr); }

/* Panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* Client story */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
.story-copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.story blockquote { margin: 0 0 26px; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 400; }
.story .who { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.story .who b { color: var(--ink); font-weight: 500; display: block; }
.story-did { margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 13px/1 var(--mono); padding: 8px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: #cdd6ee; white-space: nowrap; }
.story-shot { position: relative; background: linear-gradient(160deg, #0f2a5e, #081936); padding: clamp(24px, 3vw, 40px) 0 0 clamp(24px, 3vw, 40px); display: flex; align-items: flex-end; min-height: 320px; }
.story-shot img { width: 100%; border-radius: 12px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; object-fit: cover; object-position: top left; aspect-ratio: 4 / 3; }

/* Customer journey demo */
.journey { overflow: hidden; }
.j-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.j-tabs button {
  position: relative; background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 500 15px/1.2 var(--sans); padding: 20px 18px; text-align: left; display: flex; align-items: center; gap: 12px;
}
.j-tabs button + button { border-left: 1px solid var(--line); }
.j-tabs button i { font: normal 12px/1 var(--mono); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.j-tabs button[aria-selected="true"] { color: #fff; background: rgba(150, 185, 255, .05); }
.j-tabs button[aria-selected="true"] i { background: var(--blue); border-color: var(--blue); color: #fff; }
.j-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.j-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.j-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); align-items: center; }
.j-panel[hidden] { display: none; }
.j-panel h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.03em; margin-bottom: 18px; }
.j-panel p { color: #c3cde6; max-width: 30em; }
.j-panel .div-tag { margin-bottom: 18px; }
.j-foot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); padding: 22px clamp(28px, 4vw, 56px); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.j-foot b { color: var(--ink); font-weight: 500; }

/* Sample UI (journey, page heroes) */
.ui { background: #0b1a36; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); font-size: 15px; }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ui-top b { color: var(--ink); font-weight: 500; }
.ui-top .sample { font: 11px/1 var(--mono); padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 99px; white-space: nowrap; }
.ui-body { padding: 18px; display: grid; gap: 12px; }
.ui-k { font: 12px/1.4 var(--mono); color: var(--dim); }
.ui-title { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.bubble { max-width: 82%; padding: 11px 14px; border-radius: 14px; line-height: 1.45; font-size: 15px; }
.bubble.them { background: rgba(150, 185, 255, .1); border-bottom-left-radius: 4px; }
.bubble.us { background: var(--blue); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.bubble small { display: block; font: 11px var(--mono); opacity: .7; margin-top: 4px; }
.rows { display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 0; }
.rows span { color: var(--muted); }
.rows b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows .total b { font-size: 1.15rem; }
.status { font: 12px/1 var(--mono); padding: 6px 9px; border-radius: 99px; background: rgba(16, 172, 255, .14); color: #8fd6ff; white-space: nowrap; }
.status.ok { background: rgba(80, 220, 150, .14); color: #8ff0bf; }
.status.y { background: rgba(255, 216, 58, .14); color: var(--yellow); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots span { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; text-align: center; font-size: 14px; color: #c3cde6; }
.slots span small { display: block; font: 11px var(--mono); color: var(--dim); }
.slots .chosen { background: var(--blue); border-color: var(--blue); color: #fff; }
.slots .chosen small { color: rgba(255, 255, 255, .75); }
.slots .gone { opacity: .35; text-decoration: line-through; }
.line-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; }
.line-item .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; font: 600 13px var(--mono); background: rgba(16, 113, 255, .22); color: #9cc7ff; }
.line-item { flex-wrap: wrap; }
.line-item div { flex: 1 1 150px; min-width: 0; }
.line-item small { display: block; color: var(--muted); font-size: 13px; }
.stars { color: var(--yellow); letter-spacing: 2px; }

/* Build progress + finish picks (build hero sample) */
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.progress span { font-size: 12px; color: var(--dim); padding-top: 10px; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: rgba(150, 185, 255, .16); }
.progress .done { color: var(--muted); }
.progress .done::before { background: var(--blue); }
.progress .now { color: var(--ink); }
.progress .now::before { background: linear-gradient(90deg, var(--sky) 60%, rgba(150, 185, 255, .16) 60%); }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.swatches span { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; font-size: 13px; color: #c3cde6; }
.swatches i { display: block; height: 34px; border-radius: 6px; margin-bottom: 7px; }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.division { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; position: relative; transition: border-color .3s, background .3s; }
.division:hover { border-color: var(--line-2); background: var(--panel-2); }
.division::before { content: ""; position: absolute; top: 0; left: 28px; width: 40px; height: 2px; background: var(--c); }
.division .art { height: 230px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: radial-gradient(300px 180px at 50% 100%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.division .copy { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.division h3 { font-size: 1.7rem; margin-bottom: 4px; }
.division .sub { font: 13px var(--mono); color: var(--c); margin-bottom: 16px; }
.division p { color: #c3cde6; font-size: 16px; }
.division ul { list-style: none; padding: 0; margin: 4px 0 26px; font-size: 15px; color: var(--muted); }
.division li { padding: 9px 0; border-top: 1px solid var(--line); }
.division .arrow { margin-top: auto; }
.c-build { --c: var(--build); } .c-automate { --c: var(--automate); } .c-products { --c: var(--products); } .c-work { --c: var(--work); }

/* art: mini app */
.mini-app { position: absolute; left: 28px; right: -30px; top: 36px; bottom: -20px; background: #0b1a36; border: 1px solid var(--line-2); border-radius: 12px; display: grid; grid-template-columns: 70px 1fr; overflow: hidden; }
.mini-app .side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 9px; align-content: start; }
.mini-app .side i { height: 7px; border-radius: 4px; background: rgba(150, 185, 255, .2); }
.mini-app .side i:first-child { background: var(--blue); width: 70%; }
.mini-app .main { padding: 14px; display: grid; gap: 9px; align-content: start; }
.mini-app .bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.mini-app .bar i { height: 7px; border-radius: 4px; background: rgba(150, 185, 255, .25); flex: 1; }
.mini-app .bar em { width: 34px; height: 14px; border-radius: 7px; background: rgba(16, 172, 255, .3); flex: none; }
.mini-app .bar:nth-child(2) em { background: var(--yellow); }
.mini-app .head { height: 12px; width: 46%; border-radius: 4px; background: rgba(238, 243, 255, .7); margin-bottom: 4px; }

/* art: flow */
.mini-flow { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 20px; }
.mini-flow span { position: relative; z-index: 1; font: 12px/1 var(--mono); padding: 10px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: #0b1a36; color: #cfe0ff; white-space: nowrap; }
.mini-flow span.ai { background: var(--sky); color: #04203a; border-color: var(--sky); font-weight: 600; }
.mini-flow em { flex: 1; min-width: 12px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.mini-flow em::after { content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 3px; border-radius: 2px; background: var(--yellow); animation: pulse 2.4s linear infinite; }
.mini-flow em:nth-of-type(2)::after { animation-delay: .8s; }
.mini-flow em:nth-of-type(3)::after { animation-delay: 1.6s; }
@keyframes pulse { to { left: 100%; } }

/* art: app icons */
.mini-apps { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mini-apps img, .mini-apps .ph { width: 70px; height: 70px; border-radius: 17px; border: 1px solid rgba(255, 255, 255, .14); object-fit: cover; margin-left: -12px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7); }
.mini-apps > :first-child { margin-left: 0; }
.mini-apps > :nth-child(odd) { transform: translateY(-14px) rotate(-4deg); }
.mini-apps > :nth-child(even) { transform: translateY(14px) rotate(4deg); }
.mini-apps .ph { overflow: hidden; }
.mini-apps .ph img { width: 100%; height: auto; border: 0; border-radius: 0; margin: 0; box-shadow: none; transform: none; }

/* Work list */
.work-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.work-split .sticky { position: sticky; top: 110px; }
.work-split h2 { margin-bottom: 22px; }
.work-split .sticky p { color: var(--muted); max-width: 26em; }
.work-list { border-top: 1px solid var(--line); }
.work-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.work-item img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); transition: transform .35s; }
.work-item:hover img { transform: scale(1.03); }
.work-item small { display: block; font: 12px var(--mono); color: var(--dim); margin-bottom: 4px; }
.work-item b { display: block; font-weight: 500; font-size: 1.35rem; letter-spacing: -.02em; }
.work-item span { color: var(--muted); font-size: 15px; }
.work-item .go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s; }
.work-item:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Team */
.team-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.photo-panel { position: relative; overflow: hidden; min-height: 460px; }
.photo-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-panel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; background: linear-gradient(transparent, rgba(7, 17, 35, .92)); font-size: 15px; color: #d4dcf0; }
.photo-panel figcaption b { display: block; color: #fff; font-weight: 500; font-size: 1.1rem; }
.letter-panel { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.letter-panel h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 20px; }
.letter-panel p { color: #c3cde6; }
.faces { display: flex; align-items: center; margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line); gap: 14px; flex-wrap: wrap; }
.faces .row { display: flex; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; background: #1b2c4f; }
.faces img:first-child { margin-left: 0; }
.faces span { color: var(--muted); font-size: 14px; }
.sig { font: 13px var(--mono); color: var(--muted); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.quotes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.quote { margin: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: #d9e1f4; }
.quote figcaption { margin-top: auto; font-weight: 500; font-size: 15px; }
.quote figcaption small { display: block; color: var(--muted); font-weight: 400; }

/* Closing */
.closing { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 160px); border-top: 1px solid var(--line); }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 80% 70%, rgba(16, 113, 255, .3), transparent 70%); pointer-events: none; }
.closing .mark { position: absolute; right: max(-40px, calc((100% - var(--max)) / 2 - 60px)); top: 50%; transform: translateY(-46%); width: min(560px, 50vw); height: auto; opacity: .16; pointer-events: none; }
.closing .inner { position: relative; }
.closing h2 { font-size: clamp(2.5rem, 5.4vw, 5rem); letter-spacing: -.035em; max-width: 11em; margin-bottom: 26px; }
.closing p { color: #c3cde6; font-size: 1.15rem; max-width: 30em; }
.contact-line { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; margin-top: -76px; padding-top: 76px; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(150, 185, 255, .15) 1px, transparent 1.5px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 70% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 85% at 70% 45%, #000 30%, transparent 80%);
}
.page-hero .inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.page-hero.solo .inner { grid-template-columns: minmax(0, 1fr); }
.page-hero.solo h1 { max-width: 14em; }
.page-hero h1 { margin-bottom: 26px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.page-hero .art { position: relative; isolation: isolate; }
/* the division's colour glows behind the picture itself, so it stays centred on it at every width */
.page-hero .art::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 43%; width: 620px; height: 420px; max-width: 130%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c, var(--blue)) 26%, transparent), transparent);
  pointer-events: none;
}
.page-hero .ui { max-width: 540px; margin-left: auto; }
.page-build { --c: var(--build); } .page-automate { --c: var(--automate); } .page-products { --c: var(--products); }
.page-work { --c: var(--work); } .page-about { --c: #7fa6ff; } .page-contact { --c: var(--sky); }

/* Grids of panels */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: clamp(24px, 2.6vw, 32px); }
.card .n { display: block; font: 12px var(--mono); color: var(--c, var(--sky)); margin-bottom: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Terms row */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.terms > div { padding: 26px 24px 4px 0; position: relative; }
.terms > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.terms > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 30px; height: 2px; background: var(--c, var(--sky)); }
.terms > div + div::before { left: 24px; }
.terms b { display: block; font-weight: 500; font-size: 1.12rem; margin-bottom: 8px; }
.terms p { color: var(--muted); font-size: 15px; }

/* FAQ */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 40em; }
.faq a { color: var(--sky); }

/* Prompts */
.prompts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.prompts li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
.prompts li span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Flow (automate hero) */
.flow { position: relative; display: grid; gap: 14px; width: 100%; max-width: 500px; margin-left: auto; }
.flow::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 1px; background: var(--line-2); }
.flow::after { content: ""; position: absolute; left: 29px; top: 30px; width: 5px; height: 40px; border-radius: 3px; background: linear-gradient(var(--sky), transparent); animation: run 3.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes run { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(calc(var(--h, 360px) - 70px)); opacity: 0; } }
.flow .line-item { background: #0b1a36; position: relative; z-index: 1; border-color: var(--line-2); padding: 14px 16px; }
.flow .line-item .ic { width: 32px; height: 32px; }
.flow .when .ic { background: rgba(255, 216, 58, .18); color: var(--yellow); }
.flow .ai .ic { background: var(--sky); color: #04203a; }
.flow-cap { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--dim); margin: 0 auto 14px; max-width: 500px; margin-right: 0; }

/* Products */
.products { display: grid; gap: 20px; }
.product { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 18px 28px 18px 18px; text-decoration: none; transition: border-color .3s, background .3s; }
a.product:hover { border-color: var(--line-2); background: var(--panel-2); }
.product .tile { height: 150px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; position: relative; }
.product .tile .icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.product .tile .screen { position: absolute; width: 46%; top: 18px; border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.product .tile .cover { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product .kind { display: block; font: 12px var(--mono); color: var(--dim); margin-bottom: 6px; }
.product h3 { font-size: 1.55rem; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 16px; max-width: 40em; }
.product .where { font: 13px var(--mono); color: var(--sky); white-space: nowrap; }
.product .where.soon { color: var(--yellow); }
.phones { position: relative; height: 440px; width: 100%; max-width: 520px; margin-left: auto; }
.phones img { position: absolute; width: 44%; border-radius: 26px; border: 6px solid #13213d; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.phones .p1 { left: 8%; top: 20px; transform: rotate(-6deg); }
.phones .p2 { right: 6%; top: 0; transform: rotate(5deg); }
.phones .badge { position: absolute; width: 74px; height: 74px; border-radius: 18px; border: 0; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); }
.phones .b1 { left: 0; bottom: 30px; transform: rotate(-8deg); }
.phones .b2 { left: 44%; bottom: 0; transform: rotate(6deg); z-index: 2; }
.phones .b3 { right: 0; bottom: 50px; transform: rotate(-4deg); z-index: 2; }

/* Work grid */
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 14px; grid-column: span 4; }
.shot.w5 { grid-column: span 5; } .shot.w7 { grid-column: span 7; } .shot.w6 { grid-column: span 6; }
.shot .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b1a36; aspect-ratio: 4 / 3; }
.shot.w7 .frame, .shot.w5 .frame { aspect-ratio: 16 / 11; }
.shot .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.shot:hover .frame img { transform: scale(1.025); }
.shot figcaption b { display: block; font-weight: 500; font-size: 1.1rem; }
.shot figcaption span { color: var(--muted); font-size: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }

/* About */
.about-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5 / 4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.letter { max-width: 40em; }
.letter p { font-size: 1.12rem; color: #d0d9ee; }
.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.team div { text-align: left; }
.team img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #13213d; }
.team b { display: block; font-weight: 500; }
.team > div > span:not(.tm-photo) { color: var(--muted); font-size: 14px; }

/* Contact */

/* Legal */
.legal .narrow { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #c3cde6; font-size: 16px; }
.legal a { color: var(--sky); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 70px; background: #050d1c; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 20em; }
.site-footer h2 { font-size: 14px; font-weight: 500; letter-spacing: 0; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.site-footer a, .site-footer span { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 5px 0; }
.site-footer a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-block: 22px 30px; border-top: 1px solid var(--line); }
.footer-base span, .footer-base a { font: 12px var(--mono); color: var(--dim); padding: 0; }
.footer-base a span { display: inline; }

/* Responsive */
@media (max-width: 1100px) {
  .site-nav { gap: 24px; }
  .hero-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .j-tabs button { padding: 16px 12px; font-size: 14px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #071123; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px; display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav a:not(.btn)::after { bottom: 10px; left: auto; right: 0; }
  .site-nav .btn { margin-top: 18px; justify-content: center; }
  .hero-grid, .page-hero .inner, .sec-head, .story, .j-panel, .j-foot, .work-split, .team-split, .split { grid-template-columns: minmax(0, 1fr); }
  .stack-wrap { max-width: 560px; margin-inline: auto; width: 100%; }
  .stack { max-height: none; }
  .divisions, .grid, .quotes.three { grid-template-columns: minmax(0, 1fr); }
  .division .art { height: 200px; }
  .j-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); scrollbar-width: none; }
  .j-foot { gap: 6px; }
  .work-split .sticky { position: static; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .terms > div:nth-child(3)::before { left: 0; }
  .product { grid-template-columns: 160px minmax(0, 1fr); }
  .product .where { grid-column: 2; }
  .page-hero .ui, .flow, .phones { margin-inline: auto; }
  .story-shot { min-height: 0; }
  .shot, .shot.w5, .shot.w7 { grid-column: span 6; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stack-wrap { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; height: auto; border-right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 6px; }
  .rail li { position: relative; top: auto; transform: none; text-align: left; padding: 12px 0 12px 18px; border-top: 1px solid var(--line); }
  .rail li::after { left: 0; right: auto; top: 20px; transform: none; }
  .rail b { font-size: 15px; white-space: normal; }
  .stack .leader { display: none; }
  .hero-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-links a { padding-block: 14px; }
  .numbers b { font-size: 2.8rem; }
  .grid.two, .quotes, .terms { grid-template-columns: minmax(0, 1fr); }
  .terms > div + div { border-left: 0; padding-left: 0; }
  .terms > div + div::before { left: 0; }
  .terms > div { border-top: 1px solid var(--line); }
  .work-item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .work-item img { width: 96px; }
  .work-item .go { display: none; }
  .work-item b { font-size: 1.15rem; }
  .product { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 18px; }
  .product .where { grid-column: auto; }
  .product > div:not(.tile) { padding-inline: 8px; }
  .product .where { padding-inline: 8px 0; padding-bottom: 8px; }
  .shot, .shot.w5, .shot.w7 { grid-column: span 12; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-base { flex-direction: column; }
  .mini-flow span { padding: 9px 8px; font-size: 11px; }
  .phones { height: 360px; }
  .photo-panel { min-height: 360px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ Inner pages, round two ============ */

/* Shared bits */
.row-sb { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sky) var(--fill, 50%), rgba(150, 185, 255, .2) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(150, 185, 255, .2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--sky); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); margin-top: -8px; box-shadow: 0 0 0 4px rgba(16, 172, 255, .18); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }

/* Build: business picker */
.pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pick button { font: 500 14px/1 var(--sans); color: #c9d3ec; background: rgba(150, 185, 255, .06); border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pick button:hover { border-color: rgba(160, 190, 255, .5); }
.pick button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-hero [data-tabs] .ui { max-width: none; margin: 0; min-height: 352px; }
.page-hero [data-tabs] .ui[hidden] { display: none; }
.member-card { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 12px; background: linear-gradient(120deg, #1071ff, #10acff); color: #fff; }
.member-card .ui-k { color: rgba(255, 255, 255, .75); }
.member-card .status.ok { background: rgba(255, 255, 255, .2); color: #fff; }
.stops { display: grid; gap: 12px; }
.stops div { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 42px; gap: 12px; align-items: center; font-size: 14px; }
.stops i { height: 8px; border-radius: 4px; background: rgba(150, 185, 255, .16); position: relative; overflow: hidden; }
.stops i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--f); border-radius: 4px; background: var(--sky); }
.stops div:first-child i::after { background: var(--yellow); }
.stops b { font: 12px var(--mono); color: var(--muted); text-align: right; }

/* Build: before / after */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); height: clamp(380px, 40vw, 470px); user-select: none; }
.ba-before, .ba-after { position: absolute; inset: 0; padding: clamp(18px, 3vw, 34px); }
.ba-before { background: #f3f3ee; color: #222; font-family: Calibri, "Segoe UI", Arial, sans-serif; }
.ba-after { background: linear-gradient(160deg, #0d2149, #0a1a38); clip-path: inset(0 0 0 var(--p)); }
.xl-top { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-bottom: 14px; color: #1f6e43; }
.xl-top em { font-style: normal; font-weight: 400; color: #b3261e; font-size: 13px; margin-left: auto; }
.xl-dot { width: 18px; height: 18px; border-radius: 4px; background: #1f6e43; }
.xl { display: grid; grid-template-columns: 34px repeat(5, minmax(0, 1fr)); border-left: 1px solid #c9c9c0; border-top: 1px solid #c9c9c0; font-size: 14px; }
.xl span { border-right: 1px solid #c9c9c0; border-bottom: 1px solid #c9c9c0; padding: 8px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; min-height: 38px; }
.xl .h { background: #e6e6df; color: #666; text-align: center; font-size: 12px; }
.xl .b { font-weight: 700; }
.xl .red { color: #c62828; font-weight: 700; }
.xl .hl { background: #fff59a; }
.app-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; padding-left: calc(50% + clamp(24px, 3.2vw, 48px)); }
.app-top b { font-weight: 500; font-size: 1.4rem; letter-spacing: -.02em; }
.app-top span { font: 13px var(--mono); color: var(--muted); }
.app-rows { display: grid; gap: 10px; padding-left: calc(50% + clamp(24px, 3.2vw, 48px)); }
.app-rows > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(150, 185, 255, .05); }
.app-rows .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); background: rgba(16, 113, 255, .3); color: #cfe3ff; flex: none; }
.app-rows > div > div { flex: 1; min-width: 0; }
.app-rows b { display: block; font-weight: 500; font-size: 15px; }
.app-rows small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 20px rgba(16, 172, 255, .8); }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--bg); display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-tag { outline: 2px solid var(--sky); }
.ba-tag { position: absolute; bottom: 14px; font: 12px/1 var(--mono); padding: 7px 10px; border-radius: 99px; pointer-events: none; }
.ba-tag.l { left: 14px; background: #222; color: #fff; }
.ba-tag.r { right: 14px; background: var(--blue); color: #fff; }

/* Build: roadmap */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; gap: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); opacity: .6; }
.road li { position: relative; padding: 0 22px 0 0; }
.road i { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); font: normal 600 14px var(--mono); color: #fff; margin-bottom: 22px; }
.road li.wide i { background: var(--blue); }
.road li.wide::after { content: "You try it as it's built"; position: absolute; top: 9px; left: 56px; font: 12px var(--mono); color: var(--sky); background: var(--bg); padding: 2px 8px; border: 1px solid rgba(16, 172, 255, .4); border-radius: 99px; white-space: nowrap; }
.road li:last-child i { border-color: var(--yellow); background: var(--yellow); color: #3a2c00; }
.road b { display: block; font-weight: 500; font-size: 1.12rem; margin-bottom: 8px; }
.road p { color: var(--muted); font-size: 15px; }
.side-quote { margin-top: 36px; }

/* Automate: hub */

/* Automate: calculator */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.calc { display: grid; gap: 18px; margin-top: 34px; }
.calc label { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 6px 16px; align-items: center; font-size: 15px; color: #d0d9ee; }
.calc label span { grid-column: 1 / -1; }
.calc output { font: 600 14px var(--mono); color: #fff; text-align: right; white-space: nowrap; }
.calc label:last-child { padding-top: 18px; border-top: 1px solid var(--line); }
.calc-out { padding: clamp(28px, 4vw, 44px); background: radial-gradient(400px 260px at 80% 0%, rgba(16, 172, 255, .18), transparent 70%), var(--panel); }
.big-n { font-weight: 300; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -.05em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.big-l { font-size: 1.2rem; color: #c3cde6; margin-top: 6px; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-split b { display: block; font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-split span { color: var(--muted); font-size: 14px; }
.hours-bar { margin-top: 22px; height: 10px; border-radius: 5px; background: rgba(150, 185, 255, .12); overflow: hidden; }
.hours-bar i { display: block; height: 100%; width: 20%; border-radius: 5px; background: linear-gradient(90deg, var(--sky), var(--yellow)); transition: width .3s; }

/* Automate: report */
.report-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.terms.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.terms.two-up > div { padding-top: 24px; padding-bottom: 28px; }
.terms.two-up > div:nth-child(3) { border-left: 0; padding-left: 0; }
.terms.two-up > div:nth-child(3)::before { left: 0; }
.terms.two-up > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpis b { display: block; font-weight: 500; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 13px; color: var(--muted); }

/* Products: bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.app-tile { grid-column: span 3; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; text-decoration: none; min-height: 520px; transition: transform .35s cubic-bezier(.2, .75, .2, 1); }
.app-tile:hover { transform: translateY(-4px); }
.app-tile.wide { grid-column: span 6; flex-direction: row; min-height: 440px; }
.app-copy { position: relative; z-index: 1; padding: clamp(26px, 3vw, 40px); max-width: 30em; }
.app-tile .kind { display: block; font: 12px var(--mono); opacity: .75; margin-bottom: 14px; }
.app-tile h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -.035em; margin-bottom: 14px; }
.app-tile p { font-size: 16px; opacity: .85; }
.app-tile .go { display: inline-block; margin-top: 18px; font-weight: 500; font-size: 15px; padding: 11px 16px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #10182a; }
.app-tile .go.soon { background: rgba(0, 0, 0, .08); color: inherit; }
.app-pic { margin-top: auto; width: 100%; object-fit: cover; }
.app-tile.wide .app-copy { flex: 0 0 40%; align-self: center; }
.app-tile.wide .app-pic { flex: 1; min-width: 0; height: auto; align-self: stretch; object-fit: cover; object-position: 60% 50%; }
.app-pic.square { width: 86%; margin: auto auto -10% 7%; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.app-phone { width: 46%; margin: auto auto -22% auto; border-radius: 26px; border: 6px solid rgba(0, 0, 0, .75); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); transform: rotate(-3deg); transition: transform .4s; }
.app-tile:hover .app-phone { transform: rotate(0) translateY(-10px); }
.app-icon { width: 120px; height: 120px; border-radius: 28px; margin: auto auto 40px clamp(26px, 3vw, 40px); box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .4); }
.t-settled { background: #f5efe3; color: #1b1b1b; }
.t-settled .go { background: #fc5502; color: #fff; }
.t-someday { background: #1d5799; color: #fff; }
.t-someday .go { background: #f2b632; color: #10243e; }
.t-dibs { background: #3f6b4c; color: #f4efe3; }
.t-psych { background: #f0533b; color: #fff; }
.t-extend { background: #dff3e9; color: #0f2a20; }
.t-extend .go { background: #0f2a20; color: #fff; }
.t-sections { background: #eef2fb; color: #071123; }
.t-sections .app-pic { width: 88%; margin: auto auto 0 auto; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px -10px rgba(7, 17, 35, .25); }

/* Products: shipped timeline */
.shipped { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative; }
.shipped::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: linear-gradient(90deg, var(--yellow), var(--sky) 70%, transparent); opacity: .6; }
.shipped li { position: relative; }
.shipped time { display: inline-block; font: 12px var(--mono); color: var(--yellow); background: var(--bg); padding: 0 10px 0 0; position: relative; margin-bottom: 18px; line-height: 56px; }
.shipped img, .shipped .tile-mini { display: block; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; margin-bottom: 16px; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .7); }
.shipped .tile-mini { overflow: hidden; }
.shipped .tile-mini img { width: 100%; height: auto; border-radius: 0; box-shadow: none; margin: 0; }
.shipped .tile-mini.dashed { border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--muted); font-size: 24px; box-shadow: none; }
.shipped b { display: block; font-weight: 500; margin-bottom: 4px; }
.shipped li > span:last-child { color: var(--muted); font-size: 14px; display: block; }
.shipped .next time { color: var(--muted); }

/* Work: filters + gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filters button { font: 500 14px/1 var(--sans); color: #c9d3ec; background: none; border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #0b1430; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-item { margin: 0; }
.g-item[hidden] { display: none; }
.g-item .frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #0b1a36; margin-bottom: 14px; }
.g-item.mock .frame { background: linear-gradient(160deg, #13306a, #0a1a38); }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.g-item.mock img { object-fit: contain; object-position: center bottom; padding: 14px 14px 0; }
.g-item:hover img { transform: scale(1.03); }
.g-item b { display: block; font-weight: 500; font-size: 1.1rem; }
.g-item span { color: var(--muted); font-size: 14px; }
.quote.feature { margin-bottom: 20px; padding: clamp(30px, 5vw, 60px); background: radial-gradient(500px 300px at 90% 0%, rgba(142, 155, 255, .18), transparent 70%), var(--panel); }
.quote.feature blockquote { font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.3; letter-spacing: -.02em; color: #fff; max-width: 34em; }
.wall { columns: 3 280px; column-gap: 20px; }
.wall .quote { break-inside: avoid; margin-bottom: 20px; }

/* About */
.letter-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promises > div { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.promises b { display: block; font-weight: 300; font-size: clamp(4rem, 7vw, 6rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 18px; background: linear-gradient(100deg, #fff, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promises h3 { margin-bottom: 10px; }
.promises p { color: var(--muted); font-size: 16px; }

/* Contact: note starter */
.starter { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.starter fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.starter legend { font-weight: 500; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.starter legend small { display: block; font: 12px var(--mono); color: var(--dim); margin-top: 4px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { font: 500 14px/1.25 var(--sans); color: #c9d3ec; background: rgba(150, 185, 255, .05); border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 14px; cursor: pointer; text-align: left; }
.choice button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: #04203a; }
.prompts-row button { border-radius: 12px; font-weight: 400; }
.starter textarea, .starter input[type="text"], .starter input[type="email"] { width: 100%; margin-top: 12px; background: #0b1a36; border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font: 16px/1.5 var(--sans); padding: 12px 14px; resize: vertical; }
.starter textarea:focus, .starter input[type="text"]:focus, .starter input[type="email"]:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(16, 172, 255, .2); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.two-fields label { font-weight: 500; font-size: 15px; }
.two-fields input { margin-top: 8px !important; }
.starter-out { position: sticky; top: 110px; }
.mail { overflow: hidden; }
.mail-head { border-bottom: 1px solid var(--line); }
.mail-head div { display: flex; gap: 14px; padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--line); }
.mail-head div:last-child { border-bottom: 0; }
.mail-head span { font: 12px var(--mono); color: var(--dim); width: 58px; flex: none; padding-top: 2px; }
.mail-head b { font-weight: 500; }
.mail-body { margin: 0; padding: 20px; font: 15px/1.6 var(--sans); color: #d6def0; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 220px; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; }

@media (max-width: 1100px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shipped { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .shipped::before { display: none; }
  .road { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .road li.wide::after { display: none; }
}
@media (max-width: 900px) {
  .calc-wrap, .report-split, .letter-split, .starter { grid-template-columns: minmax(0, 1fr); }
  .founder-photo, .starter-out { position: static; }
  .filters { justify-content: flex-start; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-tile, .app-tile.wide { grid-column: span 6; }
  .app-tile.wide { flex-direction: column; }
  .app-tile.wide .app-copy { flex: none; }
  .road { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .road::before { top: 0; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--blue), var(--sky)); }
  .road li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding: 0 0 26px; }
  .road i { grid-row: span 2; margin: 0; }
  .road b { padding-top: 8px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid.four, .gallery { grid-template-columns: minmax(0, 1fr); }
  .shipped { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba { height: auto; }
  .ba-before, .ba-after { position: relative; inset: auto; padding: 18px 14px 56px; clip-path: none; }
  .ba-line, .ba-range { display: none; }
  .ba-tag.r { left: 14px; right: auto; }
  .xl { grid-template-columns: 24px repeat(3, minmax(0, 1fr)); font-size: 13px; }
  .xl span:nth-child(6n+5), .xl span:nth-child(6n) { display: none; }
  .xl-top em { display: none; }
  .app-top, .app-rows { padding-left: 0; }
  .app-rows > div { padding: 10px; }
  .app-rows small { white-space: normal; }
  .app-tile { min-height: 460px; }
  .two-fields { grid-template-columns: minmax(0, 1fr); }
  .terms.two-up { grid-template-columns: minmax(0, 1fr); }
  .terms.two-up > div { border-left: 0 !important; padding-left: 0 !important; }
  .kpis b { font-size: 1.2rem; }
  .stops div { grid-template-columns: minmax(0, 1fr) 70px 38px; }
}
.t-settled .app-pic { object-position: 92% 50% !important; }

/* ============ Round three: Automate as the lead page, and quieter motion everywhere ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scroll reveal (added by site.js only to things below the fold, so nothing flashes) */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.2, .75, .2, 1), transform .8s cubic-bezier(.2, .75, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* Gentle lift on things you can point at */
.card, .quote, .promises > div, .g-item, .work-item, .division { transition: transform .4s cubic-bezier(.2, .75, .2, 1), border-color .4s, background .4s; }
.card:hover, .quote:hover, .promises > div:hover { transform: translateY(-3px); border-color: var(--line-2); }
.btn .arrow-r, .btn span[aria-hidden] { display: inline-block; transition: transform .25s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* Page heroes: the glow drifts very slowly */
.page-hero::before { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0 0, 0 0; transform: translate3d(0, 0, 0); } to { transform: translate3d(-2%, 1.5%, 0); } }

/* Hub: the core breathes, nodes light up in turn */

/* Tools strip */
.tools-strip { border-bottom: 1px solid var(--line); padding-block: 26px 30px; overflow: hidden; }
.tools-strip p { font: 12px var(--mono); color: var(--dim); margin-bottom: 16px; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee > div { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover > div { animation-play-state: paused; }
.marquee span { font-size: 1.15rem; color: #b9c5e3; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); margin-right: -28px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Journey: autoplay progress, and each screen builds itself */
.j-tabs button::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: rgba(16, 172, 255, .9); transform: scaleX(0); transform-origin: left; z-index: 1; }
.playing .j-tabs button[aria-selected="true"]::before { animation: fillbar var(--dwell, 7s) linear forwards; }
.playing.held .j-tabs button[aria-selected="true"]::before { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.j-panel:not([hidden]) > div:first-child > * { animation: rise .7s cubic-bezier(.2, .75, .2, 1) both; }
.j-panel:not([hidden]) > div:first-child > :nth-child(2) { animation-delay: .06s; }
.j-panel:not([hidden]) > div:first-child > :nth-child(3) { animation-delay: .12s; }
.j-panel:not([hidden]) > div:first-child > :nth-child(4) { animation-delay: .18s; }
.j-panel:not([hidden]) .ui { animation: rise .8s cubic-bezier(.2, .75, .2, 1) both; }
.j-panel:not([hidden]) .ui-body > * { animation: rise .6s cubic-bezier(.2, .75, .2, 1) both; }
.j-panel:not([hidden]) .ui-body > :nth-child(2) { animation-delay: .35s; }
.j-panel:not([hidden]) .ui-body > :nth-child(3) { animation-delay: .7s; }
.j-panel:not([hidden]) .ui-body > :nth-child(4) { animation-delay: 1.05s; }
.j-panel:not([hidden]) .ui-body > .bubble:nth-child(2) { animation-delay: 1.1s; }
.j-panel:not([hidden]) .ui-body > .bubble:nth-child(3) { animation-delay: 2.4s; }
.j-panel:not([hidden]) .rows > div { animation: rise .5s both; }
.j-panel:not([hidden]) .rows > div:nth-child(2) { animation-delay: .7s; }
.j-panel:not([hidden]) .rows > div:nth-child(3) { animation-delay: 1s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Home: the five-step chain */
.chain { display: block; text-decoration: none; padding: clamp(26px, 3.4vw, 44px); transition: border-color .4s; }
.chain:hover { border-color: var(--line-2); }
.chain ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.chain ol::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line-2); }
.chain ol::after { content: ""; position: absolute; left: 22px; top: 20px; width: 60px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--sky)); animation: chainrun 7.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes chainrun { 0% { left: 22px; opacity: 0; } 6% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 82px); opacity: 0; } }
.chain li { position: relative; z-index: 1; }
.chain i { font: normal 12px/1 var(--mono); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel); display: grid; place-items: center; margin-bottom: 20px; color: var(--muted); animation: chainlit 7.5s ease-in-out infinite; animation-delay: calc(var(--k) * 1.55s); }
.chain li:nth-child(1) { --k: 0; } .chain li:nth-child(2) { --k: 1; } .chain li:nth-child(3) { --k: 2; } .chain li:nth-child(4) { --k: 3; } .chain li:nth-child(5) { --k: 4; }
@keyframes chainlit { 0%, 22%, 100% { background: var(--panel); border-color: var(--line-2); color: var(--muted); } 6%, 14% { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 24px rgba(16, 113, 255, .5); } }
.chain b { display: block; font-weight: 500; font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.chain li span { color: var(--muted); font-size: 15px; }
.chain-go { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.chain-go .arrow { color: var(--ink); font-weight: 500; }
.chain:hover .arrow::after { transform: translateX(4px); }

/* Automate: live log */
.log-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.log-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.log-stats div { border-top: 1px solid var(--line); padding-top: 16px; }
.log-stats b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.log-stats span { color: var(--muted); font-size: 14px; }
.log .live { font: 11px/1 var(--mono); color: #8ff0bf; display: flex; align-items: center; gap: 7px; }
.log .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #50dc96; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.log-list { list-style: none; margin: 0; padding: 8px 18px; height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.log-list li { display: grid; grid-template-columns: 64px 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.log-list li.new { animation: logIn .7s cubic-bezier(.2, .75, .2, 1) both; }
.log-list li.new b { animation: flashin 2.4s ease-out; }
@keyframes logIn { from { opacity: 0; transform: translateY(-14px); } }
@keyframes flashin { from { color: #8fd6ff; } }
.log-list time { font: 12px var(--mono); color: var(--dim); white-space: nowrap; }
.log-list .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 12px var(--mono); background: rgba(16, 113, 255, .22); color: #9cc7ff; }
.log-list b { font-weight: 500; font-size: 15px; line-height: 1.35; transition: color 1s; }
.log-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font: 11px var(--mono); color: var(--dim); }
.log-foot .sample { padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 99px; }

/* Automate: FAQ beside its heading */
.faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

@media (max-width: 900px) {
  .log-split, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .chain ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chain ol::before { left: 22px; right: auto; top: 22px; bottom: 62px; width: 1px; height: auto; }
  .chain ol::after { display: none; }
  .chain li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-bottom: 18px; }
  .chain i { margin: 0; grid-row: span 2; }
  .chain b { align-self: end; }
}
@media (max-width: 640px) {
  .log-list { padding-inline: 14px; }
  .log-list li { grid-template-columns: 30px minmax(0, 1fr); row-gap: 4px; }
  .log-list li time { grid-column: 2; grid-row: 1; }
  .log-list li .ic { grid-row: span 3; align-self: start; }
  .log-list li b { grid-column: 2; }
  .log-list li .status { grid-column: 2; justify-self: start; }
  .log-list { height: 430px; }
  .log-stats b { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .marquee > div { flex-wrap: wrap; width: auto; }
  .marquee span:nth-child(n+17) { display: none; }
}
.page-hero::before { inset: -4%; }


/* ============ Automate hero: tools on the isometric floor, with work flowing through the core ============ */
.hub-wrap { width: 100%; max-width: 640px; margin-left: auto; }
.hub-scene { position: relative; }
.hubx { display: block; width: 100%; height: auto; overflow: visible; }
.hubx .h-floor path { stroke: rgba(150, 185, 255, .07); stroke-width: 1; fill: none; }
.hubx .h-ring { fill: none; stroke: rgba(160, 190, 255, .16); stroke-width: 1; stroke-dasharray: 3 6; }
.hubx .h-pool { animation: poolglow 6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes poolglow { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.hubx .tr { fill: none; stroke: rgba(120, 170, 255, .3); stroke-width: 1.4; stroke-linecap: round; transition: stroke .6s, stroke-width .6s; }
.hubx .tr.on { stroke: rgba(16, 172, 255, .55); stroke-width: 1.8; }
.hubx .pk-glow { fill: none; stroke: #10acff; stroke-width: 7; stroke-linecap: round; opacity: .22; }
.hubx .pk-line { fill: none; stroke: #9fdcff; stroke-width: 2.2; stroke-linecap: round; }
.hubx .pk-head { fill: var(--yellow); }
.hubx .pk-halo { fill: var(--yellow); opacity: .25; }
.hubx .faint .pk-line { stroke: #6fb6ff; opacity: .55; stroke-width: 1.6; }
.hubx .faint .pk-glow { opacity: .1; }
.hubx .faint .pk-head { fill: #9fd0ff; }

.hubx .tile { cursor: default; }
.hubx .tl-shadow { fill: rgba(0, 0, 0, .35); transition: opacity .6s, transform .6s; transform-box: fill-box; transform-origin: center; }
.hubx .tl-lift { transition: transform .7s cubic-bezier(.2, .75, .2, 1); }
.hubx .tl-sd { fill: url(#h-side); transition: fill .5s; }
.hubx .tl-tp { fill: #0d1f43; stroke: rgba(110, 170, 255, .55); stroke-width: 1.1; transition: fill .5s, stroke .5s; }
.hubx .tl-g { font: 600 19px var(--mono); fill: rgba(150, 190, 255, .75); text-anchor: middle; transition: fill .5s; }
.hubx .tile.on .tl-lift { transform: translateY(-12px); }
.hubx .tile.on .tl-shadow { opacity: .55; transform: scale(.86); }
.hubx .tile.on .tl-sd { fill: url(#h-side-on); }
.hubx .tile.on .tl-tp { fill: url(#h-top-on); stroke: rgba(190, 225, 255, .9); }
.hubx .tile.on .tl-g { fill: #fff; }
.hubx .tile[data-k="ai"] .tl-tp { stroke: rgba(16, 172, 255, .9); }
.hubx .tile[data-k="ai"] .tl-g { fill: #8fd6ff; }

.hubx .h-bob { animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(2px); } to { transform: translateY(-6px); } }
.hubx .c-base .c-sd { fill: url(#h-side); }
.hubx .c-base .c-tp { fill: #0d1f43; stroke: rgba(110, 170, 255, .55); stroke-width: 1.2; }
.hubx .c-lit .c-sd { fill: url(#h-core-side); }
.hubx .c-lit .c-tp { fill: url(#h-top-on); stroke: rgba(190, 225, 255, .9); stroke-width: 1.2; }
.hubx .h-burst { fill: none; stroke: rgba(16, 172, 255, .8); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }

.h-label { position: absolute; transform: translate(-50%, -100%); font: 12px/1 var(--mono); color: #c7d4f0; background: rgba(7, 17, 35, .82); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 99px; white-space: nowrap; pointer-events: none; transition: color .5s, border-color .5s, background .5s, transform .7s cubic-bezier(.2, .75, .2, 1); }
.h-label.on { color: #fff; border-color: var(--sky); background: rgba(16, 113, 255, .35); transform: translate(-50%, calc(-100% - 12px)); }
.h-label[data-k="ai"] { color: #8fd6ff; border-color: rgba(16, 172, 255, .6); }

.hub-cap { display: flex; gap: 14px; align-items: baseline; justify-content: center; margin-top: 18px; min-height: 2.6em; font-size: 15px; color: #c3cde6; text-align: left; }
.hub-cap time { font: 12px var(--mono); color: var(--sky); white-space: nowrap; }
.hub-cap.swap span, .hub-cap.swap time { animation: capIn .6s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 900px) { .hub-wrap { margin-inline: auto; } }
@media (max-width: 640px) {
  .h-label { font-size: 10px; padding: 4px 6px; }
  .hub-cap { font-size: 14px; justify-content: flex-start; }
}

/* ============ Build and Products heroes (same floor and tiles as the Automate hub) ============ */
.iso-scene { position: relative; }
.hubx .h-floor path { stroke: rgba(150, 185, 255, .07); }

/* Build: a screen in 3D that gets planned, assembled and used */
.buildx .p-sd { fill: url(#h-plate-side); }
.buildx .p-tp { fill: #0b1a38; stroke: rgba(110, 170, 255, .45); stroke-width: 1.2; }
.buildx .b-burst { fill: none; stroke: rgba(16, 172, 255, .7); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.b-toast { position: absolute; transform: translate(-50%, -50%) scale(.9); display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 12px; background: rgba(11, 26, 54, .92); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); font-size: 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .4s, transform .6s cubic-bezier(.3, 1.4, .45, 1); }
.b-toast.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.b-toast i { width: 8px; height: 8px; border-radius: 50%; background: #50dc96; box-shadow: 0 0 0 4px rgba(80, 220, 150, .2); }
@media (max-width: 640px) { .b-toast { font-size: 12px; padding: 7px 10px; } }

/* Products: the line, the station in the middle, and the apps riding it */
.prodx .p-sd { fill: url(#h-plate-side); }
.prodx .p-tp { fill: #0a1834; stroke: rgba(110, 170, 255, .35); stroke-width: 1; }
.prodx .p-slats path { stroke: rgba(150, 185, 255, .13); stroke-width: 1.4; }
.prodx .p-rail { stroke: rgba(150, 185, 255, .25); stroke-width: 1; fill: none; }
.prodx .p-station { fill: rgba(16, 113, 255, .12); stroke: rgba(16, 172, 255, .55); stroke-width: 1.2; stroke-dasharray: 5 5; }
.prodx .p-burst { fill: none; stroke: rgba(255, 216, 58, .85); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.prodx .p-edge { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.prodx .p-word { font: 700 22px var(--sans); fill: #fff; text-anchor: middle; letter-spacing: -.02em; }
.prodx .p-soon { fill: #0d1f43; stroke-dasharray: 5 4; }
.prodx .p-ghost { fill: none; stroke: rgba(150, 190, 255, .35); stroke-dasharray: 4 4; }
.prodx .p-item .tl-lift { transition: transform .8s cubic-bezier(.2, .75, .2, 1); }
.prodx .p-item.on .tl-lift { transform: translateY(-40px); }
.prodx .p-item.on .tl-shadow { opacity: .5; transform: scale(.78); }
.prodx .p-item.on .tl-sd { fill: url(#h-side-on); }

.p-label { position: absolute; transform: translate(-50%, -100%); text-align: center; pointer-events: none; opacity: 0; transition: opacity .5s, transform .7s cubic-bezier(.2, .75, .2, 1); }
.p-label.on { opacity: 1; transform: translate(-50%, calc(-100% - 8px)); }
.p-label b { display: block; font-weight: 500; font-size: 17px; white-space: nowrap; }
.p-label span { font: 11px var(--mono); color: var(--sky); }

/* Build: the example picker, now below the hero */

/* Products: the plain list of apps */
.app-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; grid-auto-rows: 1fr; }
.app-list li { display: grid; }
.app-list li > * { min-height: 100%; }
.app-list li { border-bottom: 1px solid var(--line); }
.app-list a, .app-list .al-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 190px 40px; gap: 24px; align-items: center; padding: 22px 8px; text-decoration: none; color: inherit; position: relative; isolation: isolate; }
/* hover: a soft band that fades out at both ends instead of a hard-edged box */
.app-list a::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * min(48px, var(--gutter))); background: linear-gradient(90deg, transparent, rgba(150, 185, 255, .07) 22%, rgba(150, 185, 255, .07) 78%, transparent); opacity: 0; transition: opacity .35s; pointer-events: none; }
.app-list a:hover::before, .app-list a:focus-visible::before { opacity: 1; }
.al-icon { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; display: block; }
.al-ghost { border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--muted); font-size: 24px; font-weight: 300; }
.al-copy b { display: block; font-weight: 500; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 4px; }
.al-copy span { color: var(--muted); font-size: 15px; }
.al-kind { font: 13px var(--mono); color: #c7d4f0; }
.al-kind small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px; }
.al-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: background .25s, color .25s, transform .25s; }
.app-list a:hover .al-go { background: var(--yellow); border-color: var(--yellow); color: #071123; transform: translate(2px, -2px); }
.app-list .soon .al-go { border: 0; }
.app-list .soon .al-kind small { color: var(--yellow); }

@media (max-width: 640px) {
  .app-list a, .app-list .al-row { grid-template-columns: 52px minmax(0, 1fr) 32px; gap: 14px; padding: 18px 0; align-items: start; }
  .al-icon { width: 52px; height: 52px; border-radius: 13px; }
  .al-kind { grid-column: 2; grid-row: 2; }
  .al-go { grid-column: 3; grid-row: 1; width: 32px; height: 32px; }
  .p-label b { font-size: 14px; }
}

/* Automate hub: each tool lights up in its own colour */
.hubx .tile[data-k="web"].on .tl-tp { fill: url(#hc-top-web); }
.hubx .tile[data-k="web"].on .tl-sd { fill: url(#hc-side-web); }
.hubx .tile[data-k="shop"].on .tl-tp { fill: url(#hc-top-shop); }
.hubx .tile[data-k="shop"].on .tl-sd { fill: url(#hc-side-shop); }
.hubx .tile[data-k="qb"].on .tl-tp { fill: url(#hc-top-qb); }
.hubx .tile[data-k="qb"].on .tl-sd { fill: url(#hc-side-qb); }
.hubx .tile[data-k="pay"].on .tl-tp { fill: url(#hc-top-pay); }
.hubx .tile[data-k="pay"].on .tl-sd { fill: url(#hc-side-pay); }
.hubx .tile[data-k="sms"].on .tl-tp { fill: url(#hc-top-sms); }
.hubx .tile[data-k="sms"].on .tl-sd { fill: url(#hc-side-sms); }
.hubx .tile[data-k="crm"].on .tl-tp { fill: url(#hc-top-crm); }
.hubx .tile[data-k="crm"].on .tl-sd { fill: url(#hc-side-crm); }
.hubx .tile[data-k="email"].on .tl-tp { fill: url(#hc-top-email); }
.hubx .tile[data-k="email"].on .tl-sd { fill: url(#hc-side-email); }
.hubx .tile[data-k="ai"].on .tl-tp { fill: url(#hc-top-ai); }
.hubx .tile[data-k="ai"].on .tl-sd { fill: url(#hc-side-ai); }
.hubx .tile[data-k="cal"].on .tl-tp { fill: url(#hc-top-cal); }
.hubx .tile[data-k="cal"].on .tl-sd { fill: url(#hc-side-cal); }
.hubx .tile[data-k="pay"].on .tl-g { fill: #3a2a00; }
.h-label.on[data-k="web"] { border-color: #10acff; background: color-mix(in srgb, #10acff 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="shop"] { border-color: #4fd68a; background: color-mix(in srgb, #4fd68a 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="qb"] { border-color: #3fd6c6; background: color-mix(in srgb, #3fd6c6 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="pay"] { border-color: #ffd83a; background: color-mix(in srgb, #ffd83a 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="sms"] { border-color: #b98bff; background: color-mix(in srgb, #b98bff 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="crm"] { border-color: #ff8a4c; background: color-mix(in srgb, #ff8a4c 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="email"] { border-color: #ff6fa0; background: color-mix(in srgb, #ff6fa0 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="ai"] { border-color: #10acff; background: color-mix(in srgb, #10acff 30%, rgba(7, 17, 35, .9)); }
.h-label.on[data-k="cal"] { border-color: #8e9bff; background: color-mix(in srgb, #8e9bff 30%, rgba(7, 17, 35, .9)); }

/* Build: a client build we can show */
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); align-items: center; overflow: hidden; }
.case-copy h2 { margin-bottom: 18px; }
.case-copy .muted { max-width: 34em; }
.case-facts { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.case-facts li { border-top: 1px solid var(--line); padding-top: 14px; }
.case-facts b { display: block; font-weight: 500; margin-bottom: 4px; }
.case-facts span { color: var(--muted); font-size: 15px; }
.case-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.case-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(16, 113, 255, .4), transparent 75%); }
.case-art::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.case-icon { position: relative; z-index: 1; width: min(190px, 52%); border-radius: 26%; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); animation: bob 5s ease-in-out infinite alternate; }
.case-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); padding: 9px 12px; border-radius: 99px; background: rgba(11, 26, 54, .92); border: 1px solid var(--line-2); white-space: nowrap; }
.case-chip i { width: 8px; height: 8px; border-radius: 50%; background: #50dc96; box-shadow: 0 0 0 4px rgba(80, 220, 150, .2); }
.case-chip.c1 { top: 14%; left: 2%; }
.case-chip.c2 { bottom: 14%; right: 2%; color: var(--yellow); }
@media (max-width: 900px) {
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-art { min-height: 280px; order: -1; }
}
@media (max-width: 640px) { .case-facts { grid-template-columns: minmax(0, 1fr); } }

/* Automate hub: the Shopify key, and the sales that pop off it */
.hubx .tile[data-k="shop"] .tl-lift { transition: transform .75s cubic-bezier(.3, 1.7, .45, 1); }
.hubx .tile[data-k="shop"].on .tl-lift { transform: translateY(-30px); }
.hubx .tile[data-k="shop"].on .tl-shadow { transform: scale(.7); opacity: .45; }
.hubx .tile[data-k="shop"].on .tl-tp { stroke: #9bd65f; stroke-width: 2; }
.h-label.on[data-k="shop"] { transform: translate(-50%, calc(-100% - 30px)); transition: color .5s, border-color .5s, background .5s, transform .75s cubic-bezier(.3, 1.7, .45, 1); }
.h-sale { position: absolute; z-index: 3; transform: translate(-50%, -100%); font: 600 13px/1 var(--sans); color: #0d2a06; background: #9bd65f; padding: 7px 10px; border-radius: 99px; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 24px -10px rgba(80, 200, 60, .8); }
.h-sale small { font: 500 11px var(--mono); margin-left: 6px; opacity: .7; }
.h-sale-ring { fill: none; stroke: #9bd65f; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (max-width: 640px) { .h-sale { font-size: 10px; padding: 5px 7px; } }

/* Automate leads (owner, 2026-12-02) */
.division.lead { border-color: color-mix(in srgb, var(--automate) 45%, var(--line)); background: radial-gradient(420px 260px at 50% 0%, color-mix(in srgb, var(--automate) 10%, transparent), transparent 70%), var(--panel); }
.division.lead::before { width: 64px; }
.division h3 .start { font: 500 12px var(--mono); font-style: normal; color: var(--automate); border: 1px solid color-mix(in srgb, var(--automate) 50%, transparent); border-radius: 99px; padding: 3px 9px; vertical-align: middle; margin-left: 8px; letter-spacing: 0; white-space: nowrap; }

/* Build portfolio (owner, 2026-12-02): client work as cards, three across; add new projects as another .pf-card */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pf-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .3s, transform .4s cubic-bezier(.2, .75, .2, 1); }
.pf-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pf-art { position: relative; height: 300px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(closest-side, rgba(16, 113, 255, .32), transparent 80%); }
.pf-art .pf-icon { position: absolute; z-index: 2; width: 54px; right: 6%; top: 7%; border-radius: 22%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.pf-art.phones { display: flex; align-items: flex-start; justify-content: center; padding-top: 28px; background: radial-gradient(120% 90% at 50% 10%, #ffe68c, #f4c94a 70%, #e9b734); }
.pf-art .phone { position: relative; z-index: 1; flex: none; width: 40%; border-radius: 18px; border: 4px solid #241414; background: #241414; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.pf-art .p1 { margin-right: -15%; transform: translateY(46px) rotate(-7deg); }
.pf-art .p3 { margin-left: -15%; transform: translateY(46px) rotate(7deg); }
.pf-art .p2 { z-index: 2; width: 46%; animation: bob 5s ease-in-out infinite alternate; }
.pf-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.pf-kind { font: 12px var(--mono); color: var(--muted); margin-bottom: 10px; }
.pf-body h3 { font-size: 1.55rem; margin-bottom: 12px; letter-spacing: -.02em; }
.pf-body .muted { font-size: 15px; }
.pf-facts { list-style: none; margin: 18px 0 22px; padding: 0; font-size: 14.5px; color: #c3cde6; }
.pf-facts li { padding: 9px 0 9px 20px; border-top: 1px solid var(--line); position: relative; }
.pf-facts li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--build); }
.pf-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.pf-chip { display: inline-flex; align-items: center; gap: 8px; font: 12px/1 var(--mono); padding: 8px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pf-chip.live { color: #dff7ea; }
.pf-chip.live i { width: 7px; height: 7px; border-radius: 50%; background: #50dc96; box-shadow: 0 0 0 4px rgba(80, 220, 150, .2); }
.pf-chip.soon { color: var(--yellow); }
.pf-next { border: 1px dashed var(--line-2); border-radius: var(--radius, 18px); background: transparent; }
.pf-plus { width: 92px; height: 92px; border-radius: 26px; border: 1.5px dashed rgba(16, 172, 255, .6); position: relative; transition: transform .5s cubic-bezier(.3, 1.5, .45, 1), border-color .3s; }
.pf-plus::before, .pf-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 2px; background: var(--sky); transform: translate(-50%, -50%); border-radius: 2px; }
.pf-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.pf-next:hover .pf-plus { transform: rotate(90deg) scale(1.06); border-color: var(--sky); }
@media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } .pf-art { height: 260px; } }
@media (prefers-reduced-motion: reduce) { .pf-art .p2 { animation: none; } .pf-card:hover { transform: none; } }

/* Page-to-page transitions (owner, 2026-12-02): the header stays put, the page fades and rises in.
   Cross-document view transitions; browsers without them just load the page as before. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation: none; z-index: 2; }
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
  ::view-transition-old(site-header) { display: none; }
  ::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: vt-in .62s cubic-bezier(.2, .75, .2, 1) .06s both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.99); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }
}

/* Build hero, third version: blocks drop onto a plate, get wired up, and ship */
.bx .bx-grid path { stroke: rgba(110, 170, 255, .14); stroke-width: 1; stroke-dasharray: 3 5; }
.bx .bx-plan, .bx .bx-shs, .bx .bx-proj, .bx .bx-arcs { display: none; }
.bx .cur { display: inline; }
.bx .bx-fp { fill: rgba(16, 113, 255, .06); stroke: rgba(16, 172, 255, .6); stroke-width: 1.2; stroke-dasharray: 6 5; }
.bx .bx-sh { fill: rgba(0, 0, 0, .38); }
.bx .m-tp { stroke: rgba(255, 255, 255, .4); stroke-width: 1; }
.bx .bx-m[data-c="blue"] .m-tp { fill: url(#bc-t-blue); } .bx .bx-m[data-c="blue"] .m-sd { fill: url(#bc-s-blue); }
.bx .bx-m[data-c="sky"] .m-tp { fill: url(#bc-t-sky); } .bx .bx-m[data-c="sky"] .m-sd { fill: url(#bc-s-sky); }
.bx .bx-m[data-c="violet"] .m-tp { fill: url(#bc-t-violet); } .bx .bx-m[data-c="violet"] .m-sd { fill: url(#bc-s-violet); }
.bx .bx-m[data-c="yellow"] .m-tp { fill: url(#bc-t-yellow); } .bx .bx-m[data-c="yellow"] .m-sd { fill: url(#bc-s-yellow); }
.bx .bx-m[data-c="green"] .m-tp { fill: url(#bc-t-green); } .bx .bx-m[data-c="green"] .m-sd { fill: url(#bc-s-green); }
.bx .bx-m[data-c="coral"] .m-tp { fill: url(#bc-t-coral); } .bx .bx-m[data-c="coral"] .m-sd { fill: url(#bc-s-coral); }
.bx .bx-l { font: 600 14px var(--mono); text-anchor: middle; fill: #fff; letter-spacing: .01em; }
.bx .bx-m[data-c="sky"] .bx-l { fill: #04223a; } .bx .bx-m[data-c="yellow"] .bx-l { fill: #3a2a00; } .bx .bx-m[data-c="green"] .bx-l { fill: #06301b; }
.bx .bl { fill: url(#b-bar-l); } .bx .br { fill: url(#b-bar-r); } .bx .bt { fill: var(--yellow); }
.bx .bx-arc { fill: none; stroke: rgba(160, 215, 255, .35); stroke-width: 1.4; }
.bx .bx-flow { fill: none; stroke: #9fdcff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 12; animation: bx-flow 1.1s linear infinite; filter: drop-shadow(0 0 3px rgba(16, 172, 255, .9)); }
@keyframes bx-flow { to { stroke-dashoffset: -14; } }
.bx .bx-node { fill: #dff3ff; stroke: rgba(16, 172, 255, .7); stroke-width: 3; }
.bx .bx-node.core { fill: var(--yellow); stroke: rgba(255, 216, 58, .35); stroke-width: 5; }
.bx .b-burst { stroke: rgba(255, 216, 58, .8); }
@media (prefers-reduced-motion: reduce) { .bx .bx-flow { animation: none; } }

/* Dibs and Psychiatrist icons: the same coloured tile with the word as on the Products belt (.p-word) */
.word-tile { display: grid; place-items: center; overflow: hidden; }
.word-tile .app-word { font: 700 18px/1 var(--sans); color: #fff; letter-spacing: -.02em; }
.mini-apps .word-tile .app-word { font-size: 19px; }
@media (max-width: 640px) { .al-icon.word-tile .app-word { font-size: 15px; } }

/* Every hero's label and heading start at the same height on every page (owner, 2026-12-02): the text column sits at
   the top of the hero instead of centring against pictures of different heights; the picture still centres beside it. */
.hero-grid > :first-child, .page-hero .inner > :first-child { align-self: start; }

/* Work hero: a field of tiles, one per website launched; client cards rise out of the middle (work_svg in build.py) */
.workx .h-floor path { stroke: rgba(142, 155, 255, .06); }
.workx .w-sd { fill: url(#w-side); transition: fill .45s; }
.workx .w-tp { fill: #10173c; stroke: rgba(142, 155, 255, .16); stroke-width: 1; transition: fill .45s, stroke .45s; }
.workx .w-t.lit .w-tp { fill: #262c6e; stroke: rgba(160, 170, 255, .5); }
.workx .w-lift { transition: transform .55s cubic-bezier(.2, .75, .2, 1); }
.workx .w-t.pop .w-lift { transform: translateY(-9px); }
.workx .w-t.pop .w-tp { fill: url(#w-top-on); stroke: rgba(255, 255, 255, .85); }
.workx .w-t.pop .w-sd { fill: url(#w-side-on); }
.workx .w-csd { fill: url(#w-cside); }
.workx .w-ctp { fill: #0d1640; stroke: rgba(170, 180, 255, .6); stroke-width: 1.2; }
.workx .w-ph { fill: #1a2160; }
.workx .w-edge { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.workx .w-shadow { fill: rgba(3, 6, 20, .32); opacity: 0; transform-box: fill-box; transform-origin: center; }
.workx .w-burst { fill: none; stroke: rgba(170, 180, 255, .8); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.workx .w-card { opacity: 0; }
.w-label span { color: var(--violet); }
@media (max-width: 900px) { .work-scene { margin-top: 36px; } }

/* About: plain framed photos, no tilts or stickers (owner found the collage too playful, 2026-12-02) */
.about-photo, .founder-photo { margin: 0; }
.about-photo img, .founder-photo img { display: block; width: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line-2); background: #13213d; }
.about-photo img { aspect-ratio: 4 / 3; }
.about-photo + .hub-cap { justify-content: flex-start; }
.founder-photo { max-width: 460px; }
@media (min-width: 901px) { .founder-photo { position: sticky; top: 120px; } }
.founder-photo img { aspect-ratio: 4 / 5; border: 0; background: none; border-radius: 0 0 var(--radius) var(--radius); }
.founder-photo figcaption { margin-top: 12px; font: 12px var(--mono); color: var(--muted); }

/* Gradient text is painted only inside the element's box, so leave room under the line for g, y, p and $ to drop into */
.hero h1 .second { padding-bottom: .2em; margin-bottom: -.2em; }
.promises b { padding-bottom: .2em; margin-bottom: calc(18px - .2em); }
/* Build sample portal: on phones the progress steps size to their words, so "Foundation" isn't cut to "Foundat…" */
@media (max-width: 640px) { .progress { grid-template-columns: repeat(5, auto); gap: 4px; } }

/* Portfolio: a screenshot that fills the whole picture area; the "add your own" card runs along the bottom */
.pf-art.fill { background: #eef0f3; }
.pf-art.fill .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.pf-art.ea .cover { object-position: 50% 45%; transform: scale(1.14); transition: transform .8s cubic-bezier(.2, .75, .2, 1); }
.pf-card:hover .pf-art.ea .cover { transform: scale(1.18); }
.pf-art.ea { background: #d9d3fb; }
.pf-next { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 36px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); }
.pf-next .pf-plus { flex: none; width: 76px; height: 76px; border-radius: 22px; }
.pf-next-copy { flex: 1; }
.pf-next-copy h3 { font-size: 1.55rem; margin-bottom: 8px; letter-spacing: -.02em; }
.pf-next-copy .pf-kind { margin-bottom: 8px; }
.pf-next-copy .muted { font-size: 15px; max-width: 46em; }
.pf-next > .arrow { flex: none; }
@media (max-width: 700px) { .pf-next { flex-direction: column; align-items: flex-start; } .pf-next .pf-plus { width: 60px; height: 60px; border-radius: 18px; } }
@media (min-width: 701px) and (max-width: 1100px) {
  .pf-grid > .pf-card:nth-child(3):not(.pf-next) { grid-column: 1 / -1; flex-direction: row; }
  .pf-grid > .pf-card:nth-child(3):not(.pf-next) .pf-art { flex: 0 0 50%; height: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
}

/* "Start here" as the Contact page itself: the note writer is the hero (owner, 2026-12-02) */
.page-hero .inner.starter { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; }
.page-contact .starter-out { padding-top: 6px; }
.talk-direct { margin-top: 22px; font-size: 14px; color: var(--muted); }
.talk-direct a { color: #c9d3ec; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.talk-direct a:hover { color: var(--ink); border-color: var(--sky); }
@media (max-width: 900px) { .page-hero .inner.starter { grid-template-columns: minmax(0, 1fr); } }

/* "Let's talk" pop-up: the same note writer, over whatever page you're on */
.talk { width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; margin: auto; border: 1px solid var(--line-2); border-radius: 20px; background: #0a1530; color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
.talk::backdrop { background: rgba(3, 8, 20, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html:has(.talk[open]), html:has(.tchat[open]) { overflow: hidden; }
.talk-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px clamp(22px, 4vw, 44px); background: rgba(10, 21, 48, .94); border-bottom: 1px solid var(--line); }
.talk-bar > span { font: 12px var(--mono); color: var(--sky); display: flex; align-items: center; gap: 10px; }
.talk-bar > span::before { content: ""; width: 22px; height: 1px; background: var(--sky); }
.talk-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(150, 185, 255, .05); cursor: pointer; position: relative; transition: background .2s, border-color .2s; }
.talk-close:hover { background: rgba(150, 185, 255, .12); border-color: var(--sky); }
.talk-close span::before, .talk-close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.talk-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.talk .starter { padding: clamp(22px, 4vw, 44px); padding-top: clamp(20px, 3vw, 34px); gap: clamp(28px, 4vw, 56px); }
.talk h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.talk .talk-lede { margin: 12px 0 26px; }
.talk .starter-out { top: 84px; }
.talk .mail-body { min-height: 180px; }
@media (max-width: 640px) { .talk { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .talk[open] { animation: talkIn .45s cubic-bezier(.2, .75, .2, 1); }
  .talk[open]::backdrop { animation: talkFade .3s ease-out; }
}
@keyframes talkIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes talkFade { from { opacity: 0; } }

/* Note writer: "Start over" (shown once something is filled in; the note is saved on the device) */
.st-reset { margin-top: 6px; padding: 0; background: none; border: 0; font: 13px var(--sans); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.st-reset:hover { color: var(--ink); }

/* FAQ answers slide open and shut (site.js); the + turns back as soon as one starts closing */
.faq details.shutting summary::after { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open]:not(.shutting) > :not(summary) { animation: faqIn .45s cubic-bezier(.2, .75, .2, 1) both; }
  .faq details.shutting > :not(summary) { opacity: 0; transition: opacity .2s; }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* "What we build / automate" cards: an icon tile in the division colour, number tucked top right, soft glow */
.card.feat { position: relative; overflow: hidden; }
.card.feat::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 60%); opacity: .8; transition: opacity .4s; }
.card.feat:hover::before { opacity: 1; }
.card.feat > * { position: relative; }
.card.feat .n { position: absolute; top: clamp(24px, 2.6vw, 32px); right: clamp(24px, 2.6vw, 32px); margin: 0; color: var(--muted); }
.c-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 14px; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 70%, #071123));
  box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--c) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .4s cubic-bezier(.2, .75, .2, 1), box-shadow .4s; }
.c-ic svg { width: 26px; height: 26px; }
.card.feat:hover .c-ic { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 14px 34px -8px color-mix(in srgb, var(--c) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28); }
.card.feat h3 { font-size: 1.3rem; }

/* "Book a call": a quiet link under the note, and Brian's Cal.com calendar swapped in place of the note (site.js) */
.talk-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.book-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(16, 113, 255, .1); color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: border-color .3s, background .3s; }
.book-link svg { width: 17px; height: 17px; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; }
.book-link:hover { border-color: var(--sky); background: rgba(16, 113, 255, .18); }
.booker { grid-column: 1 / -1; min-width: 0; }
.book-back { padding: 0; margin-bottom: 18px; background: none; border: 0; color: var(--muted); font: 14px var(--sans); cursor: pointer; }
.book-back:hover { color: var(--ink); }
.booker h2 { margin-bottom: 10px; }
.book-lede { max-width: 40em; margin-bottom: 26px; }
.cal-box { min-height: 560px; width: 100%; overflow: auto; border-radius: 16px; }
.cal-wait { padding: 40px 0; color: var(--dim); font: 13px var(--mono); }
.cal-box iframe ~ .cal-wait, .cal-box:has(iframe) .cal-wait { display: none; }

/* About team: the photo under the pointer lifts, with a blue glow behind it that follows the pointer (site.js sets
   .on and moves .team-glow, which sits under every photo so it never covers a neighbour). The photos themselves are never filtered, tinted or scaled. */
.team { position: relative; isolation: isolate; }
.team > div { position: relative; z-index: 1; }
.team-glow { position: absolute; z-index: 0; left: 0; top: 0; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(16, 113, 255, .5), rgba(16, 172, 255, .18) 45%, transparent 70%); filter: blur(24px);
  opacity: 0; transition: opacity .45s, transform .35s cubic-bezier(.2, .75, .2, 1); }
.team-glow.on { opacity: 1; }
.tm-photo { position: relative; display: block; margin-bottom: 12px; border-radius: 14px; transition: transform .45s cubic-bezier(.2, .75, .2, 1), box-shadow .45s; }
.team > div.on .tm-photo { transform: translateY(-12px); box-shadow: 0 26px 44px -20px rgba(3, 8, 24, .9); }
.team > div > b, .team > div > span:not(.tm-photo) { transition: transform .45s cubic-bezier(.2, .75, .2, 1), color .3s; }
.team span { display: block; }
.team > div.on > b, .team > div.on > span:not(.tm-photo) { transform: translateY(-4px); }
.team > div.on > span:not(.tm-photo) { color: var(--sky); }
@media (hover: none) { .team > div:active .tm-photo { transform: translateY(-6px); transition-duration: .15s; } }
@media (prefers-reduced-motion: reduce) { .tm-photo, .team > div > b, .team > div > span, .team-glow { transition: none; } }

/* About team: click a photo to "text" BrandStack about that person. The question sends, BrandStack types, and the
   answer slides in a bubble at a time (site.js, words in #team-notes on the About page). */
.team > div[data-who] { cursor: pointer; }
.team > div[data-who]:focus-visible { outline: 2px solid var(--sky); outline-offset: 8px; border-radius: 16px; }
.team-glow { scale: .5; transition: opacity .6s ease, scale .8s cubic-bezier(.2, .75, .2, 1), transform .4s cubic-bezier(.2, .75, .2, 1); }
.team-glow.on { scale: 1; }
.tm-photo { transition-duration: .6s; }
.tchat { width: min(460px, calc(100% - 32px)); max-width: none; height: 100dvh; max-height: none; padding: 0; margin: 0 auto; border: 0; background: none; color: var(--ink); overflow: visible; }
.tchat[open] { display: flex; flex-direction: column; }
.tchat::backdrop { background: rgba(3, 8, 20, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tchat-x { position: fixed; top: max(18px, env(safe-area-inset-top)); right: 18px; z-index: 2; }
.tchat-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: max(11vh, 80px) 0 max(8vh, 40px); display: flex; flex-direction: column; gap: 6px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 10px, #000 70px); mask-image: linear-gradient(to bottom, transparent 10px, #000 70px); }
.tchat-thread::-webkit-scrollbar { display: none; }
.tchat-time { align-self: center; margin: 0 0 10px; font: 11px var(--mono); color: var(--muted); }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.42; overflow-wrap: anywhere; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.msg.me { align-self: flex-end; background: linear-gradient(180deg, #2b8bff, #1071ff); color: #fff; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.msg.them { align-self: flex-start; background: #1b305c; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.msg.them + .msg.them { border-top-left-radius: 8px; }
.msg.photo { padding: 4px; }
.msg.photo img { display: block; width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.msg-meta { align-self: flex-end; margin: -2px 4px 6px 0; font: 11px var(--mono); color: var(--muted); }
.typing { display: flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: tdot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@media (prefers-reduced-motion: no-preference) {
  .tchat[open]::backdrop { animation: talkFade .4s ease; }
  .msg, .msg-meta { animation: msgIn .55s cubic-bezier(.22, .8, .25, 1) both; }
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px) scale(.96); } }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg-cta { align-self: flex-start; margin-top: 8px; gap: 8px; box-shadow: 0 14px 34px -12px rgba(16, 113, 255, .8); }
.msg-cta span { transition: transform .25s; }
.msg-cta:hover span { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) { .msg-cta { animation: msgIn .45s cubic-bezier(.2, .75, .2, 1) both; } }

/* Build: two ways to get an idea built (custom build vs a product we build together) and the "your idea is safe" promise */
.paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.path { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.path-k { font: 12px var(--mono); color: var(--muted); margin-bottom: 14px; }
.path h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 20px; }
.path ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.path li { position: relative; padding-left: 30px; color: #c9d3ec; }
.path li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--c) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310acff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.path .arrow { margin-top: auto; }
.path.together { position: relative; overflow: hidden; border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.path.together::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 60% at 100% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 65%); }
.path.together > * { position: relative; }
.path.together .path-k { color: var(--sky); }
.idea-promise { display: flex; align-items: flex-start; gap: 22px; margin-top: 20px; padding: clamp(22px, 2.6vw, 32px); }
.idea-promise .c-ic { flex: none; margin: 0; }
.idea-promise b { display: block; font-weight: 500; font-size: 1.15rem; margin-bottom: 6px; }
.idea-promise p { color: var(--muted); max-width: 62em; }
@media (max-width: 800px) { .paths { grid-template-columns: minmax(0, 1fr); } .idea-promise { flex-direction: column; gap: 16px; } }
.path-note { margin: -6px 0 26px; padding: 14px 16px 14px 46px; position: relative; border: 1px solid rgba(16, 172, 255, .4); border-radius: 14px; background: rgba(16, 172, 255, .1); color: #d6e4fb; font-size: 15px; line-height: 1.5; }
.path-note::before { content: "!"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: #071123; font: 700 13px/1 var(--sans); }
.path-note b { color: #fff; font-weight: 600; }
.path-price { margin: auto 0 22px; font-size: clamp(2.8rem, 4.2vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.path-price small { display: block; margin-bottom: 6px; font: 12px var(--mono); letter-spacing: 0; color: var(--muted); }
.path-price span { color: var(--ink); }
.path:has(.path-price) .arrow { margin-top: 0; }

/* Build: before and after, side by side (owner didn't like the slider) */
.ba-pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ba-pair .ba-before, .ba-pair .ba-after { position: relative; inset: auto; clip-path: none; border-radius: var(--radius); border: 1px solid var(--line-2); padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.2vw, 28px) 64px; overflow: hidden; min-width: 0; }
@media (min-width: 641px) { .ba-pair .xl { font-size: 13px; grid-template-columns: 30px repeat(5, minmax(0, 1fr)); } }
.ba-pair .xl span { padding: 7px 6px; min-height: 34px; }
.ba-pair .app-top, .ba-pair .app-rows { padding-left: 0; }
.ba-pair .app-rows small { white-space: normal; }
.ba-pair .ba-tag.l { left: 16px; } .ba-pair .ba-tag.r { left: 16px; right: auto; }
.ba-arrow { position: absolute; left: 50%; top: 50%; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--bg); display: grid; place-items: center; font-size: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
@media (max-width: 900px) {
  .ba-pair { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ba-arrow { display: none; }
}

/* Build: three steps (road.three) */
.road.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.road.three li { padding-right: clamp(20px, 3vw, 48px); }
.road.three li:last-child i { border-color: var(--yellow); background: var(--yellow); color: #3a2c00; }
@media (max-width: 900px) {
}
@media (max-width: 640px) { .road.three { grid-template-columns: minmax(0, 1fr); } .road.three li { padding-right: 0; } }

/* Build: industry examples (problem, fix, sample screen) */
.ind-pick { margin-bottom: 20px; }
.ind-pick button { font-size: 15px; padding: 12px 18px; }
.ind-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.4vw, 48px); }
.ind-panel[hidden] { display: none; }
.ind-k { display: flex; align-items: center; gap: 10px; font: 12px var(--mono); color: var(--muted); margin-bottom: 16px; }
.ind-k::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.ind-k.fix { color: var(--sky); margin-top: 30px; }
.ind-probs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ind-probs li { position: relative; padding-left: 32px; font-size: 1.1rem; line-height: 1.45; color: var(--ink); }
.ind-probs li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 110, 110, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a8a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ind-fix { padding-left: 32px; position: relative; color: #c9d3ec; font-size: 1.05rem; line-height: 1.55; }
.ind-fix::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 172, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310acff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ind-fix b { color: #fff; font-weight: 600; }
.ind-panel .ui { margin: 0; max-width: none; min-height: 330px; }
.ind-panel:not([hidden]) { animation: indIn .5s cubic-bezier(.2, .75, .2, 1); }
@keyframes indIn { from { opacity: 0; transform: translateY(8px); } }
.ind-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: 20px; padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3.4vw, 48px); border: 1px dashed var(--line-2); border-radius: 18px; }
.ind-cta b { display: block; font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.ind-cta p { color: var(--muted); max-width: 40em; }
.ind-note { margin-top: 14px; font: 12px var(--mono); color: var(--dim); }
@media (max-width: 900px) { .ind-panel { grid-template-columns: minmax(0, 1fr); } .ind-panel .ui { min-height: 0; } }
@media (max-width: 640px) { .ind-pick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .ind-pick button { flex: none; } }
@media (prefers-reduced-motion: reduce) { .ind-panel:not([hidden]) { animation: none; } }
.swatches .pick-on { border-color: var(--sky); box-shadow: 0 0 0 1px var(--sky); color: #fff; }

/* About: the motto, one big line between the letter and the promises */
.motto { max-width: 20em; font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; color: var(--muted); text-wrap: balance; }
.motto span { color: var(--ink); }

/* Note: send it from the site (worker/index.js -> Resend), with the email app as the fallback */
.two-fields .st-email { grid-column: 1 / -1; }
.two-fields .st-email small { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }
.two-fields input[aria-invalid="true"] { border-color: #ff8a8a !important; box-shadow: 0 0 0 1px #ff8a8a; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mail-actions { align-items: center; gap: 10px 20px; }
.mail-actions .btn[disabled] { opacity: .7; cursor: progress; }
.send-status { min-height: 0; margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.send-status:empty { display: none; }
.send-status.bad { color: #ffb0b0; }
.sent { display: flex; gap: 16px; align-items: flex-start; margin: 18px 0 12px; padding: 18px 20px; border: 1px solid rgba(16, 172, 255, .4); border-radius: 14px; background: rgba(16, 172, 255, .08); outline: none; }
.sent[hidden] { display: none; }
.sent-check { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); }
.sent-check svg { width: 18px; height: 18px; fill: none; stroke: #071123; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent b { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.sent p { color: #c9d3ec; font-size: 15px; }
.sent [data-sent-to] { color: #fff; }
.mail-actions[hidden] { display: none; }
