/* ============================================================
   Resonance — student site
   Warm & friendly, built around the Resonance orange
   ============================================================ */

:root {
  --orange: #F0A63C;
  --orange-deep: #D98E1F;
  --orange-soft: #FCEBD2;
  --ink: #211D16;
  --ink-soft: #55503F;
  --cream: #FAF5EC;
  --cream-deep: #F3EADA;
  --white: #FFFDF8;
  --charcoal: #141414;
  --charcoal-2: #1E1D1B;
  --ring: rgba(240, 166, 60, 0.35);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(33, 29, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(33, 29, 22, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.5em; }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

.lead { font-size: 1.22rem; color: var(--ink-soft); }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 72px 0; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 29, 22, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.nav-brand:hover { text-decoration: none; }

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }

.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.97rem;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--cream-deep); color: var(--ink); text-decoration: none; }
.nav-links a.active { background: var(--ink); color: var(--white); }
.nav-links a.active:hover { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid rgba(33,29,22,0.08);
    padding: 12px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 12px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- hero (landing) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,20,20,0.15) 0%, rgba(20,20,20,0.55) 75%),
              linear-gradient(to bottom, rgba(20,20,20,0.25), rgba(20,20,20,0.05) 40%, rgba(20,20,20,0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
  max-width: 880px;
}

.hero-logo {
  display: block;
  width: clamp(110px, 14vw, 150px);
  height: clamp(110px, 14vw, 150px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 3px rgba(240, 166, 60, 0.55),
              0 0 0 14px rgba(240, 166, 60, 0.12),
              0 0 0 30px rgba(240, 166, 60, 0.05),
              0 18px 50px rgba(0, 0, 0, 0.55);
}

.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin-bottom: 26px;
}

.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.45); }
.hero h1 em { font-style: italic; color: var(--orange); }

.hero p {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: 1.22rem;
  color: rgba(255, 253, 248, 0.9);
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(20,20,20,0.35);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,253,248,0.95);
  margin-bottom: 30px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

a.hero-badge {
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
a.hero-badge:hover {
  text-decoration: none;
  background: rgba(240, 166, 60, 0.25);
  border-color: var(--orange);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-alt {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 20, 20, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.98rem;
  color: rgba(255, 253, 248, 0.85);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-alt a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 0.32em;
}
.hero-alt a:hover { color: #F5B355; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  cursor: pointer;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--charcoal);
  box-shadow: 0 8px 24px rgba(240, 166, 60, 0.35);
}
.btn-primary:hover { background: #F5B355; box-shadow: 0 12px 30px rgba(240, 166, 60, 0.45); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #383226; }

/* ---------- cards & grids ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(33,29,22,0.05);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- steps (how it works) ---------- */

.steps { counter-reset: step; display: grid; gap: 22px; }

.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 26px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(33,29,22,0.05);
  align-items: start;
}

.step-num {
  counter-increment: step;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-soft);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--orange-deep);
}
.step-num::before { content: counter(step); }

.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); }
.step .fine { font-size: 0.92rem; color: #8A8271; margin-top: 10px; }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; }
}

/* ---------- dark band ---------- */

.band-dark {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 28px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}

.band-dark h2 { color: #fff; }
.band-dark p { color: rgba(255,253,248,0.78); }

.band-dark::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 2px solid var(--ring);
  box-shadow: 0 0 0 46px rgba(240,166,60,0.10), 0 0 0 100px rgba(240,166,60,0.05);
  pointer-events: none;
}

@media (max-width: 640px) { .band-dark { padding: 48px 28px; } }

/* ---------- stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}
.stat .label { margin-top: 10px; color: rgba(255,253,248,0.75); font-size: 1rem; }

/* ---------- quote ---------- */

.quote {
  border-left: 4px solid var(--orange);
  padding: 8px 0 8px 28px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.quote-attr {
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- FAQ accordion ---------- */

.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; }

details.faq {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(33,29,22,0.07);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  user-select: none;
}
details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.25s;
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}
details.faq .faq-body p + p { margin-top: 10px; }
details.faq .faq-body ol, details.faq .faq-body ul { margin: 10px 0 0 22px; }
details.faq .faq-body li { margin-bottom: 6px; }

/* ---------- video feature ---------- */

.video-feature {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}
.video-feature video { width: 100%; }

.video-round {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}
.video-round video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- founder ---------- */

.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

.founder-photo {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(33, 29, 22, 0.08);
}

/* ---------- checklist ---------- */

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(33,29,22,0.05);
}
.checklist .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- callout ---------- */

.callout {
  background: var(--orange-soft);
  border: 1.5px solid rgba(217, 142, 31, 0.35);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.callout .emoji { font-size: 1.6rem; line-height: 1.2; }
.callout p { color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- footer ---------- */

footer {
  background: var(--charcoal);
  color: rgba(255,253,248,0.7);
  padding: 64px 0 40px;
  margin-top: 96px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(240,166,60,0.25);
  box-shadow: 0 0 0 40px rgba(240,166,60,0.07), 0 0 0 88px rgba(240,166,60,0.04);
  pointer-events: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }

.footer-tag { margin-top: 12px; max-width: 320px; font-size: 0.95rem; }

.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,253,248,0.75); font-size: 0.98rem; }
.footer-links a:hover { color: var(--orange); text-decoration: none; }
.footer-links .head {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,253,248,0.12);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: 88px 0 56px;
  text-align: center;
}
.page-hero p { max-width: 640px; margin: 18px auto 0; }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */

.center { text-align: center; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 56px; }
.mb-2 { margin-bottom: 32px; }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(217,142,31,0.4);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}
