/* Chancla Super Effective (chancla.ai): obsidian canvas, ember, coral and cobalt mesh light,
   pure white floating cards, emerald trust marks. One first-party stylesheet with no remote
   requests of any kind. */

:root {
  color-scheme: light;
  --ob: #090a0d;
  --ob-2: #111216;
  --ob-3: #13151a;
  --ob-4: #1b1e25;
  --hair-d: rgba(255, 255, 255, 0.1);
  --hair-d2: rgba(255, 255, 255, 0.18);
  --d-text: #f4f4f5;
  --d-soft: #d1d1d6;
  --d-muted: #a1a1aa;
  --white: #ffffff;
  --paper: #f8f8f7;
  --chip: #f1f1ef;
  --hair-l: #e5e5e2;
  --hair-l2: #d0d0cb;
  --ink: #090a0d;
  --ink-2: #3a3b42;
  --muted: #5d5e66;
  --orange: #f26b1d;
  --orange-ink: #c2410c;
  --orange-d: #ff8a4c;
  --coral: #ff4b6e;
  --pink: #ec4899;
  --cobalt: #2563eb;
  --green: #16a34a;
  --green-ink: #15803d;
  --green-tint: #ecfdf3;
  --green-line: #bbf7d0;
  --green-d: #4ade80;
  --red-ink: #b42318;
  --r-btn: 11px;
  --r-card: 16px;
  --r-panel: 24px;
  --shadow-card: 0 1px 2px rgba(9, 10, 13, 0.05), 0 18px 40px -24px rgba(9, 10, 13, 0.28);
  --shadow-float: 0 2px 4px rgba(0, 0, 0, 0.2), 0 26px 60px -22px rgba(0, 0, 0, 0.7);
  --display: "Segoe UI Variable Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font: "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --mesh:
    radial-gradient(58% 72% at 12% 18%, rgba(242, 107, 29, 0.62), transparent 62%),
    radial-gradient(48% 62% at 88% 12%, rgba(236, 72, 153, 0.5), transparent 64%),
    radial-gradient(70% 84% at 62% 104%, rgba(37, 99, 235, 0.62), transparent 62%),
    radial-gradient(40% 50% at 40% 60%, rgba(255, 75, 110, 0.22), transparent 70%);
  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --py: clamp(80px, 9vw, 124px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ob);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, pre { margin: 0; }
a { color: inherit; }
button, input { font-family: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ---- Bands: obsidian and light alternate, split by hairlines ---- */
.band { padding-block: var(--py); border-top: 1px solid var(--hair-l); }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-dark {
  background: var(--ob);
  color: var(--d-text);
  border-top-color: var(--hair-d);
}
.band-night {
  background: var(--ob-2);
  color: var(--d-text);
  border-top-color: var(--hair-d);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 10, 13, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hair-d);
  color: var(--d-text);
}

.site-nav {
  width: min(calc(100% - 2 * var(--gutter)), var(--wrap));
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand-link {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 22px/1 var(--display);
  letter-spacing: -0.045em;
  color: var(--white);
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
  display: inline-block;
  margin-left: -7px;
  margin-top: 8px;
}
.brand-sub {
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--d-soft);
  border: 1px solid var(--hair-d2);
  padding: 5px 8px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--d-soft);
}
.nav-links a {
  text-decoration: none;
  padding-block: 8px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }

.site-header :focus-visible,
.band-dark :focus-visible,
.band-night :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--orange-d); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.btn:active { transform: translateY(1px); }

.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #e9e9e6; }

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #26282f; }

.btn-ember { background: var(--orange-ink); color: var(--white); }
.btn-ember:hover { background: #9a3412; }

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-color: var(--hair-d2);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

.btn-line {
  background: var(--white);
  color: var(--ink);
  border-color: var(--hair-l2);
}
.btn-line:hover { border-color: var(--ink); }

.btn-nav { min-height: 40px; padding: 8px 16px; font-size: 14.5px; border-radius: 10px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; border-radius: 10px; }

/* ---- Type ---- */
.eyebrow {
  display: inline-block;
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.band-dark .eyebrow, .band-night .eyebrow, .hero .eyebrow { color: var(--orange-d); }

.eyebrow-pill {
  display: inline-block;
  font: 600 11.5px/1.5 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--d-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hair-d2);
  padding: 6px 13px;
  border-radius: 999px;
}

.h1 {
  font: 700 clamp(46px, 7.6vw, 96px)/1.02 var(--display);
  letter-spacing: -0.045em;
  color: var(--white);
  text-wrap: balance;
}

.h2 {
  margin-top: 14px;
  font: 650 clamp(32px, 4.3vw, 56px)/1.06 var(--display);
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
.band-dark .h2, .band-night .h2 { color: var(--white); }
.h2-soft { color: var(--muted); }
.band-dark .h2-soft, .band-night .h2-soft { color: var(--d-muted); }

.section-head { max-width: 760px; }
.section-head-center { text-align: center; margin-inline: auto; }

.lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.band-dark .lead, .band-night .lead, .hero .lead { color: var(--d-soft); }

.small-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.band-dark .small-note, .band-night .small-note { color: var(--d-muted); }

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--orange-ink); }
.text-link-block { display: inline-block; margin-top: 24px; }

/* ---- Micro tags and trust pills ---- */
.tag {
  display: inline-block;
  font: 600 11.5px/1.4 var(--mono);
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--chip);
  border: 1px solid var(--hair-l);
  color: var(--ink-2);
  white-space: nowrap;
}
.tag-ember {
  background: #fff3ea;
  border-color: #fbd0b3;
  color: var(--orange-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hair-d2);
  color: var(--d-soft);
}

.pill-ok {
  display: inline-flex;
  align-items: center;
  font: 600 12px/1.3 var(--mono);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  color: var(--green-ink);
  white-space: nowrap;
}
.pill-ok-dark {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(74, 222, 128, 0.34);
  color: var(--green-d);
}
.pill-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role {
  font: 700 11.5px/1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange-d);
}
.role-builder { color: #f9a8d4; }
.role-checker { color: #93c5fd; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--ob);
  color: var(--d-text);
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: var(--py);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 620px;
  background:
    radial-gradient(42% 60% at 28% 0%, rgba(242, 107, 29, 0.2), transparent 70%),
    radial-gradient(40% 56% at 74% 0%, rgba(37, 99, 235, 0.2), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.hero-copy {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.hero-copy .h1 { margin-top: 24px; }
.hero-copy .lead {
  max-width: 54ch;
  margin-inline: auto;
  margin-top: 22px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-line {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--d-muted);
}

/* The explainer stage: mesh light behind white request cards and the live workspace */
.stage {
  position: relative;
  margin-top: clamp(44px, 5.4vw, 72px);
  border-radius: 28px;
  border: 1px solid var(--hair-d2);
  background: var(--mesh), var(--ob-2);
  padding: clamp(16px, 3vw, 40px);
  overflow: hidden;
}

.req-strip {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 14px;
}

.req-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 13px 14px 24px;
  box-shadow: var(--shadow-float);
  text-align: left;
}
.req-card:nth-child(1) { transform: rotate(-1.2deg) translateY(6px); }
.req-card:nth-child(2) { transform: rotate(0.8deg) translateY(-4px); }
.req-card:nth-child(3) { transform: rotate(-0.5deg) translateY(10px); }
.req-card:nth-child(4) { transform: rotate(1.2deg) translateY(-2px); }
.req-card:nth-child(5) { transform: rotate(-0.9deg) translateY(8px); }

.req-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.req-head strong { color: var(--orange-ink); font-weight: 700; }
.req-card p {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.req-card .pill-ok {
  position: absolute;
  left: 12px;
  bottom: -12px;
  box-shadow: 0 6px 14px -6px rgba(9, 10, 13, 0.4);
}

.stage-note {
  margin: clamp(30px, 3.4vw, 44px) 4px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  font: 600 11.5px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.stage-note strong {
  font: 650 clamp(19px, 2vw, 24px)/1.2 var(--display);
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--white);
}

.app-window {
  background: #0c0d11;
  border: 1px solid var(--hair-d2);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  text-align: left;
  font-size: 15px;
  color: var(--d-text);
}

.app-chrome {
  min-height: 42px;
  padding: 0 16px;
  background: var(--ob-3);
  border-bottom: 1px solid var(--hair-d);
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
  align-items: center;
  gap: 10px;
}
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #33363f;
}
.chrome-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--d-muted);
}
.chrome-tabs span { padding: 5px 11px; border-radius: 7px; }
.chrome-tabs .is-active { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.chrome-badge { justify-self: end; }

.app-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 470px;
}

.app-sidebar {
  background: var(--ob-2);
  border-right: 1px solid var(--hair-d);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sb-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
}
.sb-brand strong {
  font: 700 17px/1 var(--display);
  letter-spacing: -0.04em;
}
.sb-group-label {
  font: 600 10.5px/1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--d-muted);
  padding: 0 8px 8px;
}
.sb-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--d-soft);
}
.sb-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 600;
}
.sb-pill {
  font: 600 10.5px/1.4 var(--mono);
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--ink);
  white-space: nowrap;
}
.sb-pill-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--d-soft);
}
.sb-crew {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hair-d);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-crew-row {
  padding-inline: 8px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--d-muted);
}
.sb-crew-row .role { display: block; }

.app-main {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.app-main-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair-d);
}
.app-main-head h2 {
  font: 650 21px/1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--white);
}
.app-main-sub { font-size: 13px; color: var(--d-muted); }
.app-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.huddle-feed { display: flex; flex-direction: column; gap: 14px; }
.msg-agent { font-size: 14.5px; color: var(--d-soft); min-width: 0; }
.msg-agent-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}
.msg-agent-meta span:last-child { font: 500 11.5px/1.4 var(--mono); color: var(--d-muted); }

/* ---- The structured decision card ("Your move"): pure white on dark chrome ---- */
.agent-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 20px 44px -20px rgba(0, 0, 0, 0.8);
}
.agent-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.agent-card-title {
  font: 650 19px/1.25 var(--display);
  letter-spacing: -0.03em;
}

.choice-group { display: grid; gap: 8px; margin-top: 12px; }
.choice-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--hair-l2);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}
.choice-option:hover { border-color: var(--ink); }
.choice-option[aria-checked="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: var(--paper);
}
.choice-radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid #85868e;
  flex: none;
  display: grid;
  place-items: center;
}
.choice-option[aria-checked="true"] .choice-radio { border-color: var(--ink); }
.choice-option[aria-checked="true"] .choice-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.choice-option strong { display: block; font-size: 14.5px; }
.choice-option span span { display: block; font-size: 13.5px; color: var(--muted); }

.agent-card-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.card-note { font-size: 13px; color: var(--muted); }

.card-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-ink);
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  padding: 10px 14px;
  border-radius: 11px;
}
.card-status::before { content: "\2713\00a0"; }

/* ---- Before and after ---- */
.versus-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.versus-card {
  border-radius: var(--r-panel);
  padding: clamp(24px, 3.4vw, 40px);
}
.versus-old {
  background: var(--paper);
  border: 1px solid var(--hair-l);
}
.versus-new {
  position: relative;
  background: var(--ob);
  color: var(--d-text);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.versus-new::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--pink), var(--cobalt));
}
.versus-card h3 {
  margin-top: 12px;
  font: 650 clamp(24px, 2.6vw, 32px)/1.12 var(--display);
  letter-spacing: -0.035em;
}
.versus-old .versus-kicker { color: var(--muted); }
.versus-new .versus-kicker { color: var(--orange-d); }
.versus-kicker {
  font: 600 12px/1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.versus-list {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 0;
}
.versus-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  font-size: 16.5px;
  border-top: 1px solid var(--hair-l);
  color: var(--ink-2);
}
.versus-new .versus-list li { border-top-color: var(--hair-d); color: var(--d-text); }
.versus-list li::before {
  position: absolute;
  left: 2px;
  top: 12px;
  font: 700 15px/1.5 var(--mono);
}
.versus-old .versus-list li::before { content: "\00d7"; color: var(--muted); }
.versus-new .versus-list li::before { content: "\2713"; color: var(--green-d); }

/* ---- How it flows: five tabs ---- */
.flow-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 3.6vw, 44px);
  align-items: start;
}
.flow-tabs { display: flex; flex-direction: column; gap: 8px; }
.flow-tab {
  text-align: left;
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--hair-l);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}
.flow-tab:hover { border-color: var(--ink); }
.flow-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.flow-num {
  font: 600 13px/1 var(--mono);
  color: var(--orange-ink);
}
.flow-tab[aria-selected="true"] .flow-num { color: var(--orange-d); }
.flow-tab strong {
  display: block;
  font: 650 17px/1.3 var(--display);
  letter-spacing: -0.02em;
}
.flow-tab > span:last-child span {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.flow-tab[aria-selected="true"] > span:last-child span { color: var(--d-muted); }

.flow-stage {
  background: var(--white);
  border: 1px solid var(--hair-l);
  border-radius: var(--r-panel);
  padding: clamp(22px, 3.2vw, 38px);
  box-shadow: var(--shadow-card);
  min-height: 420px;
}
.flow-panel h3 {
  margin-top: 10px;
  font: 650 clamp(26px, 2.8vw, 36px)/1.1 var(--display);
  letter-spacing: -0.04em;
}
.flow-panel > p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16.5px;
}
.flow-preview {
  margin-top: 22px;
  background: var(--ob);
  background-image: var(--mesh);
  border-radius: 16px;
  padding: clamp(12px, 1.8vw, 20px);
}

.mini-mail {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-float);
}
.mini-mail-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
  font: 500 12px/1.5 var(--mono);
  color: var(--muted);
}
.mini-mail h4 { margin-top: 6px; font: 650 16.5px/1.3 var(--display); letter-spacing: -0.02em; }
.mini-mail p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.mini-mail-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hair-l);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-chip-btn {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
}
.mini-chip-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair-l2);
}

.mini-list { display: grid; gap: 8px; }
.mini-row {
  background: var(--white);
  border-radius: 11px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 14px;
  font-size: 14.5px;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.7);
}
.mini-row strong { font-weight: 650; color: var(--ink); }
.mini-row span { color: var(--muted); font-size: 13.5px; }

/* ---- Crew: three roles on obsidian ---- */
.crew-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.crew-card {
  background: var(--ob-3);
  border: 1px solid var(--hair-d);
  border-radius: var(--r-card);
  padding: 26px 26px 28px;
}
.crew-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.crew-card h3 {
  margin-top: 20px;
  font: 650 30px/1.1 var(--display);
  letter-spacing: -0.04em;
  color: var(--white);
}
.crew-card p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--d-soft);
}
.crew-invite-note {
  margin: 28px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 16px;
  color: var(--d-muted);
}

/* Real desktop screenshots in an obsidian frame with mesh light */
.shot {
  margin-top: clamp(30px, 4vw, 52px);
  background: var(--mesh), var(--ob-2);
  border: 1px solid var(--hair-d2);
  border-radius: var(--r-panel);
  padding: clamp(12px, 2.4vw, 32px);
}
.shot a { display: block; border-radius: 12px; }
.shot img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-float);
}
.shot figcaption {
  margin-top: clamp(12px, 1.6vw, 18px);
  padding-inline: 4px;
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.03em;
  color: var(--white);
}
.shot figcaption strong {
  color: var(--white);
  font-weight: 700;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.shot-compact { margin-top: 24px; padding: clamp(10px, 1.4vw, 16px); border-radius: var(--r-card); }

/* ---- Split layout (coding, stack) ---- */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5.5vw, 72px);
  align-items: center;
}
.split-grid > * { min-width: 0; }

.diff-card {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(9, 10, 13, 0.06), 0 34px 70px -34px rgba(9, 10, 13, 0.5);
}
.diff-head {
  padding: 14px 18px;
  background: var(--ob);
  border-bottom: 1px solid var(--hair-d);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.diff-head .eyebrow { color: var(--orange-d); }
.diff-branch { overflow-wrap: anywhere; white-space: normal; }
.diff-code {
  padding: 18px 20px;
  font: 13.5px/1.7 var(--mono);
  background: var(--ob-2);
  color: #e4e4e7;
  overflow-x: auto;
}
.diff-code .del { display: block; background: rgba(255, 75, 110, 0.18); color: #fecdd3; padding: 0 6px; margin-inline: -6px; }
.diff-code .add { display: block; background: rgba(22, 163, 74, 0.22); color: #bbf7d0; padding: 0 6px; margin-inline: -6px; }
.diff-code .dim { display: block; color: var(--d-muted); }
.diff-foot { padding: 18px 20px 20px; }
.diff-commit-box {
  background: var(--paper);
  border: 1px solid var(--hair-l);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 15px;
}
.diff-commit-box small {
  display: block;
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ---- Shared Agent Memory: obsidian showcase with a luminous border ---- */
.memory-box {
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(120deg, var(--orange), var(--coral) 30%, var(--pink) 52%, var(--cobalt) 82%, rgba(37, 99, 235, 0.25));
}
.memory-inner {
  border-radius: 27px;
  background:
    radial-gradient(46% 60% at 100% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    radial-gradient(40% 52% at 0% 100%, rgba(242, 107, 29, 0.16), transparent 70%),
    #0b0c10;
  padding: clamp(24px, 5vw, 68px);
}
.memory-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.memory-top > * { min-width: 0; }

.memory-meter-card {
  background: var(--ob-3);
  border: 1px solid var(--hair-d2);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.8vw, 32px);
}
.seg-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  background: var(--ob);
  border: 1px solid var(--hair-d2);
  border-radius: 11px;
  padding: 4px;
  gap: 4px;
}
.seg-btn {
  border: 0;
  background: transparent;
  color: var(--d-soft);
  font: 600 14px/1.2 var(--font);
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.seg-btn:hover { color: var(--white); }
.seg-btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }

.memory-stat-row {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 6px 18px;
  flex-wrap: wrap;
}
.memory-big {
  font: 700 clamp(84px, 11vw, 152px)/0.9 var(--display);
  letter-spacing: -0.06em;
  color: var(--white);
  font-variant-numeric: lining-nums tabular-nums;
}
.memory-stat-caption {
  font: 650 clamp(18px, 1.8vw, 22px)/1.25 var(--display);
  letter-spacing: -0.02em;
  color: var(--orange-d);
  max-width: 13ch;
}
.memory-summary { margin-top: 14px; font-size: 15px; color: var(--d-soft); }

.memory-bars { margin-top: 22px; display: grid; gap: 14px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 600 12px/1.5 var(--mono);
  color: var(--d-text);
  margin-bottom: 6px;
}
.bar-label span:last-child { color: var(--d-muted); }
.bar-track {
  height: 16px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar-fill-full {
  height: 100%;
  width: 100%;
  background: #52555f;
  border-radius: 5px;
}
.bar-fill-sam {
  height: 100%;
  width: 32%;
  background: linear-gradient(90deg, var(--orange), var(--coral));
  border-radius: 5px;
  transition: width 0.35s ease;
}
.bar-fill-sam.is-long { width: 7%; }

.memory-credit {
  margin-top: 16px;
  font: 500 12px/1.5 var(--mono);
  color: var(--d-muted);
}

.memory-benefits {
  margin-top: clamp(34px, 4.6vw, 56px);
  padding-top: clamp(26px, 3.6vw, 40px);
  border-top: 1px solid var(--hair-d);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.memory-benefit h3 {
  font: 650 22px/1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--white);
}
.memory-benefit p {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--d-soft);
}

.memory-trust {
  margin-top: clamp(26px, 3.6vw, 40px);
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair-d);
  display: grid;
  gap: 10px;
  font-size: 15.5px;
  color: var(--d-soft);
}
.memory-trust strong { color: var(--white); }

/* ---- Stack, Budgets, governance ---- */
.budget-panel {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-card);
}
.budget-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.budget-title {
  margin-top: 14px;
  font: 650 25px/1.15 var(--display);
  letter-spacing: -0.035em;
}
.cap-prompt {
  margin-top: 16px;
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cap-choices {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-choices label {
  min-width: 68px;
  text-align: center;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--hair-l2);
  background: var(--white);
  font: 600 15px/1.3 var(--mono);
  color: var(--ink);
  cursor: pointer;
}
.cap-choices label:hover { border-color: var(--ink); }
#cap-10:checked ~ .cap-choices label[for="cap-10"],
#cap-25:checked ~ .cap-choices label[for="cap-25"],
#cap-50:checked ~ .cap-choices label[for="cap-50"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
#cap-10:focus-visible ~ .cap-choices label[for="cap-10"],
#cap-25:focus-visible ~ .cap-choices label[for="cap-25"],
#cap-50:focus-visible ~ .cap-choices label[for="cap-50"] {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.budget-meter {
  margin-top: 18px;
  height: 14px;
  border-radius: 5px;
  background: var(--chip);
  overflow: hidden;
}
.budget-meter i {
  display: block;
  width: 12.4%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--coral));
  border-radius: 5px;
  transition: width 0.3s ease;
}
#cap-10:checked ~ .budget-meter i { width: 31%; }
#cap-25:checked ~ .budget-meter i { width: 12.4%; }
#cap-50:checked ~ .budget-meter i { width: 6.2%; }

.cap-line {
  display: none;
  margin-top: 10px;
  font: 600 14px/1.5 var(--mono);
  color: var(--ink);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 14px;
}
.cap-line span { color: var(--orange-ink); }
#cap-10:checked ~ .cap-line-10,
#cap-25:checked ~ .cap-line-25,
#cap-50:checked ~ .cap-line-50 { display: flex; }

.stack-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack-pills .tag { font-size: 12.5px; padding: 6px 10px; background: var(--white); border-color: var(--hair-l2); }

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 16.5px;
  color: var(--ink-2);
}
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 0;
  font: 700 15px/1.7 var(--mono);
  color: var(--green-ink);
}

/* ---- Starter templates ---- */
.templates-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.template-card {
  background: var(--paper);
  border: 1px solid var(--hair-l);
  border-radius: var(--r-card);
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.template-card.is-live {
  background: var(--mesh), var(--ob-2);
  border-color: var(--ob);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.template-card h3 {
  margin-top: 44px;
  font: 650 24px/1.12 var(--display);
  letter-spacing: -0.035em;
}
.template-card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.template-card.is-live p { color: var(--white); }

/* ---- Price ---- */
.price-card {
  position: relative;
  max-width: 760px;
  margin: 44px auto 0;
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: var(--r-panel);
  padding: clamp(26px, 4.6vw, 52px);
  box-shadow: 0 2px 4px rgba(9, 10, 13, 0.05), 0 40px 80px -44px rgba(9, 10, 13, 0.45);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--coral), var(--pink), var(--cobalt));
}
.price-card > .h2 { font-size: clamp(30px, 3.6vw, 44px); }
.price-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hair-l);
}
.price-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.price-amount {
  font: 700 clamp(80px, 10vw, 128px)/0.88 var(--display);
  letter-spacing: -0.06em;
  font-variant-numeric: lining-nums tabular-nums;
}
.price-unit {
  font: 650 clamp(19px, 2vw, 24px)/1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink-2);
}
.price-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
  border-top: 1px solid var(--hair-l2);
}
.faq-item { border-bottom: 1px solid var(--hair-l2); }
.faq-item summary {
  list-style: none;
  padding: 22px 4px;
  font: 650 clamp(18px, 1.8vw, 21px)/1.3 var(--display);
  letter-spacing: -0.025em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font: 500 20px/1 var(--mono);
  background: var(--chip);
  color: var(--ink);
}
.faq-item[open] summary::after {
  content: "\2212";
  background: var(--ink);
  color: var(--white);
}
.faq-answer {
  padding: 0 56px 24px 4px;
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---- Built in the open: one dark card, one light card ---- */
.open-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.open-card {
  border-radius: var(--r-panel);
  padding: clamp(24px, 3.6vw, 40px);
  min-width: 0;
}
.open-card h3 {
  margin-top: 12px;
  font: 650 clamp(26px, 2.8vw, 34px)/1.1 var(--display);
  letter-spacing: -0.04em;
}
.open-card p { margin-top: 10px; font-size: 16.5px; }
.open-dark {
  background: var(--mesh), var(--ob-2);
  color: var(--white);
  border: 1px solid var(--ob);
}
.open-dark .eyebrow { color: var(--white); }
.open-dark p { color: var(--white); }
.open-light {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  box-shadow: var(--shadow-card);
}
.open-light p { color: var(--ink-2); }

.ship-log {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  border-radius: 12px;
  background: rgba(9, 10, 13, 0.72);
  border: 1px solid var(--hair-d2);
}
.ship-log li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 12px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
}
.ship-log li + li { border-top: 1px solid var(--hair-d); }
.ship-log time { font: 500 12px/1.8 var(--mono); color: var(--d-soft); }

.subscribe-form {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.subscribe-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--r-btn);
  border: 1px solid #8a8b93;
  background: var(--white);
  color: var(--ink);
  font: 16px/1.3 var(--font);
}
.subscribe-form input[type="email"]::placeholder { color: var(--muted); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  min-height: 22px;
  color: var(--ink-2);
}
.form-status.is-ok { color: var(--green-ink); }
.form-status.is-ok::before { content: "\2713\00a0"; }
.form-status.is-err { color: var(--red-ink); }

/* ---- Statement closer ---- */
.closer {
  position: relative;
  background: #050506;
  color: var(--white);
  padding-block: clamp(96px, 12vw, 168px);
  border-top: 1px solid var(--hair-d);
  overflow: hidden;
  text-align: center;
}
.closer::before {
  content: "";
  position: absolute;
  inset: auto -10% -46% -10%;
  height: 90%;
  background:
    radial-gradient(40% 70% at 22% 100%, rgba(242, 107, 29, 0.5), transparent 70%),
    radial-gradient(36% 64% at 52% 100%, rgba(236, 72, 153, 0.36), transparent 70%),
    radial-gradient(40% 70% at 80% 100%, rgba(37, 99, 235, 0.5), transparent 70%);
  pointer-events: none;
}
.closer > .wrap { position: relative; }
.closer h2 {
  max-width: 17ch;
  margin-inline: auto;
  font: 700 clamp(40px, 6.4vw, 84px)/1.03 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.closer h2 span { display: block; color: var(--d-muted); }
.closer :focus-visible { outline-color: var(--orange-d); }

/* ---- Subpages: download and what's new ---- */
.subpage-hero {
  position: relative;
  background: var(--ob);
  color: var(--d-text);
  padding: clamp(56px, 7vw, 104px) 0 var(--py);
  overflow: hidden;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto;
  height: 560px;
  background:
    radial-gradient(42% 60% at 20% 0%, rgba(242, 107, 29, 0.22), transparent 70%),
    radial-gradient(40% 56% at 82% 0%, rgba(37, 99, 235, 0.22), transparent 70%);
  pointer-events: none;
}
.subpage-hero > .wrap { position: relative; }
.subpage-hero .h1 {
  margin-top: 22px;
  font-size: clamp(42px, 6.4vw, 80px);
  max-width: 14ch;
}
.subpage-hero .lead { color: var(--d-soft); max-width: 56ch; }
.subpage-hero :focus-visible { outline-color: var(--orange-d); }

.notice-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(22px, 3.6vw, 44px);
  box-shadow: var(--shadow-float);
  max-width: 760px;
  margin-inline: auto;
}
.notice-card h2 {
  margin-top: 14px;
  font: 650 clamp(28px, 3.4vw, 42px)/1.08 var(--display);
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.notice-card p { margin-top: 12px; color: var(--ink-2); }
.notice-card .small-note { color: var(--muted); margin-top: 8px; }
.notice-card :focus-visible { outline-color: var(--orange); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.platform-card {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
}
.platform-card h3 {
  font: 650 34px/1.1 var(--display);
  letter-spacing: -0.045em;
}
.platform-card p { font-size: 16px; color: var(--ink-2); }
.platform-card p strong { color: var(--ink); }
.platform-meta {
  margin-top: auto;
  padding-top: 16px;
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.03em;
  color: var(--muted);
}

.release-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}
.release-list li {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: var(--r-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.release-list time {
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.release-list h2 {
  font: 650 clamp(24px, 2.8vw, 34px)/1.1 var(--display);
  letter-spacing: -0.04em;
}
.release-list p {
  margin-top: 10px;
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 68ch;
}

.cta-card {
  margin: 32px auto 0;
  max-width: 900px;
  background: var(--mesh), var(--ob-2);
  color: var(--white);
  border-radius: var(--r-panel);
  padding: clamp(24px, 4vw, 48px);
}
.cta-card h2 {
  font: 650 clamp(28px, 3.4vw, 42px)/1.08 var(--display);
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.cta-card p { margin-top: 12px; color: var(--white); max-width: 52ch; }
.cta-card :focus-visible { outline-color: var(--white); }

/* ---- Footer ---- */
.site-footer {
  background: var(--ob);
  color: var(--d-muted);
  border-top: 1px solid var(--hair-d);
  padding-block: 36px 96px;
}
.footer-inner {
  width: min(calc(100% - 2 * var(--gutter)), var(--wrap));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  font-size: 14.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-weight: 500;
  color: var(--d-text);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- First-party Ask Chancla helper ---- */
.help-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 18px 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--ob);
  color: var(--white);
  font: 600 15px/1 var(--font);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.help-launcher:hover { background: var(--ob-4); }
.help-launcher svg { color: var(--orange-d); flex: none; }

.help-drawer {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 95;
  width: min(400px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 112px));
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 30px 80px -18px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 15px;
}
.help-head {
  padding: 14px 16px;
  background: var(--ob);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.help-head-id { display: flex; align-items: center; gap: 12px; }
.help-head-id svg {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ob-4);
  color: var(--orange-d);
}
.help-head-id strong { display: block; font: 650 17px/1.2 var(--display); letter-spacing: -0.03em; }
.help-head-id small {
  display: block;
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--d-soft);
}
.help-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--hair-d2);
  background: var(--ob-4);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.help-head :focus-visible { outline-color: var(--orange-d); }

.help-log {
  padding: 14px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
}
.help-user-msg {
  align-self: flex-end;
  background: var(--ink);
  color: var(--white);
  padding: 9px 13px;
  border-radius: 12px 12px 3px 12px;
  font-size: 14.5px;
  max-width: 85%;
}
.help-card {
  background: var(--white);
  border: 1px solid var(--hair-l2);
  border-radius: 13px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.help-card h3 { font: 650 18px/1.25 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.help-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.help-card .small-note { margin-top: 0; font-size: 13px; color: var(--muted); }
.help-card ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
}
.help-card li { position: relative; padding-left: 22px; }
.help-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font: 700 13px/1.6 var(--mono);
  color: var(--green-ink);
}
.help-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.help-card-actions a {
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--hair-l2);
  color: var(--ink);
}
.help-card-actions a:first-child {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.help-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.help-chip {
  border: 1px solid var(--hair-l2);
  background: var(--white);
  color: var(--ink);
  font: 600 13px/1.2 var(--font);
  padding: 8px 11px;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
}
.help-chip:hover { border-color: var(--ink); background: var(--paper); }

.help-form {
  padding: 12px;
  border-top: 1px solid var(--hair-l);
  background: var(--white);
  display: flex;
  gap: 8px;
}
.help-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #8a8b93;
  background: var(--white);
  color: var(--ink);
  font: 15px/1.3 var(--font);
}
.help-form input::placeholder { color: var(--muted); }
.help-form button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font: 600 15px/1 var(--font);
  cursor: pointer;
}
.help-form button:hover { background: #26282f; }

/* ---- Responsive: tablet, then phone (390px) ---- */
@media (max-width: 1080px) {
  .req-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .req-card:nth-child(n+4) { display: none; }
}

@media (max-width: 980px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-sidebar { display: none; }
  .crew-grid, .memory-benefits, .platform-grid,
  .flow-grid, .split-grid, .memory-top, .open-grid, .versus-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .templates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-stage { min-height: 0; }
  .nav-links { gap: 20px; }
}

@media (max-width: 720px) {
  :root { --py: 68px; }
  html { scroll-padding-top: 120px; }
  .site-nav {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 12px 4px;
    gap: 8px 14px;
  }
  .brand-sub { display: none; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14.5px;
    border-top: 1px solid var(--hair-d);
  }
  .eyebrow-pill { border-radius: 12px; font-size: 10.5px; }
  .hero-actions .btn, .price-actions .btn { flex: 1 1 100%; }
  .stage { border-radius: 20px; padding: 14px; }
  .req-strip { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .req-card:nth-child(n) { transform: none; }
  .app-chrome { grid-template-columns: auto minmax(0, 1fr); }
  .chrome-badge { display: none; }
  .chrome-tabs { justify-content: flex-end; }
  .chrome-tabs span { padding: 5px 7px; }
  .app-main { padding: 16px 14px; }
  .agent-card { padding: 16px 14px; }
  .agent-card-actions .btn { flex: 1 1 auto; }
  .mini-row { flex-direction: column; }
  .templates-grid { grid-template-columns: minmax(0, 1fr); }
  .template-card h3 { margin-top: 24px; }
  .memory-box { border-radius: 20px; }
  .memory-inner { border-radius: 19px; padding: 24px 16px; }
  .memory-meter-card { padding: 16px; }
  .seg-btn { padding: 9px 11px; }
  .memory-stat-caption { max-width: none; }
  .faq-answer { padding-right: 4px; }
  .subscribe-form .btn { flex: 1 1 100%; }
  .help-launcher { right: 14px; bottom: 14px; }
  .help-drawer { right: 12px; bottom: 74px; width: calc(100vw - 24px); }
}

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