html, body {
  background: #f3eee6;
  background: var(--bg, #f3eee6);
  color: #1c1916;
  color: var(--text, #1c1916);
}

:root {
  --bg: #f3eee6;
  --text: #1c1916;
  --muted: #3d3832;
  --stat: #e4d6c4;
  --border: rgba(28, 25, 22, 0.14);
  --border-soft: rgba(28, 25, 22, 0.08);
  --stage: #1f1a15;
  --stage-text: #f3eee6;
  --stage-muted: #c4b5a0;
  --copper: #c65a24;
  --copper-bright: #e07838;
  --copper-deep: #8c3f18;
  --sand: #ebe4d8;

  --logo: 15.5px;
  --logo-mark: 22px;
  --nav: 14px;
  --nav-h: 40px;
  --btn: 13.5px;
  --btn-h: 40px;
  --hero-btn-h: 42px;
  --h1: 48px;
  --lede: 15.5px;
  --badge: 12.5px;
  --stat-size: 13.5px;
  --header-y: 22px;
  --header-x: 40px;
  --stats-x: 72px;
  --stats-y: 36px;
  --hero-gap: 48px;
  --copy-max: 860px;
  --lede-max: 620px;

  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

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

button {
  font-family: inherit;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--copper);
  color: var(--stage-text);
  font-weight: 700;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Grain + scan atmosphere (no video) */

.stage {
  position: relative;
  background: var(--stage);
  color: var(--stage-text);
  overflow: hidden;
  padding-top: calc(var(--header-y) + var(--nav-h) + 12px);
}

.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: min(920px, 100vh);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

@media (pointer: coarse) {
  .pointer-glow {
    display: none;
  }
}

.pointer-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 30%),
    rgba(198, 90, 36, 0.16),
    transparent 58%
  );
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.atmosphere-grid {
  position: absolute;
  inset: -10% 0 0;
  background-image:
    linear-gradient(rgba(243, 238, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 230, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(58deg) translateY(calc(-8% + var(--grid-y, 0px)));
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
  animation: grid-drift 18s linear infinite;
}

.atmosphere-scan {
  position: absolute;
  left: -20%;
  top: 18%;
  width: 140%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(224, 120, 56, 0.7), transparent);
  box-shadow: 0 0 28px rgba(198, 90, 36, 0.4);
  animation: scan-sweep 7.5s var(--ease) infinite;
}

.atmosphere-scan--late {
  top: 8%;
  opacity: 0.55;
  animation-delay: 3.6s;
  animation-duration: 9s;
}

.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
}

.atmosphere-orb--a {
  width: 220px;
  height: 220px;
  left: 12%;
  top: 28%;
  background: rgba(198, 90, 36, 0.28);
  animation: orb-float 11s ease-in-out infinite;
}

.atmosphere-orb--b {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 18%;
  background: rgba(243, 238, 230, 0.1);
  animation: orb-float 14s ease-in-out infinite reverse;
}

.atmosphere-glow {
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 80%;
  height: 55%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(198, 90, 36, 0.22), transparent 68%);
  animation: glow-breathe 6.5s ease-in-out infinite;
}

@keyframes scan-sweep {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(420px); opacity: 0; }
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -22px) scale(1.08); }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* Header */

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--header-y) var(--header-x) 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  color: var(--stage-text);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.is-solid {
  background: rgba(243, 238, 230, 0.92);
  color: var(--text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28, 25, 22, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-size: var(--logo);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: inherit;
}

.logo-mark {
  width: var(--logo-mark);
  height: var(--logo-mark);
  flex-shrink: 0;
}

.logo-layer {
  transform-box: fill-box;
  transform-origin: center;
  animation: strata-wave 3.6s ease-in-out infinite;
}

.logo-layer:nth-child(2) { animation-delay: 0.18s; }
.logo-layer:nth-child(3) { animation-delay: 0.36s; }

@keyframes strata-wave {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(1.2px); opacity: 0.72; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}

.nav-link {
  position: relative;
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: var(--nav);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.is-active {
  opacity: 1;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border-radius: 6px;
  border: 1px solid rgba(243, 238, 230, 0.28);
  background: transparent;
  z-index: 60;
  cursor: pointer;
  color: inherit;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header.is-solid .burger {
  border-color: var(--border);
  background: rgba(243, 238, 230, 0.7);
}

.burger:hover {
  border-color: rgba(198, 90, 36, 0.45);
  background: rgba(198, 90, 36, 0.08);
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

/* Buttons */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 16px;
  border-radius: 6px;
  font-size: var(--btn);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, filter 0.35s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 48%, transparent 76%);
  transform: translateX(-130%);
  pointer-events: none;
  animation: sheen-sweep 5.2s ease-in-out 2.4s infinite;
}

.btn:hover::after {
  animation-duration: 0.65s;
}

@keyframes sheen-sweep {
  0%, 72% { transform: translateX(-130%); }
  88%, 100% { transform: translateX(130%); }
}

.btn-solid {
  background: linear-gradient(180deg, #e07838 0%, #c65a24 48%, #8c3f18 100%);
  color: #f3eee6;
  border: 1px solid #e07838;
  box-shadow: inset 0 1px 0 rgba(255, 232, 210, 0.45);
}

.btn-solid:hover {
  background: linear-gradient(180deg, #f08a4a 0%, #d4662c 42%, #a3481c 100%);
  border-color: #f08a4a;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 210, 0.55),
    0 0 22px rgba(198, 90, 36, 0.4),
    0 8px 18px rgba(140, 63, 24, 0.2);
}

.hero-btn {
  height: var(--hero-btn-h);
  padding: 0 18px;
}

.hero-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 210, 0.55),
    0 0 26px rgba(198, 90, 36, 0.45),
    0 8px 18px rgba(140, 63, 24, 0.22);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn:focus-visible,
.nav-link:focus-visible,
.burger:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 72px 24px var(--hero-gap);
  min-height: min(72vh, 760px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--copy-max);
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 13px;
  border: 1px solid rgba(243, 238, 230, 0.22);
  border-radius: 999px;
  background: rgba(243, 238, 230, 0.06);
  color: var(--stage-muted);
  font-size: var(--badge);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.badge-star {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
  animation: in-star 0.9s var(--ease) 0.28s both, sparkle-spin 3.8s ease-in-out 1.4s infinite;
}

.hero h1 {
  font-size: var(--h1);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: var(--stage-text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.headline-line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.15em 0.14em;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.03em;
  color: var(--copper-bright);
  animation: in-em 1.2s var(--ease) 0.72s both, em-shimmer 4.5s ease-in-out 2.1s infinite;
}

.hero-mark {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  color: var(--stage-text);
}

.resilience {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--copper-bright);
}

.hero-mark .resilience {
  font-size: 1.18em;
  animation: em-shimmer 4.5s ease-in-out 2.1s infinite;
}

.lede {
  max-width: var(--lede-max);
  margin-top: 14px;
  color: var(--stage-muted);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.015em;
  animation-duration: 1.25s;
}

.hero-signup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  width: 100%;
  max-width: 460px;
}

.hero-signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  height: var(--hero-btn-h);
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid rgba(243, 238, 230, 0.28);
  background: rgba(31, 26, 21, 0.45);
  color: var(--stage-text);
  font-size: var(--btn);
  font-family: inherit;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-signup input[type="email"]::placeholder {
  color: var(--stage-muted);
}

.hero-signup input[type="email"]:focus {
  border-color: var(--copper-bright);
  box-shadow: 0 0 0 4px rgba(198, 90, 36, 0.18), 0 0 22px rgba(198, 90, 36, 0.22);
}

.fine-print {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--stage-muted);
}

/* Stats */

.stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px var(--stats-x) var(--stats-y);
  padding-bottom: max(var(--stats-y), env(safe-area-inset-bottom));
  color: var(--stat);
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--stat-size);
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.stat-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #e8e8e8;
}

.stat-icon-wide {
  width: 38px;
  height: 21px;
}

.stat.is-in .stat-icon {
  animation: icon-bob 3.2s ease-in-out infinite;
}

/* Entrance motion */

.appear {
  opacity: 1;
  animation-duration: 1.05s;
  animation-fill-mode: none;
  animation-timing-function: var(--ease);
  animation-delay: var(--d, 0.08s);
}

html.js .appear {
  animation-fill-mode: both;
}

.appear--scale { animation-name: in-scale; }
.appear--soft { animation-name: in-soft; }
.appear--mask { animation-name: in-mask; }
.appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; }
.appear--side { animation-name: in-side; }
.appear--stat { animation-name: in-stat; }

.appear.is-in,
.atmosphere.is-in {
  animation: none;
  opacity: 1;
  transform: none;
  clip-path: none;
  filter: none;
}

@keyframes in-scale {
  from { opacity: 0; transform: scale(0.84); }
  to { opacity: 1; transform: none; }
}

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

@keyframes in-mask {
  from { opacity: 0; transform: translateY(40%); }
  to { opacity: 1; transform: none; }
}

@keyframes in-pop {
  0% { opacity: 0; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes in-btn {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes in-side {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes in-stat {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes in-star {
  0% { transform: scale(0.2) rotate(-50deg); }
  65% { transform: scale(1.2) rotate(8deg); }
  100% { transform: none; }
}

@keyframes in-em {
  from { opacity: 0.35; filter: blur(4px); }
  to { opacity: 1; filter: none; }
}

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

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease) var(--reveal-d, 0s),
    transform 0.9s var(--ease) var(--reveal-d, 0s);
}

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

@keyframes sparkle-spin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  40% { transform: rotate(18deg) scale(1.12); }
  70% { transform: rotate(-8deg) scale(0.96); }
}

@keyframes em-shimmer {
  0%, 100% { color: var(--copper-bright); text-shadow: none; }
  50% { color: #f0b27a; text-shadow: 0 0 18px rgba(224, 120, 56, 0.35); }
}

@keyframes icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Lower sections */

.section {
  position: relative;
  z-index: 1;
  padding-block: 6.5rem;
}

#how-it-works .container {
  max-width: 1280px;
}

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

/* Wordless diagrams */

.ink-copper { fill: var(--copper); }
.ink-bright { fill: var(--copper-bright); }
.ink-sand { fill: var(--sand); }
.stroke-copper { stroke: var(--copper); }

.hero-story {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 28px;
}

.story {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  color: var(--stage-text);
}

.story-beat {
  width: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 10px;
  border-radius: 20px;
  border: 1px solid rgba(243, 238, 230, 0.16);
  background: rgba(243, 238, 230, 0.06);
}

.story-beat svg {
  width: 48px;
  height: 48px;
}

.story-cap {
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  color: var(--stage-muted);
}

.story-join {
  width: 28px;
  height: 2px;
  margin-top: 36px;
  background: rgba(243, 238, 230, 0.22);
  position: relative;
  flex-shrink: 0;
}

.story-join::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(243, 238, 230, 0.45);
}

.hero-story.is-playing .story-beat {
  animation: node-lit 6.4s var(--ease) infinite;
  animation-delay: calc(var(--i) * 1.2s);
}

.hero-story.is-playing .scan-arc {
  animation: scan-wiper 1.4s ease-in-out infinite;
}

.hero-story .ok-tick {
  stroke: var(--copper-bright);
  stroke-dashoffset: 0;
}

.hero-story.is-playing .story-beat--ok {
  border-color: var(--copper);
}

.diagram {
  margin: 2.5rem 0 0;
}

.scale-chart {
  width: 100%;
  margin: 2rem 0 0;
}

.scale-board {
  position: relative;
  width: 100%;
  padding: 2.2rem 0.75rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(198, 90, 36, 0.08), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(198, 90, 36, 0.06), transparent 32%),
    #fffdf8;
}

.scale-flow {
  list-style: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 0;
}

.scale-flow::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 40px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(198, 90, 36, 0.15), var(--copper) 20%, var(--copper) 80%, rgba(198, 90, 36, 0.15));
}

.scale-flow::after {
  content: "";
  position: absolute;
  left: 6%;
  top: 35px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 14px rgba(198, 90, 36, 0.55);
  z-index: 2;
}

.diagram.is-playing .scale-flow::after {
  animation: scale-packet 7s var(--ease) infinite;
}

@keyframes scale-packet {
  0% { left: 6%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(94% - 14px); opacity: 0; }
}

.scale-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.4rem;
}

.scale-icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(198, 90, 36, 0.28);
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(31, 26, 21, 0.08);
  position: relative;
  z-index: 3;
}

.scale-icon svg {
  width: 44px;
  height: 44px;
}

.scale-cap {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.scale-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 16ch;
}

.diagram.is-playing .scale-icon,
.hero-story.is-playing .story-beat {
  animation: node-lit 7s var(--ease) infinite;
  animation-delay: calc(var(--i) * 0.85s);
}

@keyframes node-lit {
  0%, 8% { border-color: rgba(198, 90, 36, 0.28); box-shadow: 0 10px 24px rgba(31, 26, 21, 0.08); }
  14%, 22% { border-color: var(--copper); box-shadow: 0 0 0 6px rgba(198, 90, 36, 0.12), 0 10px 24px rgba(31, 26, 21, 0.08); }
  40%, 100% { border-color: rgba(198, 90, 36, 0.28); box-shadow: 0 10px 24px rgba(31, 26, 21, 0.08); }
}

.scan-arc {
  transform-origin: 28px 28px;
}

.diagram.is-playing .scan-arc {
  animation: scan-wiper 1.4s ease-in-out infinite;
}

@keyframes scan-wiper {
  0%, 100% { transform: rotate(-25deg); opacity: 0.2; }
  50% { transform: rotate(25deg); opacity: 1; }
}

.diagram.is-playing .glyph-db { animation: pop-in 7s var(--ease) infinite; animation-delay: 1.6s; }
.diagram.is-playing .glyph-cache { animation: pop-in 7s var(--ease) infinite; animation-delay: 1.85s; }
.diagram.is-playing .glyph-q { animation: pop-in 7s var(--ease) infinite; animation-delay: 2.1s; }

@keyframes pop-in {
  0%, 12% { opacity: 0; transform: translateY(6px); }
  20%, 100% { opacity: 1; transform: none; }
}

.diagram.is-playing .cloud-drop {
  animation: drop-in 7s var(--ease) infinite;
}

@keyframes drop-in {
  0%, 48% { opacity: 0; transform: translateY(-8px); }
  58%, 100% { opacity: 1; transform: none; }
}

.diagram.is-playing .wave {
  stroke-dasharray: 12 10;
  animation: dash-flow 0.8s linear infinite;
}

.ok-tick {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.diagram.is-playing .ok-tick {
  animation: tick-draw 7s var(--ease) infinite;
}

@keyframes tick-draw {
  0%, 62% { stroke-dashoffset: 40; }
  72%, 100% { stroke-dashoffset: 0; }
}

.bring-life {
  margin-top: 2.4rem;
}

.life-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.6rem;
}

.life-panel {
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fffdf8;
}

.life-kicker {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--copper-deep);
}

.life-preview {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  min-height: 104px;
  border-radius: 14px;
  background: var(--stage);
  color: var(--stage-muted);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow: hidden;
}

.life-preview code {
  font: inherit;
}

.life-preview .tok {
  color: var(--copper-bright);
}

.life-preview--live {
  box-shadow: inset 0 0 0 1px rgba(198, 90, 36, 0.28);
}

.life-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.life-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.life-join {
  width: 22px;
  align-self: center;
  height: 2px;
  background: var(--copper);
  position: relative;
  flex-shrink: 0;
}

.life-join::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--copper);
}

.pain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
}

.pain-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fffdf8;
  color: var(--text);
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
}

.pain-card svg {
  width: 88px;
  height: 70px;
  align-self: center;
  margin-bottom: 0.85rem;
}

.pain-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.diagram.is-playing .pain-ticket {
  animation: ticket-stack 2.4s var(--ease) infinite;
}

.diagram.is-playing .pain-ticket--2 {
  animation-delay: 0.15s;
}

@keyframes ticket-stack {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -3px); }
}

.diagram.is-playing .pain-crash {
  stroke-dasharray: 80;
  animation: crash-draw 2.8s var(--ease) infinite;
}

@keyframes crash-draw {
  0% { stroke-dashoffset: 80; }
  40%, 100% { stroke-dashoffset: 0; }
}

.diagram.is-playing .pain-break {
  animation: break-pop 2.8s var(--ease) infinite;
}

@keyframes break-pop {
  0%, 30% { transform: scale(0); }
  45% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.diagram.is-playing .pain-copy {
  animation: copy-blink 1.8s ease-in-out infinite;
}

@keyframes copy-blink {
  50% { opacity: 0.25; }
}

.ownership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 0;
}

.own-label {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--copper-deep);
}

.ownership-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fffdf8;
  padding: 1.5rem 1.6rem 1.35rem;
}

.ownership-card h3 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.ownership-card p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42ch;
}

.own-res-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
}

.own-res {
  position: static;
  width: auto;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
}

.own-res--cache {
  background: var(--copper);
  border-color: var(--copper);
  color: #fffdf8;
}

.diagram.is-playing .own-res {
  animation: res-settle 2.4s var(--ease) infinite;
}

.diagram.is-playing .own-res--box { animation-delay: 0.15s; }
.diagram.is-playing .own-res--cache { animation-delay: 0.3s; }

@keyframes res-settle {
  0%, 20% { transform: translateY(-10px); opacity: 0; }
  40%, 100% { transform: none; opacity: 1; }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.trust-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fffdf8;
  padding: 1.35rem 1.25rem 1.4rem;
}

.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.trust-card code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: var(--copper-deep);
}

.trust-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(198, 90, 36, 0.05);
  display: grid;
  gap: 0.75rem;
}

.trust-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.trust-note strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .story {
    flex-wrap: wrap;
    row-gap: 18px;
    column-gap: 0;
  }

  .story-beat {
    width: 140px;
  }

  .story-join {
    width: 20px;
  }

  .scale-icon {
    width: 58px;
    height: 58px;
  }

  .scale-icon svg {
    width: 32px;
    height: 32px;
  }

  .scale-flow::before {
    top: 29px;
  }

  .scale-flow::after {
    top: 24px;
  }

  .scale-sub {
    display: none;
  }

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

  .ownership {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 700px) {
  .life-board {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .life-join {
    width: 2px;
    height: 22px;
    justify-self: center;
  }

  .life-join::after {
    right: auto;
    left: -4px;
    top: auto;
    bottom: -1px;
    border: 5px solid transparent;
    border-top-color: var(--copper);
    border-left-color: transparent;
  }

  .scale-flow {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.35rem;
    max-width: 240px;
    margin: 0 auto;
  }

  .scale-flow::before {
    left: 50%;
    right: auto;
    top: 36px;
    bottom: 36px;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(198, 90, 36, 0.15), var(--copper) 20%, var(--copper) 80%, rgba(198, 90, 36, 0.15));
  }

  .scale-flow::after {
    left: 50%;
    top: 36px;
    transform: translateX(-50%);
  }

  .diagram.is-playing .scale-flow::after {
    animation-name: scale-packet-v;
  }

  @keyframes scale-packet-v {
    0% { top: 36px; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { top: calc(100% - 50px); opacity: 0; }
  }

  .scale-icon {
    width: 72px;
    height: 72px;
  }

  .scale-sub {
    display: block;
    max-width: 22ch;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--copper-deep);
  margin-bottom: 1.1rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  max-width: 760px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.6;
}

.section .resilience {
  color: var(--copper-deep);
}

.index-list {
  list-style: none;
  margin: 3rem 0 0;
  border-top: 1px solid var(--border-soft);
}

.index-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.index-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.index-item:hover::before,
.index-item.is-visible::before {
  transform: scaleY(1);
}

.index-item {
  transition: transform 0.45s var(--ease);
}

.index-item:hover {
  transform: translateX(6px);
}

.index-num {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(28, 25, 22, 0.22);
  letter-spacing: -0.02em;
  transition: color 0.45s var(--ease);
}

.index-item.is-visible .index-num {
  color: var(--copper);
}

.index-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.index-body p {
  color: var(--muted);
  max-width: 620px;
}

.flow {
  list-style: none;
  margin: 3.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1rem;
  position: relative;
}

.flow::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-soft);
}

.flow::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 12px rgba(198, 90, 36, 0.7);
  opacity: 0;
}

.flow.is-visible::after {
  opacity: 1;
  animation: flow-pulse 4.8s var(--ease) infinite;
}

.flow-step {
  flex: 1 1 190px;
  position: relative;
  z-index: 1;
}

.flow-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--bg);
  padding-right: 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.flow.is-visible .flow-num {
  animation: num-glow 2.8s ease-in-out infinite;
}

.flow-step:nth-child(2) .flow-num { animation-delay: 0.35s; }
.flow-step:nth-child(3) .flow-num { animation-delay: 0.7s; }
.flow-step:nth-child(4) .flow-num { animation-delay: 1.05s; }
.flow-step:nth-child(5) .flow-num { animation-delay: 1.4s; }

@keyframes flow-pulse {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}

@keyframes num-glow {
  0%, 100% { color: var(--copper-deep); text-shadow: none; }
  50% { color: var(--copper); text-shadow: 0 0 14px rgba(198, 90, 36, 0.35); }
}

.section-alt .flow-num {
  background: var(--sand);
}

.flow-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
}

.flow-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.model-diagram {
  margin-top: 3rem;
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

.model-box {
  flex: 1;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.model-diagram.is-visible .model-box {
  animation: box-float 5.5s ease-in-out infinite;
}

.model-diagram.is-visible .model-box-accent {
  animation-delay: 0.6s;
}

.model-box:hover {
  animation-play-state: paused;
  transform: translateY(-4px);
  border-color: rgba(235, 235, 235, 0.45);
  box-shadow: 0 12px 32px rgba(28, 25, 22, 0.08), 0 0 24px rgba(198, 90, 36, 0.1);
}

@keyframes box-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.model-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.model-box h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.model-box ul {
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.model-box li + li {
  margin-top: 0.5rem;
}

.model-box-accent {
  border-top: 3px solid var(--copper);
}

.model-arrow {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--copper-deep);
  gap: 0.4rem;
  text-align: center;
}

.model-arrow svg {
  width: 100%;
  height: 40px;
}

.model-arrow line,
.model-arrow polyline {
  stroke-dasharray: 6 8;
  animation: dash-flow 1.1s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -28; }
}

.model-arrow span {
  font-size: 0.76rem;
  color: var(--muted);
}

.model-note {
  margin-top: 2.25rem;
  font-weight: 500;
  max-width: 700px;
}

.signup-section {
  background: var(--stage);
  color: var(--stage-text);
}

.signup-section .eyebrow,
.signup-section h2 {
  color: var(--stage-text);
}

.signup-inner {
  max-width: 520px;
  text-align: center;
}

.signup-section h2 {
  margin-inline: auto;
}

.signup-inner > p {
  color: var(--stage-muted);
  margin-bottom: 2.75rem;
}

.signup-form {
  text-align: left;
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--stage-muted);
}

.form-row input,
.form-row select {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(243, 238, 230, 0.06);
  color: var(--stage-text);
  font-size: 1rem;
  font-family: inherit;
}

.form-row select option {
  color: #111;
}

.signup-success {
  margin-top: 1.5rem;
  font-weight: 600;
  color: #f0b27a;
}

.signup-error {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #f2b8b5;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding-block: 2.5rem;
  border-top: 1px solid var(--border-soft);
}

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

.footer-inner .logo {
  justify-self: start;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* Responsive */

@media (min-width: 1280px) and (max-width: 1599px) {
  :root {
    --h1: 54px;
    --lede: 16px;
    --header-x: 48px;
    --stats-x: 80px;
    --copy-max: 900px;
  }
}

@media (min-width: 1600px) {
  :root {
    --logo: 17px;
    --logo-mark: 24px;
    --nav: 15px;
    --nav-h: 44px;
    --btn: 15px;
    --btn-h: 44px;
    --hero-btn-h: 48px;
    --h1: 64px;
    --lede: 18px;
    --badge: 13.5px;
    --stat-size: 15px;
    --header-y: 28px;
    --header-x: 64px;
    --stats-x: 96px;
    --stats-y: 44px;
    --copy-max: 980px;
    --lede-max: 680px;
  }
  .badge { margin-bottom: 26px; }
  .lede { margin-top: 22px; }
  .hero-signup { margin-top: 30px; gap: 12px; }
  .stat-icon { width: 22px; height: 22px; }
  .stat-icon-wide { width: 45px; height: 24px; }
}

@media (min-width: 1920px) {
  :root {
    --logo: 18px;
    --logo-mark: 26px;
    --nav: 16px;
    --nav-h: 48px;
    --btn: 16px;
    --btn-h: 48px;
    --hero-btn-h: 52px;
    --h1: 76px;
    --lede: 20px;
    --badge: 14.5px;
    --stat-size: 16px;
    --header-y: 32px;
    --header-x: 80px;
    --stats-x: 120px;
    --stats-y: 52px;
    --copy-max: 1120px;
    --lede-max: 620px;
  }

  .nav { gap: 32px; }
  .btn { padding: 0 22px; }
  .badge { padding: 10px 15px; }
  .stat-icon-wide { width: 48px; height: 26px; }
}

@media (min-width: 2560px) {
  :root {
    --h1: 88px;
    --lede: 22px;
    --header-x: 120px;
    --stats-x: 160px;
    --copy-max: 1280px;
    --lede-max: 680px;
  }
}

@media (min-width: 901px) and (max-width: 1279px) {
  :root {
    --logo: 15px;
    --nav: 13px;
    --nav-h: 36px;
    --btn: 13px;
    --btn-h: 38px;
    --hero-btn-h: 40px;
    --h1: 42px;
    --lede: 15px;
    --badge: 12px;
    --stat-size: 12.5px;
    --header-y: 16px;
    --header-x: 28px;
    --stats-x: 36px;
    --stats-y: 28px;
    --hero-gap: 40px;
    --copy-max: 760px;
    --lede-max: 560px;
  }
  .badge { margin-bottom: 16px; }
  .lede { margin-top: 14px; }
  .hero-signup { margin-top: 20px; }
}

@media (min-width: 901px) and (max-height: 850px) {
  :root {
    --header-y: 14px;
    --stats-y: 24px;
    --hero-gap: 32px;
    --h1: 40px;
  }

  .hero { min-height: min(64vh, 620px); padding-top: 48px; }
  .badge { margin-bottom: 12px; }
  .lede { margin-top: 12px; }
  .hero-signup { margin-top: 16px; }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 16px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  }

  .logo,
  .header-end,
  .burger {
    z-index: 80;
  }

  .burger {
    display: grid;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(31, 26, 21, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease, backdrop-filter 0.28s ease;
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 96px 22px 32px;
    padding-top: max(96px, calc(env(safe-area-inset-top) + 88px));
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link,
  .nav-link.appear {
    width: 100%;
    height: 48px;
    font-size: 22px;
    justify-content: flex-start;
    opacity: 1;
    animation: none;
    color: var(--text);
  }

  .nav-link.is-active::after {
    display: none;
  }

  body.menu-open .header {
    background: rgba(243, 238, 230, 0.96);
    color: var(--text);
  }

  body.menu-open .nav {
    background: var(--bg);
    color: var(--text);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding: 48px 20px 64px;
    min-height: 0;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 20px 28px;
  }

  .stat {
    white-space: normal;
    text-align: left;
  }

  :root {
    --logo: 16px;
    --btn: 15px;
    --btn-h: 46px;
    --hero-btn-h: 48px;
    --h1: 36px;
    --lede: 16.5px;
    --badge: 13.5px;
    --stat-size: 15px;
    --hero-gap: 36px;
    --copy-max: 100%;
    --lede-max: 100%;
  }

  .index-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .flow {
    flex-direction: column;
  }

  .flow::before,
  .flow::after {
    display: none;
  }

  .flow-step {
    padding-left: 1.25rem;
    border-left: 1px solid var(--border);
  }

  .flow-num {
    background: none;
    padding: 0;
  }

  .model-diagram {
    flex-direction: column;
  }

  .model-arrow {
    flex: none;
  }

  .model-arrow svg {
    transform: rotate(90deg);
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 560px) {
  :root {
    --h1: 34px;
    --lede: 16px;
    --header-x: 16px;
  }

  .hero-signup {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-signup .btn,
  .hero-signup input {
    width: 100%;
  }

  .header-cta {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .appear,
  .hero h1 em,
  .badge-star,
  .reveal,
  .pointer-glow {
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }

  .pointer-glow {
    display: none;
  }

  .scale-icon,
  .story-beat,
  .own-res,
  .cloud-drop,
  .pain-ticket,
  .pain-break {
    opacity: 1 !important;
    transform: none !important;
  }

  .ok-tick,
  .pain-crash,
  .wave {
    stroke-dashoffset: 0 !important;
  }
}
