/* ============================================================
   Supreme Synergy: Design System
   ============================================================ */

:root {
  /* Color */
  --bg: #0a0908;
  --bg-elev: #14110d;
  --bg-card: #1a1611;
  --bg-deep: #050403;
  --fg: #f2ecd9;
  --fg-soft: #c0b59c;
  --fg-dim: #877c69;
  --accent: #d4af37;
  --accent-bright: #e9c860;
  --accent-soft: #b89730;
  --accent-deep: #8a7124;
  --accent-glow: rgba(212, 175, 55, 0.16);
  --rule: rgba(212, 175, 55, 0.10);
  --rule-soft: rgba(212, 175, 55, 0.05);

  /* Type */
  --serif: 'Fraunces', ui-serif, Georgia, Cambria, serif;
  --sans: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

  /* Layout */
  --max: 720px;
  --max-wide: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-xl) 1.5rem var(--space-lg);
  position: relative;
  z-index: 1;
}

/* ============================================================
   Typography
   ============================================================ */

.section-label,
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 auto 1.5rem;
  display: block;
  position: relative;
  text-align: center;
  max-width: 580px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-xl);
  border-bottom: none;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
    rgba(212, 175, 55, 0.32) 0%,
    rgba(212, 175, 55, 0.12) 30%,
    transparent 60%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-pulse 9s ease-in-out infinite;
  will-change: opacity, transform, filter;
}

@keyframes hero-glow-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: translateX(-50%) scale(0.92);
    filter: blur(22px);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.18);
    filter: blur(34px);
  }
}

.hero > *:not(.hero-glow) {
  position: relative;
  z-index: 1;
}

.mark {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  box-shadow:
    0 0 60px rgba(212, 175, 55, 0.18),
    0 0 25px rgba(212, 175, 55, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.14);
  animation: gentle-pulse 7s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 60px rgba(212, 175, 55, 0.18),
      0 0 25px rgba(212, 175, 55, 0.14),
      0 0 0 1px rgba(212, 175, 55, 0.14);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 150px rgba(212, 175, 55, 0.55),
      0 0 60px rgba(212, 175, 55, 0.40),
      0 0 0 1px rgba(212, 175, 55, 0.32);
  }
}

.hero .eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  margin: 0 auto 2rem;
  text-align: center;
}

.hero .eyebrow::after {
  display: none;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0 0 1.75rem;
  color: var(--fg);
  font-variation-settings: "opsz" 96;
}

.hero h1 .line {
  display: block;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--fg-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
  font-variation-settings: "opsz" 16;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.65rem 0;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.hero-cta:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
}

/* ============================================================
   Ornament dividers (between sections)
   ============================================================ */

.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
  color: var(--accent);
}

.ornament svg {
  fill: currentColor;
  opacity: 0.55;
}

/* ============================================================
   Section base
   ============================================================ */

section {
  padding: var(--space-lg) 0;
  border-bottom: none;
  position: relative;
  text-align: center;
}

section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--fg);
  font-variation-settings: "opsz" 48;
  text-align: center;
}

section p {
  color: var(--fg-soft);
  margin: 0 auto 1.1rem;
  font-family: var(--serif);
  font-variation-settings: "opsz" 16;
  max-width: 580px;
}

section p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Problem section
   ============================================================ */

.problem p {
  font-size: 1.1rem;
  line-height: 1.55;
}

.problem p:first-of-type {
  font-size: 1.15rem;
  color: var(--fg);
}

/* ============================================================
   Mechanism (S.I.M.) - Editorial number treatment
   ============================================================ */

.mech-lede {
  font-size: 1.08rem !important;
  color: var(--fg-soft);
  margin-bottom: 2.5rem !important;
  line-height: 1.6;
}

.moves {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.moves li {
  background:
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--rule);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 2.5rem 1.75rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 250ms ease, transform 250ms ease;
  text-align: left;
}

.moves li:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.moves .num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  font-variation-settings: "opsz" 96;
  z-index: 0;
}

.moves h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--fg);
  margin: 0 0 0.65rem;
  letter-spacing: 0.005em;
  font-variation-settings: "opsz" 36;
  position: relative;
  z-index: 1;
}

.moves p {
  margin: 0;
  font-size: 1rem;
  color: var(--fg-soft);
  line-height: 1.55;
  position: relative;
  z-index: 1;
  max-width: none;
}

/* ============================================================
   Three-Scale Promise
   ============================================================ */

.promise-lede {
  font-size: 1.08rem !important;
  margin-bottom: 2.5rem !important;
  line-height: 1.6;
}

.scales {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  gap: 1.5rem;
}

.scales li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  text-align: left;
}

.scales li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
}

.scales h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.scales p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: none;
  text-align: left;
}

.scales strong {
  color: var(--fg);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.2rem;
  font-variation-settings: "opsz" 18;
}

/* ============================================================
   Program (CAM)
   ============================================================ */

.program p:nth-of-type(1) {
  font-size: 1.05rem;
  color: var(--fg);
  letter-spacing: 0.005em;
}

.cohort {
  margin: 2rem auto 0 !important;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  font-size: 1rem;
  color: var(--fg-soft);
  position: relative;
  text-align: left;
  max-width: 580px;
}

.cohort strong {
  color: var(--fg);
  font-weight: 500;
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-variation-settings: "opsz" 18;
}

/* ============================================================
   Capture (email list)
   ============================================================ */

.capture h2 {
  margin-bottom: 1.25rem;
}

.signup {
  display: flex;
  gap: 0.65rem;
  margin: 2rem auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 520px;
}

.signup input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 1rem 1.25rem;
  background: var(--bg-elev);
  color: var(--fg);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  border-radius: 0;
  transition: border-color 200ms ease, background-color 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
}

.signup input[type="email"]::placeholder {
  color: var(--fg-dim);
}

.signup button {
  padding: 1rem 1.75rem;
  background: var(--accent);
  color: var(--bg-deep);
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}

.signup button:hover:not(:disabled) {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
}

.signup button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.85rem !important;
  color: var(--fg-dim) !important;
  margin: 0 auto !important;
  font-style: italic;
  font-family: var(--serif);
  max-width: 520px;
  text-align: center;
}

.signup-success {
  margin: 1.75rem auto 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  max-width: 520px;
  text-align: left;
}

.signup-success p {
  margin: 0;
  color: var(--fg-soft);
  font-family: var(--serif);
}

.signup-success strong {
  color: var(--accent);
  font-weight: 500;
}

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

/* ============================================================
   Contact
   ============================================================ */

.cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 1rem 2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.cta:hover {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.16);
}

/* ============================================================
   Footer
   ============================================================ */

footer {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.8rem;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--rule);
}

.footer-brand {
  color: var(--accent);
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  section,
  .ornament {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 800ms ease-out forwards;
    animation-delay: 80ms;
  }

  .hero {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 1000ms ease-out forwards;
  }

  @keyframes fade-in {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 640px) {
  main {
    padding: var(--space-2xl) 2rem var(--space-lg);
  }
  .moves {
    grid-template-columns: repeat(3, 1fr);
  }
  .scales {
    grid-template-columns: repeat(3, 1fr);
  }
  .scales li {
    padding-left: 1.25rem;
  }
}

@media (min-width: 900px) {
  :root {
    --max: 820px;
  }
  .hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    letter-spacing: -0.015em;
  }
  .hero h1 .line {
    display: inline;
  }
  .lede {
    font-size: 1.05rem;
  }
  .hero-cta {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }
  section h2 {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
  }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  main { padding: 3rem 1.25rem 1.75rem; }
  section { padding: 1.75rem 0; }
  .hero { padding: 1rem 0 2.5rem; }
  .mark { width: 110px; height: 110px; }
  .hero-glow { width: 400px; height: 400px; }
  .moves { gap: 1.25rem; }
  .moves .num { font-size: 2.75rem; }
  .moves li { padding: 2.25rem 1.5rem 1.5rem; }
  .scales { gap: 1.25rem; margin-bottom: 2rem; }
  .signup {
    flex-direction: column;
    gap: 0.75rem;
  }
  .signup input[type="email"],
  .signup button {
    width: 100%;
    flex: 1 1 100%;
    min-height: 50px;
  }
  .signup input[type="email"] {
    padding: 0.95rem 1.1rem;
    font-size: 1rem;
  }
  .signup button {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  .cta {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.6rem;
    font-size: 0.92rem;
  }
  .hero-cta {
    padding: 0.85rem 0;
  }
  .ornament { padding: 1rem 0; }
  .cohort {
    padding: 1.25rem 1.4rem;
    font-size: 0.95rem;
  }
  footer {
    padding: 1.5rem 1.25rem 2rem;
    font-size: 0.75rem;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark,
  .hero-glow {
    animation: none;
  }
}
