@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="orange"] {
  --accent: #f85800;
  --accent-hover: #de4e00;
  --accent-2: #ff8a3d;
  --accent-soft: rgba(248, 88, 0, 0.14);
  --accent-ink: #9a3400;
  --ink: #16181d;
  --ink-soft: #4c515a;
  --paper: #f3f0ea;
  --paper-2: #fffcf7;
  --line: rgba(22, 24, 29, 0.12);
  --night: #070a12;
  --night-2: #11151f;
  --header-bg: rgba(7, 10, 18, 0.78);
  --shadow: 0 18px 50px rgba(7, 10, 18, 0.12);
  --radius: 18px;
  --wrap: 1160px;
}

[data-theme="green"] {
  --accent: #12b840;
  --accent-hover: #0e9a36;
  --accent-2: #3fd46a;
  --accent-soft: rgba(18, 184, 64, 0.16);
  --accent-ink: #0b7a2a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

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

a { color: var(--accent); }

h1, h2, h3, .eyebrow, .btn, .step-num, .plan-badge, .crew-tag {
  font-family: "Sora", "Manrope", sans-serif;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0; }

h1 { font-size: clamp(2.35rem, 6.4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3.05rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }

p { margin: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper-2);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.25rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(820px, calc(100% - 2.25rem)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(1240px, calc(100% - 1.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.45rem 0;
}

.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand-logo {
  height: 60px;
  width: auto;
  max-width: min(300px, 62vw);
  filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 2px 10px rgba(0,0,0,.75));
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem 1.15rem;
  margin-left: auto;
}
.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
}
.nav a:hover { color: #fff; }
.nav .nav-cta { display: none; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.theme-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.theme-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  font-family: "Sora", sans-serif;
  letter-spacing: 0.01em;
}
.theme-btn img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
}
.theme-btn.is-active {
  background: #fff;
  color: var(--ink);
}
.theme-btn span { display: none; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.site-header.is-open .menu-toggle span:first-child { top: 21px; transform: rotate(40deg); }
.site-header.is-open .menu-toggle span:last-child { top: 21px; transform: rotate(-40deg); }

.header-cta { display: none; }

@media (min-width: 880px) {
  .brand-logo { height: 72px; max-width: 380px; }
  .nav { display: flex; }
  .header-tools { margin-left: 0; }
  .menu-toggle { display: none; }
  .theme-btn span { display: inline; }
  .header-inner { min-height: 4.85rem; }
}

@media (min-width: 1100px) {
  .brand-logo { height: 86px; max-width: 440px; }
  .header-cta {
    display: inline-flex;
    min-height: 2.5rem;
    padding: 0.45rem 1.05rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 879px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.75rem 1.25rem 1.4rem;
    background: #070a12;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .site-header.is-open {
    background: #070a12;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.is-open .nav {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1.05rem; }
  .nav .nav-cta {
    display: inline-flex;
    margin-top: 0.85rem;
    border: 0;
    background: var(--accent);
    color: #fff;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--night) url("assets/hero-poster.jpg") center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.42) 0%, rgba(7, 10, 18, 0.28) 38%, rgba(7, 10, 18, 0.82) 100%),
    linear-gradient(90deg, rgba(7, 10, 18, 0.72) 0%, rgba(7, 10, 18, 0.38) 48%, rgba(7, 10, 18, 0.18) 100%);
}

.hero-content {
  width: min(1240px, calc(100% - 2.25rem));
  margin: 0 auto;
  padding: 7.5rem 0 6.5rem;
  max-width: 40rem;
  margin-left: max(1.125rem, calc((100% - 1240px) / 2));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.hero .eyebrow { color: var(--accent-2); }
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero h1 {
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.lead, .section-lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1.15rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.scroll-cue {
  position: absolute;
  right: max(1.25rem, calc((100% - 1240px) / 2));
  bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
}
.scroll-cue:hover { color: #fff; }

/* Sections */
.section { padding: 4.75rem 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head.split {
  display: grid;
  gap: 1rem 3rem;
}
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin-inline: auto; }
.section-head h2 { margin-bottom: 0.85rem; }
.section-lede { max-width: 36rem; }

@media (min-width: 860px) {
  .section { padding: 6.25rem 0; }
  .section-head.split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
  .section-head.split .section-lede { margin-bottom: 0.35rem; }
}

/* Features */
.features { background: var(--paper-2); }
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
.feature-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-grid li:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-grid .icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.feature-grid svg { width: 1.35rem; height: 1.35rem; }
.feature-grid h3 { margin-bottom: 0.4rem; }
.feature-grid p { color: var(--ink-soft); font-size: 0.98rem; }

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .feature-grid li { padding: 1.4rem 1.3rem 1.5rem; }
}

/* Crew */
.crew { background: var(--night); color: #fff; }
.crew h2, .how h2 { color: inherit; }
.crew .section-lede { color: rgba(255, 255, 255, 0.72); }

.crew-grid {
  display: grid;
  gap: 1.1rem;
}
.crew-card {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--night-2);
  color: inherit;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  display: grid;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.crew-card:hover { transform: translateY(-3px); }
.crew-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 50px rgba(0, 0, 0, 0.28);
}
.crew-art {
  background: var(--paper-2);
  display: grid;
  place-items: end center;
  min-height: 280px;
  padding: 1.25rem 1.25rem 0;
}
.crew-art img {
  width: min(100%, 280px);
  height: 250px;
  object-fit: contain;
  object-position: bottom center;
}
.crew-copy { padding: 1.35rem 1.4rem 1.5rem; }
.crew-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 0.35rem;
}
.crew-copy h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.crew-copy p { color: rgba(255, 255, 255, 0.7); }
.crew-pick {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-2);
}
.crew-card.is-active .crew-pick { color: #fff; }

@media (min-width: 800px) {
  .crew-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .crew-art { min-height: 340px; }
  .crew-art img { height: 310px; width: min(100%, 340px); }
}

/* How it works */
.how { background: var(--paper); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: none;
}
.steps li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  position: relative;
}
.step-num {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.steps h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.steps p { color: var(--ink-soft); }

@media (min-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.4rem;
    position: relative;
  }
  .steps li { padding: 2rem 1.6rem 1.85rem; }
}

/* Plans */
.plans { background: var(--paper-2); }
.plan-grid {
  display: grid;
  gap: 1rem;
}
.plan-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.plan-card p { color: var(--ink-soft); }
.plan-card .btn { margin-top: auto; }
.plan-featured {
  background: var(--night);
  color: #fff;
  border-color: var(--night);
}
.plan-featured p { color: rgba(255, 255, 255, 0.75); }
.plan-featured h3 { color: #fff; }
.plan-badge {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 650;
}

@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr 1.08fr 1fr;
    align-items: stretch;
    gap: 1.15rem;
  }
  .plan-featured { transform: translateY(-10px); padding-top: 2rem; padding-bottom: 1.8rem; }
}

/* FAQ */
.faq { background: var(--paper); }
.faq-list { display: grid; gap: 0.65rem; }
.faq-list details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.15rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  padding: 1.05rem 1.7rem 1.05rem 0;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  color: var(--ink-soft);
  padding: 0 1.5rem 1.2rem 0;
  margin-top: -0.2rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 50%),
    var(--night);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact .section-lede { color: rgba(255, 255, 255, 0.75); }
.contact-wrap {
  display: grid;
  gap: 2.2rem;
}
.contact-mascots {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.contact-mascots img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-form {
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 24px;
  padding: 1.4rem 1.25rem 1.5rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 0.35rem; }
.form-row label {
  font-size: 0.82rem;
  font-weight: 650;
  font-family: "Sora", sans-serif;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.85rem;
  min-height: 2.85rem;
  outline: none;
}
.form-row textarea { min-height: 7rem; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form .btn { width: 100%; margin-top: 0.25rem; }
.form-note {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.form-note.is-visible { display: block; }

@media (min-width: 860px) {
  .contact-wrap {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
  .contact-intro { padding-top: 0.6rem; }
  .contact-form { padding: 1.8rem 1.7rem 1.85rem; }
  .contact-mascots img { width: 88px; height: 88px; }
}

/* Footer */
.site-footer {
  background: #05070d;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.75rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p { margin-top: 0.9rem; max-width: 28rem; font-size: 0.95rem; }
.footer-brand a, .footer-nav a, .footer-legal a {
  color: #fff;
  text-decoration: none;
}
.footer-brand a:hover, .footer-nav a:hover, .footer-legal a:hover { color: var(--accent-2); }
.footer-logo { height: 80px; max-width: 400px; }

.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.contact-intro .social-links { margin-top: 1.25rem; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.footer-brand a.social-btn { color: #fff; }
.social-btn:hover,
.social-btn:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.nowrap { white-space: nowrap; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  align-content: start;
}
.footer-nav a { font-weight: 600; font-size: 0.92rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.15rem;
  font-size: 0.85rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr auto; align-items: start; }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1.6rem;
    justify-content: end;
    text-align: left;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
