/* EzStudy.ai landing page. Brand colours and type come from ezstudy-brand-kit/README.txt */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #16213E;
  --navy-950: #0E162B;
  --navy-800: #1E2B4F;
  --teal: #0B8A8A;
  --teal-700: #08706F;
  --teal-300: #4FD1C5;
  --teal-50: #E6F5F3;
  --amber: #96580F;
  --amber-50: #FDF1DE;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --ink: #16213E;
  --ink-2: #46516E;
  --ink-3: #5B6683;
  --line: #E3E8F0;
  --on-dark-2: #C9D3E6;
  --on-dark-3: #A3B0CA;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(22 33 62 / .06);
  --shadow: 0 1px 2px rgb(22 33 62 / .05), 0 12px 32px -10px rgb(22 33 62 / .16);
  --shadow-lg: 0 2px 6px rgb(9 14 30 / .12), 0 32px 64px -24px rgb(9 14 30 / .6);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-weight: 600; }
p, blockquote { text-wrap: pretty; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon svg, .plan-icon svg, .btn svg, .menu-toggle svg, .success-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--teal-300);
  color: var(--navy);
  box-shadow: 0 10px 28px -10px rgb(79 209 197 / .7);
}
.btn-primary:hover { background: #73DED4; }

.btn-ghost {
  color: #fff;
  border-color: rgb(255 255 255 / .24);
  background: rgb(255 255 255 / .04);
}
.btn-ghost:hover { border-color: rgb(255 255 255 / .5); background: rgb(255 255 255 / .08); }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }
.btn-dark:disabled { opacity: .7; cursor: progress; transform: none; }

.btn-sm { padding: .7rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgb(22 33 62 / .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .07);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a:not(.btn) {
  color: var(--on-dark-2);
  font-size: .975rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav-links-cta { display: none; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: 12px;
  background: rgb(255 255 255 / .04);
  color: #fff;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; stroke-width: 2; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1000px) {
  .menu-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--header-h) - 6px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid rgb(255 255 255 / .08);
    border-radius: var(--radius);
    background: var(--navy-800);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 12px 14px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: rgb(255 255 255 / .06); }
  .nav-links-cta { display: block; padding: 8px 4px 4px; }
  .nav-links-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
  .brand img { height: 26px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 9vh, 104px)) 0 clamp(72px, 11vh, 120px);
  background: var(--navy);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52rem 34rem at 82% 22%, rgb(79 209 197 / .17), transparent 62%),
    radial-gradient(44rem 32rem at -4% 104%, rgb(11 138 138 / .32), transparent 66%),
    linear-gradient(180deg, #16213E 0%, #111A33 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / .075) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 55% 40%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 70% at 55% 40%, #000 25%, transparent 80%);
}

.hero-spiral {
  position: absolute;
  z-index: -1;
  width: min(760px, 62vw);
  right: max(-180px, -12vw);
  top: 50%;
  transform: translateY(-46%);
  pointer-events: none;
}
.hero-spiral path {
  fill: none;
  stroke: rgb(79 209 197 / .16);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.8s .2s var(--ease) forwards;
}
.hero-spiral circle {
  fill: rgb(79 209 197 / .3);
  transform-box: fill-box;
  transform-origin: center;
  animation: pop .7s 2.4s var(--ease) backwards;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .95rem .45rem .75rem;
  border: 1px solid rgb(79 209 197 / .3);
  border-radius: 999px;
  background: rgb(79 209 197 / .1);
  color: var(--teal-300);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.3;
}
.pulse {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-300);
  animation: pulse 2.2s infinite;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.9rem, 6.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero h1 .accent {
  background: linear-gradient(92deg, #4FD1C5 0%, #9BEBE2 55%, #4FD1C5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.lead {
  max-width: 35rem;
  margin-top: 1.5rem;
  color: var(--on-dark-2);
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.25rem; }

.hero-note {
  max-width: 30rem;
  margin-top: 1.75rem;
  color: var(--on-dark-3);
  font-size: .95rem;
}

/* App preview */

.hero-visual { position: relative; height: 580px; }

.mock {
  position: absolute;
  z-index: 1;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.mock-plan {
  top: 0;
  right: 0;
  width: 340px;
  padding: 20px 20px 16px;
  animation: rise .9s .35s var(--ease) both, float 7s 1.3s ease-in-out infinite;
}
.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-kicker { color: var(--ink-3); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.mock-title { margin-top: 2px; font-size: 1.05rem; font-weight: 600; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-teal { background: var(--teal-50); color: var(--teal-700); }
.tag-amber { background: var(--amber-50); color: var(--amber); }
.tag-navy { background: #EBEEF5; color: var(--navy); }

.plan-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.plan-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.plan-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.is-review { background: var(--teal-50); color: var(--teal); }
.is-gap { background: var(--amber-50); color: var(--amber); }
.is-practice { background: #EBEEF5; color: var(--navy); }
.plan-type { color: var(--ink-3); font-size: .72rem; font-weight: 500; line-height: 1.3; }
.plan-name { font-size: .94rem; font-weight: 600; line-height: 1.3; }

.mock-chip {
  top: 150px;
  left: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 10px;
  border-radius: 18px;
  animation: rise .9s .55s var(--ease) both, float 6s 1.5s ease-in-out infinite;
}
.ring { position: relative; flex: none; width: 46px; height: 46px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring-bg { stroke: #EDF1F6; }
.ring-fg {
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-dasharray: 58 100;
  animation: ring 1.4s 1s var(--ease) both;
}
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .74rem; font-weight: 700; }
.chip-k { color: var(--ink-3); font-size: .72rem; font-weight: 500; line-height: 1.3; }
.chip-v { font-size: .92rem; font-weight: 600; line-height: 1.3; }

.mock-lecture {
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 360px;
  padding: 10px;
  animation: rise .9s .75s var(--ease) both, float 8s 1.7s ease-in-out infinite;
}
.mock-lecture .lecture-info { padding: 12px 8px 6px; }

/* lecture player, shared by the hero preview and the Professor section */
.lecture-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background:
    radial-gradient(18rem 10rem at 88% 0%, rgb(79 209 197 / .2), transparent 70%),
    linear-gradient(160deg, #1E2B4F 0%, #111A33 100%);
  color: #fff;
}
.board { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-axis { fill: none; stroke: rgb(255 255 255 / .32); stroke-width: 1.5; }
.b-path { fill: none; stroke: rgb(255 255 255 / .9); stroke-width: 2.2; stroke-dasharray: 5 6; stroke-linecap: round; }
.b-curve { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.b-guide { stroke: rgb(79 209 197 / .65); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.b-arc { fill: none; stroke: rgb(255 255 255 / .55); stroke-width: 1.5; }
.b-arrow, .b-tangent { stroke: var(--teal-300); stroke-width: 2.4; stroke-linecap: round; }
.b-dot { fill: #fff; }
.b-text { fill: rgb(255 255 255 / .82); font-family: var(--font); font-size: 12px; font-weight: 500; }
.b-math { font-family: "Cambria Math", Cambria, Georgia, serif; font-style: italic; font-size: 14px; }
.b-teal { fill: var(--teal-300); font-weight: 600; }

.lecture-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px 3px 3px;
  border-radius: 999px;
  background: rgb(255 255 255 / .12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
}
.lecture-badge svg { width: 20px; height: 20px; }
.lecture-style {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(79 209 197 / .16);
  color: var(--teal-300);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.3;
}
.lecture-caption {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: max-content;
  max-width: 88%;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgb(9 14 30 / .74);
  font-size: .72rem;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%);
}
.lecture-controls {
  position: absolute;
  right: 12px;
  bottom: 9px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255 255 255 / .85);
  font-size: .66rem;
  font-variant-numeric: tabular-nums;
}
.lecture-controls svg { flex: none; width: 12px; height: 12px; fill: currentColor; }
.lecture-controls .track { flex: 1; height: 4px; overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / .22); }
.lecture-controls .track i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--teal-300); }
.lecture-title { margin-top: 2px; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.lecture-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #E7F6EE;
  color: #116A3F;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.verified svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1200px) {
  .mock-chip { display: none; }
}

@media (max-width: 1100px) {
  .hero-visual { height: 600px; }
  .mock-lecture { width: 336px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual {
    display: grid;
    justify-items: center;
    gap: 14px;
    height: auto;
    margin-top: 8px;
  }
  .mock { position: relative; inset: auto; width: min(100%, 420px); }
  .mock-plan, .mock-lecture { width: min(100%, 420px); }
  .mock-chip { display: none; }
  .hero-spiral { width: 440px; top: 48px; right: -170px; transform: none; opacity: .7; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-white { background: var(--surface); }

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--teal-700);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--teal-300); }

.section h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal);
}
.icon svg { width: 24px; height: 24px; }

/* Problem */

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

.card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card h3, .step h3, .feature h3 { margin: 20px 0 8px; font-size: 1.25rem; letter-spacing: -0.01em; }
.card p, .step p, .feature p { color: var(--ink-2); font-size: 1rem; }

/* Taught your way: learning-styles demo */

.section-head-wide { max-width: 860px; }

.styles-demo {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.profile-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 26px;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(22rem 16rem at 100% 0%, rgb(79 209 197 / .2), transparent 70%);
}
.profile-kicker { color: var(--teal-300); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.profile-name { margin-top: 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.profile-bars { display: grid; gap: 16px; margin: 22px 0 0; padding: 0; list-style: none; }
.profile-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; font-size: .95rem; }
.profile-bars span { color: var(--on-dark-2); }
.profile-bars b { font-weight: 600; font-variant-numeric: tabular-nums; }
.profile-bars i { position: relative; grid-column: 1 / -1; height: 8px; overflow: hidden; border-radius: 99px; background: rgb(255 255 255 / .1); }
.profile-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-300));
  transition: width 1.2s var(--ease) .3s;
}
.js-reveal .styles-demo:not(.is-visible) .profile-bars i::after { width: 0; }
.profile-note { margin-top: auto; padding-top: 24px; color: var(--on-dark-3); font-size: .92rem; line-height: 1.55; }

.lesson-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.lesson-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 0; }
.lesson-kicker { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lesson-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #1FA971; animation: pulse-green 2s infinite; }
.lesson-title { margin-top: 4px; font-size: 1.35rem; }

.tabs {
  display: flex;
  gap: 4px;
  margin: 18px 26px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.tab {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--teal-700); box-shadow: 0 1px 3px rgb(22 33 62 / .14); }
.tab-badge { padding: 2px 7px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: .66rem; font-weight: 700; }

.panels { display: grid; flex: 1; }
.panel { grid-area: 1 / 1; min-width: 0; padding: 22px 26px 26px; }
.panel[hidden] { display: block; visibility: hidden; }
.panel:not([hidden]) { animation: rise .45s var(--ease) both; }
.panel-q { font-size: 1.1rem; font-weight: 500; }
.demo-hint { margin-top: 18px; color: var(--ink-3); font-size: .95rem; text-align: center; }

.m {
  font-family: "Cambria Math", Cambria, "STIX Two Math", Georgia, "Times New Roman", serif;
  font-style: italic;
  white-space: nowrap;
}
.m sup { font-size: .7em; line-height: 0; }
.frac { display: inline-flex; flex-direction: column; margin: 0 .12em; font-size: .78em; line-height: 1.15; text-align: center; vertical-align: middle; }
.frac > span + span { border-top: 1.5px solid currentColor; }

/* visual */
.viz { margin: 0; }
.viz-svg { width: 100%; height: auto; max-height: 270px; }
.viz-grid line { stroke: #EDF1F6; stroke-width: 1; }
.viz-axis { fill: none; stroke: #C3CCDA; stroke-width: 1.5; }
.viz-ticks text { fill: var(--ink-3); font-family: var(--font); font-size: 11px; }
.viz-curve { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.viz-tangent { stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.viz-secant { stroke: #C2620E; stroke-width: 2; stroke-dasharray: 6 5; stroke-linecap: round; }
.viz-p { fill: var(--navy); stroke: #fff; stroke-width: 2; }
.viz-q { fill: #C2620E; stroke: #fff; stroke-width: 2; }
.viz-label { fill: var(--ink); font-family: var(--font); font-size: 14px; font-weight: 600; }
.viz-fn { font-family: "Cambria Math", Cambria, Georgia, serif; font-style: italic; font-size: 16px; }
.viz-readout { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; color: var(--ink-2); font-size: .92rem; }
.viz-readout p { display: flex; align-items: center; gap: 8px; }
.viz-readout b { min-width: 2.2em; color: var(--ink); font-variant-numeric: tabular-nums; }
.key { width: 18px; border-top: 2.5px solid var(--teal); }
.key-secant { border-top: 2px dashed #C2620E; }
.viz figcaption { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }

/* worked example */
.steps-mini { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.steps-mini li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.steps-mini .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .95rem; font-weight: 600; }
.steps-mini .n svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.steps-mini .t { color: var(--ink-3); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.steps-mini .big { margin-top: 2px; font-size: 1.25rem; }
.steps-mini .why { margin-top: 2px; color: var(--ink-2); font-size: .92rem; }
.steps-mini .is-answer { border-color: rgb(11 138 138 / .35); background: var(--teal-50); }
.steps-mini .is-answer .n { background: var(--teal); }
.panel:not([hidden]) .steps-mini li { animation: rise .5s var(--ease) both; }
.panel:not([hidden]) .steps-mini li:nth-child(2) { animation-delay: .3s; }
.panel:not([hidden]) .steps-mini li:nth-child(3) { animation-delay: .6s; }

/* analogy */
.analogy { display: grid; gap: 18px; }
.analogy-art { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.road { fill: none; stroke: #DCE3EC; stroke-width: 16; stroke-linecap: round; }
.road-line { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 8 8; }
.slope-line { stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.car-body { fill: var(--navy); }
.car-top { fill: var(--teal); }
.car-wheel { fill: #0E162B; stroke: #fff; stroke-width: 1.5; }
.analogy-text { font-size: 1.1rem; line-height: 1.6; }
.analogy-text strong { color: var(--teal-700); font-weight: 600; }

/* listen */
.listen { display: grid; gap: 20px; }
.player { display: flex; align-items: center; gap: 16px; }
.play {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgb(22 33 62 / .6);
  transition: transform .2s var(--ease), background-color .2s;
}
.play:hover { transform: scale(1.05); background: var(--navy-800); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play .i-pause, .is-playing .play .i-play { display: none; }
.is-playing .play .i-pause { display: block; }
.player-title { font-size: 1.05rem; font-weight: 600; }
.player-sub { color: var(--ink-3); font-size: .9rem; }
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave span { flex: 1; max-width: 6px; height: var(--h); border-radius: 99px; background: #D5DCE7; }
.is-playing .wave span { background: var(--teal); animation: wave .9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -90ms); }
.transcript { padding: 16px 18px; border-left: 3px solid var(--teal-300); border-radius: 0 14px 14px 0; background: var(--bg); color: var(--ink-2); line-height: 1.6; }

/* practice */
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.choice {
  padding: 16px 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.choice:hover { border-color: var(--teal); transform: translateY(-1px); }
.choice.is-correct { border-color: var(--teal); background: var(--teal-50); color: var(--teal-700); }
.choice.is-wrong { border-color: #E0A15A; background: var(--amber-50); color: var(--amber); }
.feedback { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg); color: var(--ink-2); font-size: .98rem; }
.feedback.is-correct { background: var(--teal-50); color: var(--teal-700); }
.feedback.is-wrong { background: var(--amber-50); color: var(--amber); }

@media (max-width: 960px) {
  .styles-demo { grid-template-columns: minmax(0, 1fr); }
  .profile-note { margin-top: 0; }
}

@media (max-width: 600px) {
  .lesson-head { padding: 20px 18px 0; }
  .tabs { flex-wrap: wrap; margin: 16px 18px 0; }
  .panel { padding: 20px 18px 22px; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapters li { grid-template-columns: 42px minmax(0, 1fr); row-gap: 6px; }
  .chapters .tag { grid-column: 2; justify-self: start; }
  .pro-card .lecture-badge { font-size: .72rem; }
  .pro-card .lecture-style { font-size: .7rem; }
  .pro-card .lecture-caption { bottom: 30px; font-size: .72rem; }
  .pro-card .lecture-controls { bottom: 9px; font-size: .66rem; }
}

/* Professor */

.professor-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.pro-points { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.pro-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 16px; }
.pro-points h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.pro-points p { color: var(--ink-2); font-size: 1rem; }

.pro-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 2px 4px rgb(22 33 62 / .05), 0 28px 56px -24px rgb(22 33 62 / .3);
}
.pro-card .lecture-badge { font-size: .8rem; }
.pro-card .lecture-style { font-size: .76rem; }
.pro-card .lecture-caption { bottom: 38px; font-size: .84rem; }
.pro-card .lecture-controls { bottom: 12px; font-size: .74rem; }
.pro-card .lecture-title { font-size: 1.2rem; }
.pro-body { padding: 18px 12px 8px; }
.pro-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.chapters-label { margin: 18px 0 10px; color: var(--ink-3); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.chapters { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chapters li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ch-time { color: var(--ink-3); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ch-name { font-size: .95rem; font-weight: 500; line-height: 1.35; }
.chapters .is-done .ch-name { color: var(--ink-3); }
.chapters .is-done .ch-name::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8A8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.chapters .is-now { border-color: rgb(11 138 138 / .4); background: var(--teal-50); }
.chapters .is-now .ch-time { color: var(--teal-700); font-weight: 600; }

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.step-num {
  position: absolute;
  top: 28px;
  right: 26px;
  color: var(--ink-3);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.step .icon { background: var(--navy); color: var(--teal-300); }

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
.feature { padding: 34px 32px; background: var(--surface); }

/* Dark band */

.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 28rem at 100% 0%, rgb(79 209 197 / .14), transparent 62%),
    radial-gradient(36rem 26rem at 0% 100%, rgb(11 138 138 / .24), transparent 66%);
}
.section-dark .section-lead { color: var(--on-dark-2); }
.section-dark .section-lead + .section-lead { margin-top: 14px; }

/* Human tutors */

.tutors-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.tutor-points { display: grid; gap: 22px; margin: 36px 0 0; padding: 0; list-style: none; }
.tutor-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 16px; }
.tutor-points h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.tutor-points p { color: var(--on-dark-2); font-size: 1rem; }
.icon-dark { background: rgb(79 209 197 / .12); color: var(--teal-300); }

.briefing {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.briefing-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.briefing-head > div { flex: 1; min-width: 0; }
.avatar-sm { width: 42px; height: 42px; font-size: 1rem; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #E7F6EE;
  color: #116A3F;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: #1FA971; animation: pulse-green 2s infinite; }
.briefing-grid { display: grid; gap: 16px; padding: 18px 0; }
.briefing-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.briefing-label svg { width: 14px; height: 14px; fill: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.briefing-text { font-size: .95rem; font-weight: 500; line-height: 1.5; }
.briefing-summary { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.briefing-summary p:last-child { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Exams */

.exam-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.exam {
  position: relative;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 20px 22px 20px 60px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
}
.exam::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8A8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.exam strong { font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.exam span { color: var(--ink-3); font-size: .92rem; }
.exam.is-soon { border-style: dashed; background: transparent; }
.exam.is-soon::before {
  background: #EBEEF5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l2.5 1.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* Founder */

.founder { max-width: 860px; margin: 0 auto; text-align: center; }
.quote-mark { width: 48px; height: 48px; margin: 4px auto 22px; fill: var(--teal-300); }
.founder blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.founder figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; text-align: left; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.founder strong { display: block; font-weight: 600; line-height: 1.3; }
.founder .role { color: var(--ink-3); font-size: .95rem; }

/* Early access */

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.checks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks li::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8A8A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.contact-line { margin-top: 30px; color: var(--ink-2); }
.contact-line a, .form-status a {
  color: var(--teal-700);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316213E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
}
.field input:focus, .field select:focus {
  border-color: var(--teal);
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgb(11 138 138 / .16);
}
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

.form-card .btn-block { margin-top: 6px; padding: 1.05rem 1.4rem; }
.form-status { min-height: 1.5em; margin-top: 12px; font-size: .95rem; }
.form-status.is-error { color: #B42318; }
.form-note { color: var(--ink-3); font-size: .85rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { padding: 28px 8px; text-align: center; outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
}
.success-icon svg { width: 30px; height: 30px; stroke-width: 2.4; }
.form-success h3 { margin: 18px 0 8px; font-size: 1.5rem; }
.form-success p { color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer { padding: 56px 0 28px; background: var(--navy-950); color: var(--on-dark-2); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px;
}
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 12px; color: var(--on-dark-3); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .08);
  color: var(--on-dark-3);
  font-size: .9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .grid-3, .tutors-grid, .professor-grid, .join-grid { grid-template-columns: minmax(0, 1fr); }
  .exam-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .steps, .features { grid-template-columns: minmax(0, 1fr); }
  .exam-list { grid-template-columns: minmax(0, 1fr); }
  .briefing { padding: 18px; }
  .feature { padding: 28px 24px; }
  .card { padding: 26px 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mock-plan { padding: 16px 14px 12px; }
  .plan-list li { gap: 10px; padding: 9px 10px; }
}

/* ---------- Motion ---------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes ring { from { stroke-dasharray: 0 100; } }
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgb(31 169 113 / .5); }
  70% { box-shadow: 0 0 0 7px rgb(31 169 113 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(31 169 113 / 0); }
}
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(79 209 197 / .55); }
  70% { box-shadow: 0 0 0 10px rgb(79 209 197 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(79 209 197 / 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- 404 ---------- */

.notfound { display: grid; align-items: center; min-height: 100vh; min-height: 100dvh; padding: 48px 0; text-align: center; }
.notfound .brand { display: inline-block; margin-bottom: 56px; }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }
