:root {
  color-scheme: light;
  --ink: #14201b;
  --ink-soft: #2b3a34;
  --muted: #66726c;
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --wash: #f4f1e8;
  --line: #e5dfd2;
  --line-dark: rgba(20, 32, 27, 0.16);
  --mint: #1b8b5f;
  --mint-dark: #106a47;
  --mint-soft: #dcf3e8;
  --sky: #2368a2;
  --sky-dark: #174f7f;
  --sky-soft: #dbecfb;
  --coral: #c04d2c;
  --coral-dark: #98391e;
  --coral-soft: #fce3d9;
  --gold: #9c7410;
  --gold-soft: #fbedc3;
  --display: "Bricolage Grotesque", "IBM Plex Sans TC", ui-sans-serif, system-ui, sans-serif;
  --body: "IBM Plex Sans TC", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", ui-sans-serif, system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 32, 27, 0.05), 0 8px 22px rgba(20, 32, 27, 0.06);
  --shadow-md: 0 12px 34px rgba(20, 32, 27, 0.1), 0 2px 5px rgba(20, 32, 27, 0.05);
  --shadow-lg: 0 34px 80px rgba(20, 32, 27, 0.16), 0 4px 12px rgba(20, 32, 27, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 7%, rgba(27, 139, 95, 0.09), transparent 26%),
    radial-gradient(circle at 92% 20%, rgba(35, 104, 162, 0.08), transparent 27%),
    linear-gradient(var(--paper), var(--paper));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(20, 32, 27, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 27, 0.018) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  color: var(--ink);
  background: var(--gold-soft);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--mint), var(--sky), var(--gold), var(--coral));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 246, 0.84);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: rgba(20, 32, 27, 0.08);
  box-shadow: 0 5px 20px rgba(20, 32, 27, 0.05);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand b {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-dots {
  display: inline-grid;
  grid-template-columns: repeat(3, 10px);
  gap: 5px;
}

.brand-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.brand-dots i:nth-child(2) {
  background: var(--sky);
}

.brand-dots i:nth-child(3) {
  background: var(--coral);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.primary-nav > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--ink);
  background: rgba(20, 32, 27, 0.05);
}

.primary-nav .button {
  margin-left: 7px;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 19px;
  transition: transform 0.2s ease;
}

.button:hover span {
  transform: translateX(3px);
}

.button-primary {
  color: white;
  background: var(--mint);
  box-shadow: 0 8px 20px rgba(27, 139, 95, 0.2);
}

.button-primary:hover {
  background: var(--mint-dark);
  box-shadow: 0 12px 28px rgba(27, 139, 95, 0.27);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper-strong);
  border-color: var(--line-dark);
}

.button-secondary:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button-light {
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.button-light:hover {
  background: var(--gold-soft);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: 14px;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  padding: 86px 0 92px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -74px;
  z-index: -1;
  width: 58%;
  height: 180px;
  background: var(--wash);
  border-radius: 50% 0 0 0;
  transform: rotate(-4deg);
}

.hero-shape {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.hero-shape-one {
  width: 390px;
  height: 390px;
  top: -160px;
  left: -180px;
  background: rgba(27, 139, 95, 0.09);
}

.hero-shape-two {
  width: 280px;
  height: 280px;
  top: 20px;
  right: -120px;
  background: rgba(35, 104, 162, 0.09);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(570px, 1.12fr);
  gap: 62px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  padding: 7px 12px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border: 1px solid rgba(27, 139, 95, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(27, 139, 95, 0.1);
}

.hero h1 {
  max-width: 630px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.7vw, 78px);
  letter-spacing: -0.065em;
}

.hero h1 .hero-line {
  display: block;
}

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

.hero h1 .hero-accent {
  position: relative;
  color: var(--mint-dark);
  isolation: isolate;
}

.hero h1 .hero-final {
  width: fit-content;
}

.hero h1 .hero-final::after {
  content: "";
  position: absolute;
  left: 1%;
  right: -1%;
  bottom: 0.08em;
  z-index: -1;
  height: 0.18em;
  background: var(--gold-soft);
  border-radius: 100%;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pilot-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.pilot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  color: var(--coral-dark);
  background: var(--coral-soft);
  border-radius: 999px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-assurances li {
  position: relative;
  padding-left: 17px;
}

.hero-assurances li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.product-window {
  position: relative;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid rgba(20, 32, 27, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.25deg);
}

.product-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.5);
  border-radius: inherit;
}

.window-bar {
  min-height: 50px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--muted);
  background: #f7f5ef;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  background: #cfd4cf;
  border-radius: 50%;
}

.window-dots i:first-child {
  background: var(--coral);
}

.window-dots i:nth-child(2) {
  background: var(--gold);
}

.window-dots i:nth-child(3) {
  background: var(--mint);
}

.window-class {
  padding: 4px 8px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 6px;
}

.window-body {
  display: grid;
  grid-template-columns: 1.02fr 0.88fr 1.1fr;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(rgba(20, 32, 27, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 27, 0.018) 1px, transparent 1px),
    #fcfbf8;
  background-size: 18px 18px;
}

.capture-column,
.review-column,
.result-column {
  min-width: 0;
}

.mini-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-label span {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 8px;
}

.grade-sheet,
.review-card,
.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.grade-sheet {
  position: relative;
  overflow: hidden;
  padding: 8px;
  transform: rotate(-1.5deg);
}

.sheet-head,
.sheet-row {
  display: grid;
  grid-template-columns: 40px 1fr 55px;
  min-height: 32px;
  align-items: center;
  padding: 0 6px;
  border-bottom: 1px solid #ece8df;
  font-size: 9px;
}

.sheet-head {
  min-height: 25px;
  color: var(--muted);
  background: var(--wash);
  border-radius: 5px 5px 0 0;
  font-weight: 700;
}

.sheet-row b {
  width: 31px;
  height: 24px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 5px;
  font-family: var(--display);
  font-size: 12px;
}

.sheet-row:last-of-type {
  border-bottom: 0;
}

.sheet-row.sheet-flag {
  background: #fff8f5;
}

.sheet-row.sheet-flag b {
  color: var(--coral-dark);
  background: var(--coral-soft);
  border: 1px dashed var(--coral);
}

.scan-line {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 34%;
  height: 2px;
  opacity: 0.7;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  box-shadow: 0 0 10px rgba(35, 104, 162, 0.35);
  animation: scan-line 3.4s ease-in-out infinite;
}

@keyframes scan-line {
  0%,
  100% {
    transform: translateY(-16px);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 0.7;
  }
  50% {
    transform: translateY(75px);
  }
}

.capture-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.capture-status i {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--mint-soft);
}

.review-card {
  padding: 10px;
  border-color: rgba(192, 77, 44, 0.25);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.review-alert {
  padding: 3px 6px;
  color: var(--coral-dark);
  background: var(--coral-soft);
  border-radius: 5px;
}

.review-student {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 0 8px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.review-student > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.review-student b {
  font-size: 10px;
}

.review-student small {
  color: var(--muted);
  font-size: 7px;
}

.review-value {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  color: var(--muted);
}

.source-crop,
.review-value strong {
  min-height: 41px;
  display: grid;
  place-items: center;
  color: var(--coral-dark);
  background: #fff7f3;
  border: 1px dashed rgba(192, 77, 44, 0.4);
  border-radius: 8px;
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.12em;
}

.source-crop span {
  transform: rotate(-9deg) translateY(1px);
}

.review-value strong {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  font-style: normal;
  letter-spacing: 0;
}

.review-buttons {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 5px;
}

.review-buttons span,
.review-buttons b {
  min-height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 8px;
  font-weight: 700;
}

.review-buttons b {
  color: white;
  background: var(--mint);
  border-color: var(--mint);
}

.result-card {
  padding: 10px;
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.result-head > span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.result-head small {
  color: var(--muted);
  font-size: 7px;
}

.result-head b {
  font-family: var(--display);
  font-size: 24px;
}

.result-head em {
  padding: 3px 5px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 5px;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.student-line {
  min-height: 38px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #f0ede7;
  font-size: 8px;
}

.student-line > b {
  padding: 3px 5px;
  color: var(--muted);
  background: var(--wash);
  border-radius: 5px;
  font-size: 7px;
}

.student-line.improved > b {
  color: var(--mint-dark);
  background: var(--mint-soft);
}

.student-line.stuck {
  background: #fff9f6;
}

.student-line.stuck > b {
  color: var(--coral-dark);
  background: var(--coral-soft);
}

.spark {
  height: 18px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.spark i {
  width: 4px;
  height: 5px;
  background: var(--mint);
  border-radius: 2px 2px 0 0;
}

.spark i:nth-child(2) {
  height: 8px;
}

.spark i:nth-child(3) {
  height: 11px;
}

.spark i:nth-child(4) {
  height: 15px;
}

.spark.flat i {
  height: 9px;
  background: var(--gold);
}

.spark.flat i:nth-child(2),
.spark.flat i:nth-child(4) {
  height: 8px;
}

.spark.down {
  align-items: flex-start;
}

.spark.down i {
  height: 15px;
  background: var(--coral);
}

.spark.down i:nth-child(2) {
  height: 11px;
}

.spark.down i:nth-child(3) {
  height: 8px;
}

.spark.down i:nth-child(4) {
  height: 5px;
}

.result-action {
  margin-top: 8px;
  padding: 7px 8px;
  color: white;
  background: var(--sky);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.result-action span {
  margin-left: 4px;
}

.window-trust {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--coral-dark);
  background: #fff7f3;
  border-top: 1px solid rgba(192, 77, 44, 0.14);
  font-size: 10px;
  font-weight: 700;
}

.shield-mark {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--coral);
  border-radius: 50%;
  font-size: 10px;
}

.desk-note {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid rgba(156, 116, 16, 0.2);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.note-one {
  left: -20px;
  bottom: 30px;
  transform: rotate(-7deg);
}

.note-two {
  top: -18px;
  right: 26px;
  background: var(--coral-soft);
  border-color: rgba(192, 77, 44, 0.2);
  transform: rotate(4deg);
}

.receipt-section {
  background: var(--ink);
}

.receipt {
  min-height: 176px;
  display: grid;
  grid-template-columns: 46px 1.15fr 1fr;
  align-items: center;
  gap: 26px;
  padding-block: 28px;
  color: white;
}

.quote-mark {
  align-self: start;
  margin-top: 10px;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 0.9;
}

.receipt blockquote {
  margin-bottom: 0;
}

.receipt blockquote p {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.receipt blockquote footer {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 600;
}

.receipt-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.receipt-promises > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
}

.receipt-promises b {
  color: var(--gold-soft);
  font-size: 13px;
}

.receipt-promises small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading .kicker,
.kicker {
  margin-bottom: 12px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker.light {
  color: var(--gold-soft);
}

.section-heading h2,
.loop-copy h2,
.trust-copy h2,
.faq-intro h2,
.final-card h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 56px);
}

.section-heading > p:last-child {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.centered > p:last-child {
  margin-inline: auto;
}

.how-section {
  background: var(--wash);
}

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

.step-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 150px;
  height: 150px;
  background: var(--mint-soft);
  border-radius: 50%;
  opacity: 0.5;
}

.step-card:nth-child(2)::after {
  background: var(--coral-soft);
}

.step-card:nth-child(3)::after {
  background: var(--sky-soft);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 1;
  color: rgba(20, 32, 27, 0.16);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
}

.step-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  background: var(--mint-soft);
  border-radius: 27px;
  transform: rotate(-3deg);
}

.capture-icon {
  position: relative;
}

.capture-icon span {
  width: 61px;
  height: 76px;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px),
    white;
  background-size: 100% 15px, 20px 100%;
  border: 2px solid var(--ink-soft);
  border-radius: 5px;
  box-shadow: 6px 7px 0 rgba(20, 32, 27, 0.1);
}

.capture-icon i {
  position: absolute;
  width: 46px;
  height: 3px;
  background: var(--sky);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(35, 104, 162, 0.4);
  animation: icon-scan 2.6s ease-in-out infinite;
}

@keyframes icon-scan {
  0%,
  100% {
    transform: translateY(-21px);
  }
  50% {
    transform: translateY(24px);
  }
}

.review-icon {
  position: relative;
  background: var(--coral-soft);
}

.review-icon b {
  width: 64px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: white;
  border: 2px dashed var(--coral);
  border-radius: 12px;
  font-family: var(--display);
  font-size: 28px;
}

.review-icon i {
  position: absolute;
  top: 14px;
  right: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--coral);
  border: 3px solid var(--coral-soft);
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
}

.insight-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  background: var(--sky-soft);
}

.insight-icon i {
  width: 10px;
  flex: 0 0 10px;
  height: 26px;
  background: var(--sky);
  border-radius: 5px 5px 2px 2px;
}

.insight-icon i:nth-child(2) {
  height: 40px;
}

.insight-icon i:nth-child(3) {
  height: 32px;
}

.insight-icon i:nth-child(4) {
  height: 57px;
  background: var(--mint);
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.step-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.step-chip {
  width: fit-content;
  margin-top: auto;
  padding: 6px 10px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.step-chip.coral {
  color: var(--coral-dark);
  background: var(--coral-soft);
}

.step-chip.sky {
  color: var(--sky-dark);
  background: var(--sky-soft);
}

.portal-section {
  background: var(--paper);
}

.portal-tabs {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.tab-list button {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab-list button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.tab-list button[aria-selected="true"] {
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-sm);
}

.tab-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
}

.tab-symbol img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: scale(1.12) translateY(1px);
}

.teacher-symbol {
  color: var(--mint-dark);
  background: var(--mint-soft);
}

.student-symbol {
  color: var(--sky-dark);
  background: var(--sky-soft);
}

.guardian-symbol {
  color: #795600;
  background: var(--gold-soft);
}

.tab-list button > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.tab-list b {
  font-size: 15px;
}

.tab-list small {
  color: var(--muted);
  font-size: 10px;
}

.portal-panel {
  min-height: 550px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 62px;
  align-items: center;
  padding: 60px;
}

.portal-panel[hidden] {
  display: none;
}

.portal-label {
  margin-bottom: 10px;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-panel .portal-label {
  color: var(--sky-dark);
}

.guardian-panel .portal-label {
  color: #795600;
}

.portal-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.2vw, 44px);
}

.portal-copy > p:not(.portal-label) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
}

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

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--ink-soft);
  font-size: 14px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.student-panel .check-list li::before {
  color: var(--sky-dark);
  background: var(--sky-soft);
}

.guardian-panel .check-list li::before {
  color: #795600;
  background: var(--gold-soft);
}

.portal-demo {
  min-width: 0;
  padding: 22px;
  background: #fdfcf8;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.teacher-demo {
  transform: rotate(1deg);
}

.demo-top,
.student-welcome,
.guardian-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.demo-top > span:first-child,
.student-welcome > span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.demo-top b,
.student-welcome b {
  font-size: 16px;
}

.demo-top small,
.student-welcome small {
  color: var(--muted);
  font-size: 10px;
}

.demo-date,
.streak,
.time-pill {
  padding: 6px 9px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
}

.teacher-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 14px 0;
}

.teacher-stats > span {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 10px;
  background: var(--mint-soft);
  border-radius: 11px;
}

.teacher-stats > span:nth-child(2) {
  background: var(--gold-soft);
}

.teacher-stats > span.needs-help {
  background: var(--coral-soft);
}

.teacher-stats small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 8px;
}

.teacher-stats b {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
}

.teacher-stats em {
  align-self: end;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.weak-topic {
  display: grid;
  grid-template-columns: 115px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.weak-topic > div:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.weak-topic span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 700;
}

.weak-topic b {
  font-size: 11px;
}

.weak-topic strong {
  color: var(--coral);
  font-size: 11px;
}

.topic-bar {
  height: 7px;
  overflow: hidden;
  background: var(--wash);
  border-radius: 999px;
}

.topic-bar i {
  width: 62%;
  height: 100%;
  display: block;
  background: var(--coral);
  border-radius: inherit;
}

.teacher-roster {
  display: grid;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.teacher-roster > span {
  min-height: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.teacher-roster > span:last-child {
  border-bottom: 0;
}

.teacher-roster b {
  color: var(--muted);
  font-size: 8px;
}

.status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status.green {
  background: var(--mint);
}

.status.gold {
  background: var(--gold);
}

.status.coral {
  background: var(--coral);
}

.demo-button {
  width: 100%;
  min-height: 38px;
  color: white;
  background: var(--mint);
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
}

.student-demo {
  max-width: 450px;
  margin-inline: auto;
  background: var(--sky-soft);
  border-color: rgba(35, 104, 162, 0.18);
  transform: rotate(-1deg);
}

.student-welcome {
  border-color: rgba(35, 104, 162, 0.15);
}

.streak {
  color: #795600;
  background: var(--gold-soft);
}

.assignment-card {
  margin: 16px 0 12px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(35, 104, 162, 0.16);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.assignment-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.assignment-meta b {
  color: var(--sky-dark);
}

.assignment-card h4 {
  margin: 14px 0 4px;
  font-size: 24px;
}

.assignment-card > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
}

.practice-progress {
  height: 7px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--wash);
  border-radius: 999px;
}

.practice-progress i {
  width: 40%;
  height: 100%;
  display: block;
  background: var(--sky);
  border-radius: inherit;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}

.answer-options span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.answer-options span.picked {
  color: white;
  background: var(--sky);
  border-color: var(--sky);
}

.reward-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gold-soft);
  border-radius: 10px;
}

.stamp-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold);
  background: #fff8df;
  border: 2px dashed var(--gold);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.reward-line > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.reward-line b {
  font-size: 10px;
}

.reward-line small {
  color: var(--muted);
  font-size: 8px;
}

.input-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.input-modes > span {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  color: var(--sky-dark);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(35, 104, 162, 0.12);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 700;
}

.input-modes span.active {
  color: white;
  background: var(--sky);
}

.input-modes small {
  color: var(--coral-dark);
  font-size: 6px;
}

.guardian-demo {
  max-width: 470px;
  margin-inline: auto;
  background: #fffaf0;
  border-color: rgba(156, 116, 16, 0.2);
  transform: rotate(0.8deg);
}

.guardian-head {
  justify-content: flex-start;
  border-color: rgba(156, 116, 16, 0.16);
}

.gold-avatar {
  color: #795600;
  background: var(--gold-soft);
}

.guardian-head > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.35;
}

.guardian-head b {
  font-size: 15px;
}

.guardian-head small {
  color: var(--muted);
  font-size: 9px;
}

.time-pill {
  color: #795600;
  background: var(--gold-soft);
}

.guardian-message {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  margin-top: 14px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.guardian-message > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--mint);
  border-radius: 50%;
  font-weight: 800;
}

.guardian-message.watch > span {
  background: var(--gold);
}

.guardian-message b {
  font-size: 12px;
}

.guardian-message p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.consent-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 9px;
  font-size: 8px;
  font-weight: 700;
}

.consent-note i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--mint);
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
}

.loop-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.loop-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -110px;
  width: 420px;
  height: 420px;
  background: rgba(35, 104, 162, 0.2);
  border-radius: 50%;
}

.loop-section::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 500px;
  height: 500px;
  background: rgba(27, 139, 95, 0.16);
  border-radius: 50%;
}

.loop-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: center;
}

.loop-copy h2 {
  font-size: clamp(39px, 4.6vw, 60px);
}

.loop-copy > p:not(.kicker) {
  max-width: 490px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.loop-copy strong {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 9px;
  font-size: 14px;
  transform: rotate(-1deg);
}

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

.week-loop::before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 95px;
  width: 2px;
  background: linear-gradient(var(--mint), var(--sky), var(--gold));
}

.week-loop li {
  position: relative;
  display: grid;
  grid-template-columns: 68px 58px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 124px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  backdrop-filter: blur(7px);
}

.day {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.loop-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--mint);
  border: 6px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
}

.weekend-icon {
  background: var(--sky);
}

.monday-icon {
  color: var(--ink);
  background: var(--gold-soft);
}

.week-loop b {
  font-size: 15px;
}

.week-loop p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.feature-section {
  background: var(--wash);
}

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

.feature-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card.wide {
  grid-column: span 2;
  min-height: 210px;
  display: grid;
  grid-template-columns: 104px 1fr auto;
  align-items: center;
  gap: 22px;
}

.feature-card.wide:last-child {
  grid-column: 1 / -1;
}

.feature-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 5px;
  background: var(--mint-soft);
  border: 1px solid rgba(27, 139, 95, 0.12);
  border-radius: 22px;
  transform: rotate(-3deg);
}

.feature-card.wide .feature-mark {
  width: 104px;
  height: 104px;
  margin-bottom: 0;
}

.feature-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
}

.excel-mark img,
.middle-mark img,
.device-mark img {
  transform: scale(1.18);
}

.trend-mark,
.question-mark {
  background: var(--sky-soft);
  border-color: rgba(35, 104, 162, 0.12);
}

.middle-mark,
.stamp-feature {
  background: var(--gold-soft);
  border-color: rgba(226, 179, 71, 0.18);
}

.device-mark {
  background: var(--coral-soft);
  border-color: rgba(198, 90, 60, 0.14);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-tag {
  align-self: center;
  padding: 7px 10px;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.sky-tag {
  color: var(--sky-dark);
  background: var(--sky-soft);
}

.trust-section {
  background: var(--paper);
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
  padding: 60px;
  overflow: hidden;
  background: #eaf6f0;
  border: 1px solid rgba(27, 139, 95, 0.18);
  border-radius: var(--radius-lg);
}

.trust-card::after {
  content: "✓";
  position: absolute;
  right: -45px;
  bottom: -105px;
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  color: rgba(27, 139, 95, 0.07);
  border: 16px solid rgba(27, 139, 95, 0.07);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 110px;
  font-weight: 800;
  transform: rotate(-10deg);
}

.trust-copy {
  position: relative;
  z-index: 1;
}

.trust-copy h2 {
  font-size: clamp(36px, 3.8vw, 50px);
}

.trust-copy > p:not(.kicker) {
  color: var(--ink-soft);
}

.trust-qualification {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 3px solid var(--mint);
  border-radius: 0 10px 10px 0;
  font-size: 12px;
}

.trust-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.trust-list article {
  min-height: 155px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-content: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 139, 95, 0.12);
  border-radius: 14px;
}

.trust-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 10px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
}

.trust-list b {
  font-size: 14px;
}

.trust-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.built-by {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 24px;
  border-top: 1px solid rgba(27, 139, 95, 0.17);
}

.small-dots {
  grid-template-columns: repeat(3, 8px);
}

.small-dots i {
  width: 8px;
  height: 8px;
}

.built-by > span:last-child {
  display: flex;
  flex-direction: column;
}

.built-by b {
  font-size: 13px;
}

.built-by small {
  color: var(--muted);
  font-size: 10px;
}

.pricing-section {
  background: var(--wash);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}

.popular-tag {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 6px 12px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 0 0 10px 10px;
  font-size: 9px;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.price-label {
  margin-bottom: 10px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured .price-label {
  margin-top: 16px;
  color: var(--gold-soft);
}

.price-card h3 {
  min-height: 50px;
  margin-bottom: 9px;
  font-size: 34px;
}

.price-card h3 small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0;
}

.price-card > p:not(.price-label) {
  min-height: 52px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.featured > p:not(.price-label) {
  color: rgba(255, 255, 255, 0.62);
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 23px;
  color: var(--ink-soft);
  font-size: 13px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 800;
}

.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.featured li::before {
  color: var(--gold-soft);
}

.price-card .button {
  margin-top: auto;
}

.featured .button-primary {
  color: var(--ink);
  background: var(--gold-soft);
  box-shadow: none;
}

.featured .button-primary:hover {
  background: white;
}

.pricing-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  font-size: clamp(36px, 4vw, 50px);
}

.faq-intro > p:not(.kicker) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--mint-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(27, 139, 95, 0.28);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 17px 58px 17px 20px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 9px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -2px 20px 20px;
  padding: 0 38px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding: 0 0 90px;
}

.final-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr auto;
  gap: 50px;
  align-items: center;
  padding: 58px 64px;
  overflow: hidden;
  color: white;
  background: var(--mint-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.final-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -130px;
  width: 330px;
  height: 330px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.final-card > div {
  position: relative;
  z-index: 1;
}

.final-card h2 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(38px, 4.4vw, 58px);
}

.final-card > div:first-of-type > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.final-actions {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.final-actions small {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.final-stamp {
  position: absolute;
  top: -22px;
  right: 258px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  z-index: 2;
  color: var(--gold-soft);
  border: 3px dashed var(--gold-soft);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  transform: rotate(11deg);
  opacity: 0.9;
}

.site-footer {
  color: white;
  background: var(--ink);
}

.footer-inner {
  min-height: 148px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding-block: 30px;
}

.footer-brand b {
  color: white;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-inner > small {
  grid-column: 1 / -1;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .primary-nav > a:not(.button) {
    padding-inline: 8px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(47px, 5.8vw, 66px);
  }

  .window-body {
    grid-template-columns: 1fr 0.92fr;
  }

  .result-column {
    grid-column: 1 / -1;
  }

  .result-card {
    display: grid;
    grid-template-columns: 110px repeat(3, 1fr) 120px;
    align-items: center;
    gap: 8px;
  }

  .result-head,
  .student-line {
    border: 0;
  }

  .result-action {
    margin-top: 0;
  }

  .receipt {
    grid-template-columns: 36px 1.1fr 0.9fr;
    gap: 17px;
  }

  .receipt-promises {
    grid-template-columns: 1fr;
  }

  .receipt-promises > span {
    padding-block: 4px;
  }

  .portal-panel {
    gap: 38px;
    padding: 42px;
  }

  .trust-card {
    gap: 40px;
    padding: 48px;
  }

  .faq-layout {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 36px, 760px);
  }

  .menu-button {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav > a:not(.button) {
    justify-content: flex-start;
    padding-inline: 14px;
    font-size: 14px;
  }

  .primary-nav .button {
    margin: 5px 0 0;
  }

  .hero {
    padding: 65px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(49px, 9vw, 72px);
  }

  .hero-lead {
    max-width: 650px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .window-body {
    grid-template-columns: 1.02fr 0.88fr 1.1fr;
  }

  .result-column {
    grid-column: auto;
  }

  .result-card {
    display: block;
  }

  .result-head {
    border-bottom: 1px solid var(--line);
  }

  .student-line {
    border-bottom: 1px solid #f0ede7;
  }

  .result-action {
    margin-top: 8px;
  }

  .receipt {
    grid-template-columns: 30px 1fr;
    min-height: 0;
    padding-block: 32px;
  }

  .receipt-promises {
    grid-column: 2;
    grid-template-columns: repeat(3, 1fr);
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 13px;
  }

  .section {
    padding: 88px 0;
  }

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

  .step-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 26px;
  }

  .step-icon {
    grid-row: 1 / span 4;
    margin: 0;
  }

  .step-card h3,
  .step-card p,
  .step-chip {
    grid-column: 2;
  }

  .portal-panel {
    grid-template-columns: 1fr;
  }

  .portal-copy {
    max-width: 680px;
  }

  .portal-demo {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .student-demo,
  .guardian-demo {
    max-width: 510px;
  }

  .loop-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .loop-copy {
    max-width: 680px;
  }

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

  .trust-card {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-inline: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .faq-intro {
    position: static;
    max-width: 620px;
  }

  .final-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .final-actions {
    width: min(100%, 330px);
  }

  .final-stamp {
    top: auto;
    right: 34px;
    bottom: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 540px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand > span:last-child {
    display: block;
    line-height: 1.1;
  }

  .brand small {
    display: block;
    margin-top: 2px;
  }

  .hero {
    padding-top: 45px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(44px, 13.3vw, 64px);
    letter-spacing: -0.06em;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .pilot-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-assurances {
    display: grid;
  }

  .product-window {
    border-radius: 18px;
    transform: none;
  }

  .window-bar {
    grid-template-columns: auto 1fr auto;
    padding: 0 12px;
  }

  .window-dots {
    display: none;
  }

  .window-body {
    grid-template-columns: 1fr 1fr;
  }

  .result-column {
    grid-column: 1 / -1;
  }

  .result-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .result-head,
  .result-action {
    grid-column: 1 / -1;
  }

  .student-line {
    grid-template-columns: 1fr auto;
    padding: 5px;
  }

  .student-line .spark {
    display: none;
  }

  .desk-note {
    display: none;
  }

  .window-trust {
    font-size: 9px;
    text-align: center;
  }

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

  .quote-mark {
    display: none;
  }

  .receipt blockquote p {
    font-size: 18px;
  }

  .receipt-promises {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .receipt-promises > span {
    padding: 6px 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .loop-copy h2,
  .trust-copy h2,
  .faq-intro h2,
  .final-card h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .step-card {
    display: flex;
    min-height: 0;
    padding: 24px;
  }

  .step-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
  }

  .tab-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tab-list button {
    min-height: 62px;
    justify-content: flex-start;
  }

  .portal-panel {
    min-height: 0;
    gap: 32px;
    padding: 28px 20px 24px;
  }

  .portal-copy h3 {
    font-size: 32px;
  }

  .portal-demo {
    padding: 15px;
    border-radius: 16px;
    transform: none;
  }

  .teacher-stats {
    gap: 6px;
  }

  .teacher-stats > span {
    grid-template-columns: 1fr;
    padding: 7px;
  }

  .teacher-stats em {
    display: none;
  }

  .weak-topic {
    grid-template-columns: 92px 1fr auto;
  }

  .week-loop::before {
    left: 48px;
  }

  .week-loop li {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .day {
    grid-column: 2;
    text-align: left;
  }

  .loop-icon {
    grid-row: 1 / span 2;
    width: 50px;
    height: 50px;
  }

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

  .feature-card,
  .feature-card.wide {
    grid-column: auto;
    min-height: 0;
    display: flex;
    align-items: flex-start;
  }

  .feature-card.wide:last-child {
    grid-column: auto;
  }

  .feature-card.wide .feature-mark {
    margin-bottom: 22px;
  }

  .feature-tag {
    margin-top: 18px;
    align-self: flex-start;
  }

  .trust-card {
    gap: 32px;
    padding: 30px 20px;
    border-radius: 22px;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list article {
    min-height: 0;
  }

  .built-by {
    align-items: flex-start;
  }

  .price-card {
    padding: 26px 22px;
  }

  .faq-list summary {
    padding-left: 16px;
    font-size: 15px;
  }

  .faq-list details p {
    margin-left: 16px;
  }

  .final-cta {
    padding-bottom: 56px;
  }

  .final-card {
    padding: 38px 24px 112px;
    border-radius: 22px;
  }

  .final-actions {
    width: 100%;
  }

  .final-stamp {
    right: 28px;
    bottom: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 4px 14px;
  }
}

@media (max-width: 390px) {
  .window-body {
    grid-template-columns: 1fr;
  }

  .result-column {
    grid-column: auto;
  }

  .result-card {
    display: block;
  }

  .student-line {
    grid-template-columns: 1fr 1fr;
  }

  .weak-topic {
    grid-template-columns: 1fr auto;
  }

  .topic-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .answer-options {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
