:root {
  --marble-base: #f6f5f3;
  --marble-vein1: #ebe8e2;
  --marble-vein2: #e4e0d9;
  --marble-depth: #d9d5ce;
  --crevice: #2b2a28;
  --ink: #181818;
  --muted: #6f6f6f;
  --success: #2f6b3a;
  --info: #6b5b2f;
  --error: #7a2b2b;
  --accent: var(--crevice);
  --ring: rgba(43, 42, 40, 0.2);
  --panel: #ffffffde;
  --edge: #e9e7e2;
  --radius: 18px;
  --visual-warm-deep: #425a3d;
  --visual-warm-rich: #587551;
  --visual-warm-mid: #7c9873;
  --visual-warm-soft: #a6bfa0;
  --visual-warm-faint: #dfe9dd;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.14), 0 2px 10px rgba(0, 0, 0, 0.06);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 14px rgba(0, 0, 0, 0.06);
  --hero-rotation-interval: 5000ms;
  --cta-gradient-start: #3a3936;
  --cta-gradient-end: var(--crevice);
  --cta-disabled-start: #c7c5c2;
  --cta-disabled-end: #a4a29f;
  --cta-disabled-text: rgba(255, 255, 255, 0.82);
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial,
    sans-serif;
  background: radial-gradient(
      2200px 1000px at 15% -10%,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.3) 45%,
      transparent 60%
    ),
    radial-gradient(
      1600px 800px at 85% 5%,
      var(--marble-vein1) 0%,
      transparent 55%
    ),
    radial-gradient(
      1300px 700px at 25% 95%,
      var(--marble-vein2) 0%,
      transparent 62%
    ),
    radial-gradient(
      1200px 600px at 70% 100%,
      rgba(0, 0, 0, 0.06) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #fff, var(--marble-base));
  min-height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.1),
    inset 0 0 420px rgba(0, 0, 0, 0.06);
}
body::after {
  content: "";
  position: fixed;
  inset: -2%;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: multiply;
  background: radial-gradient(
      1px 1px at 10% 20%,
      rgba(0, 0, 0, 0.03) 0,
      transparent 60%
    ),
    radial-gradient(1px 1px at 75% 35%, rgba(0, 0, 0, 0.022) 0, transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(0, 0, 0, 0.028) 0, transparent 60%);
}
.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;
}
.frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 6vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92),
        rgba(255, 255, 255, 0.76)
      )
      padding-box,
    linear-gradient(180deg, #fff, var(--edge)) border-box;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 36px);
  position: relative;
  overflow: hidden;
}
.top-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 38px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.75)
      )
      padding-box,
    linear-gradient(180deg, #fff, var(--edge)) border-box;
  border: 1px solid var(--edge);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 20px;
  z-index: 20;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.top-nav.compact {
  box-shadow: var(--shadow);
  transform: translateY(0);
}
.brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--crevice);
  font-size: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand:focus-visible,
.brand:hover {
  text-decoration: underline;
}
.top-nav__cta {
  flex: 1 1 clamp(320px, 52vw, 680px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 0;
}

.top-nav__cta:empty {
  display: none;
}
.signup-slot {
  margin-top: 0;
  display: flex;
  width: 100%;
}
.signup-slot.signup-slot--empty {
  display: none;
}
#signupScrollSentinel {
  width: 100%;
  height: 1px;
}
.signup-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.top-nav__cta .signup-wrapper {
  width: min(100%, 660px);
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.top-nav__cta form {
  margin-top: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
.top-nav__cta input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
}
.top-nav__cta .status {
  max-width: 420px;
  margin-left: auto;
  text-align: right;
}
.nav-compact .top-nav__cta .signup-wrapper {
  width: min(100%, 600px);
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.nav-compact .top-nav__cta form {
  margin-top: 0;
  width: 100%;
  flex-wrap: nowrap;
}
.nav-compact .top-nav__cta input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
}
.nav-compact .top-nav__cta .status {
  text-align: right;
}
.story {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  border: 1px solid rgba(218, 214, 206, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: clamp(20px, 5vw, 34px);
  line-height: 1.7;
  color: #333;
}
.story h2 {
  margin-top: 0;
  font-size: clamp(20px, 3.5vw, 26px);
  color: #1f1f1f;
}
.story p {
  margin: 0;
}
.story__intro {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.story__body {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 40px);
}
.story__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 24px);
}
/* lighter story section container */
.story-section {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(14px, 2.5vw, 20px);
  border: 1px solid rgba(43, 42, 40, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(24, 24, 24, 0.08);
}
.story-section h3 {
  font-size: clamp(18px, 3vw, 22px);
  color: #242424;
}
/* tighter heading rhythm */
h3 {
  margin: 0 0 0.5rem;
}
h4 {
  margin: 0 0 0.4rem;
}
/* maintain readable measure */
.story-section__text {
  display: flex;
  flex-direction: column;
  max-width: 64ch;
}
/* tighter paragraph rhythm */
.story-section__text p {
  margin: 0.35rem 0;
}
.story-section__text p:first-child {
  margin-top: 0;
}
.story-section__text p:last-child {
  margin-bottom: 0;
}
.story-section__text ol,
.story-section__text ul {
  margin: 0.35rem 0 0.35rem 1.25rem;
}
.story-section__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 24px);
  border-radius: var(--radius);
  border: 1px solid rgba(43, 42, 40, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.08);
  min-height: clamp(160px, 26vw, 220px);
  max-width: 520px;
  width: 100%;
  flex: 1 1 320px;
  gap: 4px;
}
/* minimal visual base */
.story-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 24px);
  position: relative;
}

.story-visual__caption {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(24, 24, 24, 0.55);
  margin: 12px 0 0;
}

/* Visual 1 — layered momentum */
.story-visual--momentum {
  min-height: clamp(160px, 24vw, 220px);
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
  background: linear-gradient(135deg, #fff, var(--visual-warm-faint));
  padding: 18px 22px;
  position: relative;
}

.momentum-layer {
  position: absolute;
  bottom: 12px;
  border-radius: 999px;
  filter: drop-shadow(0 16px 22px rgba(44, 35, 23, 0.12));
}

.momentum-layer--base {
  left: 6%;
  right: 36%;
  height: 42%;
  background: linear-gradient(120deg, var(--visual-warm-soft), #ffffff);
}

.momentum-layer--mid {
  left: 16%;
  right: 24%;
  height: 52%;
  background: linear-gradient(
    120deg,
    var(--visual-warm-mid),
    var(--visual-warm-soft)
  );
}

.momentum-layer--peak {
  left: 32%;
  right: 10%;
  height: 64%;
  background: linear-gradient(
    120deg,
    var(--visual-warm-rich),
    var(--visual-warm-mid)
  );
}

.momentum-orb {
  position: absolute;
  width: clamp(18px, 3vw, 28px);
  height: clamp(18px, 3vw, 28px);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--visual-warm-soft));
  opacity: 0.9;
  box-shadow: 0 8px 16px rgba(44, 35, 23, 0.15);
}

.momentum-orb--one {
  bottom: 40%;
  left: 14%;
}

.momentum-orb--two {
  bottom: 58%;
  right: 16%;
}

/* Visual 2 — cost/output refinement */
.story-visual--outputs {
  display: grid;
  grid-template-columns: minmax(0, 80px) minmax(60px, 120px) minmax(140px, 1fr);
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  width: 100%;
}

.flow-input {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-input__shape {
  width: clamp(36px, 4vw, 54px);
  height: clamp(56px, 7vw, 80px);
  border-radius: calc(var(--radius) * 1.3);
  background: linear-gradient(
    160deg,
    var(--visual-warm-rich),
    var(--visual-warm-deep)
  );
  box-shadow: 0 12px 22px rgba(44, 35, 23, 0.18);
  border: 1px solid var(--visual-warm-deep, 0.6);
}

.flow-bridge {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--visual-warm-soft),
    var(--visual-warm-deep, 0.55)
  );
  position: relative;
  overflow: hidden;
}

.flow-bridge__spark {
  position: absolute;
  top: 50%;
  left: -20%;
  width: 28%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  transform: translateY(-50%);
  animation: spark-slide 4s linear infinite;
}

.flow-bridge__spark--delay {
  animation-delay: 1.2s;
}

@keyframes spark-slide {
  0% {
    left: -30%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

.flow-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
}

.flow-output__tile {
  min-height: clamp(44px, 6vw, 64px);
  border-radius: calc(var(--radius) / 1.8);
  background: linear-gradient(140deg, var(--visual-warm-soft), #fff);
  border: 1px solid rgba(244, 200, 165, 0.6);
  box-shadow: 0 10px 16px rgba(44, 35, 23, 0.12);
}

.flow-output__tile--glow {
  background: linear-gradient(
    140deg,
    var(--visual-warm-mid),
    var(--visual-warm-soft)
  );
  box-shadow: 0 10px 20px rgba(44, 35, 23, 0.18);
}

/* Visual 3 — consistency grid */
.story-visual--consistency {
  width: 100%;
  justify-content: center;
}

.consistency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  width: min(320px, 100%);
}

.consistency-tile {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) / 2);
  border: 1px solid var(--visual-warm-deep, 0.35);
  background: var(--visual-warm-faint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 12px rgba(44, 35, 23, 0.08);
  transition: transform 0.3s ease;
}

.consistency-tile--solid {
  transform: translateY(0);
}

.consistency-tile--ghost {
  opacity: 0.7;
  transform: translateY(4px);
}

.consistency-tile--blank {
  background: transparent;
  border-style: dashed;
  border-color: rgba(43, 42, 40, 0.18);
  box-shadow: none;
}

.consistency-tile--level-1 {
  background: linear-gradient(135deg, #fff, var(--visual-warm-faint));
}

.consistency-tile--level-2 {
  background: linear-gradient(135deg, var(--visual-warm-soft), #fff);
}

.consistency-tile--level-3 {
  background: linear-gradient(
    135deg,
    var(--visual-warm-mid),
    var(--visual-warm-soft)
  );
}

.consistency-tile--level-4 {
  background: linear-gradient(
    135deg,
    var(--visual-warm-deep),
    var(--visual-warm-rich)
  );
  box-shadow: 0 12px 18px rgba(44, 35, 23, 0.15);
}
.story-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  color: #3a3a3a;
}
.story-columns {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 28px);
}
.story-columns .column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(222, 218, 210, 0.8);
  border-radius: 12px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.column__accent {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(33, 32, 30, 0.14),
    rgba(33, 32, 30, 0.38)
  );
}
.column__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-columns h4 {
  margin: 0 0 0.4rem;
  font-size: 16px;
  color: #262626;
}
.story-columns p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 960px) {
  .story__body {
    width: min(1200px, 100%);
    margin: 0 auto;
  }
}
@media (min-width: 900px) {
  .story-section {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(24px, 3vw, 40px);
  }
  .story-section.is-right {
    flex-direction: row-reverse;
  }
  .story-section__text,
  .story-section__visual {
    min-width: 0;
  }
  .story-section__text {
    flex: 4 1 0;
  }
  .story-section__visual {
    flex: 6 1 0;
    max-width: none;
  }
  .story-columns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .story-columns .column {
    flex: 1 1 calc(33.333% - 18px);
    flex-direction: row;
    align-items: center;
    padding: 20px;
    min-width: 260px;
  }
  .column__accent {
    width: 12px;
    height: auto;
    align-self: stretch;
    background: linear-gradient(
      180deg,
      rgba(33, 32, 30, 0.16),
      rgba(33, 32, 30, 0.42)
    );
  }
  .column__content {
    flex: 1 1 auto;
    gap: 12px;
  }
  .story-columns .column.flip-even {
    flex-direction: row-reverse;
    text-align: right;
  }
  .story-columns .column.flip-even .column__content {
    align-items: flex-end;
  }
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
  background: conic-gradient(
      from 210deg at 20% 30%,
      rgba(0, 0, 0, 0.035) 0 6%,
      transparent 6% 18%,
      rgba(0, 0, 0, 0.03) 18% 25%,
      transparent 25% 100%
    ),
    conic-gradient(
      from 120deg at 78% 20%,
      rgba(0, 0, 0, 0.02) 0 8%,
      transparent 8% 22%,
      rgba(0, 0, 0, 0.025) 22% 27%,
      transparent 27% 100%
    );
}
.panel {
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--inner), 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: clamp(24px, 5vw, 38px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 32px);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}
.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vw, 48px);
  width: 100%;
}
.hero__body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 72px);
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 4vw, 28px);
  flex: 1 1 clamp(520px, 58vw, 680px);
}

.hero__intro {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(12px, 3vw, 24px);
  row-gap: clamp(4px, 1.2vw, 10px);
  align-items: center;
}
.hero__intro-text {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero__intro-form {
  flex: 1 1 320px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.hero__intro-form .signup-slot {
  width: 100%;
}
.hero__intro-form .signup-wrapper {
  width: 100%;
}
.hero__intro-form form {
  margin-top: 0;
  width: 100%;
  flex-wrap: nowrap;
}
.hero__intro-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
}
.hero__intro-form button {
  flex-shrink: 0;
}
.hero__disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  width: 100%;
}
.hero__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 24px);
}
.hero__rotator {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.18;
  font-weight: 500;
  color: var(--crevice);
  text-shadow: none;
  mix-blend-mode: normal;
  z-index: 1;
  min-width: var(--hero-rotator-max-width, 180px);
  width: var(--hero-rotator-max-width, auto);
  max-width: 100%;
}
.hero__rotator-track {
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--hero-rotator-max-height, 1.25em);
  height: var(--hero-rotator-max-height, auto);
  overflow: hidden;
  color: inherit;
  text-shadow: none;
  mix-blend-mode: normal;
}

.hero__rotator-phrase {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: inherit;
  line-height: inherit;
  color: inherit;
  text-shadow: none;
  transform: translateY(0);
  will-change: opacity, transform;
}

.hero__rotator-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  white-space: normal;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--crevice);
  text-shadow: none;
}

.hero__rotator-phrase--enter {
  animation: hero-rotator-enter var(--hero-rotator-duration, 500ms) ease
    forwards;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
  color: inherit;
  text-shadow: none;
}

.hero__rotator-phrase--leave {
  animation: hero-rotator-leave var(--hero-rotator-duration, 500ms) ease
    forwards;
  z-index: 1;
  color: inherit;
  text-shadow: none;
}

@keyframes hero-rotator-enter {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rotator-leave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}
.hero__clip-summary {
  margin: clamp(18px, 3vw, 28px) 0;
  padding: clamp(18px, 4vw, 26px);
  border-radius: 24px;
  border: 1px solid rgba(43, 42, 40, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), #f4f7f3);
  box-shadow: 0 18px 34px rgba(24, 23, 20, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: clamp(6px, 2.5vw, 12px);
  justify-items: flex-start;
}
.hero__clip-summary-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__clip-summary-count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(18px, 3.6vw, 22px);
  color: #3a3732;
}
.hero__clip-summary-value {
  font-size: clamp(38px, 7vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--crevice);
  min-width: 3ch;
  display: inline-block;
}
.hero__clip-summary-note {
  font-size: clamp(14px, 2.6vw, 18px);
  color: #4f4c46;
}
.hero__clip-summary-highlight {
  font-weight: 600;
  color: var(--crevice);
}
.hero__clip-summary--placeholder .hero__clip-summary-value {
  opacity: 0.7;
  font-style: italic;
}
.hero__clip-summary--placeholder .hero__clip-summary-highlight {
  opacity: 0.8;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(12px, 3vw, 20px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(216, 212, 204, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(14px, 4vw, 20px);
}
.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.hero__metric-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__metric-value {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--crevice);
}
.hero__metric-caption {
  font-size: 14px;
  color: #4f4c46;
}
.hero__metric--placeholder .hero__metric-value,
.hero__metric-value--placeholder {
  opacity: 0.75;
  font-style: italic;
}
.hero__metric--placeholder .hero__metric-caption {
  opacity: 0.8;
}

.hero__subbanner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(12px, 3vw, 24px);
  align-items: center;
  padding: clamp(12px, 3vw, 18px) clamp(16px, 4vw, 24px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(
    90deg,
    rgba(45, 44, 41, 0.08),
    rgba(45, 44, 41, 0)
  );
  border: 1px solid rgba(43, 42, 40, 0.12);
  font-size: clamp(15px, 2.6vw, 17px);
  color: #3a3732;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.hero__subbanner-highlight {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--crevice);
}
.clip-output {
  margin: clamp(0px, 0vw, 48px) auto 0;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 32px;
  border: 1px solid rgba(43, 42, 40, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #edf2eb);
  box-shadow: 0 18px 36px rgba(24, 23, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.clip-output::after {
  display: none;
}
.clip-output__content {
  display: grid;
  gap: clamp(12px, 2.5vw, 20px);
  max-width: 720px;
  margin: 0 auto;
}
.clip-output__title {
  margin: 0;
  font-size: clamp(26px, 5.5vw, 40px);
  letter-spacing: -0.02em;
  color: #1f1d19;
}
.clip-output__statement {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  color: #35322d;
  line-height: 1.4;
}
.clip-output__count {
  font-weight: 700;
  font-size: clamp(28px, 6vw, 46px);
  letter-spacing: -0.015em;
  color: var(--crevice);
  display: inline-block;
  min-width: 3ch;
}
.clip-output__description {
  margin: 0;
  color: #4f4c46;
  font-size: clamp(15px, 2.6vw, 18px);
}
.clip-output__start {
  font-weight: 600;
}
.clip-output--placeholder .clip-output__count {
  opacity: 0.7;
  font-style: italic;
}
.hero__heading h1 {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #1a1a1a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.hero__intro .tagline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2.6vw, 18px);
}
.support {
  margin-top: 6px;
  color: #4a4a4a;
  font-size: 15px;
}

form {
  margin-top: clamp(18px, 3.8vw, 26px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dcdad6;
  background: #fff;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--ring), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input[type="email"].input-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(122, 43, 43, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
button {
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    var(--cta-gradient-start),
    var(--cta-gradient-end)
  );
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.25);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  white-space: nowrap;
}

#submitBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  gap: 8px;
  isolation: isolate;
  --signup-shadow-rest: 0 16px 32px rgba(24, 24, 24, 0.32),
    0 6px 14px rgba(24, 24, 24, 0.2),
    inset 1px 1px 2px rgba(255, 255, 255, 0.32),
    inset -4px -4px 16px rgba(0, 0, 0, 0.45);
  --signup-shadow-active: 0 22px 42px rgba(24, 24, 24, 0.38),
    0 10px 20px rgba(24, 24, 24, 0.24),
    inset 1px 1px 3px rgba(255, 255, 255, 0.4),
    inset -6px -6px 18px rgba(0, 0, 0, 0.5);
  box-shadow: var(--signup-shadow-rest);
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s,
    box-shadow 0.45s ease;
}

#submitBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
      160% 120% at 30% 25%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      140% 120% at 70% 75%,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 62%
    );
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#submitBtn::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: calc(14px + 20px);
  background: radial-gradient(
      circle at 50% 50%,
      transparent 0%,
      transparent 80%,
      rgba(255, 255, 255, 0.8) 86%,
      rgba(28, 27, 26, 0.6) 94%,
      transparent 100%
    )
    padding-box;
  opacity: 0;
  transform: scale(0.78);
  filter: blur(0.5px);
  pointer-events: none;
  z-index: -1;
}

#submitBtn:hover::before {
  opacity: 0.75;
}

#submitBtn.signup-button--pulse {
  animation: signupButtonNeumorph var(--hero-rotation-interval) ease-in-out;
}

#submitBtn.signup-button--pulse::before {
  animation: signupButtonGlow var(--hero-rotation-interval) ease-in-out;
}

#submitBtn.signup-button--pulse::after {
  animation: signupButtonRipple var(--hero-rotation-interval)
    cubic-bezier(0.4, 0, 0.2, 1);
}

body.nav-compact #submitBtn::before {
  mix-blend-mode: screen;
  opacity: 0.82;
  background: radial-gradient(
      160% 120% at 30% 25%,
      rgba(255, 255, 255, 0.32) 0%,
      transparent 56%
    ),
    radial-gradient(
      145% 125% at 72% 74%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 64%
    );
}

body.nav-compact #submitBtn {
  filter: brightness(1.08) saturate(0.92);
}

body.nav-compact #submitBtn:hover {
  filter: brightness(1.12) saturate(0.94);
}

body.nav-compact #submitBtn:active {
  filter: brightness(1) saturate(0.9);
}

body.nav-compact #submitBtn:active::before {
  opacity: 0.9;
}
button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}
button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
button[disabled] {
  background: linear-gradient(
    180deg,
    var(--cta-disabled-start),
    var(--cta-disabled-end)
  );
  color: var(--cta-disabled-text);
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.18);
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  filter: none;
}

#submitBtn:disabled::before,
#submitBtn:disabled::after {
  opacity: 0;
  animation: none;
}

@keyframes signupButtonNeumorph {
  0%,
  100% {
    box-shadow: var(--signup-shadow-rest);
  }
  52% {
    box-shadow: var(--signup-shadow-active);
  }
}

@keyframes signupButtonGlow {
  0%,
  100% {
    opacity: 0.6;
  }
  40% {
    opacity: 0.82;
  }
}

@keyframes signupButtonRipple {
  0% {
    opacity: 0.42;
    transform: scale(0.84);
  }
  32% {
    opacity: 0.28;
    transform: scale(0.98);
  }
  60% {
    opacity: 0.16;
    transform: scale(1.16);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  #submitBtn.signup-button--pulse,
  #submitBtn.signup-button--pulse::before,
  #submitBtn.signup-button--pulse::after {
    animation: none !important;
  }
}

/* Status: hidden by default */
.status {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e6e3de;
  background: #ffffffcc;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.status.show {
  display: block;
}
.status.success {
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 25%, #e6e3de);
}
.status.info {
  color: var(--info);
  border-color: color-mix(in srgb, var(--info) 25%, #e6e3de);
}
.status.error {
  color: var(--error);
  border-color: color-mix(in srgb, var(--error) 25%, #e6e3de);
}

.tiles {
  margin-top: clamp(18px, 4vw, 26px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tile {
  background: #fffffff2;
  border: 1px solid #eceae6;
  border-radius: 12px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 14px;
  color: #3a3a3a;
  text-align: center;
  flex: 1 1 min(220px, 100%);
}
footer {
  margin-top: clamp(18px, 3vw, 24px);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0.9;
}
@media (max-width: 640px) {
  body {
    padding: 24px 20px;
  }
  .hero {
    gap: 24px;
  }
  .hero__body {
    flex-direction: column;
    gap: 24px;
  }
  .hero__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero__rotator {
    align-items: flex-start;
    text-align: left;
    min-width: 0;
    width: 100%;
  }
  .hero__content {
    flex: 1 1 100%;
  }
  .top-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px clamp(16px, 5vw, 24px);
    top: 12px;
  }
  .top-nav__cta {
    width: 100%;
    justify-content: flex-start;
    flex: 1 1 100%;
  }
  .top-nav__cta .signup-wrapper {
    width: 100%;
  }
  .top-nav__cta form {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }
  .top-nav__cta input[type="email"] {
    flex: 1 1 auto;
    width: 100%;
  }
  .top-nav__cta button {
    width: 100%;
    font-size: 15px;
    line-height: 1.2;
    padding: 12px 18px;
    white-space: normal;
  }
  .hero__intro {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero__intro-text,
  .hero__intro-form {
    flex: 0 1 auto;
    width: 100%;
  }
  .hero__intro-form {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero__intro-text {
    gap: 4px;
  }
  .hero__intro-form form {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 2px;
  }
  .hero__intro-form button {
    width: 100%;
    font-size: 15px;
    line-height: 1.2;
    padding: 12px 18px;
    white-space: normal;
  }
  .hero__intro-text .support {
    margin-top: 2px;
  }
  .hero__disclaimer {
    text-align: left;
  }
  .hero__clip-summary {
    width: 100%;
    padding: 18px;
    justify-items: stretch;
  }
  .hero__clip-summary-count {
    gap: 6px;
  }
  .hero__metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .hero__metric {
    gap: 6px;
  }
  .hero__metric-label,
  .hero__metric-caption {
    font-size: 13px;
  }
  .hero__subbanner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tiles {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .panel.hero {
    gap: 16px;
    padding: 20px 18px;
  }
  .hero {
    gap: 16px;
  }
  .hero__body {
    gap: 16px;
    padding-block: 4px;
  }
  .hero__content {
    gap: 14px;
  }
  .hero__intro {
    padding-block: 4px;
    gap: 6px;
  }
  .hero__intro-text {
    gap: 2px;
  }
  .hero__intro-text .support {
    margin-top: 2px;
  }
  .hero__intro-form {
    margin-top: 0;
    padding-top: 0;
  }
  .hero__intro-form form {
    margin-top: 0;
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .frame {
    padding: 10px;
  }
  button {
    width: 100%;
    font-size: 14px;
    padding: 12px 16px;
  }
}
