:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #eaf0fb;
  --ink: #24222f;
  --muted: #625d72;
  --line: #e4ddce;
  --brand: #2f5fa8;
  --brand-strong: #1f3f74;
  --accent: #2f5fa8;
  --accent-strong: #1f3f74;
  --focus: #215fda;
  --radius: 14px;
  --shadow-soft: 0 1px 2px rgba(36, 34, 47, 0.06), 0 10px 26px rgba(36, 34, 47, 0.07);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(130%) blur(10px);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #193d63 0%, #2b5f94 100%);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button-link:hover {
  transform: translateY(-1px);
}

.button-primary,
.nav-cta {
  color: #fff !important;
  background: linear-gradient(145deg, var(--accent) 0%, #3f8758 100%);
}

.button-primary:hover,
.nav-cta:hover {
  background: linear-gradient(145deg, var(--accent-strong) 0%, #356f49 100%);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
}

.hero {
  padding: clamp(3.2rem, 8vw, 6rem) 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 3.6vw, 3rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-strong);
  line-height: 1.2;
}

h1,
h2 {
  font-family: inherit;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5.1vw, 3.45rem);
  max-width: 16ch;
}

.hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.95vw, 1.14rem);
  max-width: 58ch;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-preview-note {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: #6e6455;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-offer {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: end;
}

.device-frame {
  border-radius: 32px;
  border: 1px solid #bcc8d7;
  padding: 0.9rem 0.9rem 1.05rem;
  background: linear-gradient(180deg, #f9fcff 0%, #eef5ff 100%);
  box-shadow: var(--shadow-soft);
  max-width: 360px;
}

.device-notch {
  width: 34%;
  margin: 0 auto 0.55rem;
  border-radius: 999px;
  height: 0.32rem;
  background: #2d3f56;
}

.device-screen {
  border: 1px solid #d2dae5;
  background: #ffffff;
  border-radius: 20px;
  padding: 0.85rem;
}

.student-device {
  justify-self: center;
}

.dashboard-panel {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.dashboard-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.48rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-soft) 62%, #fff);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.48rem;
}

.status-pill.on {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand-strong);
}

.dashboard-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dashboard-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  color: var(--muted);
  font-size: 0.91rem;
}

.dashboard-checklist li:last-child {
  border-bottom: 0;
}

.check {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.76rem;
}

.phone-header {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
}

.bubble {
  border-radius: 14px;
  padding: 0.72rem 0.86rem;
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bubble-in {
  background: color-mix(in srgb, var(--brand) 9%, #fff);
}

.bubble-out {
  margin-left: 1.8rem;
  background: color-mix(in srgb, var(--accent) 13%, #fff);
}

.example-tag {
  margin: 0.35rem 0 0;
  color: #6d6250;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule-list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  padding: 0.47rem 0;
  font-size: 0.93rem;
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list span {
  color: var(--brand);
  font-weight: 700;
  min-width: 3.15rem;
}

.section {
  padding: clamp(2.6rem, 6vw, 4.25rem) 0;
}

.section.alt {
  background: color-mix(in srgb, var(--surface-soft) 72%, #ffffff 28%);
  border-block: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.section-heading {
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

.section-heading p {
  margin: 0.85rem 0 0;
  max-width: 70ch;
  color: var(--muted);
}

.experience-grid,
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.experience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.benefit-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(9, 23, 40, 0.04);
}

.feature-card h3,
.benefit-panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--brand) 8%, #fff);
  margin-bottom: 0.55rem;
}

.feature-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-panel ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.benefit-panel li {
  margin-bottom: 0.56rem;
  color: var(--muted);
}

.story {
  background: transparent;
  border-block: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: center;
}

.story-copy h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
}

.story-copy p {
  color: var(--muted);
  margin: 0.85rem 0 0;
}

.story-photo-wrap {
  margin: 0;
}

.story-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  aspect-ratio: 16/11;
}

.story-visual {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.story-label {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  color: #6f6553;
}

.story-timeline {
  display: grid;
  gap: 0.54rem;
}

.story-timeline div {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 83%, transparent);
  background: color-mix(in srgb, var(--brand) 6%, #fff);
  padding: 0.66rem 0.72rem;
  color: var(--muted);
  font-size: 0.91rem;
}

.story-timeline span {
  display: inline-block;
  min-width: 4.2rem;
  color: var(--brand);
  font-weight: 700;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  counter-reset: onboarding;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
  counter-increment: onboarding;
  box-shadow: var(--shadow-soft);
}

.steps li::before {
  content: "Step " counter(onboarding);
  display: inline-flex;
  margin-bottom: 0.62rem;
  padding: 0.25rem 0.62rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.steps h3 {
  font-size: 1.08rem;
}

.steps p {
  margin: 0.58rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.video-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #fffefb 0%, #f8f2e6 100%);
  box-shadow: var(--shadow-soft);
}

.video-label-row {
  margin-bottom: 0.62rem;
}

.demo-video {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: #111;
  aspect-ratio: 16 / 9;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.8rem 1rem;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  display: inline-grid;
  place-items: center;
  color: var(--brand);
  font-size: 1rem;
  flex: 0 0 auto;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.faq-list a {
  color: var(--brand);
  font-weight: 600;
}

.closing-cta {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}

.closing-inner {
  border-radius: 24px;
  border: 1px solid #203854;
  padding: clamp(1.6rem, 4vw, 2.55rem);
  background: linear-gradient(155deg, #122b46 0%, #194166 65%, #1f507d 100%);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.closing-inner h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.32rem);
}

.closing-inner p {
  margin: 0.8rem auto 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.87);
}

.closing-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.closing-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
}

.closing-actions .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  padding: 1rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: #6e6250;
  font-size: 0.92rem;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--brand);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards;
}

.hero-visual.fade-in-up {
  animation-delay: 0.08s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a:focus-visible,
summary:focus-visible,
.button-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .hero-showcase,
  .experience-grid,
  .story-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.85rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .hero-showcase,
  .experience-grid,
  .benefits-grid,
  .story-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .student-device {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .button-link {
    width: 100%;
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button-link {
    transition: none;
  }

  .button-link:hover {
    transform: none;
  }

  .fade-in-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
