:root {
  --bg: #f6f8f2;
  --bg-strong: #edf3e9;
  --surface: #ffffff;
  --surface-warm: #fbfcf7;
  --ink: #15201c;
  --muted: #607168;
  --line: #dbe4d8;
  --line-strong: #b8c8b6;
  --green: #246b4f;
  --green-strong: #164a38;
  --mint: #dff4df;
  --amber: #d8a33f;
  --coral: #d7664d;
  --dark: #101816;
  --dark-2: #182420;
  --shadow: 0 18px 44px rgba(21, 32, 28, 0.13);
  --shadow-soft: 0 12px 30px rgba(21, 32, 28, 0.08);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(21, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 28, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(21, 32, 28, 0.1);
  background: rgba(246, 248, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(21, 32, 28, 0.14);
  border-radius: 8px;
  background: #fff8e7;
  box-shadow: 0 9px 20px rgba(16, 24, 22, 0.12);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(21, 32, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.nav-links a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface);
  color: var(--ink);
}

.header-cta {
  border: 1px solid rgba(36, 107, 79, 0.2);
  background: var(--mint);
  color: var(--green-strong);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(660px, 84svh, 820px);
  padding: clamp(56px, 7vw, 92px) 24px clamp(44px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before {
  position: absolute;
  inset: 74px max(24px, calc((100vw - var(--max)) / 2)) 34px;
  z-index: -3;
  border: 1px solid rgba(21, 32, 28, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 248, 242, 0.95) 0%, rgba(246, 248, 242, 0.88) 40%, rgba(246, 248, 242, 0.45) 72%, rgba(246, 248, 242, 0.58) 100%),
    url("./assets/backgrounds/hero-pencil-bg.webp") center / cover no-repeat;
  box-shadow: inset 0 0 72px rgba(246, 248, 242, 0.68);
  content: "";
}

.hero-section::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -2;
  height: 112px;
  background: linear-gradient(180deg, rgba(246, 248, 242, 0), var(--bg));
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(var(--max), calc(100% - 48px));
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  pointer-events: none;
  animation: heroCopyIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms both;
}

.hero-actions,
.proof-row {
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 92px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-lede {
  width: min(600px, 100%);
  margin-bottom: 28px;
  color: #37463f;
  font-size: 20px;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button.primary {
  background: var(--green-strong);
  color: #f8fff6;
  box-shadow: 0 14px 26px rgba(22, 74, 56, 0.22);
}

.button.secondary {
  border-color: rgba(21, 32, 28, 0.18);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-links a:focus-visible,
.header-cta:focus-visible,
.ladder button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(216, 163, 63, 0.45);
  outline-offset: 3px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 3px 12px 3px 6px;
  border: 1px solid rgba(21, 32, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.proof-row img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-scene {
  position: absolute;
  inset: 84px max(24px, calc((100vw - var(--max)) / 2)) 44px;
  z-index: 1;
  pointer-events: none;
}

.terminal-panel,
.stream-card,
.cost-meter {
  position: absolute;
  border: 1px solid rgba(21, 32, 28, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.panel-icon {
  position: absolute;
  z-index: 3;
  width: 86px;
  height: 86px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(21, 32, 28, 0.15));
}

.terminal-icon {
  top: -46px;
  left: 18px;
}

.stream-icon {
  right: -30px;
  top: -48px;
}

.cost-icon {
  right: -24px;
  bottom: -36px;
  width: 92px;
  height: 92px;
}

.terminal-panel {
  right: 40px;
  bottom: 0;
  width: min(490px, 42vw);
  min-height: 268px;
  overflow: visible;
  background: var(--dark);
  color: #dff4df;
  animation: panelIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 160ms both;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
  background: var(--dark-2);
}

.panel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #6e8178;
}

.panel-bar span:nth-child(1) {
  background: var(--coral);
}

.panel-bar span:nth-child(2) {
  background: var(--amber);
}

.panel-bar span:nth-child(3) {
  background: #70c78d;
}

pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  color: #d9efe1;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.62;
  tab-size: 2;
}

.stream-card {
  right: 0;
  top: 178px;
  width: min(408px, 34vw);
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  animation: panelIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both;
}

.stream-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 850;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #28b46b;
  box-shadow: 0 0 0 5px rgba(40, 180, 107, 0.13);
}

.url-box {
  min-height: 42px;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-warm);
  color: #26352f;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
}

.mini-player {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid rgba(36, 107, 79, 0.16);
  border-radius: 8px;
  background: linear-gradient(90deg, #17231f, #294238);
  color: #ecfff2;
}

.play-symbol {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--mint);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: scale(0.42);
}

.timeline {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
}

.mini-player strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.ladder {
  display: grid;
  gap: 9px;
}

.ladder button {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ladder button::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, rgba(36, 107, 79, 0.15), rgba(216, 163, 63, 0.18));
  content: "";
}

.ladder button > * {
  position: relative;
  z-index: 1;
}

.ladder span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
}

.ladder strong {
  justify-self: end;
  font-size: 13px;
}

.ladder button:hover,
.ladder button.active {
  border-color: rgba(36, 107, 79, 0.55);
  background: #f8fff6;
}

.cost-meter {
  right: 0;
  top: 20px;
  width: min(312px, 26vw);
  padding: 16px 72px 16px 16px;
  background: #fff8e5;
  animation: panelIn 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.cost-meter > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.meter-label {
  color: #85611f;
  font-size: 12px;
  font-weight: 850;
}

.cost-meter strong {
  color: #5d3b00;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.cost-meter p {
  margin: 0;
  color: #6f5726;
  font-size: 13px;
  line-height: 1.45;
}

.delivery-line {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2 + 250px));
  bottom: 300px;
  z-index: 0;
  width: min(390px, 33vw);
  height: 2px;
  background: linear-gradient(90deg, rgba(36, 107, 79, 0), var(--green), rgba(216, 163, 63, 0.7));
  transform-origin: left;
  animation: lineIn 760ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
}

.strip {
  padding: 28px 0 76px;
}

.strip p {
  margin: 0;
  padding: clamp(22px, 4vw, 34px);
  border-top: 1px solid rgba(21, 32, 28, 0.16);
  border-bottom: 1px solid rgba(21, 32, 28, 0.16);
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading h2,
.cta-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.cta-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.comparison-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.price-card {
  border: 1px solid rgba(21, 32, 28, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 326px;
  padding: 20px;
}

.feature-card h3,
.price-card h3,
.workflow-step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.feature-card p,
.workflow-step p,
.price-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.feature-card p,
.workflow-step p {
  margin: 0;
}

.feature-visual {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 142px;
  margin: 0 0 22px;
  padding: 12px;
  border: 1px solid rgba(21, 32, 28, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(rgba(21, 32, 28, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 32, 28, 0.04) 1px, transparent 1px),
    #fffaf0;
  background-size: 18px 18px;
}

.feature-visual img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(21, 32, 28, 0.12));
}

.feature-visual figcaption {
  margin-top: -4px;
  padding: 5px 8px;
  border: 1px solid rgba(21, 32, 28, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-strong);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.upload-visual {
  align-content: center;
  gap: 8px;
}

.upload-visual span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--dark);
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 850;
}

.upload-visual div {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.upload-visual div:nth-child(2) {
  width: 82%;
}

.upload-visual div:nth-child(3) {
  width: 52%;
  background: rgba(36, 107, 79, 0.32);
}

.playback-visual {
  grid-template-rows: 38px 1fr 1fr;
  gap: 8px;
}

.playback-visual span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--green-strong);
}

.playback-visual div {
  border-radius: 999px;
  background: rgba(36, 107, 79, 0.14);
}

.playback-visual div:nth-child(2) {
  width: 100%;
}

.playback-visual div:nth-child(3) {
  width: 68%;
}

.guardrail-visual {
  align-content: center;
  gap: 10px;
}

.guardrail-visual div {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceee5;
}

.guardrail-visual span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

.guardrail-visual div:nth-child(1) span {
  width: 38%;
}

.guardrail-visual div:nth-child(2) span {
  width: 64%;
}

.guardrail-visual div:nth-child(3) span {
  width: 82%;
}

.workflow-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--bg-strong);
}

.workflow-section .section-heading {
  max-width: var(--max);
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  overflow: hidden;
  border: 1px solid rgba(21, 32, 28, 0.13);
  border-radius: 8px;
  background: rgba(21, 32, 28, 0.12);
}

.workflow-step {
  position: relative;
  min-height: 238px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.workflow-step > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--dark);
  color: var(--mint);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 900;
}

.workflow-step img {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 106px;
  height: 106px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(21, 32, 28, 0.12));
}

.workflow-step h3,
.workflow-step p {
  position: relative;
  z-index: 1;
  max-width: 72%;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 107, 79, 0.24);
  box-shadow: var(--shadow);
}

.price-card.highlighted {
  border-color: rgba(36, 107, 79, 0.4);
  background: #f9fff6;
}

.badge {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--mint);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 850;
}

.price-icon {
  width: 106px;
  height: 106px;
  object-fit: contain;
  align-self: flex-end;
  margin: -8px -2px 4px 0;
  filter: drop-shadow(0 12px 18px rgba(21, 32, 28, 0.12));
}

.price {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.cta-copy {
  position: relative;
  min-height: 236px;
}

.cta-icon {
  width: 132px;
  height: 132px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 12px 20px rgba(21, 32, 28, 0.13));
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.access-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(21, 32, 28, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.access-form label {
  display: grid;
  gap: 8px;
}

.access-form label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.access-form label span img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.access-form input,
.access-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
}

.access-form select {
  cursor: pointer;
}

.form-note {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(21, 32, 28, 0.13);
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: min(100% - 32px, var(--max));
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 74px;
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 52px;
  }

  .strip p {
    font-size: 40px;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    max-width: 720px;
    padding-top: 0;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    order: 2;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 720px;
    margin: 36px auto 0;
  }

  .terminal-panel,
  .stream-card,
  .cost-meter {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .terminal-panel {
    min-height: auto;
  }

  .delivery-line {
    display: none;
  }

  .comparison-grid,
  .pricing-grid,
  .workflow-rail,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 0;
  }

  .workflow-step > span {
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  body {
    background-size: 36px 36px;
  }

  .site-header,
  .section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    min-height: 64px;
  }

  .header-cta {
    padding: 0 11px;
    font-size: 13px;
  }

  .hero-section {
    padding: 36px 14px 42px;
  }

  .hero-copy,
  .motion-panel {
    animation: none;
  }

  .hero-section::before {
    inset: 64px 14px 24px;
    background:
      linear-gradient(180deg, rgba(246, 248, 242, 0.91) 0%, rgba(246, 248, 242, 0.76) 44%, rgba(246, 248, 242, 0.82) 100%),
      url("./assets/backgrounds/hero-pencil-bg.webp") 64% center / cover no-repeat;
    box-shadow: inset 0 0 52px rgba(246, 248, 242, 0.76);
  }

  h1 {
    max-width: 12ch;
    font-size: 48px;
    line-height: 0.95;
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 40px;
    line-height: 1;
  }

  .strip p {
    font-size: 31px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-lede {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .proof-row span {
    flex: 1 1 100%;
    justify-content: center;
  }

  pre {
    font-size: 11px;
  }

  .panel-icon {
    width: 66px;
    height: 66px;
  }

  .terminal-icon {
    top: -30px;
    left: 10px;
  }

  .stream-icon {
    right: -14px;
    top: -30px;
  }

  .cost-icon {
    right: -10px;
    bottom: -24px;
    width: 74px;
    height: 74px;
  }

  .stream-card,
  .cost-meter,
  .feature-card,
  .price-card,
  .access-form {
    padding: 16px;
  }

  .cost-meter {
    padding-right: 62px;
  }

  .mini-player {
    grid-template-columns: 28px 1fr auto;
    gap: 9px;
  }

  .ladder button {
    grid-template-columns: 54px 1fr;
  }

  .strip {
    padding-bottom: 44px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-visual img {
    width: 104px;
    height: 104px;
  }

  .workflow-step img {
    width: 86px;
    height: 86px;
  }

  .workflow-step h3,
  .workflow-step p {
    max-width: calc(100% - 96px);
  }

  .price-card {
    min-height: 0;
  }

  .price {
    font-size: 54px;
  }

  .price-icon,
  .cta-icon {
    width: 96px;
    height: 96px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

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