/* Shared brand styling, responsive components and progressive motion. */
@font-face {
  font-family: Poppins;
  src: url("assets/poppins-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/poppins-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/poppins-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --navy: #17152f;
  --green: #5def7b;
  --lavender: #b5b5df;
  --paper: #faf9fd;
  --ink: #14113f;
  --muted: #65617c;
  --line: #dcd9e8;
  --badge-size: 270px;
  /* Web roles reflect the app's Poppins body/title/label hierarchy, not device pixels. */
  --type-body: 1rem;
  --type-support: 0.875rem;
  --type-label: 0.75rem;
  --type-action: 1.0625rem;
  --type-lead: 1.25rem;
  --type-display: clamp(2.5rem, 6.3vw, 5.875rem);
  --type-page-title: clamp(2.5rem, 6vw, 5rem);
  --type-section-title: clamp(2rem, 4.5vw, 3.5rem);
  --type-subheading: clamp(1.5rem, 2.7vw, 2.125rem);
  --type-card-title: clamp(1.5rem, 2.2vw, 1.875rem);
  --heading-accent: #63527d;
  /* Accessible green for H1 highlights on light surfaces; keep lavender for secondary headings. */
  --hero-heading-accent: var(--green);
  --surface-soft: #eeebf6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font-family: Poppins, Arial, sans-serif;
  font-size: var(--type-body);
  -webkit-font-smoothing: antialiased;
  /* Wrap between words, never through a word or an automatic hyphen. */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
/* Keep the hyphenated brand name intact without preventing paragraph wrapping. */
.brand-name {
  white-space: nowrap;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
img {
  max-width: 100%;
  height: auto;
}
section {
  scroll-margin-top: 25px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--green);
  color: var(--ink);
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.header {
  width: 100%;
  min-height: 100px;
  padding: 24px 4.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 20;
}
.brand {
  display: block;
  width: 210px;
  flex-shrink: 0;
  line-height: 0;
}
/* Shared navigation: native disclosure on phones, visible links on desktop. */
.site-menu {
  margin-left: auto;
}
.site-menu > summary {
  display: none;
  list-style: none;
  cursor: pointer;
}
.site-menu > summary::-webkit-details-marker {
  display: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--type-body);
}
.site-nav a {
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--green);
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.nav-cta {
  background: var(--green);
  color: var(--ink);
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 12px 17px;
}
.site-nav .nav-cta:hover {
  background: #7cf495;
  color: var(--ink);
}
.nav-cta span {
  margin-left: 14px;
}
.menu-indicator {
  position: relative;
  width: 14px;
  height: 14px;
}
.menu-indicator::before,
.menu-indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  background: currentColor;
}
.menu-indicator::after {
  transform: rotate(90deg);
}
.site-menu[open] .menu-indicator::after {
  transform: rotate(0);
}
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
.hero {
  position: relative;
  margin: 0 22px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px 4% 20px;
}
.hero-top,
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: var(--type-support);
  flex-wrap: wrap;
}
.hero-index {
  color: var(--muted);
}
.hero h1 {
  font-size: var(--type-display);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 45px auto 5px;
  position: relative;
  z-index: 2;
}
.hero h1 .heading-accent {
  color: var(--hero-heading-accent);
}
.hero-stage {
  height: 365px;
  position: relative;
  display: grid;
  place-items: center;
  max-width: 900px;
  margin: auto;
}
.badge-scene {
  width: var(--badge-size);
  height: var(--badge-size);
  perspective: 1100px;
  z-index: 1;
}
.badge-float {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}
.badge {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spin 28s linear infinite;
}
.badge-face,
.badge-layer {
  position: absolute;
  inset: 0;
  border-radius: 23%;
  backface-visibility: hidden;
}
.badge-front {
  transform: translateZ(17px);
  background: var(--navy);
  overflow: hidden;
  border: 2px solid #6e6885;
}
.badge-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-back {
  transform: rotateY(180deg) translateZ(17px);
  background: linear-gradient(145deg, #302a55, #17152f);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  border: 2px solid #79708e;
}
.badge-back span {
  font-size: var(--type-label);
  letter-spacing: 2px;
  color: var(--lavender);
}
.badge-layer {
  background: linear-gradient(
    90deg,
    #8b7caf,
    #393251 12%,
    #292144 80%,
    #b5b5df
  );
  backface-visibility: visible;
}
.badge-shadow {
  position: absolute;
  bottom: 14px;
  width: 190px;
  height: 15px;
  filter: blur(10px);
  border-radius: 50%;
  background: #17152f2a;
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 5px 0 35px;
}
.hero-bottom p {
  font-size: var(--type-body);
  line-height: 1.8;
  color: #5d5872;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #050c05;
  font-weight: 600;
  font-size: var(--type-action);
  text-decoration: none;
  padding: 16px 22px;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #7cf495;
}
.button-dark {
  background: var(--navy);
  color: var(--paper);
}
.button-dark:hover:not(:disabled) {
  background: #342459;
  color: var(--paper);
}
.hero-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #79748b;
  font-size: var(--type-support);
  flex-wrap: wrap;
}
.hero-foot a {
  text-decoration: none;
}

.manifesto {
  text-align: center;
  padding: 95px 24px;
  max-width: 1000px;
  margin: auto;
}
.manifesto .eyebrow {
  color: var(--lavender);
}
.manifesto h2 {
  font-weight: 600;
  font-size: var(--type-section-title);
  letter-spacing: -2.5px;
  line-height: 1.17;
  margin: 0 0 25px;
}
.manifesto h2 > span:last-child {
  color: var(--green);
}
.manifesto p {
  max-width: 650px;
  margin: auto;
  color: var(--lavender);
  font-size: var(--type-body);
  line-height: 1.8;
}
/* Put the core benefits before the longer gameplay explanation. */
.nutshell-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 18px;
  padding: 0;
  list-style: none;
  color: var(--green);
  font-size: var(--type-support);
  font-weight: 600;
}
.manifesto .nutshell-sport {
  font-size: var(--type-label);
}
.journey {
  background: var(--paper);
  color: var(--ink);
  padding: 100px 6% 50px;
  overflow: hidden;
}
.section-heading {
  max-width: 1200px;
  margin: 0 auto 80px;
}
.section-heading .eyebrow {
  color: var(--muted);
}
.section-heading h2 {
  font-size: var(--type-section-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -2.7px;
  margin: 24px 0;
}
.section-heading em {
  font-style: normal;
  color: #6b5b94;
}
.section-heading > p {
  color: var(--muted);
  font-size: var(--type-body);
}
/* The stage headers interrupt a rounded route, while content stays in reading order. */
.journey-track {
  max-width: 1100px;
  margin: auto;
  position: relative;
}
.journey-route {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.journey-route path,
.stage-turn path {
  fill: none;
  stroke: #d5cee4;
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}
.journey-route .route-progress {
  stroke: #74639c;
  stroke-width: 2px;
  stroke-linecap: round;
}
.journey-ready .journey-route {
  display: block;
}
.step {
  position: relative;
}
.step-heading {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 130px;
  padding: 28px 36px;
}
.stage-turn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.step:nth-of-type(even) .stage-turn {
  transform: scaleX(-1);
}
.step-heading h3 {
  position: relative;
  max-width: 650px;
  padding: 8px 20px;
  background: var(--paper);
  text-align: center;
  font-size: var(--type-subheading);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.step-number {
  display: block;
  margin-bottom: 10px;
  font-size: var(--type-label);
  color: #7d718d;
  font-weight: 400;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.step-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8%;
  padding: 18px 40px 45px;
  border-right: 1.5px solid #d5cee4;
}
.step:nth-of-type(even) .step-content {
  border-right: 0;
  border-left: 1.5px solid #d5cee4;
}
.step:nth-of-type(even) .step-copy {
  order: 2;
}
.step:nth-of-type(even) .demo {
  order: 1;
}
.step-copy > p {
  max-width: 370px;
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.9;
}
/* Hide only the CSS/SVG fallback after the measured route is ready. */
.journey-ready .stage-turn {
  visibility: hidden;
}
.journey-ready .step .step-content {
  border-color: transparent;
}
.demo {
  order: 1;
}
.step-copy {
  max-width: 370px;
}
.step-number {
  font-size: var(--type-label);
  color: #7d718d;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.step h3 {
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 20px 0;
}
.step-copy > p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.9;
}
.demo {
  position: relative;
  min-height: 260px;
  border-radius: 15px;
  padding: 30px;
  background: #eeebf5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 16px 50px -40px #17152f66;
}
.demo-kicker {
  font-size: var(--type-label);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #79718e;
  margin-bottom: 30px;
}
/* Setup gives the ruleset the same visual weight as the competition. */
.setup-choice {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 0;
  border-top: 1px solid #d5cee4;
  font-size: var(--type-label);
}
.setup-choice > span,
.assignment-note {
  color: var(--muted);
}
.setup-choice strong span {
  color: #237c37;
}
.assignment-note {
  margin-top: 18px;
  font-size: var(--type-label);
  line-height: 1.7;
}
.event-context {
  margin-top: 12px;
  font-size: var(--type-label);
  color: var(--muted);
}
.fixture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 26px;
}
.fixture > div {
  text-align: center;
}
.fixture strong {
  display: block;
  font-size: var(--type-label);
}
.fixture strong span {
  color: #2a8c40;
}
.fixture small {
  display: block;
  color: var(--muted);
  font-size: var(--type-label);
  margin-top: 8px;
}
.club {
  width: 38px;
  height: 45px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--green);
  font-weight: 700;
  border-radius: 5px 5px 45% 45%;
  flex-shrink: 0;
}
.club-away {
  background: #b5b5df;
  color: var(--ink);
}
.demo-action {
  background: var(--navy);
  color: var(--paper);
  border-radius: 5px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  font-size: var(--type-label);
}
.demo-action span {
  color: var(--green);
}
.lobby-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.lobby-code small {
  font-size: var(--type-label);
  color: var(--muted);
}
.lobby-code strong {
  letter-spacing: 4px;
  font-size: 28px;
}
.avatars {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.avatars span,
.avatar-large {
  height: 46px;
  width: 46px;
  border: 3px solid #eeebf5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--type-support);
  background: #b5b5df;
  color: var(--ink);
}
.avatars span + span {
  margin-left: -7px;
}
.avatars span:nth-child(2) {
  background: #5def7b;
}
.avatars span:nth-child(3) {
  background: #f4c4a3;
}
.avatars span:nth-child(4) {
  background: #17152f;
  color: white;
}
.joined {
  font-size: var(--type-label);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.demo-pitch {
  background: var(--navy);
  color: var(--paper);
  align-items: center;
}
.demo-pitch .demo-kicker {
  color: var(--lavender);
  z-index: 1;
}
.pitch-markings {
  position: absolute;
  inset: 15px;
  border: 1px solid #b5b5df25;
}
.pitch-markings::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  border-top: 1px solid #b5b5df25;
}
.pitch-markings::after {
  content: "";
  width: 95px;
  height: 95px;
  border: 1px solid #b5b5df25;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.player-marker {
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.player-marker > span {
  height: 65px;
  width: 65px;
  border: 4px solid #faf9fd;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 0 0 7px #5def7b16;
}
.player-marker strong {
  font-size: var(--type-label);
}
.player-marker small {
  font-size: var(--type-label);
  color: var(--green);
}
.pitch-label {
  font-size: var(--type-label);
  color: var(--lavender);
  margin-top: 25px;
  z-index: 1;
}
.demo-event {
  background: #dff8df;
  align-items: center;
  gap: 15px;
}
.event-minute {
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  color: #b4dbb9;
  letter-spacing: -4px;
}
.event-minute span {
  color: #78bc83;
}
.goal-pill {
  background: var(--navy);
  color: var(--green);
  padding: 9px 25px;
  border-radius: 30px;
  font-size: var(--type-action);
  font-weight: 600;
  z-index: 1;
}
.demo-event > strong {
  font-size: var(--type-label);
  z-index: 1;
}
.event-wave {
  position: absolute;
  border: 1px solid #afdbb8;
  height: 280px;
  width: 280px;
  border-radius: 50%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.demo-notification {
  background: linear-gradient(135deg, #ddd4f0, #b5b5df);
  gap: 25px;
  align-items: center;
}
.notification {
  border-radius: 12px;
  background: #faf9fdeb;
  padding: 17px;
  box-shadow: 0 12px 35px #17152f18;
  transform: none;
  width: 100%;
}
.notification-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--type-label);
  margin-bottom: 12px;
}
.notification-head img {
  width: 23px;
  height: 23px;
  border-radius: 6px;
}
.notification-head small {
  margin-left: auto;
  font-size: var(--type-label);
  color: var(--muted);
}
.notification > strong {
  font-size: var(--type-support);
}
.notification > p {
  font-size: var(--type-label);
  margin-top: 6px;
}
.notification-caption {
  font-size: var(--type-label);
  color: #554b71;
}
.nomination {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #faf9fd;
  border: 1px solid #2b9c4850;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}
.nomination strong {
  font-size: var(--type-label);
}
.avatar-large {
  background: #b5b5df;
  border: 0;
  height: 37px;
  width: 37px;
}
.selection-check {
  margin-left: auto;
  background: var(--green);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: var(--type-label);
}
.illustration-note {
  max-width: 1100px;
  margin: 45px auto 0;
  color: var(--muted);
  font-size: var(--type-support);
  text-align: center;
  line-height: 1.8;
}
.closing {
  padding: 110px 24px 125px;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: var(--type-display);
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 20px 0;
}
.closing p {
  font-size: var(--type-lead);
  color: #6d627e;
  line-height: 1.7;
}
.closing > strong {
  display: block;
  font-size: var(--type-section-title);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-top: 12px;
}
.launch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 100px 8%;
  align-items: center;
  background: #29214a;
}
.launch h2 {
  font-size: var(--type-section-title);
  line-height: 1.13;
  letter-spacing: -2.5px;
  font-weight: 600;
  margin: 25px 0;
}
.launch > div > p {
  max-width: 420px;
  color: var(--lavender);
  font-size: var(--type-body);
  line-height: 1.8;
}
.signup-card {
  background: #17152f;
  border: 1px solid #51416e;
  border-radius: 12px;
  padding: 30px;
  min-width: 0;
}
/* Keep the short privacy notice alongside the external signup CTA. */
.launch .signup-privacy {
  margin-top: 16px;
  font-size: var(--type-body);
}
.footer {
  padding: 45px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer .brand {
  width: 180px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.8;
  gap: 23px;
  font-size: var(--type-support);
  color: var(--lavender);
}
.footer > p {
  font-size: var(--type-label);
  color: var(--lavender);
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal:not(.active) {
  opacity: 0;
  transform: translateY(22px);
}
.reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.support-main {
  background: var(--paper);
  color: var(--ink);
  padding: 75px max(24px, 8vw) 100px;
}
.support-intro {
  max-width: 800px;
  margin-bottom: 60px;
}
.support-intro h1 {
  font-size: var(--type-page-title);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0 25px;
}
.support-intro p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.9;
}
.support-sections {
  max-width: 850px;
}
.support-sections section {
  border-top: 1px solid var(--line);
  padding: 35px 0;
}
.support-sections h2 {
  font-size: var(--type-subheading);
  letter-spacing: -0.7px;
  margin-bottom: 15px;
}
.support-sections p,
.support-sections li {
  font-size: var(--type-body);
  line-height: 1.9;
  color: var(--muted);
}
.support-sections ul {
  padding-left: 23px;
}
.support-sections .button {
  margin: 20px 0;
}
.support-sections p + p {
  margin-top: 15px;
}
.support-sections a:not(.button) {
  color: var(--ink);
}
.arrow-icon {
  display: inline-block;
  position: relative;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.arrow-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  top: 4px;
  right: -2px;
  transform: rotate(-45deg);
}

@keyframes spin {
  from {
    transform: rotateX(-8deg) rotateY(-20deg);
  }
  to {
    transform: rotateX(-8deg) rotateY(340deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateZ(-7deg);
  }
  50% {
    transform: translateY(-12px) rotateZ(-4deg);
  }
}
@media (min-width: 1600px) {
  .hero {
    max-width: 1556px;
    margin: auto;
  }
  .launch {
    padding-left: max(8%, calc((100vw - 1250px) / 2));
    padding-right: max(8%, calc((100vw - 1250px) / 2));
  }
}
@media (max-width: 800px) {
  :root {
    --badge-size: 230px;
  }
  .header {
    min-height: 82px;
    padding: 22px 24px;
  }
  .brand {
    width: 180px;
  }
  .site-menu > summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #77718e;
    border-radius: 6px;
    font-size: var(--type-support);
    font-weight: 600;
  }
  .site-nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 24px;
    left: 24px;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid #77718e;
    border-radius: 10px;
    background: var(--navy);
    box-shadow: 0 18px 36px #0b092b33;
    font-size: var(--type-body);
  }
  .site-nav a {
    padding: 12px;
  }
  .site-nav .nav-cta {
    margin-top: 8px;
  }
  .hero {
    margin: 0 12px;
    padding: 22px 22px 18px;
  }
  .hero h1 {
    font-size: var(--type-display);
    letter-spacing: -0.04em;
    margin-top: 46px;
  }
  .hero-stage {
    height: 330px;
  }

  .hero-foot > span {
    display: inline;
  }
  .hero-foot {
    justify-content: space-between;
    font-size: var(--type-support);
    flex-wrap: wrap;
  }
  .manifesto {
    padding: 65px 24px;
  }
  .manifesto h2 {
    letter-spacing: -1.6px;
    font-size: var(--type-section-title);
  }
  .journey {
    padding: 70px 24px 40px;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .section-heading h2 {
    letter-spacing: -1.6px;
    font-size: var(--type-section-title);
  }
  .demo {
    padding: 20px;
    min-height: 240px;
  }
  .step-content {
    padding-right: 25px;
    padding-left: 25px;
    gap: 6%;
  }
  .launch {
    padding: 70px 6%;
    gap: 6%;
  }
  .launch h2 {
    font-size: var(--type-section-title);
  }
  .signup-card {
    padding: 22px;
  }
  .footer > p {
    width: 100%;
  }
}
@media (max-width: 580px) {
  :root {
    --badge-size: 210px;
    --type-display: clamp(2.1875rem, 8.8vw, 3.0625rem);
    --type-page-title: clamp(2.25rem, 9vw, 3rem);
  }
  .header {
    padding: 20px;
    min-height: 77px;
    gap: 12px;
  }
  .brand {
    width: clamp(110px, 34vw, 145px);
  }
  .hero-top .eyebrow {
    font-size: var(--type-label);
    letter-spacing: 0.7px;
  }
  .hero-index {
    display: inline;
  }
  .hero h1 {
    font-size: var(--type-display);
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin-top: 28px;
  }
  .hero-stage {
    height: 270px;
  }

  .hero-bottom {
    padding: 8px 0 25px;
  }
  .hero-bottom p {
    font-size: var(--type-body);
    line-height: 1.9;
  }
  .hero-bottom .button {
    font-size: var(--type-action);
    padding: 15px 18px;
  }
  .hero-foot {
    font-size: var(--type-support);
    flex-wrap: wrap;
  }

  .hero-stage .badge-shadow {
    width: 140px;
    bottom: 8px;
  }
  .nutshell-benefits {
    flex-direction: column;
    gap: 10px;
    font-size: var(--type-support);
    margin-top: 24px;
  }
  .manifesto .eyebrow {
    font-size: var(--type-label);
    letter-spacing: 0.5px;
  }
  .manifesto h2 {
    font-size: var(--type-section-title);
    margin-top: 0;
  }
  .manifesto p {
    font-size: var(--type-body);
    max-width: 320px;
  }
  .section-heading .eyebrow {
    font-size: var(--type-label);
  }
  .section-heading h2 {
    font-size: var(--type-section-title);
  }
  .section-heading > p {
    font-size: var(--type-body);
  }
  .journey {
    padding: 55px 16px 35px;
  }
  .step-heading {
    min-height: 110px;
    padding: 24px 20px;
  }
  .step-heading h3 {
    padding: 8px 12px;
    font-size: var(--type-subheading);
  }
  .step-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 12px 20px 28px;
  }
  .step:nth-of-type(even) .step-copy,
  .step:nth-of-type(even) .demo {
    order: initial;
  }
  .step-copy p {
    max-width: none;
    font-size: var(--type-body);
  }
  .step-number {
    font-size: var(--type-label);
  }
  .demo {
    min-height: 235px;
    padding: 25px;
  }
  .demo-kicker {
    font-size: var(--type-label);
  }
  .fixture strong {
    font-size: var(--type-label);
  }
  .closing {
    padding: 65px 20px 80px;
  }
  .closing h2 {
    letter-spacing: -0.04em;
    font-size: var(--type-display);
  }
  .closing .eyebrow {
    font-size: var(--type-label);
  }
  .closing p {
    font-size: var(--type-lead);
  }
  .closing > strong {
    font-size: var(--type-section-title);
    letter-spacing: -1.3px;
  }
  .launch {
    grid-template-columns: 1fr;
    padding: 65px 24px;
    gap: 32px;
  }
  .launch h2 {
    font-size: var(--type-section-title);
  }
  .launch > div > p {
    font-size: var(--type-body);
  }
  .launch .eyebrow {
    font-size: var(--type-label);
  }
  .footer {
    padding: 35px 24px;
    gap: 25px;
  }
  .footer .brand {
    width: 160px;
  }
  .footer-links {
    gap: 20px;
    width: 100%;
    font-size: var(--type-support);
  }
  .footer > p {
    font-size: var(--type-label);
  }
  .support-main {
    padding: 45px 24px 65px;
  }
  .support-intro h1 {
    font-size: var(--type-page-title);
    letter-spacing: -0.04em;
  }
  .support-sections h2 {
    font-size: var(--type-subheading);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .badge {
    transform: rotateX(-5deg) rotateY(-15deg);
  }
  .motion-ready .reveal:not(.active) {
    opacity: 1;
    transform: none;
  }

}


/* Single clear action; the third-party form lives on its own site. */
.signup-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(24px, 3.2vw, 40px); border-color: #51416e; }
.signup-card h3 { font-size: var(--type-subheading); line-height: 1.25; color: var(--paper); margin: 0; }
.launch .signup-card > p { margin: 0; max-width: none; }
.signup-card .signup-cta { width: 100%; justify-content: space-between; box-sizing: border-box; gap: 16px; }
.launch .signup-card .signup-provider { font-size: var(--type-support); line-height: 1.7; color: var(--lavender); }
.signup-provider a { color: var(--paper); text-decoration: underline; }
.signup-card a:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.footer-company { line-height: 1.55; margin: 0; }
.footer-company > span { display: block; }
