:root {
  --black: #080809;
  --panel: #171719;
  --panel-line: #343438;
  --paper: #f7f8f6;
  --white: #fff;
  --ink: #171717;
  --muted: #696965;
  --line: #dededa;
  --steel: #b6c1c8;
  --steel-dark: #46535c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
a, summary { outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: 1.07; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 30; top: -60px; left: 12px; padding: 8px 12px; color: #000; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #2b2b2e; background: var(--black); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font-size: 16px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.brand img { width: 29px; height: 29px; filter: invert(1); }
.brand b { font-weight: 800; }
.header-inner nav { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 31px); }
.header-inner nav a, .footer-grid nav a { text-decoration: none; font-size: 13px; font-weight: 600; }
.header-inner nav a { color: #cececf; }
.header-inner nav a:hover, .footer-grid nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.header-inner nav .nav-contact { border: 1px solid #727277; border-radius: 99px; padding: 9px 15px; color: #fff; }
.hero { overflow: hidden; background: var(--black); color: #fff; }
.hero-grid { min-height: 710px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 65px; align-items: center; padding-block: 95px; }
.eyebrow, .subject-number, .preview-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow { margin-bottom: 25px; color: var(--steel-dark); }
.hero .eyebrow, .practice-section .eyebrow, .end-cta .eyebrow, .legal-hero .eyebrow { color: var(--steel); }
.eyebrow-separator { display: inline-block; margin-inline: 8px; color: #737c82; }
.hero h1 { margin-bottom: 28px; font-size: clamp(58px, 6.8vw, 95px); font-weight: 780; }
.hero h1 em { font-style: normal; color: #c0c9cf; }
.hero-lede { max-width: 520px; color: #c8c8cb; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin: 34px 0 19px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 52px; padding: 12px 23px; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 750; }
.button.primary { background: var(--white); color: var(--ink); }
.button.primary:hover, .button.light:hover { background: #dce1e4; }
.button.light { background: var(--white); color: var(--ink); }
.text-link { color: #e7e9e9; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; font-weight: 650; }
.availability { color: #97979b; font-size: 12px; }
.app-preview { border: 1px solid #5a5a5f; border-radius: 28px; background: #111113; box-shadow: 0 35px 110px #0009; overflow: hidden; transform: rotate(2deg); }
.preview-top, .preview-footer { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; color: #bcbcc0; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.preview-top { border-bottom: 1px solid var(--panel-line); }
.preview-content { padding: 45px 34px 39px; }
.preview-kicker { display: flex; justify-content: space-between; color: var(--steel); }
.preview-kicker i { color: #77777c; font-style: normal; }
.preview-content h2 { margin: 20px 0 25px; color: #fff; font-size: clamp(39px, 4vw, 62px); }
.preview-line { width: 100%; height: 6px; margin-bottom: 23px; border-radius: 99px; background: linear-gradient(to right, #b6c1c8 31%, #343438 31%); }
.preview-lesson { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--panel-line); }
.preview-lesson div { display: grid; gap: 4px; }
.preview-lesson small { color: #9b9ba0; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.preview-lesson strong { color: #fff; font-size: 15px; line-height: 1.3; }
.preview-lesson > span { flex: none; color: var(--steel); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.preview-footer { justify-content: space-around; border-top: 1px solid var(--panel-line); background: #19191b; }
.preview-footer span:first-child { color: #fff; }
section:not(.hero) { scroll-margin-top: 78px; }
.subject-section, .flow-section, .practice-section, .difference-section, .faq-section { padding-block: 112px; }
.subject-section { background: var(--paper); }
.section-heading { max-width: 740px; margin-bottom: 46px; }
.section-heading h2, .practice-grid h2, .difference-grid h2 { margin-bottom: 24px; font-size: clamp(42px, 5.2vw, 68px); }
.section-heading h2 span { color: var(--steel-dark); }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 24px; border: 1px solid var(--line); background: var(--line); }
.subject-grid article { min-height: 230px; padding: 27px; background: #fff; transition: background .2s ease; }
.subject-grid article:hover { background: #fcfcfb; }
.subject-number { color: #718089; }
.subject-grid h3 { margin: 50px 0 10px; font-size: 23px; }
.subject-grid p, .steps p, .difference-list p { margin: 0; color: var(--muted); }
.small-note { max-width: 750px; color: var(--muted); font-size: 13px; }
.flow-section { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps article { padding: 25px 25px 0 0; }
.steps article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.steps span { color: #64717a; font-size: 12px; font-weight: 800; }
.steps h3 { margin: 30px 0 9px; font-size: 21px; }
.practice-section { background: #111113; color: #fff; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.practice-grid p:not(.eyebrow) { color: #c1c1c4; }
.practice-grid .small-note { font-size: 13px; }
.feature-list { margin: 30px 0; padding: 0; list-style: none; }
.feature-list li { padding: 11px 0; border-top: 1px solid var(--panel-line); color: #e4e4e6; }
.feature-list li:last-child { border-bottom: 1px solid var(--panel-line); }
.practice-visual { overflow: hidden; border: 1px solid #57575d; border-radius: 25px; background: #f7f8f6; color: var(--ink); box-shadow: 0 35px 80px #0006; }
.mock-top, .mock-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 17px 25px; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.mock-top { background: #e8e9e7; }
.mock-body { padding: 38px 35px 30px; }
.pill { color: #5e6a72; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.mock-body h3 { margin: 19px 0 26px; font-size: clamp(31px, 3vw, 41px); }
.math-line { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 25px; font-weight: 600; }
.answer-line { display: flex; justify-content: space-between; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.answer-line span { color: #65727b; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.mock-bottom { background: #b6c1c8; color: #172027; letter-spacing: 0; font-size: 12px; }
.difference-section { background: var(--paper); }
.difference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.difference-list > div { padding: 10px 0 20px; border-top: 1px solid var(--line); }
.difference-list h3 { margin: 15px 0 8px; font-size: 21px; }
.faq-section { background: #fff; }
.faq-list { max-width: 850px; border-top: 1px solid var(--line); }
.faq-list details { padding: 21px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: #69767e; font-size: 28px; line-height: .8; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 700px; margin: 15px 0 0; color: var(--muted); }
.end-cta { padding-block: 95px; background: #171719; color: #fff; }
.end-cta h2 { max-width: 760px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 75px); }
.end-cta p:not(.eyebrow) { color: #c1c1c4; font-size: 18px; }
footer { padding: 62px 0 25px; border-top: 1px solid #343438; background: #080809; color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-grid p { margin-top: 20px; color: #a8a8ad; font-size: 14px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, auto); gap: 13px 30px; }
.footer-grid nav a { color: #bbbcc0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 20px; border-top: 1px solid #343438; color: #9d9da2; font-size: 12px; }
.legal-main { background: var(--paper); }
.legal-hero { padding: 87px 0 54px; background: #111113; color: #fff; }
.legal-hero h1 { margin-bottom: 16px; font-size: clamp(48px, 6vw, 78px); }
.legal-hero p { max-width: 680px; color: #d3d3d6; }
.legal-hero .meta { color: #aeb8bf; font-size: 13px; }
.legal-content { padding: 50px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: 65px; align-items: start; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: 8px; }
.legal-nav strong { margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.legal-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.legal-nav a:hover { color: var(--ink); text-decoration: underline; }
.legal-article { padding: 45px 55px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.legal-article section + section { margin-top: 35px; padding-top: 35px; border-top: 1px solid var(--line); }
.legal-article h2 { margin-bottom: 14px; font-size: 27px; }
.legal-article h3 { margin: 24px 0 10px; font-size: 18px; }
.legal-article p, .legal-article li { color: #41484c; }
.legal-article ul { padding-left: 22px; }
.legal-article li + li { margin-top: 7px; }
.legal-article a { color: #263e4d; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-article .intro { font-size: 18px; }
.legal-article .callout { padding: 16px 20px; border-left: 3px solid #82919b; background: #f0f2f3; }
@media (max-width: 900px) {
  .header-inner nav { gap: 15px; }
  .header-inner nav a { font-size: 12px; }
  .hero-grid, .practice-grid, .difference-grid { gap: 40px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .legal-nav strong { width: 100%; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .site-header { position: static; }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 12px; padding: 17px 0; }
  .header-inner nav { max-width: 100%; overflow: auto; padding-bottom: 5px; }
  .header-inner nav a { white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 63px 65px; }
  .hero h1 { font-size: clamp(48px, 12vw, 73px); }
  .app-preview { width: min(100%, 450px); margin-inline: auto; transform: none; }
  .subject-section, .flow-section, .practice-section, .difference-section, .faq-section { padding-block: 75px; }
  .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .subject-grid article { min-height: 220px; padding: 20px; }
  .subject-grid h3 { margin-top: 40px; font-size: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps article:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps article { padding-bottom: 20px; }
  .practice-grid, .difference-grid { grid-template-columns: 1fr; }
  .footer-grid { display: block; }
  .footer-grid nav { margin-top: 40px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; }
  .legal-hero { padding: 65px 0 45px; }
  .legal-content { padding: 30px 0 70px; }
  .legal-article { padding: 27px 23px; }
}
@media (max-width: 430px) {
  .subject-grid, .steps { grid-template-columns: 1fr; }
  .subject-grid article { min-height: 0; }
  .subject-grid h3 { margin-top: 25px; }
  .steps article, .steps article + article, .steps article:nth-child(3) { padding: 17px 0; border-left: 0; border-top: 1px solid var(--line); }
  .preview-content { padding: 34px 23px 30px; }
  .header-inner nav .nav-contact { padding: 0; border: 0; }
}
