﻿/* =========================================================
   班底 · product site
   Editorial workshop: warm paper, ink, vermilion, olive.
   ========================================================= */

:root {
  --paper: #f3efe4;
  --paper-deep: #e9e2d2;
  --paper-light: #faf8f2;
  --ink: #1c241f;
  --ink-soft: #3f4a42;
  --ink-muted: #70786f;
  --line: rgba(28, 36, 31, 0.15);
  --line-strong: rgba(28, 36, 31, 0.28);
  --vermilion: #d84d2d;
  --vermilion-dark: #ae341a;
  --olive: #526b50;
  --olive-light: #dfe8d9;
  --amber: #e8b84f;
  --blue: #426a7a;
  --terminal: #18201b;
  --terminal-line: rgba(226, 234, 220, 0.13);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --shadow-sm: 0 2px 0 rgba(28, 36, 31, 0.08), 0 12px 32px rgba(28, 36, 31, 0.08);
  --shadow-lg: 0 2px 0 rgba(28, 36, 31, 0.15), 0 30px 80px rgba(28, 36, 31, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(216, 77, 45, 0.08), transparent 23rem),
    radial-gradient(circle at 92% 23%, rgba(82, 107, 80, 0.12), transparent 26rem),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

::selection {
  color: var(--paper-light);
  background: var(--vermilion);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
}

.kicker {
  margin: 0 0 14px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-head p {
  max-width: 400px;
  margin: 0 0 7px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(243, 239, 228, 0.86);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(28, 36, 31, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--vermilion);
  border-radius: 10px 10px 4px 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 15px;
  height: 15px;
  content: "";
  background: var(--paper);
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--paper-light);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 rgba(28, 36, 31, 0.14);
}

.btn-primary:hover {
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.btn-accent {
  color: var(--paper-light);
  background: var(--vermilion);
  border-color: var(--vermilion);
  box-shadow: 0 4px 0 rgba(174, 52, 26, 0.2);
}

.btn-accent:hover {
  background: var(--vermilion-dark);
  border-color: var(--vermilion-dark);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--paper-light);
  border-color: var(--ink);
}

.btn-small {
  min-height: 39px;
  padding-inline: 16px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 78px 0 94px;
  overflow: clip;
}

.hero::after {
  position: absolute;
  top: 62px;
  right: -260px;
  z-index: -1;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(28, 36, 31, 0.1);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.1vw, 86px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  position: relative;
  z-index: 1;
  color: var(--vermilion);
  white-space: nowrap;
}

.hero h1 .accent::after {
  position: absolute;
  right: -4px;
  bottom: 4px;
  left: -4px;
  z-index: -1;
  height: 13px;
  content: "";
  background: rgba(232, 184, 79, 0.42);
  transform: rotate(-1.2deg);
}

.hero-lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

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

.hero-actions .btn {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 15px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 27px 0 0;
  padding: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.035em;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta li::before {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--olive);
  border-radius: 50%;
}

/* ---------- product mockup ---------- */

.product-stage {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.product-stage::before {
  position: absolute;
  top: -35px;
  right: -30px;
  width: 130px;
  height: 110px;
  content: "";
  background: var(--amber);
  border-radius: 50% 50% 12px 50%;
  opacity: 0.85;
  transform: rotate(10deg);
}

.product-stage::after {
  position: absolute;
  bottom: -35px;
  left: -44px;
  width: 150px;
  height: 80px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(28, 36, 31, 0.22) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(0deg, rgba(28, 36, 31, 0.22) 0 1px, transparent 1px 10px);
  clip-path: polygon(0 0, 100% 22%, 82% 100%, 0 100%);
  opacity: 0.55;
}

.product-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #e5eadf;
  background: var(--terminal);
  border: 1px solid rgba(28, 36, 31, 0.55);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center right;
}

.window-bar {
  display: flex;
  align-items: center;
  height: 39px;
  padding: 0 14px;
  border-bottom: 1px solid var(--terminal-line);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  background: #526057;
  border-radius: 50%;
}

.window-dots i:first-child {
  background: var(--vermilion);
}

.window-title {
  flex: 1;
  margin-left: 22px;
  color: #819087;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.window-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a7d9ad;
  font-family: var(--font-mono);
  font-size: 8px;
}

.window-live::before {
  width: 5px;
  height: 5px;
  content: "";
  background: #7cc985;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(124, 201, 133, 0.11);
}

.window-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 116px;
  min-height: 484px;
}

.mini-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  background: #141a16;
  border-right: 1px solid var(--terminal-line);
}

.mini-logo {
  display: grid;
  width: 27px;
  height: 27px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff6ef;
  background: var(--vermilion);
  border-radius: 7px 7px 3px 7px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.mini-nav {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #728078;
  border-radius: 7px;
}

.mini-nav svg {
  width: 15px;
  height: 15px;
}

.mini-nav.active {
  color: #f2f4ec;
  background: #29322b;
}

.mini-nav.bottom {
  margin-top: auto;
}

.mini-main {
  min-width: 0;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 17px;
  border-bottom: 1px solid var(--terminal-line);
}

.agent-id {
  display: flex;
  align-items: center;
  gap: 9px;
}

.agent-avatar {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #142019;
  background: #c9dbb5;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.agent-avatar::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  content: "";
  background: #73bf79;
  border: 2px solid var(--terminal);
  border-radius: 50%;
}

.agent-name {
  font-size: 11px;
  font-weight: 700;
}

.agent-role {
  margin-top: 1px;
  color: #7d8a82;
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.run-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9fbba2;
  font-family: var(--font-mono);
  font-size: 8px;
}

.run-state i {
  width: 6px;
  height: 6px;
  background: #75c77c;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.mini-chat {
  padding: 16px;
}

.user-bubble {
  max-width: 86%;
  margin-left: auto;
  padding: 9px 12px;
  color: #dce4d8;
  background: #2e3831;
  border-radius: 12px 12px 3px 12px;
  font-size: 10px;
  line-height: 1.55;
}

.run-log {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.run-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 9px;
  line-height: 1.5;
}

.run-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #94a895;
  background: #242d27;
  border: 1px solid #37433a;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
}

.run-line.done .run-icon {
  color: #a8d4a7;
  background: #233426;
  border-color: #34533a;
}

.run-line.active .run-icon {
  color: #ffd987;
  background: #3a3120;
  border-color: #5a4930;
}

.run-label {
  color: #ced7cd;
}

.run-detail {
  margin-top: 1px;
  color: #738178;
  font-family: var(--font-mono);
  font-size: 7.5px;
  word-break: break-all;
}

.code-card {
  margin-top: 13px;
  overflow: hidden;
  background: #111713;
  border: 1px solid #2b352e;
  border-radius: 8px;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  color: #758279;
  background: #1b231d;
  border-bottom: 1px solid #2b352e;
  font-family: var(--font-mono);
  font-size: 7px;
}

.code-body {
  padding: 9px 10px;
  color: #97aa9b;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.75;
}

.code-body .plus {
  color: #83bd8c;
}

.code-body .key {
  color: #e0ba75;
}

.code-body .str {
  color: #b5c99f;
}

.mini-side {
  padding: 14px 11px;
  background: #151c17;
  border-left: 1px solid var(--terminal-line);
}

.side-label {
  margin-bottom: 12px;
  color: #6d7b72;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-node {
  position: relative;
  padding: 0 0 16px 16px;
  color: #89968d;
  font-size: 8px;
}

.flow-node::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #435047;
  border-radius: 50%;
}

.flow-node::after {
  position: absolute;
  top: 12px;
  bottom: 4px;
  left: 2.5px;
  width: 1px;
  content: "";
  background: #303b33;
}

.flow-node:last-child::after {
  display: none;
}

.flow-node.done {
  color: #c5d3c5;
}

.flow-node.done::before {
  background: #78b77d;
}

.flow-node.now {
  color: #f0d38b;
  font-weight: 700;
}

.flow-node.now::before {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 184, 79, 0.12);
}

.flow-node.manual::before {
  background: var(--vermilion);
}

.stage-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(28, 36, 31, 0.14);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}

.stage-note::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--vermilion);
  border-radius: 50%;
}

.stage-note.n1 {
  top: 105px;
  left: -26px;
  transform: rotate(-3deg);
}

.stage-note.n2 {
  right: -21px;
  bottom: 62px;
  transform: rotate(2deg);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(117, 199, 124, 0.3); }
  50% { box-shadow: 0 0 0 5px rgba(117, 199, 124, 0); }
}

/* ---------- marquee / facts ---------- */

.facts {
  border-block: 1px solid var(--line);
  background: rgba(250, 248, 242, 0.42);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  border-left: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 7px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- manifesto ---------- */

.manifesto {
  padding: 112px 0 104px;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.manifesto-side {
  position: sticky;
  top: 110px;
}

.manifesto-side p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.manifesto-side .big-num {
  margin-bottom: 18px;
  color: var(--vermilion);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.manifesto-quote {
  max-width: 930px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 61px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.manifesto-quote em {
  color: var(--vermilion);
  font-style: normal;
}

.manifesto-quote .mark {
  position: relative;
  white-space: nowrap;
}

.manifesto-quote .mark::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--vermilion);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.principle {
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
}

.principle .num {
  display: block;
  margin-bottom: 30px;
  color: var(--vermilion);
  font-family: var(--font-mono);
  font-size: 10px;
}

.principle h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------- features ---------- */

.features {
  padding: 104px 0 118px;
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 268px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  z-index: 2;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-card.wide {
  grid-column: span 8;
  min-height: 342px;
}

.feature-card.medium {
  grid-column: span 4;
}

.feature-card.half {
  grid-column: span 6;
}

.feature-card.third {
  grid-column: span 4;
  min-height: 238px;
}

.feature-card.dark {
  color: #e9eee5;
  background: var(--terminal);
  border-color: var(--terminal);
}

.feature-card.accent {
  color: #fff5eb;
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.feature-card.olive {
  background: var(--olive-light);
}

.feature-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: auto;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dark .feature-index,
.accent .feature-index {
  color: rgba(255, 255, 255, 0.6);
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid rgba(28, 36, 31, 0.1);
  border-radius: 10px;
}

.dark .feature-icon {
  color: #e9eee5;
  background: #29332c;
  border-color: #3c493f;
}

.accent .feature-icon {
  color: #fff5eb;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-card h3 {
  max-width: 470px;
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.feature-card.third h3 {
  margin-top: 23px;
  font-size: 23px;
}

.feature-card p {
  max-width: 585px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.dark p {
  color: #93a397;
}

.accent p {
  color: rgba(255, 245, 235, 0.74);
}

.feature-visual {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 44%;
  pointer-events: none;
}

.event-stack {
  display: grid;
  gap: 7px;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #93a397;
  background: #222b25;
  border: 1px solid #303c33;
  border-radius: 7px;
  font-size: 8px;
}

.event-row i {
  width: 5px;
  height: 5px;
  background: #6e9a74;
  border-radius: 50%;
}

.event-row.active {
  color: #e9eee5;
  border-color: #6f854c;
}

.event-row.active i {
  background: var(--amber);
}

.node-map {
  position: relative;
  height: 150px;
}

.node-map svg {
  width: 100%;
  height: 100%;
}

.node-map .dash {
  stroke-dasharray: 3 4;
  animation: dash 16s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -120; }
}

.flow-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(28, 36, 31, 0.1);
  border-radius: 8px;
}

.flow-mini span {
  flex: 1;
  padding: 5px 3px;
  color: var(--ink-soft);
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 7px;
  text-align: center;
}

.flow-mini span.manual {
  color: var(--paper-light);
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.flow-mini i {
  width: 9px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

/* ---------- how it works ---------- */

.how {
  padding: 110px 0 120px;
  overflow: hidden;
}

.how-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  align-items: start;
}

.how-copy {
  position: sticky;
  top: 116px;
}

.how-copy h2 {
  max-width: 530px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(37px, 4.8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.how-copy > p {
  max-width: 440px;
  margin: 22px 0 30px;
  color: var(--ink-muted);
}

.how-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--vermilion-dark);
  background: rgba(216, 77, 45, 0.08);
  border: 1px solid rgba(216, 77, 45, 0.23);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  min-height: 180px;
  padding: 29px 28px 28px 0;
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}

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

.step::before {
  padding-top: 2px;
  color: var(--vermilion);
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.step-tag {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 18px;
  padding: 5px 9px;
  color: var(--ink-soft);
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
}

/* ---------- quickstart ---------- */

.quickstart {
  padding: 100px 0 112px;
  color: #e8ede4;
  background:
    radial-gradient(circle at 95% 10%, rgba(232, 184, 79, 0.1), transparent 24rem),
    var(--terminal);
}

.quickstart .eyebrow {
  color: var(--amber);
}

.quickstart .section-head h2 {
  color: #f3f5ee;
}

.quickstart .section-head p {
  color: #87968b;
}

.install-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: stretch;
}

.install-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid #2f3b33;
  border-radius: var(--radius-md);
}

.install-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 28px;
  background: var(--paper-deep);
  border-radius: 9px;
}

.tab-btn {
  flex: 1;
  padding: 9px 12px;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 1px 6px rgba(28, 36, 31, 0.09);
}

.tab-panel[hidden] {
  display: none;
}

.install-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.install-card > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.install-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 22px 0 27px;
  list-style: none;
}

.install-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.install-list li::before {
  color: var(--vermilion);
  content: "→";
  font-family: var(--font-mono);
}

.install-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.terminal-card {
  overflow: hidden;
  background: #111713;
  border: 1px solid #344039;
  border-radius: var(--radius-md);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 17px;
  color: #7e8e82;
  border-bottom: 1px solid #29332d;
  font-family: var(--font-mono);
  font-size: 9px;
}

.terminal-top .dots {
  display: flex;
  gap: 5px;
  margin-right: 7px;
}

.terminal-top .dots i {
  width: 6px;
  height: 6px;
  background: #4b5b50;
  border-radius: 50%;
}

.terminal-top .dots i:first-child {
  background: var(--vermilion);
}

.copy-btn {
  margin-left: auto;
  padding: 5px 9px;
  color: #9cac9f;
  background: #202a23;
  border: 1px solid #344039;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  cursor: pointer;
}

.copy-btn:hover {
  color: #edf2e9;
  border-color: #5f7564;
}

.terminal-code {
  min-height: 330px;
  padding: 30px 26px;
  color: #c2cec2;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  white-space: pre-wrap;
}

.terminal-code .comment {
  color: #687a6d;
}

.terminal-code .cmd {
  color: #f0dcab;
}

.terminal-code .ok {
  color: #83c68a;
}

.terminal-code .dim {
  color: #829185;
}

.safety-strip {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid #344039;
  border-radius: var(--radius-sm);
}

.safety-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--amber);
  background: rgba(232, 184, 79, 0.09);
  border: 1px solid rgba(232, 184, 79, 0.24);
  border-radius: 50%;
}

.safety-icon svg {
  width: 21px;
  height: 21px;
}

.safety-strip h3 {
  margin: 0 0 4px;
  color: #e8ede4;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.safety-strip p {
  margin: 0;
  color: #87968b;
  font-size: 12.5px;
}

.safety-strip a {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
}

/* ---------- community ---------- */

.community {
  position: relative;
  padding: 108px 0 118px;
  overflow: hidden;
}

.community::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  color: rgba(28, 36, 31, 0.035);
  content: "BANDI";
  font-family: var(--font-display);
  font-size: min(27vw, 390px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.community-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.community-copy h2 {
  max-width: 510px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(37px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.community-copy p {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--ink-muted);
}

.link-list {
  border-top: 1px solid var(--line-strong);
}

.link-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.link-row:hover {
  padding-inline: 14px 10px;
  background: rgba(250, 248, 242, 0.55);
}

.link-row .idx {
  color: var(--vermilion);
  font-family: var(--font-mono);
  font-size: 9px;
}

.link-row h3 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.link-row p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.link-row .arrow {
  font-size: 18px;
  transition: transform 180ms ease;
}

.link-row:hover .arrow {
  transform: translateX(5px);
}

/* ---------- footer ---------- */

.site-footer {
  padding: 64px 0 34px;
  color: #dce2d7;
  background: #19211c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.55fr);
  gap: 50px;
  padding-bottom: 56px;
}

.footer-brand .brand-name {
  color: #f3f5ee;
}

.footer-brand .brand-tagline,
.footer-brand p {
  color: #78867b;
}

.footer-brand p {
  max-width: 360px;
  margin: 20px 0 0;
  font-size: 13px;
}

.footer-col h4 {
  margin: 0 0 15px;
  color: #7e8e82;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  color: #c9d2c7;
  font-size: 13px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: #66756a;
  border-top: 1px solid #2b352e;
  font-family: var(--font-mono);
  font-size: 9px;
}

/* ---------- guide page ---------- */

.guide-hero {
  padding: 78px 0 62px;
  border-bottom: 1px solid var(--line);
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 80px;
  align-items: end;
}

.guide-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(45px, 6.6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.guide-hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.guide-meta {
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
}

.guide-meta span {
  display: block;
  margin-bottom: 15px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 78px;
  padding: 64px 0 110px;
}

.guide-nav {
  position: sticky;
  top: 104px;
  align-self: start;
}

.guide-nav p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-nav a {
  display: block;
  padding: 7px 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  text-decoration: none;
}

.guide-nav a:hover,
.guide-nav a.active {
  color: var(--vermilion);
}

.guide-content {
  min-width: 0;
  max-width: 880px;
}

.guide-section {
  padding: 0 0 65px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.guide-section:last-child {
  border-bottom: 0;
}

.guide-section h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.guide-section h3 {
  margin: 38px 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.guide-section p,
.guide-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.82;
}

.guide-section p {
  margin: 0 0 17px;
}

.guide-section ul,
.guide-section ol {
  padding-left: 21px;
}

.guide-section li {
  margin: 8px 0;
}

.guide-section li::marker {
  color: var(--vermilion);
}

.guide-section strong {
  color: var(--ink);
}

.guide-section code {
  padding: 2px 5px;
  color: var(--vermilion-dark);
  background: rgba(216, 77, 45, 0.08);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.guide-callout {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  margin: 25px 0;
  padding: 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.guide-callout.warn {
  background: rgba(216, 77, 45, 0.06);
  border-color: rgba(216, 77, 45, 0.24);
}

.guide-callout .marker {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--paper-light);
  background: var(--vermilion);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.guide-callout h4 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.guide-callout p {
  margin: 0;
  font-size: 13px;
}

.guide-code {
  margin: 20px 0;
  overflow: hidden;
  color: #c8d3c8;
  background: var(--terminal);
  border-radius: var(--radius-sm);
}

.guide-code .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: #708075;
  border-bottom: 1px solid #2b352e;
  font-family: var(--font-mono);
  font-size: 8px;
}

.guide-code pre {
  padding: 20px;
  margin: 0;
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}

.guide-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.guide-table th,
.guide-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.guide-table th {
  color: var(--ink-muted);
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  color: var(--vermilion);
  content: "+";
  font-family: var(--font-sans);
  font-size: 23px;
  font-weight: 400;
}

.guide-faq details[open] summary::after {
  content: "−";
}

.guide-faq details p {
  margin: 13px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

.next-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 22px 24px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.next-page span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.next-page small {
  color: #a9b2aa;
  font-family: var(--font-mono);
  font-size: 9px;
}

.next-page b {
  color: var(--amber);
  font-size: 24px;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    gap: 42px;
  }

  .window-body {
    grid-template-columns: 50px minmax(0, 1fr) 102px;
  }

  .stage-note.n1 {
    left: -12px;
  }

  .stage-note.n2 {
    right: -10px;
  }

  .manifesto-inner {
    gap: 40px;
  }

  .how-grid,
  .community-grid {
    gap: 52px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .site-header.menu-open .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(243, 239, 228, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(28, 36, 31, 0.08);
  }

  .site-header.menu-open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 75px;
  }

  .hero-copy {
    max-width: 730px;
  }

  .product-stage {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .product-window {
    transform: none;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .manifesto-side {
    position: static;
  }

  .manifesto-side p br {
    display: none;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .feature-card.wide,
  .feature-card.medium,
  .feature-card.half,
  .feature-card.third {
    grid-column: span 6;
  }

  .feature-card.wide {
    min-height: 320px;
  }

  .feature-visual {
    width: 38%;
  }

  .how-grid,
  .community-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .how-copy {
    position: static;
  }

  .how-copy > p {
    max-width: 620px;
  }

  .footer-main {
    grid-template-columns: 1.4fr repeat(3, 0.6fr);
    gap: 25px;
  }

  .guide-hero-grid,
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .guide-meta {
    display: flex;
    gap: 40px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-meta span {
    margin: 0;
  }

  .guide-nav {
    position: static;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .guide-nav p {
    display: none;
  }

  .guide-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .header-actions {
    min-width: 0;
    flex-shrink: 0;
  }

  .header-inner {
    height: 68px;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .header-actions .btn {
    min-height: 39px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .site-header.menu-open .site-nav {
    top: 68px;
  }

  .hero {
    padding: 46px 0 72px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 64px);
    letter-spacing: -0.06em;
  }

  .hero h1 .accent {
    white-space: normal;
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    min-height: 50px;
    flex: 1 1 100%;
    min-width: 0;
  }

  .hero-meta {
    gap: 7px 13px;
    font-size: 9px;
  }

  .product-stage::before,
  .product-stage::after,
  .stage-note {
    display: none;
  }

  .window-body {
    grid-template-columns: 43px minmax(0, 1fr);
    min-height: 430px;
  }

  .mini-side {
    display: none;
  }

  .mini-chat {
    padding: 13px;
  }

  .user-bubble {
    font-size: 9px;
  }

  .run-line {
    font-size: 8px;
  }

  .code-body {
    font-size: 6.5px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .manifesto,
  .features,
  .how,
  .quickstart,
  .community {
    padding-block: 76px;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-head p {
    margin-top: 16px;
  }

  .manifesto-quote {
    font-size: 30px;
  }

  .principles {
    margin-top: 46px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide,
  .feature-card.medium,
  .feature-card.half,
  .feature-card.third {
    grid-column: auto;
    min-height: 245px;
  }

  .feature-card h3 {
    font-size: 24px;
  }

  .feature-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  .feature-card.wide {
    min-height: 400px;
  }

  .step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .install-card {
    padding: 22px;
  }

  .terminal-code {
    min-height: 310px;
    padding: 22px 17px;
    font-size: 10px;
  }

  .safety-strip {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }

  .safety-icon {
    width: 40px;
    height: 40px;
  }

  .safety-strip a {
    grid-column: 2;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .guide-hero {
    padding: 56px 0 44px;
  }

  .guide-layout {
    padding-top: 38px;
  }

  .guide-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .guide-content {
    max-width: 100%;
  }

  .guide-section {
    padding-bottom: 46px;
    margin-bottom: 46px;
  }

  .guide-section p,
  .guide-section li {
    font-size: 14px;
  }

  .next-page span {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


