:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --ink: #0e0e10;
  --ink-soft: #5b5b61;
  --accent: #ff3d2e;
  --accent-ink: #0e0e10;
  --studio-band: #0e0e10;
  --studio-band-ink: #f4f4f2;
  --line: #e3e3e0;
  --font-display: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: min(100% - 32px, 1120px);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-compact,
.nav-open .site-header {
  min-height: 60px;
  background: color-mix(in srgb, var(--bg) 98%, transparent);
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 650;
}

.nav-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--bg-alt);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.nav-open .nav-toggle-lines {
  transform: rotate(45deg);
}

.nav-open .nav-toggle-lines::before {
  transform: translateY(6px) rotate(90deg);
}

.nav-open .nav-toggle-lines::after {
  opacity: 0;
}

.primary-nav {
  position: fixed;
  inset: var(--header-height) 16px auto;
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgb(14 14 16 / 16%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-open .primary-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-link {
  padding: 12px 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.button-light {
  background: var(--studio-band-ink);
  border-color: var(--studio-band-ink);
  color: var(--studio-band);
}

.button-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-alt);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--accent) 20%, transparent) 0, transparent 34%),
    radial-gradient(circle at 84% 18%, rgb(255 61 46 / 10%) 0, transparent 28%),
    linear-gradient(180deg, rgb(255 255 255 / 92%), rgb(244 244 242 / 84%));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
  min-height: auto;
  padding: clamp(44px, 9vw, 92px) 0 clamp(62px, 8vw, 88px);
  align-items: center;
}

.hero-copy {
  max-width: 880px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero h1 {
  max-width: 950px;
  font-size: 3rem;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.35;
}

.scarcity-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: 100%;
  margin-top: 24px;
  padding: 10px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 64%, var(--line));
  border-radius: 999px;
  box-shadow: 0 14px 38px rgb(14 14 16 / 9%);
  font-size: 0.88rem;
  font-weight: 850;
}

.scarcity-strip span:not(.scarcity-dot):not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: var(--accent);
}

.scarcity-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgb(255 61 46 / 42%);
  animation: scarcity-pulse 2.8s ease-out infinite;
}

.scarcity-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 900;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-primary {
  animation: hero-button-pulse 3.6s ease-in-out infinite;
}

.partner-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
  list-style: none;
}

.partner-line li:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: var(--accent);
}

.hero-panel {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 28px 70px rgb(14 14 16 / 13%);
}

.hero-wave {
  width: 100%;
  min-height: 92px;
  max-height: 150px;
  object-fit: cover;
  opacity: 0.92;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-meta span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 1.04rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 1;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--accent);
  animation: scroll-cue-bounce 2.4s ease-in-out infinite;
  pointer-events: none;
}

.scroll-cue span {
  width: 13px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.section {
  padding: clamp(72px, 11vw, 128px) 0;
}

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

.section-header {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-title {
  max-width: 880px;
  font-size: 2.45rem;
}

.section-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.42;
}

.period {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
}

.manifesto-grid {
  display: grid;
  gap: 28px;
}

.manifesto-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.28;
}

.method-section {
  border-top: 1px solid var(--line);
}

.method-grid {
  display: grid;
  gap: 14px;
}

.method-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 220px;
  padding: clamp(24px, 4vw, 34px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  box-shadow: 0 24px 54px rgb(14 14 16 / 10%);
}

.method-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 0.9;
  transition: transform 180ms ease;
}

.method-card:hover .method-number {
  transform: scale(1.08);
}

.method-title {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1;
}

.method-desc {
  margin: 0;
  color: var(--ink-soft);
}

.modules-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.module-card {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 240px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid transparent;
  background: var(--bg);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.module-card:hover {
  z-index: 1;
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
  box-shadow: 0 18px 44px rgb(14 14 16 / 9%);
}

.module-number,
.step-number,
.stat-value,
.rate-value {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.module-number {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
}

.module-month {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.module-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.module-desc {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.section-dark {
  position: relative;
  overflow: clip;
  background: var(--studio-band);
  color: var(--studio-band-ink);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(244 244 242 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(244 244 242 / 5%) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.section-dark .container {
  position: relative;
}

.section-dark .kicker,
.section-dark .member-role {
  color: var(--accent);
}

.section-dark .section-lead,
.section-dark .member-bio {
  color: color-mix(in srgb, var(--studio-band-ink) 72%, transparent);
}

.board-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.member-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgb(244 244 242 / 18%);
  border-radius: 8px;
  background: rgb(244 244 242 / 4%);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.member-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 70%, rgb(244 244 242 / 18%));
  background: rgb(244 244 242 / 7%);
}

.member-placeholder,
.member-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgb(244 244 242 / 32%);
  box-shadow: 0 18px 34px rgb(0 0 0 / 30%);
}

.member-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgb(244 244 242 / 20%) 0, transparent 34%),
    rgb(244 244 242 / 8%);
  color: var(--studio-band-ink);
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 900;
}

.member-photo {
  object-fit: cover;
}

.member-name {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1;
}

.member-role {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.member-bio {
  margin: 18px 0 0;
  max-width: 680px;
}

.stats-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  position: relative;
  display: grid;
  align-content: start;
  padding: clamp(22px, 5vw, 36px);
  border: 1px solid transparent;
  background: var(--bg);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat:hover {
  z-index: 1;
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
  box-shadow: 0 18px 44px rgb(14 14 16 / 9%);
}

.stat-value {
  display: block;
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

/* Valore-parola (es. "Pietrasanta"): più piccolo del valore-numero così sta su una
   riga nella colonna stretta, senza spezzarsi a metà ("Pietr asant a"). Doppia classe
   = specificità maggiore delle media query su .stat-value. */
.stat-value.stat-value-word {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.05;
  overflow-wrap: normal;
}

.stat-label {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-weight: 800;
}

.stat-tag {
  justify-self: start;
  margin-top: 14px;
  padding: 4px 8px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 52%, var(--line));
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.steps-grid {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.step-title {
  margin: 0;
  font-size: 1.5rem;
}

.step-desc {
  margin: 0;
  color: var(--ink-soft);
}

.investment-layout {
  display: grid;
  gap: 32px;
}

.price-block {
  align-self: start;
}

.price {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.95;
}

.rate-list,
.included-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rate-list li,
.included-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.rate-list li {
  align-items: center;
}

.included-list li::before {
  content: "";
  width: 8px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 0.22em;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.included-list li {
  justify-content: flex-start;
}

.rate-label,
.fineprint {
  color: var(--ink-soft);
}

.rate-value {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  font-weight: 900;
}

.fineprint {
  margin: 20px 0 0;
  font-size: 0.92rem;
}

.sponsor-strip {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.sponsor-name {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1;
}

.sponsor-text,
.sponsor-ref {
  margin: 0;
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 64%, var(--line));
  box-shadow: 0 14px 34px rgb(14 14 16 / 8%);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.final-cta {
  background: var(--accent);
  color: var(--ink);
}

.final-cta .section-title {
  max-width: 940px;
}

.final-cta-note {
  max-width: 660px;
  margin: 20px 0 0;
  font-weight: 850;
}

/* Pagina iscrizione: card delle 3 rate con bottone Stripe */
.rate-pay-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.rate-pay-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rate-pay-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
  box-shadow: 0 18px 44px rgb(14 14 16 / 9%);
}

.rate-pay-step {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rate-pay-amount {
  margin: 4px 0 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.rate-pay-when {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-weight: 800;
}

.rate-pay-btn {
  width: 100%;
}

/* timeline informativa delle 3 rate (ol senza numeri di lista) */
.rate-pay-timeline {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.rate-pay-tag {
  margin: 2px 0 0;
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rate-pay-tag-now {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* card "attiva il piano": un solo CTA, look coerente con form-card */
.enroll-card {
  margin-top: 8px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 10%, transparent) 0, transparent 42%),
    var(--bg);
}

.enroll-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
}

.enroll-lead {
  margin: 8px 0 18px;
  max-width: 56ch;
  color: var(--ink-soft);
}

.enroll-form {
  margin: 0;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: var(--bg-alt);
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-claim,
.footer-copy {
  margin: 0;
}

.footer-claim {
  font-weight: 800;
}

.footer-imprint {
  margin: 10px 0 14px;
  color: color-mix(in srgb, var(--bg-alt) 82%, transparent);
  font-size: 0.84rem;
  line-height: 1.55;
}

.footer-imprint a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span,
.footer-copy {
  color: color-mix(in srgb, var(--bg-alt) 72%, transparent);
}

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(62px, 10vw, 110px) 0 clamp(40px, 7vw, 72px);
  background:
    radial-gradient(circle at 18% 16%, rgb(255 61 46 / 10%) 0, transparent 30%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  position: relative;
}

.page-title {
  max-width: 860px;
  font-size: 2.7rem;
}

.page-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.form-shell,
.legal-page {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.form-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.checkbox-field label {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  accent-color: var(--accent);
}

.form-alert {
  padding: 12px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  font-weight: 800;
}

.field-error input,
.field-error select,
.field-error textarea,
.field-error.checkbox-field {
  border-color: var(--accent);
}

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

.legal-page {
  color: var(--ink-soft);
}

.legal-page h2 {
  margin: 36px 0 10px;
  color: var(--ink);
  font-size: 1.45rem;
}

.legal-page p,
.legal-page li {
  max-width: 72ch;
}

.legal-page h3 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  padding-left: 1.25rem;
}

.legal-updated {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
}

.legal-card,
.withdrawal-form {
  margin: 22px 0;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
}

.withdrawal-form p {
  margin: 0 0 14px;
}

.withdrawal-form p:last-child {
  margin-bottom: 0;
}

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes scarcity-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(255 61 46 / 42%);
  }

  70% {
    box-shadow: 0 0 0 10px rgb(255 61 46 / 0%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(255 61 46 / 0%);
  }
}

@keyframes hero-button-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(255 61 46 / 0%);
  }

  50% {
    box-shadow: 0 0 0 9px rgb(255 61 46 / 16%);
  }
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@media (min-width: 640px) {
  :root {
    --container: min(100% - 48px, 1120px);
  }

  .hero h1 {
    font-size: 4.45rem;
  }

  .hero-subtitle,
  .section-lead {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .manifesto-body {
    font-size: 1.55rem;
  }

  .module-title {
    font-size: 1.75rem;
  }

  .member-name {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 3rem;
  }

  .step-title {
    font-size: 1.8rem;
  }

  .price {
    font-size: 5.8rem;
  }

  .sponsor-name {
    font-size: 2.2rem;
  }

  .page-title {
    font-size: 4rem;
  }

  .modules-grid,
  .method-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }

  .footer-copy {
    justify-self: end;
  }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-link {
    padding: 10px 12px;
  }

  .nav-cta {
    margin-left: 8px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    min-height: calc(100svh - var(--header-height) - 72px);
  }

  .hero-panel {
    min-height: 260px;
  }

  .manifesto-grid {
    grid-template-columns: 0.78fr 1fr;
    align-items: start;
  }

  .modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-card {
    min-height: 300px;
  }

  .board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .step,
  .step:last-child {
    padding: 28px;
    background: var(--bg);
    border: 0;
  }

  .investment-layout {
    grid-template-columns: 0.78fr 1fr;
    align-items: start;
  }

  .hero h1 {
    font-size: 5.8rem;
  }

  .hero-subtitle {
    font-size: 1.32rem;
  }

  .section-title {
    font-size: 4.3rem;
  }

  .section-lead {
    font-size: 1.3rem;
  }

  .manifesto-body {
    font-size: 1.78rem;
  }

  .member-name {
    font-size: 2.25rem;
  }

  .stat-value {
    font-size: 3.5rem;
  }
}

@media (min-width: 1100px) {
  .section-header {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
    align-items: end;
  }

  .section-header .section-lead,
  .section-header .period {
    justify-self: end;
  }

  .hero h1 {
    font-size: 7rem;
  }

  .hero-subtitle,
  .section-lead {
    font-size: 1.45rem;
  }

  .section-title {
    font-size: 5.3rem;
  }

  .manifesto-body {
    font-size: 2rem;
  }

  .module-title {
    font-size: 2.1rem;
  }

  .member-name {
    font-size: 2.45rem;
  }

  .stat-value {
    font-size: 4.1rem;
  }

  .step-title {
    font-size: 2.15rem;
  }

  .price {
    font-size: 8rem;
  }

  .sponsor-name {
    font-size: 3rem;
  }

  .page-title {
    font-size: 5.8rem;
  }
}

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

  .scroll-cue,
  .hero-primary,
  .scarcity-dot {
    animation: none !important;
  }
}
