/* Swarmr marketing site. No build step, no external fonts or scripts. */

:root {
  --bg: #0c0b0a;
  --bg-2: #121110;
  --surface: #181614;
  --surface-2: #1f1c19;
  --line: rgba(255, 240, 220, 0.08);
  --line-2: rgba(255, 240, 220, 0.14);
  --text: #f3eee8;
  --text-2: #b9b1a7;
  --text-3: #857d73;
  --honey: #f6b93b;
  --honey-2: #ffd27a;
  --honey-glow: rgba(246, 185, 59, 0.18);
  --green: #6bd69a;
  --blue: #86a9ff;
  --red: #ff7a6b;
  --violet: #c79bff;
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--honey-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--honey-2); background: rgba(246, 185, 59, 0.08); padding: 0.1em 0.35em; border-radius: 5px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; text-wrap: pretty; }
h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }

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

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 650 18px/1 var(--display); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; color: var(--honey); }
.mark path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.mark path.fill { fill: currentColor; }
.mark.big { width: 64px; height: 64px; filter: drop-shadow(0 0 24px var(--honey-glow)); }
.brand.small { font-size: 15px; }
.brand.small .mark { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  background: linear-gradient(180deg, var(--honey-2), var(--honey));
  color: #1a1206; font-weight: 650; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(255, 210, 122, 0.4) inset, 0 8px 30px -8px rgba(246, 185, 59, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 210, 122, 0.5) inset, 0 12px 36px -8px rgba(246, 185, 59, 0.75); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 0 1px rgba(255, 240, 220, 0.25) inset; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 11, 10, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { color: var(--text-2); font-size: 14px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 820px) { .nav nav { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -2;
  background:
    radial-gradient(600px 340px at 50% 18%, rgba(246, 185, 59, 0.16), transparent 70%),
    radial-gradient(900px 500px at 50% 0%, rgba(199, 155, 255, 0.06), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='0.035'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 80%);
}
#swarm {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  /* Thin the swarm behind the headline and copy so it never crosses the text at full strength. */
  mask-image: radial-gradient(ellipse 34% 30% at 50% 36%, rgba(0, 0, 0, 0.12) 40%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 34% 30% at 50% 36%, rgba(0, 0, 0, 0.12) 40%, #000 100%);
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03);
  color: var(--text-2); font-size: 13px; font-weight: 500;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 10px var(--honey); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
h1 {
  margin-top: 26px;
  font-size: clamp(48px, 8.4vw, 104px); line-height: 1.06; font-weight: 750; letter-spacing: -0.03em;
  /* background-clip: text paints only the element's box; the padding keeps descenders (g, comma) from being cut. */
  padding: 0 0.04em 0.12em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #cfc6bb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em {
  font-style: normal; padding: 0 0.04em 0.12em 0;
  background: linear-gradient(100deg, var(--honey-2), var(--honey) 55%, #e8891c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; max-width: 600px; text-wrap: balance; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fine { margin-top: 18px; color: var(--text-3); font-size: 13px; }

/* Product shot */
.shot { margin-top: 72px; perspective: 2000px; }
.shot figcaption { margin-top: 16px; text-align: center; color: var(--text-3); font-size: 13px; }
.window {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #1b1916, #141210);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(246, 185, 59, 0.25);
  transform: rotateX(8deg) scale(0.98); transform-origin: 50% 0;
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
}
.window.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .window { transform: none; transition: none; } }
.titlebar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.lights { display: inline-flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.title { color: var(--text-2); font-size: 13px; font-weight: 600; }
.tb-actions { justify-self: end; color: var(--text-3); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.kbd { font-family: var(--mono); font-size: 11px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--text-2); }
.win-body { display: grid; grid-template-columns: 280px 1fr; min-height: 470px; text-align: left; }

.sidebar { border-right: 1px solid var(--line); padding: 14px 10px; background: rgba(0, 0, 0, 0.18); }
.group { margin: 12px 8px 6px; color: var(--text-3); font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; }
.group:first-child { margin-top: 2px; }
.run { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 9px 10px; border-radius: 9px; }
.run .chip { grid-row: span 2; align-self: start; margin-top: 2px; }
.run.active { background: rgba(246, 185, 59, 0.09); box-shadow: 0 0 0 1px rgba(246, 185, 59, 0.2) inset; }
.run.child { margin-left: 18px; position: relative; }
.run.child::before { content: ""; position: absolute; left: -8px; top: -4px; bottom: 50%; width: 8px; border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.run-name { font-size: 13px; font-weight: 550; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.run-meta { font: 11.5px/1.4 var(--mono); color: var(--text-3); }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px;
  font: 600 10.5px/1.6 var(--sans); letter-spacing: 0.02em; white-space: nowrap;
  border: 1px solid currentColor;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-work { color: var(--green); background: rgba(107, 214, 154, 0.08); border-color: rgba(107, 214, 154, 0.3); }
.chip-work::before { animation: pulse 1.6s ease-in-out infinite; }
.chip-need { color: var(--honey); background: rgba(246, 185, 59, 0.1); border-color: rgba(246, 185, 59, 0.35); }
.chip-wait { color: var(--blue); background: rgba(134, 169, 255, 0.08); border-color: rgba(134, 169, 255, 0.3); }
.chip-done { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
@media (prefers-reduced-motion: reduce) { .chip-work::before { animation: none; } }

.detail { display: flex; flex-direction: column; min-width: 0; }
.detail-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.d-title { font-weight: 650; font-size: 15px; }
.d-sub { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.d-sub code { font-size: 11.5px; }
.d-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; font-weight: 550; background: rgba(255, 255, 255, 0.02); }
.pill.sm { padding: 3px 9px; font-size: 11.5px; }
.pill.primary { background: var(--honey); color: #1a1206; border-color: transparent; }

.transcript { list-style: none; margin: 0; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.msg .who { display: block; font: 600 11px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); margin-bottom: 2px; }
.msg.user { color: var(--text); padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); max-width: 560px; }
.msg.thought { padding-left: 14px; border-left: 2px solid rgba(199, 155, 255, 0.45); font-style: italic; }
.msg.thought .who { font-style: normal; color: var(--violet); }
.msg.tool {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; border-radius: 9px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line);
  font: 12.5px/1.4 var(--mono);
}
.msg.tool b { color: var(--text); font-weight: 600; }
.tool-ico { color: var(--honey); width: 14px; text-align: center; }
.tool-ok { margin-left: auto; color: var(--green); }
.add { color: var(--green); } .del { color: var(--red); }
.msg.perm {
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(246, 185, 59, 0.1), rgba(246, 185, 59, 0.04));
  border: 1px solid rgba(246, 185, 59, 0.35);
  color: var(--text);
}
.msg.perm .who { color: var(--honey); }
.perm-btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pbtn {
  font: 600 12.5px/1 var(--sans); padding: 7px 13px; border-radius: 8px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--line-2);
  transition: background 0.15s, transform 0.1s;
}
.pbtn:hover { background: rgba(255, 255, 255, 0.09); }
.pbtn:active { transform: scale(0.97); }
.pbtn.primary { background: var(--honey); color: #1a1206; border-color: transparent; }
.pbtn.primary:hover { background: var(--honey-2); }
.perm-done { margin-top: 8px; color: var(--green); font-size: 12.5px; font-weight: 600; }
.msg.perm.answered { border-color: rgba(107, 214, 154, 0.35); background: rgba(107, 214, 154, 0.06); }
.prompt {
  margin: 0 20px 18px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.25);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ph { color: var(--text-3); font-size: 13.5px; }
.chips { display: flex; gap: 6px; }
.mini { font: 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); color: var(--text-2); border: 1px solid var(--line); }

@media (max-width: 860px) {
  .win-body { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .d-actions, .chips { display: none; }
}

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 36px; flex-wrap: wrap; padding: 22px 0; }
.strip-label { color: var(--text-3); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.agent { font: 650 18px/1 var(--display); color: var(--text-2); letter-spacing: -0.01em; }
.agent.muted { color: var(--text-3); font-weight: 500; font-size: 15px; font-style: italic; }

/* Sections */
.section { padding: 120px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.kicker { color: var(--honey); font: 650 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; font-weight: 720; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; }
.sec-lede { margin-top: 20px; color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 620px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: rgba(246, 185, 59, 0.3); transform: translateY(-2px); }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.step b { color: var(--text); }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 38px; margin-bottom: 18px;
  font: 700 15px/1 var(--mono); color: #1a1206; background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { margin-top: 72px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.split-copy p { margin-top: 14px; color: var(--text-2); font-size: 16.5px; }
.split-copy h3 { font-size: 26px; letter-spacing: -0.025em; }
.term {
  margin: 0; padding: 22px 24px; border-radius: var(--radius); overflow-x: auto;
  background: #0a0908; border: 1px solid var(--line-2);
  font: 13.5px/1.75 var(--mono); color: var(--text);
}
.term code { background: none; padding: 0; color: inherit; font-size: inherit; }
.term .c { color: var(--text-3); }
.term .a { color: var(--honey-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two.rev > :first-child { order: 2; }
@media (max-width: 940px) { .two { grid-template-columns: 1fr; gap: 48px; } .two.rev > :first-child { order: 0; } }

.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); font-size: 15.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 18px; background: var(--honey); opacity: 0.9;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 3.5px, #000 4px);
  mask: radial-gradient(circle at 50% 50%, transparent 3.5px, #000 4px);
}
.ticks b { color: var(--text); font-weight: 600; }

/* Shepherd tree */
.tree { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.node {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
}
.node b { display: block; font-size: 14.5px; }
.node span:not(.chip) { font: 12px/1.4 var(--mono); color: var(--text-3); }
.node.root { border-color: rgba(246, 185, 59, 0.35); box-shadow: 0 0 40px -12px var(--honey-glow); }
.branches { margin: 0 0 0 22px; padding: 14px 0 0 22px; border-left: 1px dashed var(--line-2); display: grid; gap: 12px; }
.branches .node { position: relative; }
.branches .node::before { content: ""; position: absolute; left: -23px; top: 50%; width: 22px; border-top: 1px dashed var(--line-2); }
.escalate {
  margin-top: 20px; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(246, 185, 59, 0.08); border: 1px solid rgba(246, 185, 59, 0.3);
  font-size: 14.5px; color: var(--text-2);
}
.escalate b { color: var(--honey-2); }
.esc-ico { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--honey); color: #1a1206; font-weight: 800; font-size: 13px; }

/* Setup checklist */
.checklist { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.cl-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 600; }
.cl-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.cl-row .v { font: 12px/1 var(--mono); color: var(--text-3); }
.cl-row.ok .st { color: var(--green); font-weight: 700; }
.cl-row.todo .st { color: var(--honey); }
.cl-foot { padding: 16px 18px 18px; background: rgba(0, 0, 0, 0.2); }
.cl-foot p { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cl-foot pre { margin: 8px 0 0; overflow-x: auto; }
.cl-foot code { display: block; padding: 10px 12px; font-size: 12.5px; white-space: pre; }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.card h3 { font-size: 17.5px; }
.card::before {
  content: ""; display: block; width: 28px; height: 32px; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--honey-2), #d27f14);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: 0.9;
}
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* Assistant chat */
.chat { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.55; }
.bubble.me { align-self: flex-end; background: linear-gradient(180deg, #3a6ff7, #2f5fe0); color: #fff; border-bottom-right-radius: 5px; }
.bubble.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 5px; }
.where { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 999px; font: 600 10.5px/1.6 var(--sans); color: var(--violet); background: rgba(199, 155, 255, 0.1); border: 1px solid rgba(199, 155, 255, 0.3); }
.confirm { display: flex; gap: 8px; margin-top: 12px; }
.chat-note { color: var(--text-3); font-size: 12.5px; text-align: center; }

/* Status */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.status .col { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.status h3 .chip { font-size: 12px; padding: 3px 10px; }
.status ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.status li { color: var(--text-2); padding-left: 18px; position: relative; }
.status li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 760px) { .status { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 600 18px/1.4 var(--display); letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--sans); color: var(--honey); transition: transform 0.2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 24px; color: var(--text-2); font-size: 16px; max-width: 680px; }

/* Final CTA */
.final { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 100%, rgba(246, 185, 59, 0.14), transparent 70%); }
.final { isolation: isolate; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { margin-top: 24px; }
.final .sec-lede { margin-inline: auto; margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--text-3); font-size: 13px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--text-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Grid items holding <pre> must be allowed to shrink, or long lines widen the page on phones. */
.split > *, .two > *, .status > *, .grid > * { min-width: 0; }
.msg.tool > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notfound { min-height: 100vh; display: grid; place-items: center; border-top: 0; }
