/*
 * AtriumSpec marketing site. Plain CSS, no build step.
 * Tokens come from the brand brief. One corner radius (--r) everywhere.
 * Feature colors: Requirements jade, Context deep jade, Design tangerine,
 * Build blue, Validate yellow, Delivery night. --wrong is for defects and
 * guesses only.
 */
:root {
  --jade: #008577;
  --jade-deep: #00605a;
  --jade-ink: #003f3b;
  --mist: #d7f3ef;
  --mist-light: #edf9f6;
  --mist-line: #c5ebe4;
  --ink: #14201c;
  --night: #10231f;
  --tangerine: #f08a4b;
  --ground: #f6f7f5;
  --card: #ffffff;
  --muted: #5b6b66;
  --line: #e3e7e4;
  --build: #2a7396;
  --validate: #e6b84a;
  --wrong: #c4472d;
  --on-night-muted: #a7bab4;
  --night-line: #26403a;
  --r: 10px;
  --r-lg: 28px;
  --wrap: 1200px;
  --gutter: 24px;
  --sh-1: 0 1px 2px rgba(16, 35, 31, 0.05), 0 8px 24px -12px rgba(16, 35, 31, 0.18);
  --sh-2: 0 2px 4px rgba(0, 40, 36, 0.06), 0 30px 70px -28px rgba(0, 40, 36, 0.45);
  --grad: linear-gradient(160deg, #0a9485 0%, var(--jade) 45%, var(--jade-deep) 100%);
  --head: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.045em; line-height: 1; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.038em; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 4px; }
.on-deep :focus-visible, .final :focus-visible, .footer :focus-visible, .cell-jade :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 500; font-size: 0.86em; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15.5px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 0.15s, border-color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--jade); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 96, 90, 0.7); }
.btn-primary:hover { background: var(--jade-deep); }
.btn-outline { border-color: var(--jade); color: var(--jade-deep); background: var(--card); }
.btn-outline:hover { background: var(--mist-light); }
.btn-paper { background: #fff; color: var(--jade-deep); box-shadow: 0 8px 24px -10px rgba(0, 40, 36, 0.5); }
.btn-paper:hover { background: var(--mist-light); }
.btn-outline-paper { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-paper:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14.5px; box-shadow: none; }
.textlink { color: var(--jade-deep); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.14rem/1 var(--head); letter-spacing: -0.02em; color: var(--ink); }
.mark { --tile: var(--jade); --lines: #fff; flex: none; }
.mark-paper { --tile: #fff; --lines: var(--jade); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 68px; }
.nav .brand { justify-self: start; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 2px; justify-self: center; }
.nav-links a { display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 999px; text-decoration: none; font-size: 15px; line-height: 1; font-weight: 500; color: #33423d; white-space: nowrap; }
.nav-links a:hover, .nav-login:hover { background: var(--mist-light); color: var(--jade-deep); }
.nav-links .only-small { display: none; }
.nav-cta { display: flex; align-items: center; gap: 6px; justify-self: end; }
.nav-login { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; font-size: 15px; line-height: 1; font-weight: 600; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -5px; }
.nav-toggle span::after { position: absolute; top: 5px; }
@media (max-width: 1020px) {
  .nav-in { display: flex; gap: 12px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-cta { margin-left: auto; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; background: var(--card); border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links { display: flex; }
  .nav-links { align-items: stretch; }
  .nav-links a { height: auto; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
}
@media (max-width: 480px) { .nav-login { display: none; } .nav-links .only-small { display: block; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.4vw, 56px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 58ch; }
.sec-head.center p { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--mist); color: var(--jade-deep); font: 600 13.5px/1 var(--body); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }
.on-deep .kicker { background: rgba(255, 255, 255, 0.14); color: #fff; }
.on-deep .kicker::before { background: var(--tangerine); }
.panel-sec { padding-block: 0; }
.panel-sec > .wrap { max-width: 1360px; padding: clamp(40px, 6vw, 88px) clamp(20px, 6vw, 80px); background: var(--card); border-radius: var(--r-lg); }
@media (max-width: 1400px) { .panel-sec > .wrap { margin-inline: var(--gutter); width: auto; } }
@media (max-width: 700px) { .panel-sec > .wrap { margin-inline: 10px; } }

/* The mark's spec lines, in the brand colors, at the edges of a section. */
.shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.shapes svg { position: absolute; aspect-ratio: 48 / 30; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .shapes svg { animation: drift 16s ease-in-out infinite; }
  .shapes svg:nth-child(2n) { animation-duration: 20s; animation-delay: -7s; }
  @keyframes drift { 50% { translate: 0 -12px; } }
}
.on-deep { color: #fff; }
.on-deep .sec-head p { color: var(--mist); }

/* Reveal on scroll, visuals only. */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .rv.is-in { opacity: 1; transform: none; }
}

/* ---------- Shared product parts ---------- */
.id { font: 500 12.5px/1 var(--mono); padding: 5px 7px; border-radius: 5px; background: var(--mist-light); color: var(--jade-deep); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font: 600 12.5px/1 var(--body); white-space: nowrap; background: var(--mist); color: var(--jade-deep); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-validate { background: #fbf1d3; color: #5c4708; }
.chip-validate::before { background: var(--validate); }
.chip-build { background: #e1eef4; color: #1d5571; }
.chip-design { background: #fde9db; color: #6b3310; }
.chip-design::before { background: var(--tangerine); }
.chip-wrong { background: #f9e4df; color: #9b3320; }
.chip-night { background: var(--night); color: #fff; }
.chip-plain { background: #eef1ef; color: #44534e; }
.chip-plain::before { display: none; }
.mock { color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); font-size: 14.5px; line-height: 1.45; overflow: hidden; text-align: left; }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mock-head .title { font: 600 15px/1.35 var(--body); flex: 1 1 220px; }
.mock-body { padding: 18px; }
.mock-label { font: 600 12.5px/1 var(--body); color: var(--muted); margin-bottom: 10px; }
.rows > li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.rows .k { font: 500 12px/1.6 var(--mono); color: var(--muted); flex: none; width: 34px; }
.rows .end { margin-left: auto; flex: none; }
.tick { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--jade); position: relative; }
.tick::after { content: ""; position: absolute; left: 6.2px; top: 3.6px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick-run { background: none; border: 2px solid var(--validate); }
.tick-run::after { left: 3px; top: 3px; width: 8px; height: 8px; border: 0; background: var(--validate); border-radius: 50%; transform: none; }
.tick-open { background: none; border: 2px solid #c9d2cd; }
.tick-open::after { display: none; }
.tick-wrong { background: var(--wrong); }
.tick-wrong::after { left: 8px; top: 4px; width: 2px; height: 10px; border: 0; background: #fff; transform: none; }
.av { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fc, var(--jade)); color: var(--ft, #fff); font: 700 10.5px/26px var(--body); text-align: center; }
.track { display: grid; grid-template-columns: repeat(6, 1fr); }
.track li { position: relative; padding-top: 22px; font: 600 13px/1.3 var(--body); }
.track li small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.track li::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); }
.track li::after { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid #c9d2cd; }
.track li.done::before { background: var(--jade); }
.track li.done::after { background: var(--jade); border-color: var(--jade); }
.track li.now::after { background: var(--validate); border-color: var(--validate); box-shadow: 0 0 0 4px #fbf1d3; }
.track li.now { color: #5c4708; }
.track li:last-child::before { right: auto; width: 14px; background: none; }

/* A full app window: title bar, rail, sidebar, main. */
.app { background: var(--card); border-radius: 12px; box-shadow: var(--sh-2); overflow: hidden; color: var(--ink); font-size: 14px; line-height: 1.45; text-align: left; }
.app-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #f1f4f2; border-bottom: 1px solid var(--line); }
.app-bar .lights { display: flex; gap: 6px; }
.app-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: #cfd7d3; }
.app-bar .url { margin-inline: auto; height: 24px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); font: 500 11.5px/1 var(--mono); color: var(--muted); }
.app-bar .url::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); }
.app-body { display: grid; grid-template-columns: 52px 204px 1fr; min-height: 420px; }
.app-rail { background: var(--jade); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; }
.app-rail i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); }
.app-rail i.on { background: #fff; }
.app-side { border-right: 1px solid var(--line); padding: 14px 12px; background: #fbfcfb; }
.app-prod { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: var(--card); margin-bottom: 14px; }
.app-prod b { display: block; font-weight: 600; font-size: 13.5px; }
.app-prod span { font-size: 12px; color: var(--muted); }
.app-nav li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: #33423d; }
.app-nav li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--fc); }
.app-nav li.on { background: var(--mist); color: var(--jade-ink); font-weight: 600; }
.app-nav li span { margin-left: auto; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.app-main { padding: 18px 22px 22px; min-width: 0; }
.crumb { font: 500 12px/1 var(--mono); color: var(--muted); margin-bottom: 10px; }
.app-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.app-title h3 { font: 600 1.2rem/1.25 var(--head); letter-spacing: -0.02em; flex: 1 1 300px; }
.app-main .track { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.app-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.people { display: flex; margin-top: 14px; }
.people .av { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.people .av:first-child { margin-left: 0; }
.people .more { margin-left: 10px; font-size: 12.5px; color: var(--muted); align-self: center; }
@media (max-width: 900px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-rail, .app-side { display: none; }
  .app-cols { grid-template-columns: 1fr; }
  .app-cols > div + div { display: none; }
  .app-main .track li { font-size: 0; }
  .app-main .track li small { display: none; }
  .app-main .track li.now { font-size: 13px; white-space: nowrap; }
}

/* Small floating cards that overlap a window. */
.float { position: absolute; z-index: 3; background: var(--card); color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-2); padding: 14px 16px; font-size: 13.5px; line-height: 1.4; text-align: left; }
.float b { font-weight: 600; }
.float .row { display: flex; align-items: center; gap: 10px; }
.float small { display: block; color: var(--muted); font-size: 12.5px; }
.float p { margin-top: 8px; }
.ring { --p: 92; width: 46px; height: 46px; border-radius: 50%; flex: none; background: conic-gradient(var(--c, var(--jade)) calc(var(--p) * 1%), #e3e7e4 0); display: grid; place-items: center; }
.ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--card); }
@media (max-width: 1000px) { .float { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 7s ease-in-out infinite; }
  .float.alt { animation-delay: -3.5s; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 96px); text-align: center; background: radial-gradient(60% 46% at 50% 78%, var(--mist) 0%, rgba(215, 243, 239, 0) 72%), linear-gradient(180deg, #fff 0%, #fff 40%, var(--ground) 100%); isolation: isolate; z-index: 2; }
.hero > .wrap { display: flow-root; }
.hero .shapes .s1 { left: -170px; top: 40px; width: 430px; color: var(--jade); rotate: -8deg; }
.hero .shapes .s2 { left: 9%; top: 50%; width: 96px; color: var(--tangerine); rotate: 10deg; }
.hero .shapes .s3 { right: -190px; top: 34%; width: 470px; color: #bfe9e2; rotate: 7deg; }
.hero .shapes .s4 { right: 11%; top: 13%; width: 84px; color: var(--validate); rotate: -12deg; }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero h1 em { font-style: normal; color: var(--jade); }
.hero .lede { margin: 24px auto 0; max-width: 52ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.hero-roles li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); font: 500 13.5px/1 var(--body); }
.hero-roles .av { width: 26px; height: 26px; line-height: 26px; font-size: 10px; }
.hero-shot { position: relative; margin-top: clamp(44px, 6vw, 72px); margin-bottom: clamp(-200px, -15vw, -100px); }
.hero-shot .f1 { left: -34px; bottom: 96px; width: 268px; }
.hero-shot .f2 { right: -30px; top: -30px; width: 226px; }
.hero-shot .f3 { right: 56px; bottom: -22px; width: 250px; }
@media (max-width: 1000px) { .hero .shapes .s2, .hero .shapes .s4 { display: none; } .hero .shapes .s1 { width: 240px; left: -130px; top: 10px; } .hero .shapes .s3 { width: 260px; right: -150px; } }
.after-hero { padding-top: clamp(150px, 20vw, 270px); }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .track li.done::before { transform: scaleX(0); transform-origin: left; animation: fill 0.45s ease-out forwards; animation-delay: calc(var(--i) * 0.16s + 0.5s); }
  .js .hero .track li.done::after, .js .hero .track li.now::after { transform: scale(0); animation: pop 0.25s ease-out forwards; animation-delay: calc(var(--i) * 0.16s + 0.45s); }
  @keyframes fill { to { transform: scaleX(1); } }
  @keyframes pop { to { transform: scale(1); } }
}

/* Works-with strip */
.works-with { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.works-with > span { font-size: 14.5px; color: var(--muted); margin-right: 8px; }
.tool { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 7px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font: 500 13.5px/1 var(--mono); white-space: nowrap; }
.tool i { width: 26px; height: 26px; border-radius: 7px; background: var(--mist); color: var(--jade-ink); font: 600 11px/26px var(--mono); text-align: center; font-style: normal; }

/* ---------- Problem: scattered tools become one record ---------- */
.statement { font: 600 clamp(1.7rem, 3.4vw, 2.75rem)/1.16 var(--head); letter-spacing: -0.035em; max-width: 36ch; }
.statement span { color: #8b9a95; }
.shift { --r: 20px; margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; background-color: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.shift-side { padding: clamp(20px, 3vw, 36px); position: relative; min-width: 0; }
.shift-side > h3 { font: 600 14px/1 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 20px; }
.shift-before { background-image: radial-gradient(rgba(20, 32, 28, 0.08) 1px, transparent 1px); background-size: 22px 22px; border-radius: var(--r) 0 0 var(--r); margin-right: -32px; padding-right: calc(clamp(20px, 3vw, 36px) + 32px); }
.shift-after { background: var(--mist-light); border-left: 1px solid var(--mist-line); border-radius: 0 var(--r) var(--r) 0; margin-left: -32px; padding-left: calc(clamp(20px, 3vw, 36px) + 32px); display: flex; flex-direction: column; }
.shift-after > h3 { color: var(--jade-deep); }
.shift-arrow { display: grid; place-items: center; position: relative; z-index: 2; }
.shift-arrow i { width: 52px; height: 52px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 8px var(--card), var(--sh-1); position: relative; }
.shift-arrow i::before { content: ""; position: absolute; left: 15px; top: 25px; width: 20px; height: 2px; background: #fff; }
.shift-arrow i::after { content: ""; position: absolute; left: 25px; top: 20px; width: 10px; height: 10px; border: solid #fff; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.scatter { position: relative; height: 330px; }
.scatter svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scatter path { fill: none; stroke: var(--wrong); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.scatter .frag { position: absolute; width: 38%; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; box-shadow: var(--sh-1); transform: rotate(var(--rot)); font: 600 13.5px/1.2 var(--body); }
.scatter .frag::after { content: ""; display: block; margin-top: 9px; height: 6px; width: 78%; border-radius: 3px; background: #e9edea; box-shadow: 0 11px 0 #e9edea; margin-bottom: 11px; }
.scatter .guess { position: absolute; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 999px; background: #f9e4df; color: #9b3320; font: 600 11.5px/1.3 var(--body); z-index: 2; }
.one-record { width: 100%; max-width: 400px; margin: auto; }
.spine li { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 18px 11px 46px; border-top: 1px solid var(--line); font-weight: 500; }
.spine li:first-child { border-top: 0; }
.spine li::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: var(--jade); }
.spine li:first-child::before { top: 50%; }
.spine li:last-child::before { bottom: 50%; }
.spine li::after { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--fc, var(--jade)); box-shadow: 0 0 0 3px var(--card); }
.spine li small { margin-left: auto; color: var(--muted); font-size: 12.5px; font-weight: 400; }
@media (max-width: 860px) {
  .shift { grid-template-columns: 1fr; }
  .shift-before, .shift-after { margin: 0; padding: 22px; border-radius: 0; }
  .shift-arrow { margin: -26px 0; }
  .shift-arrow i { transform: rotate(90deg); }
  .shift-after { border-left: 0; border-top: 1px solid var(--mist-line); padding-top: 44px; }
  .scatter { height: 300px; margin-bottom: 20px; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.cell { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; min-width: 0; }
.cell-art { position: relative; flex: 1; min-height: 210px; padding: 28px 26px 8px; display: grid; place-items: center; }
.cell-text { padding: 18px 26px 26px; }
.cell-text .n { font: 500 12.5px/1 var(--mono); color: var(--jade-deep); }
.cell-text h3 { margin-top: 10px; font-size: 1.3rem; }
.cell-text p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 46ch; }
.cell-text .today { display: flex; gap: 8px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #d3dad6; font-size: 14px; color: #6f7d78; }
.cell-text .today b { color: var(--wrong); font-weight: 600; font-size: 13px; flex: none; }
.c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; } .c-8 { grid-column: span 8; }
.cell-mist { background: var(--mist-light); border-color: var(--mist-line); }
.panel-sec .cell:not(.cell-jade):not(.cell-mist) { background: var(--ground); border-color: transparent; }
.cell-jade { background: var(--grad); border-color: transparent; color: #fff; }
.cell-jade .cell-text p { color: #fff; }
.cell-jade .cell-text .n { color: #fff; }
.cell-jade .cell-text .today { border-top-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cell-jade .cell-text .today b { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .bento > .cell { grid-column: 1 / -1; } }

/* Illustration: the brief as stacked spec lines (the mark's motif). */
.art-brief { display: grid; gap: 9px; width: min(100%, 400px); justify-items: center; }
.art-brief li { height: 38px; border-radius: 19px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.34); display: flex; align-items: center; padding: 0 16px; gap: 10px; font: 600 13.5px/1 var(--body); width: var(--w); }
.art-brief li small { margin-left: auto; font: 500 11.5px/1 var(--mono); }
.art-brief li.solid { background: #fff; color: var(--jade-ink); border-color: #fff; }
/* Illustration: done is agreed before the build. */
.art-done { width: min(100%, 360px); }
.art-done .seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.art-done .seq li { text-align: center; padding: 9px 4px; border-radius: 8px; border: 1px dashed #c9d2cd; font: 600 12.5px/1.2 var(--body); color: var(--muted); }
.art-done .seq li.on { background: var(--jade); border: 1px solid var(--jade); color: #fff; }
.art-done .rows { padding: 12px 14px; font-size: 13.5px; }
/* Illustration: one set of rules, every agent. */
.art-rules { display: grid; justify-items: center; width: 100%; }
.art-rules .doc { padding: 10px 16px; border-radius: 8px; background: var(--jade); color: #fff; font: 600 13px/1 var(--body); }
.art-rules .fan { width: 200px; height: 44px; border: 2px solid var(--mist-line); border-top: 0; border-radius: 0 0 14px 14px; position: relative; margin-top: 22px; }
.art-rules .fan::before { content: ""; position: absolute; left: 50%; top: -22px; height: 66px; width: 2px; margin-left: -1px; background: var(--mist-line); }
.art-rules .fan::after { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 2px; background: var(--mist-line); }
.art-rules .agents { display: flex; gap: 58px; margin-top: -4px; position: relative; }
.art-rules .agents .av { width: 42px; height: 42px; line-height: 42px; font-size: 12px; box-shadow: 0 0 0 4px var(--card); }
/* Illustration: ask and answer. */
.art-ask { display: grid; gap: 10px; width: min(100%, 300px); }
.bubble { padding: 10px 13px; border-radius: 12px 12px 12px 3px; background: #eef1ef; font-size: 13.5px; line-height: 1.4; max-width: 88%; }
.bubble.me { justify-self: end; border-radius: 12px 12px 3px 12px; background: var(--jade); color: #fff; }
.bubble small { display: block; font-weight: 600; font-size: 11.5px; margin-bottom: 2px; }
/* Illustration: proof. */
.art-proof { display: flex; align-items: center; gap: 24px; }
.seal { width: 92px; height: 92px; border-radius: 50%; background: var(--jade); display: grid; place-items: center; box-shadow: 0 0 0 8px var(--mist), 0 0 0 9px var(--mist-line); flex: none; }
.seal::after { content: ""; width: 22px; height: 42px; border: solid #fff; border-width: 0 7px 7px 0; transform: rotate(45deg) translate(-4px, -4px); border-radius: 2px; }
.art-proof ul { display: grid; gap: 9px; font: 500 13.5px/1 var(--body); }
.art-proof li { display: flex; gap: 8px; align-items: center; }
.art-proof .tick { margin: 0; }

/* ---------- How it works: a pipeline of six stages ---------- */
.pipe { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(10px, 2vw, 22px); padding: clamp(44px, 5vw, 60px) clamp(14px, 2.4vw, 28px); border-radius: 22px; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(180deg, var(--jade) 0 50%, var(--tangerine) 50% 100%) border-box; border: 5px solid transparent; }
.pipe-cap { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 clamp(28px, 6vw, 84px); border-radius: 12px; font: 700 1rem/1 var(--head); white-space: nowrap; }
.pipe-cap.top { top: -24px; background: var(--jade); color: #fff; }
.pipe-cap.bottom { bottom: -24px; background: var(--tangerine); color: var(--ink); }
.pipe-side { display: grid; gap: 8px; }
.pipe-side i { display: block; width: 30px; height: 30px; border-radius: 8px; background: var(--ground); border: 1px solid var(--line); color: var(--muted); font: 600 10.5px/28px var(--mono); text-align: center; font-style: normal; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--mist-light); border-radius: 18px; padding: 6px; min-width: 0; }
.step { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: grid; justify-items: center; gap: 12px; padding: 20px 6px 18px; border-radius: 13px; text-align: center; transition: background-color 0.2s, box-shadow 0.2s; }
.step + .step::before { content: ""; position: absolute; left: -5px; top: 34px; width: 9px; height: 9px; border: solid var(--jade); border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: 0.55; }
.step .n { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 2px var(--fc); color: var(--ink); font: 600 14px/1 var(--mono); transition: background-color 0.2s, color 0.2s; }
.step .name { font: 700 1rem/1.2 var(--head); letter-spacing: -0.015em; }
.step:hover { background: rgba(255, 255, 255, 0.6); }
.step[aria-selected="true"] { background: var(--card); box-shadow: var(--sh-1); }
.step[aria-selected="true"] .n { background: var(--fc); color: #fff; }
.step[style*="tangerine"][aria-selected="true"] .n, .step[style*="validate"][aria-selected="true"] .n { color: var(--ink); }
.step:focus-visible { outline: 2px solid var(--jade); outline-offset: -2px; }
.step .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--fc); }
.how.is-auto .step[aria-selected="true"] .bar { animation: bar 6s linear forwards; }
.how.is-paused .step .bar { animation-play-state: paused; }
@keyframes bar { to { width: 100%; } }
.how-view { margin-top: 52px; padding: clamp(22px, 4vw, 56px); border-radius: var(--r-lg); background: var(--mist-light); }
.panel { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.panel[hidden] { display: none; }
.panel-copy .who { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--body); color: var(--muted); }
.panel-copy .who::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fc); }
.panel-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.035em; margin-top: 14px; }
.panel-copy p { margin-top: 12px; font-size: 1.15rem; color: var(--muted); }
.panel .mock { box-shadow: var(--sh-2); border-color: transparent; }
.no-js .panel { margin-bottom: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .panel.is-in .mock { animation: panel-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
}
@media (max-width: 900px) {
  .pipe { grid-template-columns: 1fr; }
  .pipe-side { display: none; }
  .steps { display: flex; overflow-x: auto; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: none; width: 116px; }
  .panel { grid-template-columns: 1fr; }
}
.field { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.field:first-child { border-top: 0; padding-top: 0; }
.field dt { color: var(--muted); font-size: 13.5px; }
.field dd { margin: 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .cols-2 { grid-template-columns: 1fr; } }
.screen { background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.screen-bar { display: flex; gap: 5px; margin-bottom: 14px; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfd7d3; }
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.chain .lvl { display: grid; gap: 6px; }
.chain .lvl > span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.chain .ap { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px 9px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.chain .ap::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); border: 1px solid #b6e3db; flex: none; }
.chain .arrow { width: 18px; height: 2px; background: #c9d2cd; }
.lib { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 480px) { .chain { grid-template-columns: 1fr; } .chain .arrow { width: 2px; height: 12px; justify-self: center; } }
.defect { margin: 2px 0 0 28px; padding: 9px 11px; border-left: 2px solid var(--wrong); background: #fcf3f0; border-radius: 0 6px 6px 0; font-size: 13.5px; flex-basis: 100%; }
.defect b { font: 500 12px/1 var(--mono); color: var(--wrong); margin-right: 6px; }

/* ---------- Fits: hub, thread, method, agents, people ---------- */
.hub { position: relative; width: 100%; height: 300px; }
.hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub line { stroke: var(--jade); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.7; }
@media (prefers-reduced-motion: no-preference) { .hub line { animation: flow 1.6s linear infinite; } @keyframes flow { to { stroke-dashoffset: -20; } } }
.hub .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hub .core svg { width: 68px; height: 68px; border-radius: 19px; box-shadow: 0 0 0 10px var(--card), 0 0 0 11px var(--line), var(--sh-1); }
.hub .tool { position: absolute; transform: translate(-50%, -50%); box-shadow: var(--sh-1); }
@media (max-width: 560px) { .hub .tool { font-size: 0; padding: 0 7px; gap: 0; } }
.thread .msg { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; }
.thread .msg:first-of-type { border-top: 0; }
.thread .from { font-weight: 600; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 3px; }
.thread .from small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.thread .kept { grid-template-columns: 1fr; background: var(--mist-light); font-size: 13px; color: #24403a; }
.thread .kept span { display: flex; gap: 8px; align-items: center; }
.art-thread { width: min(100%, 440px); }
.art-thread .mock { box-shadow: var(--sh-2); border-color: transparent; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 300px); }
.methods li { border: 1px solid var(--mist-line); background: var(--card); border-radius: 8px; padding: 12px; font: 600 13px/1 var(--body); display: grid; gap: 12px; }
.glyph { height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.glyph i { flex: 1; border-radius: 3px; background: var(--jade); height: var(--h, 100%); opacity: var(--o, 1); }
.glyph.loop { align-items: center; justify-content: flex-start; }
.glyph.loop i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: none; border: 5px solid var(--jade); border-right-color: var(--mist-line); }
.glyph.stairs i { align-self: var(--a, flex-end); height: 8px; }
.agent-card { width: min(100%, 300px); }
.agent-card .mock-head { padding: 12px 14px; flex-wrap: nowrap; }
.agent-card .mock-head .title { flex: 1 1 auto; }
.agent-card .live { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 4px var(--mist); }
.agent-card li { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.sw { width: 30px; height: 18px; border-radius: 9px; background: var(--jade); position: relative; }
.sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.pairs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; width: min(100%, 330px); }
.pair { display: grid; justify-items: center; gap: 8px; font: 500 12.5px/1 var(--body); color: var(--muted); }
.pair .duo { position: relative; display: block; width: 46px; height: 46px; }
.pair .av { display: block; width: 46px; height: 46px; line-height: 46px; font-size: 13px; }
.pair .duo::after { content: "AI"; position: absolute; right: -9px; bottom: -4px; width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font: 600 10px/24px var(--mono); text-align: center; box-shadow: 0 0 0 2px var(--card); }

/* ---------- Client view ---------- */
.client { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.client-copy p.lede { margin-top: 18px; color: var(--muted); font-size: 1.15rem; line-height: 1.55; }
.client-copy ul { margin-top: 28px; }
.client-copy li, .sec-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.client-copy li b, .sec-list li b { display: block; font-weight: 600; }
.client-copy li span, .sec-list li span { color: var(--muted); font-size: 15.5px; }
.ico { width: 36px; height: 36px; border-radius: 9px; background: var(--mist); color: var(--jade-deep); display: grid; place-items: center; flex: none; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.client-shot { position: relative; padding: clamp(18px, 3vw, 44px); border-radius: 20px; background: var(--grad); }
.client-shot .f1 { left: -26px; bottom: 64px; width: 236px; }
.dash { padding: 18px 20px; }
.dash-top { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.donut { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--night) 0 58.3%, var(--validate) 0 83.3%, var(--build) 0); display: grid; place-items: center; }
.donut::after { content: "24"; width: 62px; height: 62px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font: 600 1.4rem/1 var(--head); letter-spacing: -0.03em; }
.legend { display: grid; gap: 7px; font-size: 13.5px; max-width: 240px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend b { margin-left: auto; font-weight: 600; }
.reqs li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--line); }
.reqs li .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reqs li.open { background: var(--mist-light); }
.reqs .proof { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #24403a; padding-top: 2px; }
.reqs .proof span { display: inline-flex; gap: 7px; align-items: center; }
.reqs .proof .tick { width: 15px; height: 15px; margin: 0; }
.reqs .proof .tick::after { left: 4.8px; top: 2.4px; width: 3.4px; height: 7px; }
@media (max-width: 900px) { .client { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .reqs li .id { display: none; } .reqs li { grid-template-columns: 1fr auto; } }

/* ---------- Case study ---------- */
.case { background: radial-gradient(60% 80% at 85% 0%, rgba(23, 160, 144, 0.6), rgba(23, 160, 144, 0) 70%), var(--jade-deep); }
.case-list { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.case-row { display: grid; grid-template-columns: 210px 150px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.case-row .x { font: 600 clamp(3rem, 6vw, 4.8rem)/0.95 var(--head); letter-spacing: -0.05em; }
.case-row .what { font: 600 1.2rem/1.25 var(--head); }
.bars { display: grid; gap: 10px; font-size: 13.5px; }
.bars > div { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: center; color: var(--mist); }
.bars .val { display: flex; align-items: center; gap: 10px; }
.bars i { display: block; height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); flex: 0 1 100%; }
.bars b { font-weight: 500; flex: none; white-space: nowrap; }
.bars .with { color: #fff; font-weight: 600; }
.bars .with i { background: var(--tangerine); flex: 0 0 var(--w); min-width: 8px; }
.case-note { margin-top: 28px; font-size: 14.5px; }
@media (prefers-reduced-motion: no-preference) {
  .js .bars i { transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .case-row.is-in .bars i { transform: scaleX(1); }
  .js .case-row.is-in .bars .with i { transition-delay: 0.4s; }
}
@media (max-width: 860px) { .case-row { grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; } .case-row .bars { grid-column: 1 / -1; margin-top: 12px; } }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.outcome { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.outcome h3 { margin-top: 18px; }
.outcome p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.outcome .ico { width: 44px; height: 44px; border-radius: 11px; }
.outcome .ico svg { width: 23px; height: 23px; }
.outcome.lead { grid-row: span 2; background: var(--grad); border-color: transparent; color: #fff; display: flex; flex-direction: column; }
.outcome.lead p { color: #fff; }
.outcome.lead .ico { background: rgba(255, 255, 255, 0.16); color: #fff; }
.outcome.lead h3 { font-size: 1.9rem; margin-top: auto; padding-top: 40px; letter-spacing: -0.03em; }
.outcome.wide { grid-column: 2 / -1; }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } .outcome.lead, .outcome.wide { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .outcomes { grid-template-columns: 1fr; } }

/* ---------- Security ---------- */
.sec { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.perm { width: 100%; border-collapse: collapse; font-size: 14px; }
.perm th, .perm td { padding: 12px 8px; border-top: 1px solid var(--line); text-align: center; font-weight: 400; }
.perm th:first-child, .perm td:first-child { text-align: left; padding-left: 20px; font-weight: 600; }
.perm td:first-child span { display: inline-flex; align-items: center; gap: 10px; }
.perm thead th { border-top: 0; color: var(--muted); font-size: 12.5px; font-weight: 600; background: #fbfcfb; }
.perm .y::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.perm .n::before { content: ""; display: inline-block; width: 10px; height: 2px; background: #c9d2cd; vertical-align: middle; }
.sec-list li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .sec { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh-1); }
.pricing > div { padding: clamp(26px, 4vw, 48px); }
.pricing-talk { background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.pricing-talk p { margin-top: 14px; max-width: 40ch; }
.pricing-talk .btn { margin-top: 36px; }
.pricing-incl h3 { font: 600 14px/1 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.pricing-incl li { display: flex; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.pricing-incl li:first-child { border-top: 0; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.1rem/1.3 var(--head); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 68ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Final CTA and footer ---------- */
.final { position: relative; overflow: hidden; text-align: center; color: #fff; margin: 0 clamp(10px, 2vw, 24px) 24px; border-radius: var(--r-lg); padding-block: clamp(80px, 11vw, 150px); background: radial-gradient(60% 70% at 50% 100%, #17a090 0%, rgba(23, 160, 144, 0) 70%), var(--jade); isolation: isolate; }
.final .shapes .s1 { left: -150px; bottom: -70px; width: 420px; color: var(--jade-deep); rotate: -8deg; }
.final .shapes .s3 { right: -160px; top: -40px; width: 420px; color: #17a090; rotate: 7deg; }
.final h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; max-width: 14ch; margin-inline: auto; }
.final p { margin: 20px auto 0; max-width: 44ch; font-size: 1.15rem; }
.footer { background: var(--night); color: var(--on-night-muted); padding-block: 56px 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer .brand { color: #fff; }
.footer-about p { margin-top: 14px; max-width: 30ch; }
.footer h3 { font: 600 14px/1 var(--body); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.footer li { margin-top: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Book a demo ---------- */
.demo { position: relative; isolation: isolate; padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 120px); background: radial-gradient(50% 60% at 70% 40%, var(--mist) 0%, rgba(215, 243, 239, 0) 72%), linear-gradient(180deg, #fff 0%, var(--ground) 100%); }
.demo .shapes .s1 { left: -230px; top: -70px; width: 380px; color: var(--jade); rotate: -8deg; }
.demo .shapes .s3 { right: -210px; bottom: 6%; width: 420px; color: #bfe9e2; rotate: 7deg; }
.demo-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
.demo-copy .lede { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 30ch; }
.demo-copy ul { margin-top: 32px; display: grid; gap: 14px; }
.demo-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.demo-copy .tick { margin-top: 4px; }
.form-card { background: var(--card); border-radius: 24px; box-shadow: var(--sh-2); padding: clamp(22px, 4vw, 40px); }
.form-card form { display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f label { display: flex; justify-content: space-between; align-items: baseline; font: 600 14px/1.2 var(--body); margin-bottom: 7px; }
.f label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.f input, .f select, .f textarea { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #cfd7d3; border-radius: var(--r); background: var(--card); font: 400 16px/1.4 var(--body); color: var(--ink); appearance: none; }
.f textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.f select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.f input::placeholder { color: #93a19c; }
/* A select drawn by the page (site.js), in place of the browser's own. */
.select { position: relative; }
.select > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.select-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #cfd7d3; border-radius: var(--r); background: var(--card); font: 400 16px/1.4 var(--body); color: var(--ink); }
.select-btn.is-empty { color: #93a19c; }
.select-btn::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -4px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.15s, margin 0.15s; }
.select-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.select-btn:hover { border-color: #aab6b1; }
.select-btn:focus-visible, .select-btn[aria-expanded="true"] { border-color: var(--jade); box-shadow: 0 0 0 4px var(--mist); }
.select-btn[aria-invalid="true"] { border-color: var(--wrong); }
.select-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); max-height: 280px; overflow-y: auto; }
.select-list[hidden] { display: none; }
.select-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 9px; cursor: pointer; font-size: 16px; }
.select-list li.is-active { background: var(--mist-light); }
.select-list li[aria-selected="true"] { font-weight: 600; color: var(--jade-deep); }
.select-list li[aria-selected="true"]::after { content: ""; width: 6px; height: 11px; margin-right: 4px; border: solid var(--jade); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .select-list:not([hidden]) { animation: select-in 0.14s ease-out; }
  @keyframes select-in { from { opacity: 0; transform: translateY(-4px); } }
}
.f input:hover, .f select:hover, .f textarea:hover { border-color: #aab6b1; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 0; border-color: var(--jade); box-shadow: 0 0 0 4px var(--mist); }
.f [aria-invalid="true"] { border-color: var(--wrong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: default; }
.form-error { padding: 12px 14px; border-radius: var(--r); background: #fcf3f0; color: #9b3320; font-size: 15px; }
.form-error[hidden], .form-done[hidden] { display: none; }
.form-done { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 24px 0; }
.form-done .seal { margin-bottom: 12px; }
.form-done h2 { font-size: 1.9rem; }
.form-done p { color: var(--muted); }
.form-done b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.form-done .btn { margin-top: 8px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo .shapes { display: none; } }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }

/* Placeholder audit: open the page with ?placeholders to outline every link not wired yet. */
.show-placeholders [data-placeholder] { outline: 2px dashed var(--wrong) !important; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
