/* ==========================================================================
   Federated Computer — design system
   Modeled on nebius.com: a dark navy top bar and hero, full-bleed bands
   that alternate white and light grey, a centered 1280px container, big
   tight Inter headlines, rounded filled cards, a lime primary button and a
   violet accent. The footer and closing call to action return to navy.
   ========================================================================== */

:root {
  /* color */
  --navy-deep: #001a2b;
  --navy: #052b42;
  --navy-2: #0f2839;
  --lime: #e0ff4f;
  --lime-deep: #d1f42f;
  --violet: #614efa;
  --violet-deep: #4c3ae0;
  --violet-7: #614efa12;
  --violet-11: #614efa1c;
  --paper: #f3f4f5;
  --paper-2: #e9ebee;
  --rule: #d9dee2;
  --ink: #001a2b;
  --ink-86: #001a2bdb;
  --ink-68: #001a2bad;
  --ink-60: #001a2b99;
  --ink-45: #001a2b73;
  --ink-22: #001a2b38;
  --on-dark: #ffffff;
  --on-dark-72: #ffffffb8;
  --on-dark-56: #ffffff8f;
  --on-dark-16: #ffffff29;
  --on-dark-8: #ffffff14;
  --live: #e0ff4f;
  /* older names, kept so any stray reference still resolves */
  --blue: var(--violet);
  --blue-deep: var(--violet-deep);
  --blue-7: var(--violet-7);
  --blue-11: var(--violet-11);

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --fs-statement: 64px;
  --fs-h2: 48px;
  --fs-dek: 20px;
  --fs-body: 17px;
  --lh-body: 1.6;

  /* layout */
  --wrap: 1280px;
  --gutter: 32px;
  --head-h: 72px;
  --sp-section: 104px;
  --radius: 16px;
  --radius-sm: 10px;
  --measure: 680px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-hover: cubic-bezier(.25, .1, .25, 1);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --dur-hover: .2s;
  --dur-press: .12s;
}

@media (max-width: 1000px) {
  :root { --fs-statement: 48px; --fs-h2: 38px; --sp-section: 80px; --head-h: 64px; }
}
@media (max-width: 600px) {
  :root { --fs-statement: 38px; --fs-h2: 30px; --fs-dek: 17px; --fs-body: 16px; --sp-section: 64px; --gutter: 20px; }
}

/* ---- utilities ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mb-2 { margin-bottom: 28px; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 32px; }

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p, figcaption, dd { text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--lime); color: var(--navy-deep); padding: 8px 12px; font-size: 14px; text-decoration: none; border-radius: 6px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow,
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
}

/* ==========================================================================
   Top bar — logo, pages with dropdown panels, account actions
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: var(--navy-deep);
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-8);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.site-head.is-scrolled { background: #001a2bf2; backdrop-filter: blur(12px); }
.head-bar { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.brand { display: inline-flex; flex: none; }
.brand-logo { width: 148px; height: auto; translate: 0 -3px; } /* lifts the wordmark baseline onto the nav text baseline */

.head-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; line-height: 1.3;
  color: var(--on-dark-72); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current] { color: var(--on-dark); }
.nav-link:hover, .has-drop:hover > .nav-link { background: var(--on-dark-8); }
.nav-caret { opacity: .7; transition: rotate var(--dur-hover) var(--ease-hover); }
.has-drop:hover .nav-caret, .has-drop:focus-within .nav-caret { rotate: 180deg; }

.drop {
  position: absolute; left: -8px; top: 100%;
  padding-top: 14px;
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .18s var(--ease-hover), translate .18s var(--ease-hover), visibility 0s linear .18s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity .18s var(--ease-hover), translate .18s var(--ease-hover), visibility 0s;
}
.drop-panel {
  display: grid; gap: 2px;
  min-width: 380px; padding: 10px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -12px #001a2b59, 0 0 0 1px #001a2b0f;
}
.drop-link {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.drop-link:hover, .drop-link[aria-current] { background: var(--paper); }
.drop-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.drop-desc { font-size: 13px; line-height: 1.45; color: var(--ink-60); }

.head-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.head-signin {
  font-size: 15px; font-weight: 500; color: var(--on-dark-72); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover);
}
.head-signin:hover, .head-signin[aria-current] { color: var(--on-dark); }

/* ---- mobile menu (a <details>, so it works with JS off) ---- */
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--on-dark-16); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--on-dark);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-glyph { display: inline-grid; gap: 4px; width: 14px; }
.menu-glyph i { display: block; height: 1.5px; background: currentColor; transition: rotate .2s var(--ease-out), translate .2s var(--ease-out); }
.menu[open] .menu-glyph i { translate: 0 2.75px; rotate: 45deg; }
.menu[open] .menu-glyph i + i { translate: 0 -2.75px; rotate: -45deg; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--head-h)); overflow-y: auto;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -20px #001a2b40;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
}
.menu-panel a { text-decoration: none; }
.menu-top { padding: 14px 0; font-size: 16px; font-weight: 600; border-top: 1px solid var(--rule); }
.menu-top:first-child { border-top: 0; }
.menu-sub { display: flex; flex-direction: column; padding: 0 0 12px 14px; margin-top: -6px; }
.menu-sub a { padding: 7px 0; font-size: 15px; color: var(--ink-68); }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (max-width: 1080px) {
  .head-nav, .head-actions { display: none; }
  .menu { display: block; }
  .brand-logo { width: 128px; }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-family: var(--font);
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none;
  border: 1px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), transform var(--dur-press) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn .arrow { margin: 0; }

.btn-primary { background: var(--lime); color: var(--navy-deep); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--lime-deep); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink-22); }
.btn-secondary:hover { border-color: var(--ink); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* on the dark bands */
.hero .btn-secondary, .cta .btn-secondary, .banner .btn-secondary, .section-stats .btn-secondary {
  color: var(--on-dark); border-color: var(--on-dark-16);
}
.hero .btn-secondary:hover, .cta .btn-secondary:hover, .banner .btn-secondary:hover, .section-stats .btn-secondary:hover {
  background: var(--on-dark-8); border-color: var(--on-dark-56);
}
/* on white, the lime needs a navy edge to hold its shape */
.section .btn-primary, .form-page .btn-primary { background: var(--navy-deep); color: #fff; }
.section .btn-primary:hover, .form-page .btn-primary:hover { background: var(--violet); }
.section-banner .btn-primary { background: var(--lime); color: var(--navy-deep); }
.section-banner .btn-primary:hover { background: var(--lime-deep); }

/* the quiet link */
.more, .btn-text {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  color: var(--violet); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover);
}
.more:hover, .btn-text:hover { color: var(--violet-deep); }
.arrow {
  display: inline-block; margin-inline-start: .4em; font-weight: 400;
  transition: translate var(--dur-hover) var(--ease-hover);
}
a:hover > .arrow, a:focus-visible > .arrow, a:hover .arrow { translate: 3px 0; }

.actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-row { margin-top: 40px; gap: 12px 32px; }
@media (max-width: 520px) {
  .hero .actions, .cta .actions { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Hero — a full-bleed navy band, copy left, a visual right
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 104px 0 120px;
  background:
    radial-gradient(60% 80% at 92% 8%, #614efa66 0%, transparent 60%),
    radial-gradient(40% 50% at 70% 110%, #e0ff4f26 0%, transparent 70%),
    var(--navy-deep);
  color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(80% 90% at 80% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 90% at 80% 30%, #000 0%, transparent 75%);
  opacity: .7;
}
.hero-compact { padding: 80px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero.has-visual .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
.hero-copy { max-width: 820px; }

/* a photo behind the whole band, darkened toward the copy */
.hero.has-image { background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero.has-image::before {
  -webkit-mask-image: none; mask-image: none; opacity: 1;
  background: linear-gradient(90deg, #001a2bf5 0%, #001a2be0 38%, #001a2b73 70%, #001a2b40 100%),
              linear-gradient(0deg, #001a2bcc 0%, transparent 40%);
}
.hero-caption {
  position: absolute; right: var(--gutter); bottom: 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-dark-56);
}

.note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--on-dark-16); border-radius: 999px;
  background: var(--on-dark-8);
  font-size: 14px; line-height: 1.45; color: var(--on-dark-72);
}
.note-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px #e0ff4f26; }

.statement {
  font-size: var(--fs-statement);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 500;
  color: var(--on-dark);
}
.note + .statement { margin-top: 28px; }
.dek {
  margin-top: 24px;
  max-width: 36em;
  font-size: var(--fs-dek);
  line-height: 1.55;
  color: var(--on-dark-72);
}
.dek strong { color: var(--on-dark); font-weight: 600; }
.hero .actions { margin-top: 40px; }
.hero-compact .statement { font-size: calc(var(--fs-statement) * .85); }
.hero-compact:not(.has-visual) .hero-copy { max-width: 900px; }

@media (max-width: 1000px) {
  .hero, .hero-compact { padding: 72px 0 80px; }
  .hero.has-visual .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* the field: the four layers drawn as bars on a deep panel */
.hero-field {
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(#ffffff1f 1px, transparent 1.25px) 10px 10px / 20px 20px,
    radial-gradient(90% 90% at 90% 0%, #614efa99 0%, transparent 60%),
    var(--navy);
  box-shadow: inset 0 0 0 1px var(--on-dark-16);
}
.hero-compact .hero-field { aspect-ratio: 1.6; }
.field-stack {
  position: absolute; left: 32px; right: 32px; bottom: 32px;
  display: flex; flex-direction: column-reverse; gap: 14px;
}
.field-layer { display: flex; flex-direction: column; gap: 7px; }
.field-layer i {
  position: relative; overflow: hidden;
  display: block; height: 10px; border-radius: 99px;
  width: calc(100% - var(--i) * 16%);
  background: var(--violet);
}
.field-layer:first-child i { background: var(--lime); }
.field-layer i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, #ffffffb3 50%, transparent);
  translate: -100% 0;
  animation: scan 4.8s var(--ease-standard) infinite;
  animation-delay: calc(var(--i) * .5s);
}
@keyframes scan { 0% { translate: -100% 0; } 45%, 100% { translate: 100% 0; } }
.field-layer em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-dark-72); white-space: nowrap;
}
@media (max-width: 600px) {
  .hero-field, .hero-compact .hero-field { aspect-ratio: 1.1; }
  .field-stack { left: 20px; right: 20px; bottom: 20px; }
}

/* the agent log: a glass console, typed out by the hero's script */
.hero-log { position: relative; }
.log-window {
  background: #001a2bb8;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--on-dark-16), 0 40px 80px -24px #000000a6;
  overflow: hidden;
}
.log-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--on-dark-8); background: var(--on-dark-8);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--on-dark-56);
}
.log-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-live { display: inline-flex; align-items: center; gap: 8px; flex: none; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: var(--lime); }
.log-live .note-live { box-shadow: none; width: 6px; height: 6px; }
.log-lines { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.log-line { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.log-tag { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #a69cff; }
.log-text { color: #ffffffe0; }
.log-line.is-done .log-tag { color: var(--lime); }
.log-line.is-done .log-text { color: var(--lime); font-weight: 500; }
/* animated only with JS and motion allowed; otherwise every line simply shows */
.hero-log.is-animated .log-line { opacity: 0; }
.hero-log.is-animated .log-line.is-on { opacity: 1; }
.hero-log.is-animated .log-line.is-on .log-text { animation: log-type calc(var(--n) * 16ms) steps(var(--n)) both; }
.hero-log.is-animated .log-line.is-typed .log-text { animation: none; }
/* a fixed-height window that scrolls as lines arrive, fading out at the top */
.hero-log.is-animated .log-view {
  height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32px);
  mask-image: linear-gradient(to bottom, transparent, #000 32px);
}
.hero-log.is-animated .log-lines { transition: transform .45s var(--ease-out), opacity .4s var(--ease-standard); }
/* reasoning steps: greyed, with a spinner in place of the cursor */
.log-line.is-think .log-tag { color: var(--on-dark-56); }
.log-line.is-think .log-text { color: var(--on-dark-56); font-style: italic; }
.hero-log.is-animated .log-line.is-current .log-text::after {
  content: ""; display: inline-block; width: .6em; height: 1.1em; margin-left: 2px; vertical-align: text-bottom;
  background: var(--lime); animation: log-caret 1s steps(1) infinite;
}
.hero-log.is-animated .log-line.is-think.is-current .log-text::after {
  content: "⠋"; width: auto; height: auto; margin-left: 6px; background: none;
  font-style: normal; color: var(--lime); animation: log-spin .8s steps(1) infinite;
}
@keyframes log-spin {
  0% { content: "⠋"; } 12.5% { content: "⠙"; } 25% { content: "⠹"; } 37.5% { content: "⠸"; }
  50% { content: "⠼"; } 62.5% { content: "⠴"; } 75% { content: "⠦"; } 87.5% { content: "⠧"; }
}
.hero-log.is-clearing .log-lines { opacity: 0; }
@keyframes log-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes log-caret { 50% { opacity: 0; } }
@media (max-width: 600px) {
  .log-lines { font-size: 12px; }
  .log-line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-log.is-animated .log-view { height: 380px; }
}

/* the layer panel shown on a solution's hero */
.hero-fit {
  padding: 24px 26px 16px;
  border-radius: var(--radius);
  background: var(--on-dark-8);
  box-shadow: inset 0 0 0 1px var(--on-dark-16);
}
.hero-fit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.hero-fit-title { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.hero-fit .more { font-size: 14px; color: var(--lime); }
.hero-fit .fit-row { border-color: var(--on-dark-8); font-size: 15px; padding: 12px 0; }
.hero-fit .fit-bar { background: var(--on-dark-8); }
.hero-fit .fit-row.is-yes .fit-bar span { background: var(--lime); }
.hero-fit .fit-row.is-own .fit-bar span { background: repeating-linear-gradient(90deg, var(--lime) 0 3px, transparent 3px 6px); }
.hero-fit .fit-name { color: var(--on-dark); }
.hero-fit .fit-row.is-no .fit-name, .hero-fit .fit-row.is-no .fit-state { color: var(--on-dark-56); }
.hero-fit .fit-state { color: var(--lime); }
.hero-fit .fit-row.is-own .fit-state { color: var(--on-dark); }

/* ==========================================================================
   Sections — full-bleed bands that alternate white and grey
   ========================================================================== */
.section {
  --section-bg: #fff;
  --surface: var(--paper);
  padding-block: var(--sp-section);
  background: var(--section-bg);
}
main > .section:nth-of-type(even) { --section-bg: var(--paper); --surface: #fff; }

.section-head { margin-bottom: 56px; max-width: 880px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; color: var(--ink);
}
.section-head .lede {
  margin-top: 20px; max-width: var(--measure);
  font-size: 19px; line-height: 1.55; color: var(--ink-68);
}
.section-head:has(.eyebrow):not(:has(h2)) { margin-bottom: 20px; }

/* text sections: the heading on the left, the copy on the right */
@media (min-width: 1001px) {
  .section-text .wrap:has(> .section-head) {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; align-items: start;
  }
  .section-text .wrap > .section-head { grid-row: span 3; margin-bottom: 0; }
  .section-text .wrap > .prose, .section-text .wrap > .cta-row { grid-column: 2; }
  .section-text .wrap > .prose { padding-top: 34px; }
}
/* a text section without a heading is a large statement */
.section-text .wrap:not(:has(> .section-head)) .prose { max-width: 1040px; }
.section-text .wrap:not(:has(> .section-head)) .prose,
.section-text .wrap:not(:has(> .section-head)) .prose p {
  font-size: clamp(24px, 3vw, 36px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; color: var(--ink);
}
/* *phrases* in a statement are picked out in violet */
.section-text .wrap:not(:has(> .section-head)) .prose em { font-weight: inherit; color: var(--violet); }

/* an offer card under a text section */
.offer-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
  max-width: 1040px; margin-top: 48px; padding: 24px 28px;
  border: 1px solid var(--violet-11); border-radius: var(--radius);
  background: var(--violet-7);
}
.offer-badge {
  padding: 6px 12px; border-radius: 999px;
  background: var(--lime); color: var(--navy-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.offer-text { font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.offer-text a { color: var(--violet); text-decoration: none; }
.offer-text a:hover { color: var(--violet-deep); text-decoration: underline; }
@media (max-width: 700px) {
  .offer-card { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; padding: 22px; }
}

.rule-dashed { border: 0; height: 1px; margin: 0; background: var(--rule); }
.section-divider { padding: 0; }

/* ---- prose ---- */
.prose { display: flex; flex-direction: column; gap: 22px; max-width: var(--measure); }
.prose.centered { margin-inline: auto; text-align: center; }
.prose p, .prose li { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-86); }
.prose em { font-style: normal; font-weight: 600; }
.prose a { color: var(--violet); text-decoration: none; font-weight: 500; }
.prose a:hover { color: var(--violet-deep); text-decoration: underline; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.prose h3 { font-size: 19px; font-weight: 600; }

/* ==========================================================================
   Cards — layers, paths, features, steps, generic cards
   ========================================================================== */
.entries { display: grid; gap: 16px; }
.entry, .path-row {
  display: grid; height: 100%;
  color: var(--ink); text-decoration: none;
  border-radius: var(--radius);
  background: var(--surface);
  transition: background-color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover), opacity var(--dur-hover) var(--ease-hover);
}
.entry:hover, .path-row:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.entry-n {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; color: var(--violet);
}

/* layers: a row of tall cards */
.layer-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.layer-row {
  display: flex; flex-direction: column; gap: 20px;
  min-height: 300px; padding: 28px 28px 26px;
}
.layer-body { display: flex; flex-direction: column; gap: 10px; }
.entry-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.entry-text { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.entry-text p { display: inline; }
.entry-go {
  display: inline-flex; align-items: center; margin-top: auto;
  font-size: 15px; font-weight: 600; color: var(--violet);
}
.layer-row.is-lit, .layer-row.is-own { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--violet-7); }
.layer-row.is-off { opacity: .4; }

/* paths: a two-by-two grid */
.path-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path-row {
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px; padding: 32px;
}
.path-who { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--ink-60); line-height: 1.45; }
.path-body { display: flex; flex-direction: column; }
.path-body h3 { margin-top: 18px; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.path-body p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.path-link { margin-top: auto; padding-top: 20px; font-size: 15px; }
.path-fit { padding-top: 2px; }
@media (max-width: 1100px) {
  .path-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .path-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .layer-row { min-height: 0; }
}

/* ---- the layer fit panel ---- */
.fit { display: flex; flex-direction: column; }
.fit-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.fit-row:first-child { border-top: 0; }
.fit-bar { display: block; height: 5px; border-radius: 99px; overflow: hidden; background: var(--paper-2); }
.fit-bar span { display: block; height: 100%; }
.fit-row.is-yes .fit-bar span { background: var(--violet); }
.fit-row.is-own .fit-bar span { background: repeating-linear-gradient(90deg, var(--violet) 0 3px, transparent 3px 6px); }
.fit-row.is-no .fit-bar span { background: transparent; }
.fit-name { color: var(--ink); }
.fit-row.is-no .fit-name { color: var(--ink-45); }
.fit-state { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--violet); }
.fit-row.is-own .fit-state { color: var(--ink); }
.fit-row.is-no .fit-state { color: var(--ink-45); }
.fit-compact .fit-row { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 7px 0; font-size: 13px; }
.fit-compact .fit-state { display: none; }
.fit-compact .fit-bar { height: 4px; }

/* layer strip: pinned above the paths list, lit by the hovered path (mouse devices only) */
.layer-strip { display: none; }
@media (hover: hover) and (min-width: 1001px) {
  html.js .layer-strip {
    display: block; position: sticky; top: var(--head-h); z-index: 2;
    margin-bottom: 16px; padding: 16px 0 18px;
    background: var(--section-bg); border-bottom: 1px solid var(--rule);
  }
}
.layer-strip-label {
  display: block; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60);
}
.layer-strip .strip-on, .layer-strip.is-active .strip-idle { display: none; }
.layer-strip.is-active .strip-on { display: inline; color: var(--ink); }
.layer-strip-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip-layer { display: flex; flex-direction: column; gap: 8px; }
.strip-layer i { display: block; height: 6px; border-radius: 99px; background: var(--ink-22); transition: background-color var(--dur-hover) var(--ease-hover); }
.strip-layer em { font-style: normal; font-size: 14px; color: var(--ink-68); transition: color var(--dur-hover) var(--ease-hover); }
.strip-layer.is-lit i { background: var(--violet); }
.strip-layer.is-lit em { color: var(--ink); font-weight: 600; }
.strip-layer.is-own i { background: repeating-linear-gradient(90deg, var(--violet) 0 3px, transparent 3px 6px); }
.strip-layer.is-own em { color: var(--ink); }
.strip-layer.is-off i { background: var(--paper-2); }
.strip-layer.is-off em { color: var(--ink-45); }

/* ---- generic cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.card-visual { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 32px 28px 30px; min-height: 240px; }
.card.has-visual .card-body { min-height: 0; }
.card-body::before {
  content: ""; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, var(--violet) 0 5px, transparent 5.5px),
    var(--violet-11);
}
.card.has-visual .card-body::before { display: none; }
.card-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.card-title { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.card-title p { margin: 0; }
.card-text { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.card-link { margin-top: auto; padding-top: 8px; }

/* an abstract gradient panel used where there's no image yet */
.card-art {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(#ffffff1f 1px, transparent 1.25px) 8px 8px / 16px 16px,
    radial-gradient(70% 80% at calc(15% + var(--i, 0) * 17%) 20%, #614efacc 0%, transparent 60%),
    radial-gradient(60% 70% at calc(90% - var(--i, 0) * 13%) 100%, #e0ff4f8c 0%, transparent 65%),
    var(--navy);
}

/* ---- logo wall ---- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  height: 116px; padding: 14px 10px;
  border-radius: 12px; background: var(--surface);
  color: var(--ink-68); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover);
}
a.logo-tile:hover, a.logo-tile:focus-visible { color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet); }
.logo-icon { width: 30px; height: 30px; fill: currentColor; }
.logo-letter {
  display: grid; place-items: center;
  border: 2px solid currentColor; border-radius: 8px;
  font-size: 15px; font-weight: 700; line-height: 1;
}
.logo-name { max-width: 100%; text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.section-logos .cta-row { margin-top: 32px; }

/* ---- news ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.news-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.news-visual {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out);
}
.news-card:hover .news-visual { transform: scale(1.015); }
.news-play {
  width: 56px; height: 56px; border-radius: 50%;
  background: #ffffffe6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3.5v9l7-4.5z' fill='%23001a2b'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat;
}
.news-meta { display: flex; gap: 12px; align-items: center; margin-top: 4px; font-size: 13px; color: var(--ink-60); }
.news-tag {
  padding: 3px 10px; border-radius: 999px; background: var(--violet-11);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--violet);
}
.news-title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color var(--dur-hover) var(--ease-hover); }
.news-card:hover .news-title { color: var(--violet); }
.news-back { margin-top: 48px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- announcement banner ---- */
.section-banner { padding-block: calc(var(--sp-section) * .6); }
.banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px;
  padding: 40px;
  border-radius: 24px;
  color: var(--on-dark);
  background:
    radial-gradient(60% 140% at 100% 0%, #614efab3 0%, transparent 60%),
    var(--navy-deep);
}
.banner-badge {
  display: grid; place-items: center;
  width: 128px; aspect-ratio: 1; border-radius: var(--radius);
  background: var(--lime); color: var(--navy-deep);
  font-size: 22px; font-weight: 700; letter-spacing: -.02em;
}
.banner .eyebrow { color: var(--lime); margin-bottom: 12px; }
.banner-title { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.banner-text { margin-top: 12px; max-width: 40em; font-size: 16px; line-height: 1.6; color: var(--on-dark-72); }
@media (max-width: 900px) {
  .banner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .banner-badge { width: 72px; font-size: 15px; }
}

/* ---- stats: a navy band with lime figures (:nth-of-type(n) outranks the even-row paper tint) ---- */
main > .section-stats:nth-of-type(n) { --section-bg: var(--navy-deep); --surface: var(--on-dark-8); color: var(--on-dark); }
.section-stats .section-head h2 { color: var(--on-dark); }
.section-stats .section-head .lede { color: var(--on-dark-72); }
.section-stats .eyebrow { color: var(--lime); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 0; }
.stat {
  display: flex; flex-direction: column; gap: 16px;
  padding: 4px 28px 8px;
  border-left: 1px solid var(--on-dark-16);
}
.stat-value {
  font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 16px; line-height: 1.5; color: var(--on-dark-72); max-width: 18em; }

/* ---- quote ---- */
.said, .pull-quote { border-left: 3px solid var(--violet); padding: 4px 0 4px 28px; }
.said blockquote, .said blockquote p, .pull-quote {
  font-size: 28px; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; color: var(--ink); max-width: 34em;
}
.said figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-60); }
.said-list { display: flex; flex-direction: column; gap: 44px; }
.said-list .said blockquote, .said-list .said blockquote p { font-size: 20px; line-height: 1.5; }
.said-list .said:only-child blockquote, .said-list .said:only-child blockquote p { font-size: 28px; line-height: 1.4; }
.said-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.said-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface);
}
.said-card blockquote, .said-card blockquote p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-86); }
.said-card blockquote::before { content: "\201C"; }
.said-card blockquote::after { content: "\201D"; }
.said-who { display: flex; align-items: center; gap: 14px; }
.said-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--violet-11); }
.said-initials { display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--violet); }
.said-id { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.4; }
.said-name { font-weight: 600; color: var(--ink); }
.said-role, .said-role p { margin: 0; color: var(--ink-60); }
.said-role a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.said-role a:hover { color: var(--violet); border-color: currentColor; }
@media (max-width: 1000px) { .said-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .said-cards { grid-template-columns: minmax(0, 1fr); } }
.said-savings { margin-top: 64px; }
.said-savings-title { margin-bottom: 20px; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }

/* ---- tables ---- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.compare-table thead th {
  border-top: 0; background: var(--navy-deep); color: var(--on-dark-72);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.compare-table thead th a { text-decoration: none; color: var(--on-dark); }
.compare-table thead th a:hover { color: var(--lime); }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table tbody tr:hover { background: #f8f9fa; }
.compare-table td.bad { color: var(--ink-60); }
.compare-table td.good { color: var(--ink); font-weight: 600; }
.compare-table td.good::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 8px 1px 0; background: var(--violet); }
.matrix-table { min-width: 720px; }
.matrix-table thead th { line-height: 1.35; }
.matrix-layer { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-56); }
.matrix-table td { white-space: nowrap; }
.m-yes { color: var(--violet); font-weight: 600; }
.m-own { color: var(--ink); }
.m-no  { color: var(--ink-45); }
.m-note { color: var(--ink-68); white-space: normal !important; }

/* ---- checklist & features ---- */
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; }
.check-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; color: var(--ink-86); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list li p { margin: 0; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature-list li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px; border-radius: var(--radius); background: var(--surface);
  font-size: 15px; line-height: 1.6; color: var(--ink-68);
}
.feature-list li::before {
  content: ""; width: 36px; height: 4px; margin-bottom: 12px; border-radius: 99px; background: var(--violet);
}
.feature-list li strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.feature-list li p { margin: 0; }

/* ---- steps ---- */
.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step-row.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.step-head { display: flex; flex-direction: column-reverse; gap: 20px; }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-deep); color: var(--lime);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
}
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
@media (max-width: 1000px) { .step-row.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .step-row, .step-row.steps-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- faq & app directory (native <details>) ---- */
.faq-list { max-width: 960px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary, .app-category summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4;
  transition: color var(--dur-hover) var(--ease-hover);
}
.faq-item summary:hover, .app-category summary:hover { color: var(--violet); }
.faq-item summary::-webkit-details-marker, .app-category summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .app-category summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat,
    var(--surface);
  transition: rotate .25s var(--ease-out);
}
.faq-item[open] summary::after, .app-category[open] summary::after { rotate: 45deg; }
.faq-answer { padding: 0 56px 26px 0; max-width: 820px; }
.faq-answer p { font-size: 16px; line-height: 1.65; color: var(--ink-68); }

.app-directory { display: flex; flex-direction: column; gap: 10px; }
.app-category { border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.app-category summary { justify-content: flex-start; padding: 20px 24px; font-size: 18px; }
.app-category summary::after { margin-left: auto; background-color: var(--section-bg); }
.app-count { padding: 2px 9px; border-radius: 999px; background: var(--violet-11); font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--violet); }
.app-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); }
.app-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 24px; font-size: 14.5px; line-height: 1.5; background: var(--surface); }
.app-name { font-weight: 600; }
.app-desc { color: var(--ink-68); }
.app-link { color: var(--violet); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.app-link:hover { color: var(--violet-deep); }
.app-name a { color: inherit; text-decoration: none; }
.app-name a:hover { color: var(--violet); }

/* ---- callout ---- */
.callout { max-width: 960px; padding: 28px 32px; border-radius: var(--radius); background: var(--violet-7); box-shadow: inset 4px 0 0 var(--violet); }
.callout p { font-size: 17px; line-height: 1.65; color: var(--ink-86); }

/* ---- founder ---- */
.founder-block { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1040px; }
.founder-photo {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius);
  background:
    radial-gradient(#ffffff1f 1px, transparent 1.25px) 8px 8px / 16px 16px,
    radial-gradient(80% 80% at 80% 10%, #614efacc 0%, transparent 60%),
    var(--navy);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-56);
}
.founder-body h3 { font-size: 30px; letter-spacing: -.02em; }
.founder-role { display: block; margin: 6px 0 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.founder-body p { font-size: var(--fs-body); line-height: 1.65; margin-bottom: 16px; color: var(--ink-86); }
@media (max-width: 700px) { .founder-block { grid-template-columns: minmax(0, 1fr); gap: 28px; } .founder-photo { width: 160px; } }

/* ---- architecture diagram ---- */
.stack-diagram { display: flex; flex-direction: column-reverse; gap: 10px; max-width: 1040px; }
.stack-diagram .layer {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; align-items: center;
  padding: 22px 28px; border-radius: var(--radius);
  background: var(--surface);
  margin-inline: calc(var(--k, 0) * 3%);
}
.stack-diagram .layer:nth-child(1) { --k: 0; background: var(--navy-deep); color: var(--on-dark); }
.stack-diagram .layer:nth-child(1) p { color: var(--on-dark-72); }
.stack-diagram .layer:nth-child(1) .layer-num { background: var(--lime); color: var(--navy-deep); }
.stack-diagram .layer:nth-child(2) { --k: 1; }
.stack-diagram .layer:nth-child(3) { --k: 2; }
.stack-diagram .layer:nth-child(4) { --k: 3; }
.stack-diagram .layer-num {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--violet-11); color: var(--violet);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
}
.stack-diagram .layer h4 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.stack-diagram .layer p { margin-top: 2px; font-size: 15px; line-height: 1.55; color: var(--ink-68); }
.mcp-spine {
  display: flex; align-items: center; gap: 16px; max-width: 1040px; margin-top: 20px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--violet);
}
.mcp-spine::before, .mcp-spine::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--violet) 0 4px, transparent 4px 8px); opacity: .5; }

/* ---- split ---- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-col { padding: 32px; border-radius: var(--radius); background: var(--surface); }
.split-col:first-child { background: var(--navy-deep); color: var(--on-dark); }
.split-col h3 { margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.split-col:first-child h3 { color: var(--lime); }
.split-list { display: flex; flex-direction: column; gap: 12px; }
.split-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--ink-86); }
.split-col:first-child .split-list li { color: #ffffffe0; }
.split-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.split-col + .split-col .split-list li::before { background: transparent; border: 1.5px solid var(--ink-45); }
.split-list li p { margin: 0; }
@media (max-width: 700px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Pricing
   ========================================================================== */
/* The switch: visually hidden radios drive which panel shows (up to 4). */
.plan-radio { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.plan-tabs { display: inline-flex; gap: 4px; margin-bottom: 40px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.plan-tabs label {
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--ink-68);
  transition: color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.plan-tabs label:hover { color: var(--ink); }
.plan-switch:has(.plan-radio) .plan-panel { display: none; }
.plan-radio:nth-of-type(1):checked ~ .plan-panels > .plan-panel:nth-child(1),
.plan-radio:nth-of-type(2):checked ~ .plan-panels > .plan-panel:nth-child(2),
.plan-radio:nth-of-type(3):checked ~ .plan-panels > .plan-panel:nth-child(3),
.plan-radio:nth-of-type(4):checked ~ .plan-panels > .plan-panel:nth-child(4) { display: block; }
.plan-radio:nth-of-type(1):checked ~ .plan-tabs label:nth-child(1),
.plan-radio:nth-of-type(2):checked ~ .plan-tabs label:nth-child(2),
.plan-radio:nth-of-type(3):checked ~ .plan-tabs label:nth-child(3),
.plan-radio:nth-of-type(4):checked ~ .plan-tabs label:nth-child(4) { color: #fff; background: var(--navy-deep); }
.plan-radio:nth-of-type(1):focus-visible ~ .plan-tabs label:nth-child(1),
.plan-radio:nth-of-type(2):focus-visible ~ .plan-tabs label:nth-child(2),
.plan-radio:nth-of-type(3):focus-visible ~ .plan-tabs label:nth-child(3),
.plan-radio:nth-of-type(4):focus-visible ~ .plan-tabs label:nth-child(4) { outline: 2px solid var(--violet); outline-offset: 3px; }
.plan-lede { margin: 0 0 28px; max-width: var(--measure); font-size: 18px; line-height: 1.6; color: var(--ink-68); }
.plan-block { margin-top: 64px; }
.plan-subhead { margin-bottom: 20px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.plan-note { margin: 18px 0 0; max-width: var(--measure); font-size: 14px; line-height: 1.55; color: var(--ink-68); }
.plan-note-top { margin: -8px 0 20px; }

.tier-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tier {
  display: flex; flex-direction: column; gap: 28px;
  padding: 32px 30px 34px; border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.tier:nth-child(2) { background: var(--navy-deep); color: var(--on-dark); box-shadow: none; }
.tier:nth-child(2) .tier-name { color: var(--lime); }
.tier:nth-child(2) .tier-amount, .tier:nth-child(2) .tier-intro { color: var(--on-dark); }
.tier:nth-child(2) .tier-unit, .tier:nth-child(2) .tier-note, .tier:nth-child(2) .tier-features li { color: var(--on-dark-72); }
.tier:nth-child(2) .tier-head { border-color: var(--on-dark-16); }
.tier:nth-child(2) .tier-features li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23001a2b' stroke-width='2'/%3E%3C/svg%3E"); }
.tier-head { padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.tier-name, .addon-name { margin-bottom: 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.tier-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.tier-amount { font-size: 52px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tier-unit { font-size: 14px; line-height: 1.4; color: var(--ink-60); }
.tier-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-68); }
.tier-intro { margin: 0 0 14px; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.tier-features { display: flex; flex-direction: column; gap: 12px; }
.tier-features li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: var(--ink-86); }
.tier-features li::before {
  content: ""; position: absolute; left: 0; top: .1em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tier-features li p { margin: 0; }

.addon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.addon { padding: 28px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.addon .tier-amount { font-size: 36px; }
.addon-body { margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-68); }
.addon-body p { margin: 0; }

.app-price-table { min-width: 560px; }
.app-price-table td { color: var(--ink-68); }
.app-price-table td p { margin: 0; }
.app-price-table .app-price { white-space: nowrap; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---- savings: bar comparison + calculator ---- */
.bar-chart { margin: 0 0 48px; max-width: 960px; }
.bar-chart-title { margin-bottom: 20px; font-size: 22px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 84px; align-items: center; gap: 16px; font-size: 15px; }
.bar-name { color: var(--ink-86); }
.bar-track { height: 18px; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--ink-22); }
.bar-row.is-highlight .bar-fill { background: var(--violet); }
.bar-row.is-highlight .bar-name, .bar-row.is-highlight .bar-value { color: var(--ink); font-weight: 600; }
.bar-value { text-align: right; color: var(--ink-68); font-variant-numeric: tabular-nums; }

.savings-calc { padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.calc-apps { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-app {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: baseline;
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--section-bg);
  box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; font-size: 14px; line-height: 1.35;
  transition: box-shadow var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.calc-app:hover { box-shadow: inset 0 0 0 1px var(--ink-45); }
.calc-app:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--violet); background: var(--violet-7); }
.calc-app input { margin: 0; accent-color: var(--violet); grid-row: span 2; align-self: center; }
.calc-app-name { color: var(--ink); font-weight: 500; }
.calc-app-cost { grid-column: 2; font-size: 12px; color: var(--ink-60); font-variant-numeric: tabular-nums; }
.calc-users { margin-top: 32px; }
.calc-users .plan-subhead { display: block; font-size: 18px; }
.calc-users-row { display: flex; align-items: center; gap: 16px; }
.calc-users-row input { flex: 1; accent-color: var(--violet); }
.calc-users-value { min-width: 64px; text-align: right; font-size: 26px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
html:not(.js) .calc-result { display: none; }
/* compact: one result, with a link to the full calculator beside it */
.savings-calc.is-compact .calc-app-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.savings-calc.is-compact .calc-app { padding: 9px 11px; font-size: 13px; }
.savings-calc.is-compact .calc-result { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.calc-more { justify-self: end; margin-bottom: 6px; }
.calc-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 20px 22px 22px; border-radius: 12px; background: var(--section-bg); box-shadow: inset 0 0 0 1px var(--rule); }
.calc-stat.is-highlight { background: var(--navy-deep); box-shadow: none; }
.calc-stat-label { flex-basis: 100%; margin-bottom: 10px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); }
.calc-stat-value { font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-stat-unit { font-size: 14px; color: var(--ink-60); }
.calc-stat.is-highlight .calc-stat-label, .calc-stat.is-highlight .calc-stat-unit { color: var(--on-dark-72); }
.calc-stat.is-highlight .calc-stat-value { color: var(--lime); }
@media (max-width: 1000px) {
  .savings-calc.is-compact .calc-app-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .savings-calc { padding: 20px; }
  .calc-app-grid, .savings-calc.is-compact .calc-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-result, .savings-calc.is-compact .calc-result { grid-template-columns: minmax(0, 1fr); }
  .calc-more { justify-self: start; }
  .bar-row { grid-template-columns: 88px minmax(0, 1fr) 64px; gap: 10px; }
}

/* ==========================================================================
   Long-form pages: apps, legal
   ========================================================================== */
.section-doc .prose { max-width: 800px; }
.doc h2 { margin-top: 24px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.doc h3 { margin-top: 8px; font-size: 20px; font-weight: 600; }
.doc > :first-child { margin-top: 0; }
.doc strong { font-weight: 600; color: var(--ink); }
.doc ul ul { margin-top: 8px; }
.doc ul ul li { font-size: 15px; }
.doc li p { margin: 0; }
.doc img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--rule), 0 24px 48px -24px #001a2b40; }
.doc table {
  display: block; overflow-x: auto; max-width: 100%;
  border-collapse: collapse; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 14.5px; line-height: 1.5;
}
.doc th, .doc td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.doc thead th {
  border-top: 0; background: var(--navy-deep); color: var(--on-dark-72); white-space: nowrap;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.doc tbody td:first-child { min-width: 160px; font-weight: 600; color: var(--ink); }
.doc td { color: var(--ink-86); }
.doc tbody td:not(:first-child) { white-space: nowrap; }

.section-facts { padding-block: 56px; }
.app-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; }
.app-facts > div { padding: 22px 24px 24px; border-radius: var(--radius); background: var(--surface); }
.app-facts dt { margin-bottom: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.app-facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.app-facts a { color: var(--violet); text-decoration: none; font-weight: 600; }
.app-facts-more { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 24px; }

/* ==========================================================================
   Closing call to action — a navy band
   ========================================================================== */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--sp-section) * 1.1) 0;
  color: var(--on-dark);
  background:
    radial-gradient(50% 120% at 100% 100%, #614efa8c 0%, transparent 60%),
    radial-gradient(30% 60% at 0% 0%, #e0ff4f1f 0%, transparent 70%),
    var(--navy-deep);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(60% 100% at 85% 60%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 100% at 85% 60%, #000 0%, transparent 75%);
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 64px; }
.cta-title { max-width: 16em; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; color: var(--on-dark); }
.cta-text { margin-top: 20px; max-width: 36em; font-size: 18px; line-height: 1.6; color: var(--on-dark-72); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Sign-in form
   ========================================================================== */
.form-band { padding: 96px 0 120px; background: var(--paper); }
.form-page {
  max-width: 460px; margin-inline: auto;
  padding: 44px 40px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px #001a2b40;
}
.form-page .statement { margin: 14px 0 32px; font-size: 36px; color: var(--ink); }
.form-page form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input {
  height: 48px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 8px; background: #fff;
  transition: border-color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover);
}
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-11); }
.field-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-68); }
.field-row label { display: inline-flex; gap: 8px; align-items: center; }
.field-row input { accent-color: var(--violet); }
.field-row a { color: var(--violet); text-decoration: none; font-weight: 500; }
.form-page .btn-primary { width: 100%; margin-top: 6px; }
.form-foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-68); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--ink-60); }
.form-note a { color: var(--violet); }
@media (max-width: 520px) { .form-page { padding: 32px 22px; } }

/* Cloud or self hosted (Sign In, Start Now): each box links to that system's own page */
.choose { max-width: 820px; margin-inline: auto; }
.choose .statement { margin: 14px 0 12px; font-size: 36px; color: var(--ink); }
.choose-lede { margin: 0 0 32px; font-size: var(--fs-dek); color: var(--ink-68); }
.choose-question { margin: 0 0 20px; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.choose-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .choose-options { grid-template-columns: minmax(0, 1fr); } }
.choose-option {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 28px 30px; border-radius: 20px; background: #fff;
  color: inherit; text-decoration: none;
  box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px #001a2b40;
  transition: box-shadow var(--dur-hover) var(--ease-hover);
}
.choose-option:hover, .choose-option:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--violet), 0 30px 60px -30px #001a2b40; }
.choose-option-title { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.choose-option-text { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.choose-option .more { margin-top: auto; padding-top: 8px; }

/* ==========================================================================
   Order wizard (/start-now/) — steps on a white card, the cart beside it
   ========================================================================== */
.order-band { padding: 72px 0 104px; scroll-margin-top: var(--head-h); }
.order [hidden], .order-band [hidden] { display: none !important; }
.order-head { max-width: 760px; margin-bottom: 36px; }
.order-head .statement { margin: 14px 0 0; font-size: 44px; color: var(--ink); }
.order-lede { margin-top: 14px; font-size: var(--fs-dek); color: var(--ink-68); }
.order-alert { padding: 18px 22px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 0 0 1px var(--rule); }

.order-rail { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: none; }
.order-rail li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-45); }
.order-rail-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-family: var(--font-mono); font-size: 12px; background: var(--paper-2); color: var(--ink-60);
}
.order-rail li.is-done { color: var(--ink-68); }
.order-rail li.is-done .order-rail-n { background: var(--violet-11); color: var(--violet); }
.order-rail li.is-current { color: var(--ink); font-weight: 600; }
.order-rail li.is-current .order-rail-n { background: var(--navy-deep); color: #fff; }
@media (max-width: 700px) { .order-rail-l { display: none; } .order-rail li.is-current .order-rail-l { display: inline; } }

.order-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.order.has-cart .order-grid { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1000px) { .order.has-cart .order-grid { grid-template-columns: minmax(0, 1fr); } }

.order-main, .order-cart {
  padding: 40px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -30px #001a2b40;
}
.order:not(.has-cart) .order-main { max-width: 720px; }
.order-cart { position: sticky; top: calc(var(--head-h) + 20px); padding: 28px; }
@media (max-width: 1000px) { .order-cart { position: static; } }
@media (max-width: 520px) { .order-main { padding: 28px 20px; } .order-cart { padding: 22px 18px; } }

.order-title { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); outline: none; }
.order-sub { margin: 40px 0 14px; font-size: 20px; letter-spacing: -.01em; color: var(--ink); }
.order-text { margin-top: 12px; max-width: var(--measure); font-size: 16px; line-height: 1.6; color: var(--ink-86); }
.order-text a { color: var(--violet); }
.order-muted { color: var(--ink-60); }
.order-main .actions { margin-top: 8px; }
.order-main .btn-primary { background: var(--navy-deep); color: #fff; }
.order-main .btn-primary:hover { background: var(--violet); }
.order-main .btn:disabled, .order-cart .btn:disabled { opacity: .45; cursor: default; }
.btn.is-busy { opacity: .6; cursor: progress; }
.order .btn-text { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.order .form-foot .btn-text { font-size: 15px; }

.order-form { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-pair.field-triple { grid-template-columns: 2fr 1fr 1.4fr; }
@media (max-width: 600px) { .field-pair, .field-pair.field-triple { grid-template-columns: minmax(0, 1fr); } }
.field small { font-size: 13px; color: var(--ink-60); }
.order select {
  height: 44px; padding: 0 12px; max-width: 100%;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 8px; background: #fff;
}
.order select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-11); }
.order-error { padding: 12px 14px; border-radius: 8px; background: #fdecea; color: #8a1c12; font-size: 14px; }
.order-error a { color: inherit; font-weight: 600; }
.order-ok { padding: 12px 14px; border-radius: 8px; background: #e7f6ef; color: #135c3c; font-size: 14px; font-weight: 500; }
.order-ok::before { content: "✓ "; }
.order-captcha:empty { display: none; }

.order-affix { display: flex; align-items: stretch; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.order-affix:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-11); }
.field .order-affix input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.order-affix span { display: flex; align-items: center; padding: 0 14px; background: var(--paper); color: var(--ink-60); font-size: 15px; white-space: nowrap; }
.order-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.order-suggest [data-suggestions] { display: contents; }
.order-chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--paper);
  font-family: var(--font-mono); font-size: 13px; color: var(--ink); cursor: pointer;
}
.order-chip:hover { border-color: var(--violet); color: var(--violet); }

.order-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 700px) { .order-choices { grid-template-columns: minmax(0, 1fr); } }
.order-choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease-hover), box-shadow var(--dur-hover) var(--ease-hover);
}
.order-choice:hover { border-color: var(--ink-45); }
.order-choice.is-selected { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-11); }
.order-choice input { margin-top: 4px; accent-color: var(--violet); }
.order-choice-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.order-choice-name { font-weight: 600; color: var(--ink); }
.order-choice-text { font-size: 14px; line-height: 1.5; color: var(--ink-68); }
.order-region { margin-top: 8px; }
.order-region select { width: 100%; }

.order-others { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--violet); border-radius: var(--radius-sm); background: var(--violet-7); }
.order-others legend { padding: 0 6px; font-weight: 600; color: var(--ink); }
.order-others label { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 15px; }
.order-others input { accent-color: var(--violet); }

.order-bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1200px) { .order-bundles { grid-template-columns: minmax(0, 1fr); } }
.order-bundle { padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: #fff; transition: border-color var(--dur-hover) var(--ease-hover); }
.order-bundle.is-selected { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-11); }
.order-bundle-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-bundle h4 { font-size: 18px; color: var(--ink); }
.order-price { margin-top: 2px; font-size: 22px; font-weight: 600; color: var(--ink); }
.order-price span { font-size: 14px; font-weight: 400; color: var(--ink-60); }
.order-bundle-text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-68); }
.order-bundle details { margin-top: 12px; font-size: 14px; }
.order-bundle summary { cursor: pointer; font-weight: 600; color: var(--violet); }
.order-bundle ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-86); line-height: 1.7; }

.order-apps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.order-app { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.order-app label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; cursor: pointer; }
.order-app input { align-self: center; accent-color: var(--violet); width: 16px; height: 16px; }
.order-app-name { font-weight: 600; color: var(--ink); }
.order-app-cat { font-size: 14px; color: var(--ink-60); }
.order-app-price { font-family: var(--font-mono); font-size: 13px; color: var(--ink-86); white-space: nowrap; }
.order-app.is-bundled label { cursor: default; }
.order-app.is-bundled .order-app-price { color: var(--violet); }
.order-info-text { grid-column: 1 / -1; margin: 4px 0 2px; font-size: 14px; line-height: 1.5; color: var(--ink-68); }

.order-info, .order-remove {
  display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 1px solid var(--ink-22); border-radius: 50%; background: #fff;
  font-family: Georgia, serif; font-size: 13px; font-style: italic; font-weight: 700; color: var(--ink-60); cursor: pointer;
}
.order-remove { font-family: var(--font); font-style: normal; font-size: 16px; font-weight: 400; border-color: transparent; }
.order-info:hover, .order-info[aria-expanded="true"] { border-color: var(--violet); color: var(--violet); }
.order-remove:hover { color: #8a1c12; background: #fdecea; }

/* storage meter: OS / core / apps, 2px gaps, free space as the track */
.order-meter { display: flex; gap: 2px; height: 16px; margin-top: 16px; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.order-seg { display: block; min-width: 3px; }
.seg-os { background: #1f8f7a; }
.seg-core { background: #614efa; }
.seg-apps { background: #d0662b; }
.seg-free { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.order-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-68); }
.order-legend li { display: inline-flex; align-items: center; gap: 8px; }
.order-legend i { width: 10px; height: 10px; border-radius: 2px; }
.order-legend strong { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink); }
.order-stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; }
.order-stepper > span:first-child { font-weight: 600; margin-right: 6px; }
.order-stepper .btn-sm { width: 40px; padding: 0; font-size: 18px; }
.order-stepper output { min-width: 64px; text-align: center; font-family: var(--font-mono); font-size: 14px; }
.order-note { color: var(--violet); font-size: 14px; }
.order-nav { margin-top: 40px !important; }

.order-summary dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 20px 0 0; padding: 20px; border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; }
.order-summary dt { font-weight: 600; color: var(--ink); }
.order-summary dd { margin: 0; color: var(--ink-86); overflow-wrap: anywhere; }

/* the cart */
.order-cart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-cart h2 { font-size: 20px; color: var(--ink); }
.order-billing { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); }
.order-billing button { padding: 6px 12px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-60); cursor: pointer; }
.order-billing button[aria-pressed="true"] { background: var(--navy-deep); color: #fff; }
.order-lines { margin: 18px 0 0; padding: 0; list-style: none; }
.order-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px 24px; align-items: center; gap: 4px 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.order-line-main { display: flex; flex-direction: column; min-width: 0; }
.order-line-name { font-weight: 600; color: var(--ink); }
.order-line-note { font-size: 12.5px; color: var(--ink-60); }
.order-line-note:empty { display: none; }
.order-line-price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
.order-line.is-included { padding: 6px 0; }
.order-line.is-included .order-line-name { font-weight: 500; color: var(--ink-68); }
.order-line.is-included .order-line-price { color: var(--ink-45); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--ink); }
.order-total strong { font-size: 26px; letter-spacing: -.02em; }
.order-cart-note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-60); }
.order-cart-files { display: flex; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.order-cart .btn-text { font-size: 14px; }
.order-load { cursor: pointer; }
.order-cart .order-error { margin-top: 12px; }

/* ==========================================================================
   Footer — navy, many columns
   ========================================================================== */
.foot {
  padding: 88px 0 36px;
  background: var(--navy-deep);
  font-size: 14px; line-height: 1.5; color: var(--on-dark-56);
  border-top: 1px solid var(--on-dark-8);
}
.foot a { color: var(--on-dark-72); text-decoration: none; transition: color var(--dur-hover) var(--ease-hover); }
.foot a:hover { color: var(--on-dark); }
.foot-top-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px 80px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-mark .brand-logo { width: 176px; }
.foot-line { max-width: 32ch; font-size: 15px; color: var(--on-dark-72); }
.foot-place { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.foot-head { font-size: 14px; font-weight: 600; color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.foot-group { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-legal {
  display: flex; align-items: center; gap: 24px;
  margin-top: 72px; padding-top: 24px;
  border-top: 1px solid var(--on-dark-8);
  font-size: 13px;
}
.foot-social { display: flex; gap: 10px; margin-top: 8px; }
.foot-social a { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--on-dark-16); font-size: 13px; }
.foot-social a:hover { border-color: var(--on-dark-56); }
.foot-social .arrow { margin-left: 4px; }
.foot-policy { white-space: nowrap; }
.foot-top { margin-left: auto; white-space: nowrap; display: inline-flex; gap: 6px; }
.foot-up { display: inline-block; transition: translate var(--dur-hover) var(--ease-hover); }
.foot-top:hover .foot-up { translate: 0 -2px; }
@media (max-width: 1000px) { .foot-top-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-legal { flex-wrap: wrap; row-gap: 10px; }
  .foot-top { margin-left: 0; }
}

/* ==========================================================================
   Agent view — the footer's Human / Agent switch, and the page as Markdown
   (static/js/agent-view.js)
   ========================================================================== */
.view-switch { flex: none; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 3px; border-radius: 999px; border: 1px solid var(--on-dark-16); }
.view-switch[hidden] { display: none; }
.view-switch + .foot-top { margin-left: 0; }
.view-label { padding: 0 6px 0 10px; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.view-switch button {
  padding: 5px 13px; border: 0; border-radius: 999px;
  background: none; color: var(--on-dark-72); font: inherit; font-size: 13px; cursor: pointer;
  transition: color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.view-switch button:hover { color: var(--on-dark); }
.view-switch button[aria-pressed="true"] { background: var(--lime); color: var(--navy-deep); font-weight: 500; }
@media (max-width: 600px) { .view-switch { margin-left: 0; } }

.view-agent #content > :not(.agent-view) { display: none; }
.agent-view { padding: 64px 0 96px; background: var(--paper); }
.agent-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.agent-note { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-68); }
.agent-note .note-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-11); }
.agent-back {
  flex: none; margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-family: var(--font); font-size: 14px; letter-spacing: 0; text-transform: none;
  color: var(--violet); text-decoration: underline; text-underline-offset: 3px;
}
.agent-back:hover { color: var(--violet-deep); }
.agent-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.agent-links a { color: var(--violet); }
.agent-copy { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.agent-copy:hover { border-color: var(--ink-45); }
.agent-md {
  margin: 0; padding: 40px clamp(20px, 4vw, 48px);
  border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--rule);
  font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--ink-86);
  white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2;
}
.agent-md a { color: var(--violet); text-underline-offset: 3px; }
.agent-md a:hover { color: var(--violet-deep); }

/* ==========================================================================
   Reveal — content rises in as it scrolls into view (JS adds html.js)
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .7s var(--ease-standard), translate .7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-visible { opacity: 1; translate: 0; }
/* the first screen paints at once — never hidden behind an animation */
html.js .hero [data-reveal] { opacity: 1; translate: 0; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; translate: 0; transition: none; }
  .field-layer i::after { animation: none; display: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
