@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/Outfit-Medium.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Outfit";
  font-style: normal;
  font-weight: 900;
  src: url("/fonts/Outfit-Black.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --background: #faf9f6;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-solid: #ffffff;
  --surface-soft: #f5f3ee;
  --accent: #7c5cfc;
  --accent-action: #7350f7;
  --accent-dark: #5f3ed1;
  --accent-wash: #f2eeff;
  --accent-border: #ded5ff;
  --aubergine: #21125e;
  --ink: #1a1a1a;
  --muted: #655e72;
  --subtle: #6a6284;
  --orange: #ff8c42;
  --border: rgba(33, 18, 94, 0.1);
  --border-strong: rgba(33, 18, 94, 0.16);
  --error: #b42318;
  --success: #11693d;
  --shadow-card: 0 18px 48px rgba(33, 18, 94, 0.08);
  --shadow-action: 0 12px 28px rgba(124, 92, 252, 0.24);
  --radius-card: 22px;
  --page-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 92, 252, 0.13) 0, rgba(124, 92, 252, 0.06) 17rem, transparent 32rem),
    radial-gradient(circle at 4% 76%, rgba(255, 140, 66, 0.08) 0, transparent 28rem),
    var(--background);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: -1;
  bottom: -24rem;
  left: -15rem;
  width: 54rem;
  height: 34rem;
  border: 2px solid rgba(255, 140, 66, 0.52);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(12deg);
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--aubergine);
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--aubergine);
  color: #ffffff;
  font-weight: 900;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  padding: 18px 24px 0;
}

.nav-shell {
  display: flex;
  width: min(100%, var(--page-width));
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: rgba(250, 249, 246, 0.88);
  box-shadow: 0 8px 30px rgba(33, 18, 94, 0.05);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--aubergine);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.65px;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: var(--aubergine);
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-tree {
  color: var(--accent);
}

.brand-dot {
  color: var(--orange);
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 14px;
  color: var(--aubergine);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--accent-wash);
  color: var(--accent-dark);
}

.site-nav .nav-cta {
  padding-inline: 18px;
  background: var(--accent-action);
  box-shadow: 0 8px 18px rgba(124, 92, 252, 0.18);
  color: #ffffff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--accent-dark);
  color: #ffffff;
}

.home-main,
.page-main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  width: min(100%, var(--page-width));
  min-height: 660px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) 24px 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.25px;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--aubergine);
  font-weight: 900;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.6vw, 5.9rem);
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #4d465d;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.waitlist-panel,
.route-preview,
.feature-card,
.article-card,
.contents-card,
.support-card,
.method-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.waitlist-panel {
  max-width: 680px;
  padding: 22px;
}

.waitlist-heading {
  margin-bottom: 5px;
  color: var(--aubergine);
  font-size: 18px;
  font-weight: 900;
}

.waitlist-copy {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

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

input[type="email"] {
  width: 100%;
  min-height: 58px;
  padding: 14px 17px;
  border: 1px solid var(--border-strong);
  border-radius: 17px;
  background: var(--surface-solid);
  color: var(--ink);
}

input[type="email"]::placeholder {
  color: #777183;
  opacity: 1;
}

input[type="email"]:focus {
  border-color: var(--accent);
  outline-color: var(--orange);
}

.primary-button {
  min-height: 58px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--accent-action);
  box-shadow: var(--shadow-action);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.primary-button:disabled {
  background: #d9d4e4;
  box-shadow: none;
  color: #514b5e;
  cursor: wait;
  transform: none;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-message.error {
  color: var(--error);
}

.form-message.success {
  color: var(--success);
  font-weight: 900;
}

.waitlist-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.route-preview {
  position: relative;
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
}

.route-preview::before {
  position: absolute;
  top: -82px;
  right: -74px;
  width: 220px;
  height: 220px;
  border-radius: 46% 54% 63% 37% / 50% 38% 62% 50%;
  background: var(--accent-wash);
  content: "";
}

.route-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.route-head p,
.route-head h2 {
  margin-bottom: 0;
}

.route-label {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.route-head h2 {
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.1;
}

.route-chip {
  position: relative;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.route-list {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-list::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--orange));
  content: "";
}

.route-step {
  position: relative;
  display: grid;
  min-height: 72px;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.route-node {
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  justify-self: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.route-step:last-child .route-node {
  border-color: var(--orange);
  color: #9b3e09;
}

.route-step small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.route-step strong {
  display: block;
  color: var(--aubergine);
  font-size: 16px;
  font-weight: 900;
}

.route-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.route-foot::before {
  width: 30px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  content: "";
}

.content-section {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 72px 24px;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid,
.method-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.method-card,
.support-card {
  padding: 26px;
}

.feature-number,
.method-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.feature-card:nth-child(3) .feature-number,
.method-card:nth-child(3n) .method-number {
  background: rgba(255, 140, 66, 0.14);
  color: #9b3e09;
}

.feature-card h3,
.method-card h2,
.support-card h2 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.method-card p,
.support-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: 44px;
  padding: clamp(30px, 6vw, 64px);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--aubergine);
  box-shadow: 0 26px 70px rgba(33, 18, 94, 0.2);
}

.manifesto h2,
.manifesto p,
.manifesto a {
  color: #ffffff;
}

.manifesto h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.manifesto p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.manifesto-link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--accent);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.manifesto-link:hover {
  background: #ffffff;
  color: var(--aubergine);
}

.page-main {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 96px) 24px 88px;
}

.page-hero {
  max-width: 820px;
  margin-bottom: 42px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.page-intro,
.updated {
  color: var(--muted);
  font-size: 18px;
}

.updated {
  margin-bottom: 0;
  font-size: 15px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.contents-card {
  position: sticky;
  top: 22px;
  padding: 22px;
}

.contents-title {
  margin-bottom: 12px;
  color: var(--aubergine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contents-card ol,
.contents-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents-card a {
  display: block;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.contents-card a:hover {
  background: var(--accent-wash);
  color: var(--accent-dark);
}

.article-card {
  padding: clamp(26px, 5vw, 56px);
}

.article-card section {
  scroll-margin-top: 24px;
}

.article-card section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
}

.article-card h2 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.22;
}

.article-card p {
  margin-bottom: 13px;
  color: #373142;
}

.article-card p:last-child {
  margin-bottom: 0;
}

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

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

.method-card .method-number {
  margin-bottom: 24px;
}

.evidence-card {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  background: var(--accent-wash);
}

.evidence-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.evidence-card p:last-child {
  margin-bottom: 0;
}

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

.support-card:first-child {
  grid-column: 1 / -1;
  border-color: var(--accent-border);
  background: var(--accent-wash);
}

.support-card h2 {
  font-size: 24px;
}

.support-card p + p {
  margin-top: 10px;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  min-height: 44px;
  padding-block: 10px;
  color: var(--aubergine);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.footer-meta,
.footer-contact {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.footer-meta:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 72px;
  }

  .route-preview {
    width: min(100%, 640px);
  }

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

  .feature-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }

  .feature-number {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

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

  .contents-card {
    position: static;
  }

  .contents-card ol,
  .contents-card ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 14px 0;
  }

  .nav-shell {
    min-height: 56px;
    gap: 10px;
    padding-left: 10px;
    border-radius: 18px;
  }

  .brand {
    gap: 8px;
    font-size: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .site-nav .nav-home,
  .site-nav .nav-cta {
    display: none;
  }

  .hero,
  .content-section,
  .page-main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.45rem);
  }

  .waitlist-panel {
    padding: 18px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .primary-button {
    width: 100%;
  }

  .route-preview {
    padding: 22px;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .method-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card:first-child {
    grid-column: auto;
  }

  .contents-card ol,
  .contents-card ul {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer {
    width: calc(100% - 40px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
