@font-face { font-family: "MathMastery Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/home/_assets/fonts/b25a21661ecd0da6d131b6ee3061b904.woff2") format("woff2"); }
@font-face { font-family: "MathMastery Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("/home/_assets/fonts/34c7dd29b48020ab4837bbcd3d77bfc2.woff2") format("woff2"); }
@font-face { font-family: "MathMastery Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("/home/_assets/fonts/3d2253924feb9ede33fbc89a23dfb460.woff2") format("woff2"); }
@font-face { font-family: "MathMastery Body"; font-style: normal; font-weight: 400; font-display: swap; src: url("/home/_assets/fonts/88a36cab6d7cfa75bff7e49535b9642a.woff2") format("woff2"); }
@font-face { font-family: "MathMastery Body"; font-style: normal; font-weight: 700; font-display: swap; src: url("/home/_assets/fonts/88a36cab6d7cfa75bff7e49535b9642a.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #270f36;
  --blue: #0000ff;
  --coral: #ff5757;
  --mint: #effbf7;
  --yellow: #ffc61a;
  --gold-line: #e9c34f;
  --line: #e8e0ea;
  --muted: #5f5864;
  --page-pad: clamp(22px, 6vw, 92px);
  --section-pad: clamp(72px, 9vw, 126px);
  font-family: "MathMastery Body", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "MathMastery Body", Arial, sans-serif; line-height: 1.48; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid #1267e9; outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 50; transform: translateY(-180%); padding: 10px 14px; color: #fff; background: var(--blue); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; background: #fff; }
.site-header-inner { width: min(100%, 1440px); min-height: 88px; margin: 0 auto; padding: 18px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-grid; text-decoration: none; font-family: "MathMastery Display", Arial, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.brand-word { display: inline-flex; align-items: baseline; }
.brand-word strong { color: var(--blue); }
.brand-word img { width: 29px; height: 25px; margin-left: -2px; align-self: flex-start; object-fit: fill; transform: translateY(-5px); }
.brand small { margin-top: 7px; color: var(--ink); font-family: "MathMastery Body", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2vw, 30px); }
.site-header nav a { position: relative; padding: 12px 0 8px; color: #463c4c; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 3px; transform: scaleX(0); transform-origin: left; background: var(--blue); transition: transform .18s ease; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--blue); }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }

main { overflow: hidden; }
.page-hero { width: min(100%, 1440px); min-height: min(780px, calc(100vh - 88px)); margin: 0 auto; padding: clamp(62px, 7vw, 104px) var(--page-pad) clamp(82px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .8fr); gap: clamp(42px, 7vw, 110px); align-items: center; }
.page-hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 20px; color: #544f4d; font-family: "MathMastery Script", cursive; font-size: clamp(30px, 2.9vw, 42px); font-weight: 400; line-height: 1.1; }
h1, h2, h3 { margin-top: 0; font-family: "MathMastery Display", Arial, sans-serif; line-height: 1.16; letter-spacing: 0; }
h1 { max-width: 780px; margin-bottom: 0; font-size: clamp(50px, 4.45vw, 68px); font-weight: 700; }
h2 { margin-bottom: 28px; font-size: clamp(38px, 4vw, 58px); font-weight: 700; }
h3 { margin-bottom: 12px; font-size: clamp(23px, 2vw, 29px); font-weight: 700; }
.accent-blue { color: var(--blue); }
.direct-answer { max-width: 760px; margin: 34px 0 0; padding-left: 22px; border-left: 6px solid var(--coral); color: #2f2436; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.5; }
.byline, .source-note { color: var(--muted); font-size: 14px; }
.byline { margin: 22px 0 0; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; font-family: "MathMastery Display", Arial, sans-serif; font-size: 16px; font-weight: 700; text-decoration: none; }
.button.primary { padding: 13px 25px; color: #fff; background: var(--coral); border: 2px solid var(--coral); border-radius: 999px; }
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button.secondary { min-height: auto; padding: 9px 0 5px; color: var(--blue); border-bottom: 3px solid currentColor; }
.button.secondary:hover { color: var(--coral); }

.hero-visual { position: relative; min-width: 0; margin: 0; }
.hero-video-card { justify-self: end; width: min(100%, 470px); }
.hero-video-stage, .story-video { position: relative; background: #000; }
.hero-video-card video { display: block; width: 100%; aspect-ratio: 9 / 15; object-fit: cover; background: #000; }
.hero-video-card figcaption { max-width: 430px; padding: 15px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.42; }
.video-start { position: absolute; inset: 0; display: grid; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; place-items: end start; border: 0; border-radius: 0; background: #000; cursor: pointer; }
.video-start[hidden] { display: none; }
.video-start img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.video-start span { position: relative; z-index: 1; margin: 0 0 20px 20px; padding: 11px 18px; color: #fff; background: var(--coral); border-radius: 999px; font-family: "MathMastery Display", Arial, sans-serif; font-size: 15px; font-weight: 700; }
.video-start:hover span { background: var(--blue); }
.hero-trophy { align-self: end; justify-self: center; width: min(100%, 500px); }
.hero-trophy img { display: block; width: 100%; }
.hero-line-art { display: grid; place-items: center; justify-self: end; width: min(100%, 470px); aspect-ratio: 1 / 1; padding: clamp(44px, 6vw, 78px); background: var(--yellow); }
.hero-line-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-thinking { background: var(--blue); }
.hero-faq { background: var(--yellow); }
.hero-faq img { width: 85%; height: 85%; }
.hero-stories { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 10px; }
.hero-stories img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #000; border: 1px solid var(--gold-line); }
.hero-stories img:nth-child(2) { transform: translateY(-24px); }

.page-content > section, .page-content > .note { width: min(100%, 1440px); margin: 0 auto; padding: var(--section-pad) var(--page-pad); }
.page-content > section:nth-of-type(even) { width: 100%; max-width: none; padding-inline: max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad))); background: var(--mint); }
.page-content p { max-width: 800px; font-size: 19px; }
.kicker, .plan-label { margin: 0 0 14px; color: var(--coral); font-family: "MathMastery Script", cursive; font-size: 30px; line-height: 1.12; }

.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card, .plan-card { position: relative; min-height: 220px; padding: 34px 30px; border: 1px solid var(--gold-line); background: #fff; }
.info-card::before, .plan-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 7px; background: var(--blue); }
.info-card:nth-child(2)::before { background: var(--yellow); }
.info-card:nth-child(3)::before { background: #06a79d; }
.info-card p { margin: 0; color: var(--muted); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; border-top: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); }
.steps li { counter-increment: steps; min-width: 0; min-height: 270px; padding: 30px 26px; border-right: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); background: #fff; }
.steps li::before { content: "0" counter(steps); display: block; margin-bottom: 42px; color: var(--blue); font-family: "MathMastery Display", Arial, sans-serif; font-size: 34px; font-weight: 700; }
.steps li strong { display: block; margin-bottom: 12px; font-family: "MathMastery Display", Arial, sans-serif; font-size: 22px; line-height: 1.2; }
.steps li span { display: block; color: var(--muted); font-size: 16px; }
.steps.compact { max-width: none; grid-template-columns: repeat(3, 1fr); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(34px, 7vw, 100px); align-items: center; }
.split > div:only-child { grid-column: 1 / -1; max-width: 930px; }
.video-card { margin: 0; overflow: hidden; border: 1px solid var(--gold-line); background: #000; }
.video-card video { display: block; width: 100%; max-height: 620px; background: #000; }
.video-card figcaption { padding: 16px 18px; color: #4d4651; background: #fff; font-size: 14px; }
.note { padding-block: 24px !important; border-left: 7px solid var(--yellow); background: #fff8d8; font-size: 17px; }
.evidence-note { margin-top: 30px !important; margin-bottom: 0 !important; }

.check-list { max-width: 900px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gold-line); }
.check-list li { position: relative; padding: 19px 12px 19px 42px; border-bottom: 1px solid var(--gold-line); font-size: 18px; }
.check-list li::before { content: "✓"; position: absolute; left: 8px; color: var(--blue); font-family: "MathMastery Display", Arial, sans-serif; font-weight: 700; }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.plan-card { min-height: auto; }
.plan-card:nth-child(2)::before { background: var(--coral); }
.plan-card dl { margin: 28px 0 0; }
.plan-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--gold-line); }
.plan-card dt { color: var(--muted); }
.plan-card dd { margin: 0; font-family: "MathMastery Display", Arial, sans-serif; font-weight: 700; }

.strand-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); }
.strand-list article { display: grid; grid-template-columns: 50px 1fr; gap: 16px; min-height: 200px; padding: 26px 22px; border-right: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); background: #fff; }
.strand-list article > span { color: var(--blue); font-family: "MathMastery Display", Arial, sans-serif; font-size: 22px; font-weight: 700; }
.strand-list p { margin: 0; color: var(--muted); font-size: 16px; }
.pill-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1000px; padding: 0; border-top: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); list-style: none; }
.pill-list li { min-height: 94px; padding: 24px; color: var(--ink); background: #fff; border-right: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); font-family: "MathMastery Display", Arial, sans-serif; font-size: 20px; font-weight: 700; }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.story-card { min-width: 0; overflow: hidden; border: 1px solid var(--gold-line); background: #fff; }
.story-video video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #000; }
.story-video .video-start img { object-fit: contain; background: #000; }
.story-card > div { padding: 28px 24px 32px; }
.stars { margin: 0; color: var(--yellow); font-family: Arial, sans-serif; font-size: 26px !important; letter-spacing: .08em; }
blockquote { min-height: 105px; margin: 16px 0; font-size: clamp(20px, 1.8vw, 27px); line-height: 1.25; letter-spacing: 0; }
.attribution { margin-bottom: 0; color: var(--muted); font-size: 17px !important; }

.faq-list details { max-width: 980px; border-top: 1px solid var(--gold-line); }
.faq-list details:last-child { border-bottom: 1px solid var(--gold-line); }
.faq-list summary { padding: 24px 52px 24px 0; cursor: pointer; font-family: "MathMastery Display", Arial, sans-serif; font-size: 22px; font-weight: 700; }
.faq-list details p { margin: 0; padding: 0 54px 28px 0; color: var(--muted); }

.related { padding: var(--section-pad) max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad))); color: var(--ink); background: var(--yellow); }
.related h2 { max-width: 820px; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.related-links a { display: flex; justify-content: space-between; gap: 16px; min-height: 84px; padding: 26px 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: "MathMastery Display", Arial, sans-serif; font-weight: 700; text-decoration: none; }
.related-links a:hover { color: #fff; background: var(--blue); }

.site-footer { position: relative; display: grid; grid-template-columns: minmax(320px, 1.25fr) minmax(260px, .75fr); gap: 42px 90px; padding: clamp(70px, 8vw, 110px) max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad))) 58px; background: var(--mint); }
.footer-brand { min-width: 0; }
.footer-avatar { display: block; width: 96px; height: 96px; margin-bottom: 18px; object-fit: cover; border: 3px solid var(--blue); border-radius: 50%; }
.footer-wordmark { display: flex; align-items: baseline; width: max-content; max-width: 100%; font-family: "MathMastery Display", Arial, sans-serif; font-size: clamp(48px, 5vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.footer-wordmark strong { color: var(--blue); }
.footer-wordmark img { width: clamp(48px, 5vw, 74px); height: clamp(42px, 4vw, 64px); margin-left: -4px; align-self: flex-start; object-fit: fill; transform: translateY(-9px); }
.site-footer p { margin: 0; }
.footer-love { margin-top: 42px !important; font-family: "MathMastery Display", Arial, sans-serif; font-size: 25px; font-weight: 700; }
.footer-love span { color: var(--coral); }
.footer-brand address { margin-top: 18px; color: var(--ink); font-style: normal; font-size: 18px; line-height: 1.35; }
.footer-navigation { align-self: end; padding-bottom: 4px; }
.footer-navigation p + p { margin-top: 15px; }
.footer-kicker { margin-bottom: 24px !important; color: #aa7600; font-family: "MathMastery Display", Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: var(--ink); font-family: "MathMastery Display", Arial, sans-serif; font-size: 19px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.site-footer a:hover { color: var(--blue); }
.site-footer .disclaimer { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid #75d5c1; color: var(--muted); font-size: 13px; }

@media (max-width: 1100px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-header nav { width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; }
  .page-hero { min-height: auto; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); }
  h1 { font-size: clamp(46px, 5.8vw, 62px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strand-list { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(3, minmax(280px, 1fr)); overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
  .story-card { scroll-snap-align: start; }
}

@media (max-width: 760px) {
  :root { --page-pad: 22px; --section-pad: 68px; }
  .site-header-inner { min-height: auto; padding-top: 18px; padding-bottom: 12px; }
  .brand { font-size: 23px; }
  .site-header nav { gap: 20px; padding-bottom: 6px; }
  .site-header nav a { font-size: 13px; }
  .page-hero { padding-top: 52px; grid-template-columns: 1fr; gap: 0; }
  .page-hero-copy { display: contents; }
  .eyebrow { order: 1; }
  .page-hero h1 { order: 2; }
  .hero-visual { order: 3; margin-top: 34px; margin-bottom: 48px; }
  .direct-answer { order: 4; }
  .byline { order: 5; }
  .actions { order: 6; }
  .eyebrow { font-size: 30px; }
  h1 { font-size: clamp(43px, 12.5vw, 58px); line-height: 1.12; }
  h2 { font-size: clamp(36px, 10vw, 49px); }
  .direct-answer { padding-left: 16px; border-left-width: 5px; font-size: 19px; }
  .hero-video-card { justify-self: center; width: min(100%, 430px); }
  .hero-video-card video { aspect-ratio: 4 / 5; }
  .hero-trophy { width: min(92%, 430px); }
  .hero-line-art { justify-self: stretch; width: 100%; }
  .hero-stories { width: calc(100% + 12px); margin-inline: -6px; gap: 6px; }
  .hero-stories img:nth-child(2) { transform: translateY(-14px); }
  .card-grid.three, .plan-grid, .strand-list, .pill-list, .related-links { grid-template-columns: 1fr; }
  .steps, .steps.compact { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .steps li::before { margin-bottom: 24px; }
  .split { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(3, minmax(82vw, 1fr)); gap: 12px; }
  blockquote { min-height: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 54px; padding-top: 68px; }
  .footer-avatar { width: 88px; height: 88px; }
  .footer-wordmark { font-size: 54px; }
  .footer-wordmark img { width: 54px; height: 48px; }
  .footer-love { margin-top: 34px !important; }
  .footer-navigation { align-self: auto; }
  .site-footer .disclaimer { grid-column: 1; }
}

@media (max-width: 480px) {
  .actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .button.primary { width: 100%; }
  .button.secondary { align-self: center; }
  .page-content p { font-size: 18px; }
  .info-card, .plan-card { min-height: 0; padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header nav a::after { transition: none; }
}
