/* Inter and Playfair Display, latin subset, SIL Open Font License 1.1. Generated by tools/fetch-fonts.mjs. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-normal-0.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-normal-0.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-normal-0.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/playfair-display-italic-1.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/playfair-display-normal-2.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-display-normal-2.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Ported from Deepanshu's prototype (project/Main.dc.html). Colors, type and
   spacing are his; this file only moves inline styles into classes and adds
   the mobile rules and the sections the prototype did not have yet. */

:root {
  --ink: #171717;
  --ink-2: #1f1f1f;
  --ink-3: #2a2a2a;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --paper-3: #e9e9e6;
  --accent: #7da8b0;
  --accent-strong: #4f848d;
  --accent-text: #3f7078; /* teal for small text on light backgrounds: 5.5:1 on white */
  --mute-1: #a8a8a4;
  --mute-2: #c9c9c5;
  --mute-3: #d4d4d0;
  --mute-4: #8f8f8b;
  --text-2: #4a4a4a;
  --text-3: #5c5c5c;
  --line-dark: #ffffff1a;
  --line-dark-2: #ffffff26;
  --line-dark-3: #ffffff40;
  --line-light: #1a1a1a14;
  --line-light-2: #1a1a1a24;
  --danger: #ffb4ab;
  --serif: 'Playfair Display', 'Bodoni Moda', Didot, Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.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; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; }

/* ---------- Header + hero (dark) ---------- */
.site-head { background: var(--ink); color: var(--paper); }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { text-decoration: none; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.brand-by { font-size: 13px; color: var(--mute-1); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--mute-3); }
.nav a:hover { color: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; border-radius: 9999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border: 0; transition: background 150ms var(--ease), color 150ms var(--ease); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--paper-3); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid #ffffff59; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.nav .btn-ghost { color: var(--paper); padding: 10px 20px; }
.nav a[aria-current="page"] { color: var(--paper); }

/* Site menu (details dropdown) */
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; color: var(--mute-3); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 150ms var(--ease); }
.menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.menu summary:hover, .menu[open] summary { color: var(--paper); }
.menu-sm { display: none; }
.menu-panel { position: absolute; right: -16px; top: calc(100% + 10px); z-index: 20; width: min(640px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; padding: 24px; background: var(--ink-2); border: 1px solid var(--line-dark-2); border-radius: 18px; box-shadow: 0 18px 48px #00000080; }
.menu-group { display: flex; flex-direction: column; gap: 2px; }
.menu-head { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute-4); padding-bottom: 6px; }
.menu-panel a { display: block; padding: 7px 0; font-size: 15px; line-height: 1.3; color: var(--mute-3); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--paper); }
.btn-link { background: transparent; border: 0; color: var(--mute-2); text-decoration: underline; padding: 12px 4px; min-height: 44px; cursor: pointer; font-size: 15px; }

.hero { display: flex; flex-direction: column; gap: 40px; padding-top: 48px; padding-bottom: 96px; }
.hero-copy { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); background: var(--accent); border-radius: 9999px; padding: 6px 14px; text-decoration: none; font-weight: 500; }
.eyebrow:hover { background: var(--paper); }
.countdown { font-size: 13px; font-weight: 600; color: var(--paper); background: var(--ink); border-radius: 9999px; padding: 2px 10px; white-space: nowrap; }
.countdown-lg { align-self: flex-start; font-size: 14px; color: var(--ink); background: var(--accent); padding: 4px 12px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.hero-lead { margin: 0 auto; max-width: 660px; font-size: 18px; line-height: 1.55; color: var(--mute-2); }

/* ---------- Migration chat ---------- */
.mig { max-width: 1000px; width: 100%; margin: 0 auto; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 28px; overflow: hidden; color: var(--paper); scroll-margin-top: 24px; }
.mig-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 24px; border-bottom: 1px solid var(--line-dark); }
.mig-end { position: relative; }
.mig-card { position: relative; border: 1px solid var(--line-dark-2); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 104px; }
.mig-card.is-active { border-color: var(--accent); }
.mig-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; }
.mig-card-label { font-size: 13px; color: var(--mute-1); }
.mig-card-name { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.15; color: var(--paper); padding-right: 20px; background-image: linear-gradient(45deg, transparent 50%, var(--mute-2) 50%), linear-gradient(135deg, var(--mute-2) 50%, transparent 50%); background-position: calc(100% - 7px) 55%, calc(100% - 2px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.mig-card-name.is-empty { color: var(--mute-4); }
/* The whole card is a dropdown: a transparent native select over it, so the choices open where the name is. */
.mig-card-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.mig-card-select option { background: var(--ink-2); color: var(--paper); }
.mig-card:hover:not(.is-locked) { border-color: var(--accent); }
.mig-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.mig-card.is-locked .mig-card-select { cursor: default; }
.mig-card.is-locked .mig-card-name { background-image: none; }
.mig-pulse { position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: 20px; animation: pulse 1.8s var(--ease) infinite; pointer-events: none; }

.mig-stream { position: relative; height: 120px; overflow: hidden; }
.mig-stream-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-dark-2); }
.mig-stream-idle { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line-dark-3); }
.mig-stream-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ink-2); padding: 4px 12px; font-size: 13px; color: var(--mute-1); white-space: nowrap; }
.mig-dot { position: absolute; left: 0; border-radius: 9999px; animation: flow linear infinite; }
.mig-packet { position: absolute; left: 0; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 9999px; white-space: nowrap; animation: packet 7s linear infinite; }

.mig-log { height: 440px; overflow-y: auto; padding: 24px 24px 12px; overscroll-behavior: contain; }
.msg { display: flex; padding-bottom: 12px; animation: rise 260ms var(--ease) both; }
.msg-bot { justify-content: flex-start; }
.msg-user { justify-content: flex-end; }
.bubble { max-width: 80%; border-radius: 14px; padding: 12px 16px; font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.msg-bot .bubble { background: var(--ink-3); color: var(--paper); border-bottom-left-radius: 4px; }
.msg-user .bubble { background: var(--paper); color: var(--ink); border-bottom-right-radius: 4px; }
.bubble a { color: var(--accent); }
.typing { display: inline-flex; gap: 6px; padding: 15px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 9999px; background: var(--paper); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

.card { padding-bottom: 12px; animation: rise 420ms var(--ease) both; }
.card-inner { background: var(--paper); color: var(--ink); border-radius: 14px; overflow: hidden; }
.plan { padding: 24px; }
.plan h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; }
.plan-sub { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.plan ol { margin: 0; padding: 0; list-style: none; }
.plan li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.plan-n { font-family: var(--serif); font-size: 22px; line-height: 1.2; width: 24px; flex: none; }
.plan-t { font-weight: 600; font-size: 15px; display: block; }
.plan-d { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.agent { display: flex; flex-wrap: wrap; }
.agent-before { flex: 1 1 260px; min-width: 0; background: var(--paper-2); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.agent-after { flex: 1.4 1 320px; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.agent-label { font-size: 13px; font-weight: 600; color: var(--text-3); }
.agent-after .agent-label { color: var(--ink); padding-bottom: 8px; }
.agent-before p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.agent-field { padding: 10px 0; border-top: 1px solid var(--line-light); }
.agent-k { font-size: 12px; color: var(--text-3); }
.agent-v { font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.agent-more { font-size: 13px; color: var(--text-3); padding-top: 8px; }

.mig-controls { border-top: 1px solid var(--line-dark); padding: 20px 24px 14px; min-height: 92px; }
.chips { display: flex; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; margin: 0 10px 10px 0; border-radius: 9999px; border: 1px solid var(--line-dark-3); background: transparent; color: var(--paper); font-size: 15px; cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease); }
.chip:hover { background: var(--paper); color: var(--ink); }
.chip.is-recommended { border-color: var(--accent); }
.chip-tag { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--accent); border-radius: 4px; padding: 2px 8px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--mute-2); }
.input { min-height: 44px; width: 100%; background: var(--ink); color: var(--paper); border: 1px solid #ffffff33; border-radius: 8px; padding: 10px 14px; font-size: 15px; }
textarea.input { line-height: 1.5; resize: vertical; padding: 12px 14px; }
.input::placeholder { color: var(--mute-4); }
.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.row > .field { flex: 1 1 200px; }
.stack { display: flex; flex-direction: column; gap: 12px; padding-bottom: 10px; }
.scan-wrap { position: relative; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); animation: scan 1.1s linear infinite; }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute-1); }
.form-note a { color: var(--mute-3); }
.form-error { margin: 0; font-size: 14px; color: var(--danger); }

.ask { display: flex; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line-dark); margin-top: 6px; }
.ask .input { flex: 1; }
.ask .btn { flex: none; }
.ts { min-height: 0; }

/* ---------- Light sections ---------- */
.section { padding: 96px var(--gutter); background: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 700px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.section h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.section-intro { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.section-dark .section-intro { color: var(--mute-2); }
[id] { scroll-margin-top: 16px; }

/* Deadline */
.deadline { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.deadline p { margin: 0 0 16px; font-size: 17px; line-height: 1.6; color: var(--mute-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-dark-3); }
.timeline li { position: relative; padding: 0 0 24px 24px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 9999px; background: var(--accent); }
.timeline-date { display: block; font-family: var(--serif); font-size: 22px; color: var(--paper); }
.timeline-what { display: block; font-size: 15px; line-height: 1.5; color: var(--mute-2); }
.source { font-size: 13px; color: var(--mute-1); }
.source a { color: var(--mute-3); }

/* Worries */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.worry { border-top: 1px solid var(--line-light-2); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.worry h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.worry p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Drivers */
.drivers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.driver { display: flex; flex-direction: column; gap: 8px; }
.driver h3 { margin: 0; font-size: 20px; font-weight: 600; }
.driver p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Tables (compare + what moves) */
.table { width: 100%; border-collapse: collapse; text-align: left; }
.table th { font-size: 13px; font-weight: 600; color: var(--text-2); padding: 12px 24px 12px 0; border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.table td { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line-light); vertical-align: baseline; font-size: 16px; line-height: 1.5; }
.table td:first-child { font-size: 17px; font-weight: 500; }
.table td.muted { font-size: 15px; color: var(--text-2); }
.table-note { margin: 24px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 32px; }
.steps li { border-top: 1px solid var(--line-light-2); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent-strong); }
.step-t { font-size: 20px; font-weight: 600; }
.step-d { font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-light-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-light-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--accent-strong); }
.faq details[open] summary::after { content: "\2013"; }
.faq-a { margin: 0; padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.faq-a a { color: var(--accent-text); }

/* CTA + footer */
.cta { max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.cta p { margin: 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--mute-2); }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact { width: 100%; max-width: 720px; margin-top: 16px; text-align: left; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 24px; }
.contact h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.contact .form-note, .contact p { max-width: none; }
.cta .contact .form-note { font-size: 13px; color: var(--mute-1); }
.cta .contact .form-error { font-size: 14px; color: var(--danger); }
.cta .contact-done { font-size: 18px; color: var(--paper); }
@media (max-width: 760px) { .contact { padding: 20px; } .contact-grid { grid-template-columns: 1fr; } }
.site-foot { background: var(--ink); color: var(--mute-1); border-top: 1px solid var(--line-dark); padding: 28px var(--gutter); font-size: 13px; line-height: 1.5; }
.foot-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { color: var(--mute-3); }

/* Plain text pages (privacy) */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.prose h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--ink); margin: 0 0 24px; }
.prose h2 { font-size: 22px; margin: 36px 0 8px; color: var(--ink); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

/* Who does the work */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 32px; margin-bottom: 24px; }
.about-fact { border-top: 1px solid var(--line-light-2); padding: 20px 0 8px; }
.about-fact h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.about-fact p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.about-fact a { color: var(--accent-text); }
.about-quote { margin: 0; padding: 24px 26px; border-radius: 16px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.about-quote blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.about-quote blockquote::before { content: "\201C"; }
.about-quote blockquote::after { content: "\201D"; }
.about-quote figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--mute-2); }
.about-who { color: var(--paper); font-weight: 500; }
.about-quote a { color: var(--accent); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-quote blockquote { font-size: 19px; } }

/* Keep reading */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.related > .rel-card:nth-child(n+4) { display: none; } /* a stand-in card for a scheduled post (see build.mjs related) */
.rel-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--line-light-2); border-radius: 16px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color 150ms var(--ease), transform 150ms var(--ease); }
.rel-card:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.rel-kind { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--accent); border-radius: 4px; padding: 2px 8px; }
.rel-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.rel-text { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Blog */
.post .prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; font-weight: 600; color: var(--ink); margin: 28px 0 6px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin: 0 0 8px; }
.prose a { color: var(--accent-text); }
.prose strong { color: var(--ink); }
.prose .table-wrap { margin: 8px 0 28px; }
.prose .table td, .prose .table td:first-child { font-size: 15px; }
.post-meta { font-size: 14px; color: var(--text-3); margin: 0 0 12px !important; }
.post-meta a { color: var(--accent-text); }
.post-lead { font-size: 20px; line-height: 1.5; color: var(--text-2); margin: 0 0 32px !important; }
.post-chat .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.post-list { list-style: none; padding: 0 !important; margin: 0; }
.post-list li { border-top: 1px solid var(--line-light-2); padding: 24px 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.post-list a { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.post-list-title { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); }
.post-list a:hover .post-list-title { text-decoration: underline; }
.post-list-desc { font-size: 16px; color: var(--text-2); }
.post-list time { font-size: 14px; color: var(--text-3); }

/* ---------- Motion ---------- */
@keyframes flow { 0% { left: -2%; opacity: 0 } 10% { opacity: 1 } 90% { opacity: 1 } 100% { left: 100%; opacity: 0 } }
@keyframes packet { 0% { left: -16%; opacity: 0 } 12% { opacity: 1 } 86% { opacity: 1 } 100% { left: 100%; opacity: 0 } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(1.12); opacity: 0 } }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px) } 100% { opacity: 1; transform: none } }
@keyframes blink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }
@keyframes scan { 0% { top: 0% } 100% { top: 100% } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .topbar { padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; gap: 12px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
  .brand-name { font-size: 20px; white-space: nowrap; }
  .brand-by { font-size: 11px; line-height: 1.35; }
  .nav { gap: 12px; font-size: 14px; flex-wrap: nowrap; flex: none; }
  .nav .nav-hide-sm { display: none; }
  .nav .btn-ghost { padding: 8px 14px; min-height: 40px; font-size: 14px; white-space: nowrap; }
  .menu { position: static; }
  .menu-lg { display: none; }
  .menu-sm { display: inline; }
  .menu-panel { left: 16px; right: 16px; width: auto; top: 74px; grid-template-columns: 1fr; gap: 16px; padding: 20px; max-height: calc(100vh - 88px); overflow-y: auto; }
  .site-head { position: relative; }
  .hero { padding-top: 24px; padding-bottom: 56px; gap: 28px; }
  .hero-lead { font-size: 17px; }
  .mig { border-radius: 20px; }
  .mig-route { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); gap: 8px; padding: 16px; }
  .mig-stream { height: 64px; }
  .mig-packet, .mig-stream-hint { display: none; }
  .mig-card { padding: 12px 14px; min-height: 84px; border-radius: 16px; }
  .mig-pulse { border-radius: 16px; }
  .mig-log { height: 380px; padding: 16px 16px 8px; }
  .bubble { max-width: 90%; font-size: 15px; }
  .mig-controls { padding: 16px 16px 10px; }
  .chip { padding: 8px 14px; font-size: 14px; }
  .section { padding: 64px var(--gutter); }
  .deadline { grid-template-columns: 1fr; gap: 32px; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--line-light-2); padding: 16px 0; }
  .table td { border: 0; padding: 4px 0; }
  .table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--text-3); margin-top: 8px; }
  .ask { flex-direction: column; }
}

/* ---------- Cost calculator ---------- */
.calc { padding: 28px; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.calc .field label { color: var(--mute-2); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute-2) 50%), linear-gradient(135deg, var(--mute-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.calc-out { margin: 28px 0 16px; border-top: 1px solid var(--line-dark); padding-top: 20px; display: grid; gap: 16px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; }
.calc-k { font-size: 15px; color: var(--mute-2); }
.calc-v { font-family: var(--serif); font-size: 30px; color: var(--paper); grid-row: span 2; align-self: center; }
.calc-d { font-size: 13px; color: var(--mute-1); }
.calc-verdict { margin: 4px 0 0; font-size: 18px; line-height: 1.5; color: var(--paper); }
@media (max-width: 760px) {
  .calc { padding: 18px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-v { font-size: 24px; }
}

/* ---------- Agent examples gallery ---------- */
.gallery { display: grid; gap: 16px; }
.agent-card { border: 1px solid var(--line-light-2); border-radius: 16px; padding: 22px 24px; background: var(--paper); }
.agent-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.agent-card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.agent-team { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--accent); border-radius: 4px; padding: 2px 8px; }
.agent-card > p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.agent-card details { margin-top: 12px; }
.agent-card summary { cursor: pointer; font-size: 15px; font-weight: 500; color: var(--accent-text); }
.ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; margin-top: 14px; }
.ba-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ba-label { font-size: 12px; font-weight: 600; color: var(--text-3); }
.ba pre { margin: 0; width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); font-size: 14px; line-height: 1.55; background: var(--paper-2); border-radius: 10px; padding: 14px 16px; color: var(--ink); }
.ba-col:first-child pre { color: var(--text-2); }
.btn.copy { min-height: 40px; padding: 8px 18px; font-size: 14px; border: 1px solid var(--line-light-2); }
.ba-meta { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } .agent-card { padding: 18px; } }
.cta-more { color: var(--mute-3); font-size: 15px; }
.cta-more:hover { color: var(--paper); }

/* Suggested questions above the ask box */
.ask-wrap { border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 10px; }
.ask-wrap .ask { border-top: 0; margin-top: 0; padding-top: 0; }
.suggest { display: flex; flex-wrap: wrap; margin-bottom: 4px; }
.chip.chip-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; color: var(--mute-3); border-color: var(--line-dark-2); }
.chip.chip-sm:hover { color: var(--ink); }
