/* Femtosol — no build step, no dependencies. System fonts only. */

:root {
  color-scheme: dark;

  --bg: #0a100b;
  --bg-alt: #0f1710;
  --panel: #121b13;
  --ink: #f1f5ee;
  --ink-soft: #cdd6c8;
  --muted: #97a394;
  --line: #223024;
  --accent: #4ade80;
  --accent-ink: #0a100b;
  --accent-soft: rgba(74, 222, 128, 0.12);
  --ring: rgba(241, 245, 238, 0.3);
  --danger: #fb7185;

  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: var(--ring);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.mark {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
}

.mark .mark-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.mark .mark-dot {
  fill: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
  font-size: 0.9375rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav .nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}

.nav .nav-cta:hover {
  border-color: var(--ink);
}

@media (max-width: 40rem) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  border-color: var(--ink);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 88%, var(--ink));
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3.5rem, 8vw, 6.5rem);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.net {
  width: min(100%, 28rem);
  margin-inline: auto;
  overflow: visible;
}

.net .edge {
  stroke: var(--ring);
  stroke-width: 1;
  opacity: 0.55;
}

.net .sig {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 90;
  stroke-dashoffset: 10;
  opacity: 0;
}

.net .node {
  fill: var(--bg);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.net .node-out {
  fill: var(--accent);
  stroke: var(--accent);
}

.net .glow {
  fill: var(--accent);
  opacity: 0;
}

.net .lbl {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-anchor: middle;
}

/* Typed "prompt" line */

.prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  margin-top: 1.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.prompt-sign {
  color: var(--accent);
  font-weight: 700;
}

.prompt-words {
  display: inline-grid;
  min-width: 21ch;
}

.prompt-words > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  overflow: hidden;
  color: var(--ink);
}

.prompt-words > span:not(:first-child) {
  display: none;
}

/* Ticker of AI terms */

.ticker {
  overflow: hidden;
  padding-block: 0.95rem;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.ticker ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}

.ticker li::after {
  content: "\2726";
  color: var(--accent);
}

.ticker ul + ul {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .net .sig {
    opacity: 1;
    animation: flow 2.8s linear infinite;
  }

  .net .e0 { animation-delay: 0s; }
  .net .e1 { animation-delay: -0.5s; }
  .net .e2 { animation-delay: -1s; }
  .net .e3 { animation-delay: -1.5s; }
  .net .e4 { animation-delay: -2s; }
  .net .e5 { animation-delay: -2.4s; }

  .net .glow {
    animation: glow 3.6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .net .w1 { animation-delay: 0.55s; }
  .net .w2 { animation-delay: 1.1s; }
  .net .w3 { animation-delay: 1.65s; }

  .net .node-out {
    animation: predict 3.6s ease-in-out 1.65s infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .hero-copy > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.32s; }

  .prompt-words > span {
    width: 0;
    border-right: 0 solid var(--accent);
  }

  .prompt-words > span:not(:first-child) {
    display: block;
  }

  .prompt-words > span:nth-child(1) { animation: type1 16s linear 0s infinite both, blink 1s step-end infinite; }
  .prompt-words > span:nth-child(2) { animation: type2 16s linear 4s infinite both, blink 1s step-end infinite; }
  .prompt-words > span:nth-child(3) { animation: type3 16s linear 8s infinite both, blink 1s step-end infinite; }
  .prompt-words > span:nth-child(4) { animation: type4 16s linear 12s infinite both, blink 1s step-end infinite; }

  .ticker {
    padding-block: 1.05rem;
  }

  .ticker-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    animation: marquee 60s linear infinite;
  }

  .ticker ul {
    flex: none;
    flex-wrap: nowrap;
  }

  .ticker ul + ul {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker ul {
    row-gap: 0.5rem;
  }
}

@keyframes flow {
  from { stroke-dashoffset: 10; }
  to { stroke-dashoffset: -90; }
}

@keyframes glow {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  15% { opacity: 0.45; transform: scale(1.15); }
  40% { opacity: 0; transform: scale(1.5); }
}

@keyframes predict {
  0%, 40%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes blink {
  50% { border-right-color: transparent; }
}

@keyframes type1 {
  0% { width: 0; border-right-width: 0; animation-timing-function: steps(16, end); }
  7% { width: 16ch; border-right-width: 2px; }
  20% { width: 16ch; border-right-width: 2px; animation-timing-function: steps(16, end); }
  25%, 100% { width: 0; border-right-width: 0; }
}

@keyframes type2 {
  0% { width: 0; border-right-width: 0; animation-timing-function: steps(17, end); }
  7% { width: 17ch; border-right-width: 2px; }
  20% { width: 17ch; border-right-width: 2px; animation-timing-function: steps(17, end); }
  25%, 100% { width: 0; border-right-width: 0; }
}

@keyframes type3 {
  0% { width: 0; border-right-width: 0; animation-timing-function: steps(16, end); }
  7% { width: 16ch; border-right-width: 2px; }
  20% { width: 16ch; border-right-width: 2px; animation-timing-function: steps(16, end); }
  25%, 100% { width: 0; border-right-width: 0; }
}

@keyframes type4 {
  0% { width: 0; border-right-width: 0; animation-timing-function: steps(21, end); }
  7% { width: 21ch; border-right-width: 2px; }
  20% { width: 21ch; border-right-width: 2px; animation-timing-function: steps(21, end); }
  25%, 100% { width: 0; border-right-width: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Scroll-driven reveal (progressive enhancement, no JavaScript) */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head,
    .card,
    .work-card,
    .feature-band,
    .principle,
    .steps li,
    .flow-card,
    .benefits li,
    .facts > div,
    .agenda li,
    .femto-note,
    .about-copy,
    .checklist li,
    .contact-panel {
      animation: reveal linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem);
}

.section-head p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

/* ---------- Research cards ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    transform: translateY(-3px);
  }
}

.card .num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.card h3 {
  font-size: 1.5rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}

.work-card:hover {
  border-color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .work-card:hover {
    transform: translateY(-3px);
  }
}

.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.75rem 1.75rem;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-body h3 {
  font-size: 1.5rem;
}

.work-body p:last-child {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Approach ---------- */

.principles {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.principle {
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.principle h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.principle p {
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

.about-copy {
  display: grid;
  gap: 1.25rem;
  color: var(--ink-soft);
}

.femto-note {
  padding: 2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.femto-note .exp {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 2rem + 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.femto-note .exp sup {
  font-size: 0.5em;
  vertical-align: 0.65em;
  line-height: 0;
}

.femto-note p {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.femto-note .label {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-panel {
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
}

.contact-panel h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  max-width: 34rem;
}

.contact-panel p {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

.contact-mail {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 0.9rem + 2.4vw, 2.25rem);
  letter-spacing: -0.01em;
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent-soft);
  overflow-wrap: anywhere;
}

.contact-mail:hover {
  text-decoration-color: var(--accent);
}

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  gap: 2.5rem 4rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.contact-grid .contact-alt {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.contact-grid .contact-mail {
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 0.9rem + 1.2vw, 1.6rem);
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--ring);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-soft);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.form-foot .btn {
  cursor: pointer;
}

.form-foot .form-note {
  margin: 0;
  max-width: none;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Honeypot: visually hidden, still in the DOM for spam bots to fill */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.site-footer a {
  color: var(--ink-soft);
}

/* ---------- 404 ---------- */

.notfound {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 8rem);
  padding-block: 4rem;
  text-align: center;
}

.notfound .code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.notfound p {
  margin: 1rem auto 2rem;
  max-width: 28rem;
  color: var(--ink-soft);
}

/* ---------- Session page ---------- */

@media (min-width: 60rem) {
  .session-hero .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.session-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts {
  display: grid;
  gap: 2rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}

.facts > div {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.6rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  line-height: 1.25;
}

.steps {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps h3 {
  font-size: 1.375rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.step-num {
  align-self: flex-start;
  padding: 0.15rem 0.7rem;
  background: var(--accent-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.compare {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.flow-card {
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-card-new {
  border-color: var(--accent);
}

.flow-card h3 {
  font-size: 1.5rem;
}

.flow {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  position: relative;
  min-height: 2.5rem;
  padding: 0.3rem 0 1.25rem 3rem;
  counter-increment: step;
  color: var(--ink-soft);
  font-size: 1rem;
}

.flow li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 2.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--line);
}

.flow li strong {
  color: var(--ink);
  font-weight: 600;
}

.flow-card-new .flow li::before {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.flow-note {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.benefits {
  display: grid;
  gap: 2rem;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.benefits li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.benefits h3 {
  margin-bottom: 0.6rem;
  font-size: 1.375rem;
}

.benefits p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.checklist {
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
}

.checklist li:first-child {
  border-top: 1px solid var(--line);
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.checklist strong {
  color: var(--ink);
  font-weight: 600;
}

.agenda {
  max-width: 48rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: agenda;
}

.agenda li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  counter-increment: agenda;
}

.agenda li:last-child {
  border-bottom: 1px solid var(--line);
}

.agenda li::before {
  content: counter(agenda, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  line-height: 2.1;
  color: var(--accent);
}

.agenda h3 {
  font-size: 1.5rem;
}

.agenda p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Feature band (home page teaser) ---------- */

.feature-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.feature-band h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
}

.feature-band p {
  max-width: 36rem;
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .net,
  .ticker,
  .prompt,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 1.5rem;
  }
}
