/* Modus homepage. Built from website/home-page.dc.html (approved Oct 24, 2026).
   Brand: Cream background, Charcoal text, Oxblood brand color; Sage = Allow, Ochre = Ask first, Plum = Never. */

:root {
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --cream: #FBF7F0;
  --cream-tint: #F6F0E6;
  --cream-chip: #F3ECE2;
  --line: #E8DFD3;
  --line-soft: #F1E9DD;
  --line-strong: #CFC3B4;
  --white: #FFFFFF;

  --charcoal: #1C1A19;
  --charcoal-2: #2B2928;
  --charcoal-3: #3A3836;
  --text-2: #4F4C49;
  --text-3: #63605C;
  --on-dark: #D9D6D2;
  --on-dark-muted: #9C9893;

  --oxblood: #8C1C24;
  --oxblood-hover: #731720;
  --oxblood-on-dark: #E0646C;

  --ok: #3D6340;      --ok-bg: #E3EDE2;  --sage: #4F7A52;
  --ask: #7A5913;     --ask-bg: #F6EBD2; --ochre: #B7861F;
  --never: #5B3E73;   --never-bg: #EDE6F2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--charcoal);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--oxblood); }
a:hover { color: var(--oxblood-hover); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { display: block; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-3); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.dark :focus-visible, .cta-code :focus-visible { outline-color: var(--oxblood-on-dark); }

.wrap { max-width: 1520px; margin: 0 auto; padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); }
.section { padding-top: 104px; padding-bottom: 104px; }
.bordered { border-top: 1px solid var(--line); }
.tinted { background: var(--cream-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { margin: 0 0 14px; font-family: var(--font-mono); font-size: 13px; color: var(--oxblood); }
.eyebrow-dark { color: var(--oxblood-on-dark); }
.h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -1px; }
.lead { margin-top: 18px; color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer;
}
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-primary { background: var(--oxblood); color: var(--cream); }
.btn-primary:hover { background: var(--oxblood-hover); color: var(--cream); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid var(--line-strong); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); }
.btn-outline.mono { font-family: var(--font-mono); font-size: 15px; padding: 15px 22px; }
.btn-white { background: var(--white); padding: 14px 22px; }
.btn-cream { background: var(--cream); color: var(--oxblood); font-weight: 700; padding: 16px 28px; font-size: 17px; }
.btn-cream:hover { background: var(--white); color: var(--oxblood); }
.btn-ghost-light { border: 1px solid #E0A0A5; color: var(--cream); padding: 16px 24px; font-size: 17px; }
.btn-ghost-light:hover { background: rgba(251, 247, 240, 0.1); color: var(--cream); }

/* Pills */
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; line-height: 1.5;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.pill-lg { font-size: 12px; padding: 4px 13px; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-ask { background: var(--ask-bg); color: var(--ask); }
.pill-never { background: var(--never-bg); color: var(--never); }
.pill-idle { background: var(--cream-chip); color: var(--text-3); }
.pill-run { background: #F3E3E3; color: var(--oxblood); }

/* Announcement bar */
.announce { border-bottom: 1px solid var(--line); text-align: center; padding: 10px 20px; font-size: 14px; }
.announce-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--cream);
  background: var(--oxblood); padding: 2px 7px; border-radius: 4px; margin-right: 8px;
}
.announce a { font-weight: 600; margin-left: 6px; }

/* Header */
.header { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand:hover { color: var(--charcoal); }
.brand span { font-family: var(--font-heading); font-weight: 600; font-size: 26px; letter-spacing: -0.3px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--charcoal); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--oxblood); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.signin { color: var(--charcoal); text-decoration: none; font-size: 15px; font-weight: 600; padding: 12px 14px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.online { margin: 0 0 18px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--ok); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
h1 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -1px; }
.hero-lead { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.works-with { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.works-with .label { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.works-with img { width: 26px; height: 26px; object-fit: contain; }
.and-more { font-size: 14px; color: var(--text-3); }

/* Live code card: types an example, shows the result, rotates */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.live-col { flex: 1 1 520px; min-width: 0; }
.live-code {
  margin: 0; background: #121110; border: 1px solid var(--charcoal-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(28, 26, 25, 0.18);
}
.live-bar { display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid var(--charcoal-2); }
.live-dots { display: flex; gap: 6px; flex: none; }
.live-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal-3); }
.feed-title { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-muted); padding: 14px 0; }
.live-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.live-tabs button {
  flex: none; font-family: var(--font-mono); font-size: 12px; padding: 12px 12px; min-height: 44px; border: 0;
  border-bottom: 2px solid transparent; background: transparent; color: var(--on-dark-muted); cursor: pointer;
}
.live-tabs button[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--oxblood-on-dark); }
.live-pre {
  margin: 0; padding: 22px 22px 18px; height: 300px; overflow: hidden;
  font-family: var(--font-mono); font-size: 14px; line-height: 1.75; color: #E8E4DF; white-space: pre-wrap; word-break: break-word;
}
.live-pre .p { color: var(--oxblood-on-dark); }   /* $ prompt */
.live-pre .k { color: #E9A98F; }                  /* keyword or command */
.live-pre .s { color: #E6C77A; }                  /* string */
.live-pre .c { color: var(--on-dark-muted); }      /* comment */
.live-pre .o { color: var(--on-dark); }            /* plain output */
.live-pre .ok { color: #9CC79F; }                 /* allowed, done */
.live-pre .ask { color: #E6C77A; }                /* ask first */
.live-pre .no { color: #C3A6DE; }                 /* never, blocked */
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: text-bottom; background: var(--oxblood-on-dark); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.live-progress { height: 2px; background: var(--charcoal-2); }
.live-progress span { display: block; height: 100%; width: 0; background: var(--oxblood-on-dark); }

/* Logo carousel */
.engines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-tint); padding: 56px 0 48px; overflow: hidden; }
.engines-head { margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.engines-head h2 { font-family: var(--font-heading); font-weight: 600; font-size: 30px; letter-spacing: -0.5px; }
.engines-head p { font-size: 15px; color: var(--text-3); }
.marquee {
  overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: mxLeft 48s linear infinite; }
.marquee-track.rev { animation-name: mxRight; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mxLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mxRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.chip {
  display: flex; align-items: center; gap: 10px; white-space: nowrap; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; font-size: 15px; font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--oxblood); transform: translateY(-2px); }
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip-letter { width: 22px; height: 22px; border-radius: 6px; background: var(--cream-chip); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.chip-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--cream-chip); color: var(--text-3); }
.chip-tag.tag-live { background: var(--ok-bg); color: var(--ok); }

/* Command center */
.tabs { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 11px 18px; min-height: 44px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--charcoal);
  cursor: pointer; transition: background .15s, color .15s;
}
.tabs button[aria-selected="true"] { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.browser { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px rgba(28, 26, 25, 0.08); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--cream); }
.browser-bar > span:not(.browser-path) { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser-path { margin-left: 12px; font-size: 12px; color: var(--text-3); }
.browser-body { padding: 24px; overflow-x: auto; }

.table .tr, .table .thead { display: grid; gap: 12px; align-items: center; }
.agents-table { min-width: 640px; }
.agents-table .thead, .agents-table .tr { grid-template-columns: 2fr 1.4fr 1fr 1.6fr 2fr; }
.agents-table .thead { font-size: 11px; color: var(--text-3); padding: 0 8px 10px; border-bottom: 1px solid var(--line-soft); }
.agents-table .tr { padding: 13px 8px; border-bottom: 1px solid var(--cream-tint); font-size: 15px; }
.agents-table .name { font-weight: 500; }
.engine { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.engine img { width: 18px; height: 18px; object-fit: contain; }
.spend { font-size: 13px; }
.meter { display: block; height: 6px; border-radius: 4px; background: var(--line-soft); margin-top: 5px; }
.meter span { display: block; height: 6px; border-radius: 4px; }
.last { font-size: 14px; color: var(--text-2); }

.approvals { display: flex; flex-direction: column; gap: 12px; }
.approval {
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between;
  border: 1px solid #E9D9B4; background: #FBF4E4; border-radius: 14px; padding: 16px 18px;
}
.approval-copy { flex: 1 1 320px; min-width: 0; }
.approval-title { font-weight: 600; }
.approval-detail { font-size: 14px; color: var(--text-2); }
.approval-detail .mono { color: var(--oxblood); }
.approval-btns { display: flex; gap: 8px; }
.fake-btn { font-size: 14px; font-weight: 600; background: var(--white); border: 1px solid var(--line-strong); border-radius: 9px; padding: 9px 16px; }
.fake-primary { background: var(--oxblood); border-color: var(--oxblood); color: var(--cream); }

.spend-view { display: flex; flex-wrap: wrap; gap: 28px; }
.spend-stats { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stat-label { font-size: 11px; color: var(--text-3); }
.stat-big { font-size: 34px; font-weight: 600; }
.stat-mid { font-size: 24px; font-weight: 600; color: var(--ok); }
.stat-note { font-size: 14px; color: var(--text-3); }
.chart { flex: 3 1 420px; min-width: 0; display: flex; align-items: flex-end; gap: 10px; height: 220px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 2px; }
.chart .col span:nth-child(1) { background: var(--oxblood); border-radius: 3px 3px 0 0; }
.chart .col span:nth-child(2) { background: var(--ochre); }
.chart .col span:nth-child(3) { background: var(--sage); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }

.audit-table { font-size: 13px; min-width: 640px; }
.audit-table .tr { grid-template-columns: 90px 160px 90px 1fr 70px; gap: 14px; padding: 10px 6px; border-bottom: 1px solid var(--cream-tint); }
.audit-table .what { color: var(--text-2); }
.audit-table .cost { text-align: right; }
.d-ask, .d-allow, .d-never { font-weight: 600; }
.d-ask { color: var(--ask); } .d-allow { color: var(--ok); } .d-never { color: var(--never); }

/* Split sections */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-copy { flex: 1 1 380px; min-width: 0; }

/* For developers */
.dark { background: var(--charcoal); color: var(--cream); }
.dark-lead { margin-top: 18px; color: var(--on-dark); }
.arrows { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--on-dark); }
.code-box { flex: 1 1 540px; min-width: 0; background: #121110; border: 1px solid var(--charcoal-2); border-radius: 16px; overflow: hidden; }
.code-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--charcoal-2); }
.code-tabs button {
  font-family: var(--font-mono); font-size: 13px; padding: 13px 18px; min-height: 44px; border: 0;
  border-bottom: 2px solid transparent; background: transparent; color: var(--on-dark-muted); cursor: pointer;
}
.code-tabs button[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--oxblood-on-dark); }
.code-box pre { margin: 0; padding: 22px; font-family: var(--font-mono); font-size: 14px; line-height: 1.75; color: #E8E4DF; white-space: pre-wrap; overflow-x: auto; }

/* Ask first demo */
.demo { flex: 1 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 50px rgba(28, 26, 25, 0.07); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.demo-agent { font-weight: 600; font-size: 15px; }
.demo-sub { font-size: 12px; color: var(--text-3); }
.bubble { max-width: 92%; background: var(--cream-tint); padding: 13px 16px; border-radius: 16px 16px 16px 4px; font-size: 15px; }
.ask-card { border: 1px solid #E9D9B4; background: #FBF4E4; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ask-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.ask-call { font-size: 13px; color: var(--text-2); background: var(--white); border: 1px solid #F1E3C4; border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.ask-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ask-btns .btn { padding: 12px 20px; }
.ask-btns .btn-outline { background: var(--white); }
.ask-result { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.ok-text { color: var(--ok); }
.never-text { color: var(--never); }
.replay { font-family: var(--font-body); font-size: 14px; background: none; border: 0; color: var(--oxblood); text-decoration: underline; cursor: pointer; min-height: 44px; }

/* Governance */
.gov-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.card-pad { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 24px; }
.card p { font-size: 15px; color: var(--text-2); }
.gov-wide { grid-column: span 2; overflow: hidden; }
.rules-head { padding: 22px 24px 8px; }
.rules-head p { margin-top: 6px; }
.rule { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 14px 24px; border-top: 1px solid var(--line-soft); font-size: 15px; }

/* Templates */
.templates-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.text-link { color: var(--oxblood); font-weight: 600; text-decoration: none; padding: 10px 0; }
.roles { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.role { gap: 12px; }
.role-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .role-head h3 { font-family: var(--font-mono); font-size: 17px; }
.role-tools { margin-top: auto; font-size: 12px; color: var(--text-3); }

/* 168 band */
.hours { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hours-num { flex: 1 1 320px; font-size: clamp(72px, 10vw, 140px); font-weight: 600; line-height: 1; color: var(--oxblood); }
.hours-copy { flex: 2 1 460px; min-width: 0; }
.hours-copy h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.5px; }

/* Hosting */
.hosting { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.host-card { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.host-kicker { font-size: 12px; color: var(--text-3); }
.host-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 24px; }
.host-card p { color: var(--text-2); font-size: 15px; }
.host-card .host-price { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 600; color: var(--charcoal); }
.host-dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.host-dark .host-kicker { color: var(--oxblood-on-dark); }
.host-dark p { color: var(--on-dark); }
.host-dark .host-price a { color: var(--cream); }

/* Modus Box */
.box { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.stack-col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stack { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 6px; }
.layer { border-radius: 10px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 600; }
.layer .mono { font-size: 12px; font-weight: 400; }
.layer-add { height: 60px; border: 1.5px dashed var(--oxblood); color: var(--oxblood); }
.layer-brain { height: 64px; background: var(--charcoal); color: var(--cream); }
.layer-brain i { width: 36px; height: 6px; border-radius: 3px; background: var(--oxblood-on-dark); }
.layer-storage { height: 64px; background: var(--charcoal-2); color: var(--cream); }
.layer-storage .mono { color: var(--on-dark); }
.layer-power { height: 42px; background: var(--charcoal-3); color: var(--cream); font-size: 15px; }
.concept { margin-top: 6px; font-size: 11px; color: var(--text-3); }
.box-copy { flex: 1 1 520px; min-width: 0; }
.lines { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.lines > div { flex: 1 1 170px; min-width: 0; border-top: 2px solid var(--oxblood); padding-top: 12px; font-size: 15px; color: var(--text-2); }
.line-name { font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--charcoal); }
.waitlist { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field-email { flex: 2 1 220px; }
.field-pick { flex: 1 1 150px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  font-family: var(--font-body); font-size: 16px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--charcoal); min-height: 48px; width: 100%;
}
.btn-form { font-size: 16px; padding: 13px 22px; min-height: 48px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* Pricing */
.plans { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.plan { flex: 1 1 260px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-name { font-size: 12px; color: var(--text-3); }
.plan-price { font-size: 36px; font-weight: 600; }
.plan-price span { font-size: 15px; color: var(--text-3); }
.plan p { font-size: 15px; color: var(--text-2); }
.plan-hot { border: 2px solid var(--oxblood); }
.plan-hot .plan-name { color: var(--oxblood); }
.plan-dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.plan-dark .plan-name { color: var(--oxblood-on-dark); }
.plan-dark p { color: var(--on-dark); }
.plan-cta { margin-top: auto; text-align: center; text-decoration: none; font-weight: 600; padding: 12px; border-radius: 10px; min-height: 44px; }
.plan-cta-outline { border: 1px solid var(--line-strong); color: var(--charcoal); }
.plan-cta-outline:hover { color: var(--charcoal); background: var(--cream); }
.plan-cta-primary { background: var(--oxblood); color: var(--cream); }
.plan-cta-primary:hover { background: var(--oxblood-hover); color: var(--cream); }
.plan-cta-light { background: var(--cream); color: var(--charcoal); }
.plan-cta-light:hover { background: var(--white); color: var(--charcoal); }
.usage-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* Personal use band */
.personal { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.personal-copy { flex: 1 1 480px; min-width: 0; }
.personal-copy h2 { font-family: var(--font-heading); font-weight: 600; font-size: 30px; letter-spacing: -0.5px; }
.personal-copy p { margin-top: 8px; color: var(--text-2); }

/* Closing call to action: drifting code behind one big line */
.cta-code { position: relative; overflow: hidden; background: #121110; color: var(--cream); text-align: center; }
.code-rain { position: absolute; inset: 0; display: flex; gap: 28px; padding: 0 20px; opacity: 0.55; }
.code-rain .col { flex: 1 1 0; min-width: 0; overflow: hidden; }
.code-rain .track { animation: drift linear infinite; will-change: transform; }
.code-rain pre { margin: 0; font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: #6E6A66; white-space: pre; }
.code-rain .k { color: #A5786B; } .code-rain .ok { color: #7FA582; } .code-rain .ask { color: #C9A24E; } .code-rain .no { color: #9E86B8; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.cta-code::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(18, 17, 16, 0.92) 0%, rgba(18, 17, 16, 0.55) 55%, rgba(18, 17, 16, 0.2) 100%);
}
.cta-inner { position: relative; z-index: 1; padding: 150px 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-eyebrow { font-size: 13px; letter-spacing: 0.22em; color: var(--on-dark); }
.cta-code h2 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -2px; }

/* Footer: light, logo on the left, link columns */
.footer { background: var(--cream); border-top: 1px solid var(--line); }
.footer-inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; }
.footer-brand { flex: 2 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand .brand span { font-size: 22px; }
.footer-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); background: var(--white); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.footer-col { flex: 1 1 140px; min-width: 0; }
.footer-head { font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--text-3); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer-col a:hover { color: var(--oxblood); }
.footer-bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-3); }

/* Phone */
@media (max-width: 700px) {
  .gov-wide { grid-column: auto; }
  .gov-grid, .roles { grid-template-columns: 1fr; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 32px; padding-bottom: 64px; }
  .hero-copy, .live-col, .split-copy, .demo, .code-box, .box-copy, .stack-col, .hours-num, .hours-copy, .personal-copy { flex-basis: 100%; }
  .nav { display: none; }
  .live-pre { font-size: 12.5px; height: 290px; padding: 18px 16px; }
  .announce { font-size: 13px; }
}

/* Motion off for people who ask for less of it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .live-dot, .caret, .code-rain .track { animation: none; }
  .marquee { overflow-x: auto; }
  .caret, .chip, .tabs button { transition: none; }
  .chip:hover { transform: none; }
}
