:root {
  --paper: #FAF9F5;
  --surface: #FFFFFF;
  --ink: #111214;
  --ink-soft: #2A2B2E;
  --slate: #5C6066;
  --hairline: #E6E4DC;
  --sand: #DDD8CB;
  --orange: #E8490F;
  --orange-deep: #B93A0C;
  --green: #146B47;
  --font-sans: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Instrument Sans', -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--slate); }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--ink); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
}
.hero-kicker,
.section-kicker {
  display: block;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
}
.hero-kicker { font-size: 14px; }
.section-kicker { font-size: 15px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

.rule { border: 0; border-top: 1px solid var(--hairline); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms cubic-bezier(0.2, 0, 0, 1), border-color 120ms, color 120ms, transform 120ms;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-soft); }
.btn-orange { background: var(--orange); color: #FFF7F2; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--hairline); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: rgba(250, 249, 245, 0.3); }
.btn-ghost-dark:hover { border-color: var(--paper); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.brand svg { height: 26px; width: auto; display: block; }
.brand .cut { transition: transform 240ms cubic-bezier(0.2, 0, 0, 1); }
.brand:hover .cut { transform: translateX(4px); }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--slate); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-login { font-size: 15px; color: var(--slate); }
.nav-login:hover { color: var(--ink); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Hero */
.hero { padding: 96px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero h1 { max-width: 780px; }
.hero-sub { font-size: 1.15rem; max-width: 560px; margin-top: 24px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); margin-top: 16px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  display: block;
  margin-bottom: 14px;
}

/* Fact strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.fact { padding: 28px 24px; border-left: 1px solid var(--hairline); }
.fact:first-child { border-left: 0; }
.fact .n { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; color: var(--ink); display: block; }
.fact .l { font-size: 13.5px; color: var(--slate); margin-top: 4px; display: block; }

/* Product frame (ledger sheet) */
.sheet {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  gap: 12px;
  flex-wrap: wrap;
}
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline);
}
.sheet td { padding: 14px 20px; border-bottom: 1px solid var(--hairline); }
.sheet tr:last-child td { border-bottom: 0; }
.sheet .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.score { font-family: var(--font-mono); font-weight: 500; }
.score.hi { color: var(--green); }
.score.top { color: var(--orange); }
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid var(--hairline);
  color: var(--slate);
}
.chip.ready { border-color: #BFDCCE; color: var(--green); background: #EFF6F2; }

/* Real product presentation */
.label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}
.product-hero { padding-bottom: 80px; }
.product-hero-frame,
.editor-product-frame,
.proof-terminal {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
}
.product-hero-frame {
  margin-top: 56px;
  box-shadow: 0 28px 80px rgba(17, 18, 20, 0.08);
}
.product-frame-head {
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--slate);
  flex-wrap: wrap;
}
.studio-preview-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  min-height: 520px;
}
.studio-sidebar,
.studio-inspector,
.editor-panel {
  background: var(--paper);
  border-right: 1px solid var(--hairline);
  padding: 22px;
}
.studio-inspector,
.editor-panel:last-child {
  border-right: 0;
  border-left: 1px solid var(--hairline);
}
.studio-nav-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.studio-nav {
  display: block;
  font-size: 14px;
  color: var(--slate);
  padding: 9px 10px;
  border-radius: var(--radius);
}
.studio-nav.on {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.studio-main {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.source-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
}
.source-card p { margin-top: 6px; font-size: 14px; }
.source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--slate);
}
.source-meta strong {
  font-weight: 500;
  color: var(--ink);
}
.source-meter {
  align-self: center;
  width: 140px;
  height: 8px;
  border-radius: 99px;
  background: var(--hairline);
  overflow: hidden;
}
.source-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}
.clip-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.clip-row.selected { border-color: var(--ink); }
.clip-row small {
  display: block;
  color: var(--slate);
  font-size: 12.5px;
  margin-top: 2px;
}
.clip-thumb {
  width: 44px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--sand), var(--paper));
  border: 1px solid var(--hairline);
}
.clip-thumb.alt { background: linear-gradient(180deg, var(--ink), var(--ink-soft)); }
.app-state-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  color: var(--slate);
}
.app-state-row strong {
  color: var(--ink);
  font-weight: 500;
}
.timeline-mini,
.editor-timeline {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--paper);
}
.track {
  display: block;
  height: 16px;
  border-radius: var(--radius);
  background: var(--hairline);
}
.track.video { width: 88%; background: var(--sand); }
.track.captions { width: 74%; background: rgba(232, 73, 15, 0.14); }
.track.music { width: 96%; background: rgba(20, 107, 71, 0.12); }
.track.graphics { width: 48%; background: var(--surface); border: 1px solid var(--hairline); }
.playhead {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 42%;
  width: 2px;
  background: var(--orange);
}
.phone-preview {
  position: relative;
  width: 132px;
  aspect-ratio: 9 / 16;
  margin: 10px auto 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 18, 20, 0.08), rgba(17, 18, 20, 0.42)),
    linear-gradient(135deg, var(--sand), var(--paper));
  border: 6px solid var(--ink);
  overflow: hidden;
}
.phone-preview.large { width: min(220px, 54vw); }
.phone-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 36px;
  color: var(--surface);
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
}
.inspector-list {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}
.inspector-list span,
.metric-line,
.terminal-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.inspector-list strong,
.metric-line strong,
.terminal-row strong {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.export-history {
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
}
.export-history div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--slate);
}
.export-history strong {
  color: var(--green);
  font-weight: 500;
}
.product-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
.workflow-strip .section-head { margin-bottom: 28px; }
.workflow-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.workflow-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mini-upload,
.mini-stack,
.mini-ledger {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
}
.mini-upload span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.mini-upload small,
.mini-stack span,
.mini-ledger span {
  color: var(--slate);
  font-size: 12.5px;
}
.mini-scores {
  height: 92px;
  padding: 14px;
  display: flex;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
}
.mini-scores span {
  flex: 1;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--orange);
  opacity: 0.8;
}
.editor-product-frame {
  box-shadow: 0 20px 64px rgba(17, 18, 20, 0.07);
}
.editor-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 220px;
  min-height: 460px;
}
.editor-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: var(--paper);
}
.style-tile {
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  font-size: 14px;
}
.style-tile.on { border-color: var(--ink); }
.style-tile small {
  display: block;
  color: var(--slate);
  margin-top: 3px;
  font-size: 12px;
}
.metric-line {
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
  color: var(--slate);
  font-size: 14px;
}
.editor-timeline {
  margin: 0 22px 22px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.proof-terminal {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
}
.proof-terminal .product-frame-head {
  border-color: rgba(250, 249, 245, 0.12);
  color: rgba(250, 249, 245, 0.68);
}
.terminal-row {
  padding: 14px 18px;
  border-top: 1px solid rgba(250, 249, 245, 0.10);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(250, 249, 245, 0.68);
}
.terminal-row strong {
  color: var(--paper);
}
.usage-ledger .section-head {
  max-width: none;
}
.usage-ledger .section-head > p {
  max-width: 640px;
}
.usage-sheet {
  margin: 28px 0 28px;
}
.plan-price {
  font-family: var(--font-sans);
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin: 10px 0 4px;
}
.plan-price span {
  font-size: 0.95rem;
  color: var(--slate);
  font-weight: 500;
  margin-left: 2px;
}

/* Dark band */
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3, .band-ink strong { color: var(--paper); }
.band-ink p { color: #A6A8AE; }
.band-ink .card { background: #1A1B1E; border-color: #2A2B2F; }
.band-ink .eyebrow { color: var(--orange); }
.chip-soon {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid #3A3B40;
  color: #8B8D94;
  margin-left: 10px;
  vertical-align: middle;
}

/* Pull quote */
.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 820px;
}

/* Pricing */
.toggle { display: inline-flex; border: 1px solid var(--hairline); border-radius: 99px; background: var(--surface); padding: 4px; gap: 4px; }
.toggle button {
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 99px;
  cursor: pointer;
  color: var(--slate);
}
.toggle button.on { background: var(--ink); color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--orange);
  color: #FFF7F2;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 99px;
}
.plan .price { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 500; margin: 14px 0 2px; }
.plan .price small { font-size: 0.95rem; color: var(--slate); font-weight: 400; }
.plan .per { font-size: 13px; color: var(--slate); min-height: 20px; }
.plan ul { list-style: none; margin: 22px 0; flex: 1; }
.plan li { font-size: 14.5px; color: var(--slate); padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 2px; background: var(--sand); }
.plan li strong { color: var(--ink); font-weight: 500; }
.plan .btn { width: 100%; justify-content: center; }

.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--hairline); text-align: left; }
.compare th { font-weight: 500; }
.compare thead th { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: 0.01em; text-transform: uppercase; font-weight: 600; color: var(--slate); }
.compare td { color: var(--slate); }
.compare .yes { color: var(--green); font-family: var(--font-mono); }
.compare .no { color: var(--sand); font-family: var(--font-mono); }

.notice {
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 14.5px;
  color: var(--slate);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.notice::before { content: "—"; color: var(--orange); font-weight: 600; }

/* Accordion */
.acc { border-top: 1px solid var(--hairline); }
.acc-item { border-bottom: 1px solid var(--hairline); }
.acc-q {
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
}
.acc-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--slate);
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
}
.acc-item.open .acc-q::after { transform: translateY(-50%) rotate(45deg); color: var(--orange); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 240ms cubic-bezier(0.2, 0, 0, 1); }
.acc-a p { padding: 0 0 22px; font-size: 15px; max-width: 720px; }

/* Forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color 120ms;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field .hint { font-size: 13px; color: var(--slate); margin-top: 6px; }
.form-card { max-width: 560px; }
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 80px 24px 120px; }
.auth-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 36px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--slate); margin-top: 22px; }
.auth-alt a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--sand); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--slate); font-family: var(--font-mono); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--hairline); }
.form-msg { font-size: 14px; margin-top: 14px; color: var(--green); }
.form-msg.err { color: var(--orange-deep); }

/* Prose (legal, about) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.05rem; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 15.5px; margin-bottom: 14px; color: var(--slate); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--slate); }

/* CTA band */
.cta-band { border-top: 1px solid var(--hairline); }
.cta-band .inner { padding: 96px 0; text-align: center; }
.cta-band h2 { max-width: 620px; margin: 0 auto 18px; }
.cta-band p { max-width: 480px; margin: 0 auto 32px; }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--hairline); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 64px 0 48px; }
.foot-brand p { font-size: 14px; margin-top: 14px; max-width: 260px; }
.foot-col h4 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--slate); padding: 5px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  flex-wrap: wrap;
}
.foot-pattern { display: block; width: 100%; height: 56px; border-top: 1px solid var(--hairline); }

/* Reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 400ms cubic-bezier(0.2, 0, 0, 1), transform 400ms cubic-bezier(0.2, 0, 0, 1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .brand .cut { transition: none; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-cards, .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-preview-grid, .editor-grid { grid-template-columns: 1fr; }
  .studio-sidebar, .studio-inspector, .editor-panel, .editor-panel:last-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .studio-sidebar { display: none; }
  .studio-inspector { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
  .proof-terminal { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact { border-top: 1px solid var(--hairline); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px 24px;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .plans, .workflow-cards, .proof-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .nav-cta .nav-login { display: none; }
  .sheet-head { font-size: 11.5px; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 10px 10px; }
  .product-hero-frame { margin-top: 36px; }
  .source-card { display: grid; }
  .source-meter { width: 100%; }
  .clip-row { grid-template-columns: 36px minmax(0, 1fr); }
  .clip-row > .score { grid-column: 2; }
  .studio-main { padding: 16px; }
  .studio-inspector { grid-template-columns: 1fr; }
  .editor-canvas { min-height: 360px; }
  .editor-timeline { margin: 0 14px 14px; }
}
