
:root {
  --brand-navy: #002F49;
  --brand-navy-deep: #001F31;
  --brand-orange: #F27F02;
  --brand-orange-soft: #FFF4E8;
  --action-blue: #0B66C3;
  --action-blue-hover: #0957A5;
  --action-blue-soft: #EAF4FB;
  --text: #173044;
  --muted: #5E7180;
  --surface: #FFFFFF;
  --surface-soft: #F5F8FA;
  --border: #D8E2E8;
  --border-strong: #C4D2DB;
  --success-soft: #EAF8F1;
  --success: #167A56;
  --shadow-soft: 0 16px 44px rgba(0,47,73,.08);
  --shadow-header: 0 10px 30px rgba(0,47,73,.07);
  --radius-card: 18px;
  --radius-button: 13px;
  --radius-pill: 999px;
  --container: 1220px;
  --gutter: 32px;
  --header-height: 78px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--surface); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }
:focus-visible { outline: 3px solid rgba(11,102,195,.33); outline-offset: 3px; }
::selection { background: #CDE5FA; color: var(--brand-navy); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--brand-navy); letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5vw, 62px); line-height: 1.06; margin-bottom: 24px; font-weight: 820; }
h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.12; margin-bottom: 18px; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; font-weight: 760; }
p { margin-bottom: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-160%); padding: 10px 14px; border-radius: 10px; background: var(--brand-navy); color: white; text-decoration: none; font-weight: 700; transition: transform var(--transition); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 108px); }
.section-soft { background: var(--surface-soft); }
.section-navy { background: var(--brand-navy); color: white; position: relative; overflow: hidden; }
.section-heading { max-width: 790px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p { color: var(--muted); font-size: 17px; }
.lead { font-size: clamp(18px, 2vw, 20px); line-height: 1.62; color: var(--muted); max-width: 760px; }
.small-lead { font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--action-blue); font-size: 13px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.eyebrow-mark { width: 20px; height: 3px; border-radius: 3px; background: var(--brand-orange); transform: skewX(-25deg); }
.eyebrow-light { color: #D5EAF6; }

.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius-button); text-decoration: none; font-size: 14px; line-height: 1.2; font-weight: 780; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--action-blue); color: white; box-shadow: 0 10px 24px rgba(11,102,195,.17); }
.btn-primary:hover { background: var(--action-blue-hover); }
.btn-secondary { background: white; color: var(--action-blue); border-color: #B7D2E9; }
.btn-secondary:hover { border-color: var(--action-blue); box-shadow: 0 8px 18px rgba(0,47,73,.06); }
.full { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; min-height: var(--header-height); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(216,226,232,.62); transition: box-shadow var(--transition), backdrop-filter var(--transition); }
.site-header.scrolled { backdrop-filter: blur(12px); box-shadow: var(--shadow-header); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-logo { width: 230px; flex: 0 0 auto; text-decoration: none; }
.brand-logo img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 17px; }
.main-nav > a:not(.btn) { font-size: 13px; font-weight: 680; text-decoration: none; color: #294A5C; white-space: nowrap; }
.main-nav > a:not(.btn):hover { color: var(--action-blue); }
.nav-cta { min-height: 46px; padding-inline: 16px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(58px, 7vw, 90px); background: linear-gradient(180deg, #FFFFFF 0%, #FBFDFE 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(420px, .87fr); align-items: center; gap: clamp(46px, 6vw, 86px); position: relative; z-index: 2; }
.hero-copy { position: relative; }
.hero-copy h1 { max-width: 790px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.trust-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 650px; }
.trust-chip { min-height: 46px; display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: white; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: 13px; box-shadow: 0 6px 16px rgba(0,47,73,.035); }
.trust-chip strong { color: var(--brand-navy); font-size: 14px; }
.price-badge { margin-top: 14px; display: inline-flex; align-items: center; gap: 5px; color: #7D4206; background: var(--brand-orange-soft); border: 1px solid #FFD8AE; border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.price-badge strong { color: #8E4700; }
.hero-visual { position: relative; min-width: 0; }
.browser-card { position: relative; z-index: 2; background: white; border: 1px solid #D5E1E8; border-radius: 22px; box-shadow: 0 28px 70px rgba(0,47,73,.14); overflow: hidden; transform: rotate(1.2deg); }
.browser-bar { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #F4F7F9; border-bottom: 1px solid #E1E8ED; color: #607582; font-size: 11px; }
.browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #B8C6CF; }
.browser-bar > span:first-child { background: var(--brand-orange); }
.browser-bar div { margin-left: 8px; font-weight: 700; }
.browser-content { padding: 20px; background: linear-gradient(145deg, #F7FAFC 0%, #EEF5F9 100%); }
.problem-card { padding: 20px; border-radius: 16px; background: white; border: 1px solid #DDE7EC; }
.problem-label { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--action-blue-soft); color: var(--action-blue); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.problem-text { margin-top: 14px; color: var(--brand-navy); font-size: 15px; line-height: 1.5; }
.answer-row { margin-top: 10px; min-height: 32px; display: flex; align-items: center; gap: 10px; }
.answer-row span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #C9D6DD; border-radius: 50%; font-size: 11px; font-weight: 800; color: #667A87; }
.answer-row i { height: 8px; flex: 1; border-radius: 6px; background: #EDF2F5; }
.answer-row.active span { color: white; border-color: var(--action-blue); background: var(--action-blue); }
.answer-row.active i { background: #CBE3F6; }
.desmos-card { position: relative; height: 190px; margin-top: 14px; border-radius: 16px; overflow: hidden; background: #FCFDFD; border: 1px solid #DDE7EC; }
.axis { position: absolute; background: #91A7B4; opacity: .65; }
.axis.x { left: 10%; right: 7%; top: 58%; height: 1px; }
.axis.y { top: 10%; bottom: 9%; left: 44%; width: 1px; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(#DCE6EB 1px, transparent 1px), linear-gradient(90deg, #DCE6EB 1px, transparent 1px); background-size: 28px 28px; opacity: .45; }
.curve { position: absolute; width: 170px; height: 120px; border: 4px solid var(--action-blue); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; left: 30%; top: 30%; transform: rotate(-34deg); }
.point { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(242,127,2,.14); }
.point-a { left: 43%; top: 54%; }
.point-b { right: 22%; top: 28%; }
.desmos-label { position: absolute; right: 12px; bottom: 10px; color: #708694; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.explain-card { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--brand-navy); color: white; }
.explain-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--brand-orange); color: white; font-weight: 900; font-size: 19px; }
.explain-card strong, .explain-card small { display: block; }
.explain-card small { margin-top: 2px; color: #C8DCE7; }
.hero-shape { position: absolute; border: 26px solid rgba(242,127,2,.07); transform: rotate(-27deg); }
.hero-shape-a { width: 370px; height: 370px; right: -170px; top: 10px; border-left: 0; border-bottom: 0; }
.hero-shape-b { width: 250px; height: 250px; left: -165px; bottom: -140px; border-color: rgba(11,102,195,.055); }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.info-card { position: relative; background: white; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-soft); }
.info-card::after { content: ""; position: absolute; width: 22px; height: 22px; right: 16px; top: 17px; border-top: 3px solid rgba(242,127,2,.5); border-right: 3px solid rgba(242,127,2,.5); transform: skew(-12deg); }
.card-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-navy); color: white; font-size: 11px; font-weight: 800; margin-bottom: 20px; }
.info-card p { color: var(--muted); font-size: 15px; }
.precision-callout { margin-top: 26px; display: flex; align-items: center; gap: 18px; border: 1px solid #CFE0EA; border-left: 4px solid var(--brand-orange); border-radius: 16px; background: #FDFEFE; padding: 20px 24px; }
.precision-callout p { color: #385465; }
.precision-callout strong { color: var(--brand-navy); }
.precision-mark { color: rgba(242,127,2,.18); font-size: 52px; line-height: 1; font-weight: 900; }

/* Steps */
.steps { display: grid; gap: 12px; }
.step-card { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: white; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.step-card:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,47,73,.06); border-color: #C8D9E3; }
.step-number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-navy); color: white; font-weight: 850; }
.step-card h3 { margin-bottom: 4px; font-size: 18px; }
.step-card p { color: var(--muted); font-size: 14.5px; }
.step-status { white-space: nowrap; padding: 7px 10px; border-radius: 999px; background: var(--action-blue-soft); color: var(--action-blue); font-size: 11px; font-weight: 800; }
.credit-banner { margin-top: 24px; display: flex; align-items: center; gap: 18px; border-radius: 16px; background: var(--success-soft); border: 1px solid #CDEBDE; padding: 20px 22px; }
.credit-icon { min-width: 64px; min-height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--success); color: white; font-weight: 850; }
.credit-banner p { color: #2E5B4A; }
.credit-banner strong { color: #164F39; }

/* Experience */
.experience-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(44px, 6vw, 80px); position: relative; z-index: 2; }
.experience-copy h2 { color: white; }
.experience-copy > p { color: #D0E0E9; font-size: 17px; max-width: 720px; }
.metric-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.metric-grid > div { padding: 17px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.055); }
.metric-grid strong { display: block; color: white; font-size: 21px; }
.metric-grid span { display: block; color: #AFC9D7; font-size: 12px; margin-top: 2px; }
.credential-visual { position: relative; }
.credential-board { min-height: 380px; position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, #0A405C, #001F31); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 28px 60px rgba(0,0,0,.2); padding: 36px; }
.board-tag { display: inline-flex; border-radius: 999px; background: rgba(242,127,2,.16); color: #FFB76B; border: 1px solid rgba(242,127,2,.28); padding: 6px 10px; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.board-equation { margin-top: 62px; color: white; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); font-style: italic; }
.board-line { margin-top: 28px; width: 72%; height: 1px; background: rgba(255,255,255,.18); }
.board-note { margin-top: 18px; color: #BBD2DE; font-size: 14px; }
.board-four { position: absolute; right: -25px; bottom: -76px; font-size: 270px; line-height: 1; color: rgba(242,127,2,.12); font-weight: 900; }
.privacy-note { margin-top: 12px; color: #89A8B8; font-size: 11px; text-align: center; }

/* Pricing */
.diagnostic-banner { margin: 0 auto 26px; max-width: 960px; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 8px; text-align: center; padding: 16px 20px; border-radius: 14px; background: var(--action-blue-soft); border: 1px solid #D2E6F4; color: #456378; font-size: 14px; }
.diagnostic-banner strong { color: var(--brand-navy); }
.pricing-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 23px 19px; border: 1px solid var(--border); border-top: 4px solid var(--brand-navy); border-radius: 16px; background: white; box-shadow: var(--shadow-soft); overflow: hidden; }
.pricing-card::after { content: ""; position: absolute; width: 22px; height: 22px; right: 13px; top: 14px; border-top: 3px solid rgba(242,127,2,.5); border-right: 3px solid rgba(242,127,2,.5); transform: skew(-12deg); }
.plan-code { color: var(--brand-orange); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.pricing-card h3 { margin-top: 8px; font-size: 17px; }
.price { margin-top: 13px; color: var(--brand-navy); font-size: 31px; line-height: 1; font-weight: 850; letter-spacing: -.045em; }
.per-hour { margin-top: 7px; color: var(--action-blue); font-size: 12px; font-weight: 800; }
.pricing-card ul { flex: 1; margin: 20px 0 22px; padding: 0; list-style: none; display: grid; align-content: start; gap: 9px; }
.pricing-card li { position: relative; padding-left: 16px; color: var(--muted); font-size: 13px; }
.pricing-card li::before { content: ""; position: absolute; width: 6px; height: 6px; left: 0; top: .68em; border-radius: 50%; background: var(--brand-orange); }
.pricing-custom { background: #FBFDFE; }
.pricing-custom .price { font-size: 24px; margin-top: 16px; }

/* Parents */
.parent-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(44px, 6vw, 80px); }
.report-card { background: white; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-soft); overflow: hidden; }
.report-head { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--brand-navy); color: white; }
.report-head span, .report-head strong { display: block; }
.report-head > div > span { color: #AFC9D7; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.report-head > div > strong { font-size: 18px; }
.report-chip { padding: 5px 8px; border-radius: 999px; background: rgba(242,127,2,.18); border: 1px solid rgba(242,127,2,.3); color: #FFBE7A; font-size: 9px; font-weight: 800; }
.report-list { padding: 10px 22px 18px; }
.report-list > div { min-height: 61px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #E7EDF0; }
.report-list > div:last-child { border-bottom: 0; }
.report-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--action-blue-soft); color: var(--action-blue); font-weight: 850; }
.report-list p { line-height: 1.25; }
.report-list strong, .report-list small { display: block; }
.report-list strong { color: var(--brand-navy); font-size: 13px; }
.report-list small { margin-top: 4px; color: var(--muted); font-size: 11px; }

/* Reasons */
.reasons-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.reasons-grid article { min-height: 180px; position: relative; padding: 24px; border-radius: 16px; border: 1px solid var(--border); background: white; box-shadow: var(--shadow-soft); }
.reasons-grid article > span { color: var(--brand-orange); font-size: 11px; font-weight: 850; }
.reasons-grid h3 { margin-top: 18px; }
.reasons-grid p { color: var(--muted); font-size: 14px; }
.reasons-grid article:nth-child(7) { grid-column: span 2; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.faq-intro { position: sticky; top: 115px; }
.faq-intro p { color: var(--muted); }
.accordion { background: white; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: 0; }
.accordion-item h3 { margin: 0; }
.accordion-trigger { width: 100%; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 0; background: white; color: var(--brand-navy); text-align: left; font-size: 15px; font-weight: 760; }
.accordion-trigger:hover { background: #FBFDFE; }
.accordion-trigger > span { flex: 0 0 auto; color: var(--action-blue); font-size: 23px; font-weight: 500; transition: transform var(--transition), color var(--transition); }
.accordion-trigger[aria-expanded="true"] > span { transform: rotate(45deg); color: var(--brand-orange); }
.accordion-panel { padding: 0 20px 20px; color: var(--muted); font-size: 14px; }
.resource-anchor { height: 0; overflow: hidden; }

/* Contact */
.contact-section { position: relative; overflow: hidden; background: var(--brand-navy); color: white; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: clamp(44px, 6vw, 80px); position: relative; z-index: 2; }
.contact-copy h2 { color: white; }
.contact-copy > p { color: #CADDE7; font-size: 17px; }
.contact-note { margin-top: 26px; padding: 17px; border-radius: 14px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); }
.contact-note strong, .contact-note span { display: block; }
.contact-note strong { color: white; }
.contact-note span { margin-top: 4px; color: #9FC0D0; font-size: 12px; }
.contact-form { padding: clamp(24px, 4vw, 32px); border-radius: 20px; background: white; box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.field-grid { display: grid; gap: 14px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.contact-form > label, .field-grid label { display: grid; gap: 7px; color: var(--brand-navy); font-size: 12px; font-weight: 760; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 11px; background: white; color: var(--text); padding: 12px 13px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.contact-form input[type="text"], .contact-form input[type="email"] { min-height: 48px; }
.contact-form textarea { resize: vertical; min-height: 105px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--action-blue); box-shadow: 0 0 0 3px rgba(11,102,195,.09); }
.contact-form > label { margin-top: 14px; }
.consent-row { grid-template-columns: 18px 1fr !important; align-items: start; color: var(--muted) !important; font-weight: 500 !important; line-height: 1.45; }
.consent-row input { margin-top: 2px; }
.contact-form .btn { margin-top: 18px; }
.form-stage-note { display: block; margin-top: 9px; text-align: center; color: #7B8D98; font-size: 10px; }
.contact-shape { position: absolute; width: 420px; height: 420px; right: -180px; top: -210px; border: 32px solid rgba(242,127,2,.75); border-left: 0; border-bottom: 0; transform: rotate(-24deg); }

/* Footer */
.site-footer { background: var(--brand-navy-deep); color: #C2D7E1; padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr 1fr; gap: 44px; align-items: start; }
.footer-brand img { width: 270px; max-width: 100%; background: white; border-radius: 10px; padding: 7px 9px; }
.footer-brand p { margin-top: 14px; color: #9CB7C5; font-size: 13px; }
.footer-grid nav { display: grid; gap: 9px; }
.footer-grid nav a { color: #D6E5EC; text-decoration: none; font-size: 13px; }
.footer-grid nav a:hover { color: white; }
.footer-legal { display: grid; gap: 7px; }
.footer-legal > span { color: #D6E5EC; font-size: 13px; }
.footer-legal p { margin-top: 8px; color: #90ADBB; font-size: 11px; line-height: 1.5; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #7899A9; font-size: 11px; }

@media (max-width: 1160px) {
  .brand-logo { width: 205px; }
  .main-nav { gap: 11px; }
  .main-nav > a:not(.btn) { font-size: 12px; }
  .nav-cta { padding-inline: 13px; font-size: 12px; }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pricing-custom { grid-column: span 2; }
}

@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .site-header, .header-inner { min-height: 72px; }
  .brand-logo { width: 205px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; border-radius: 2px; background: var(--brand-navy); }
  .main-nav { position: absolute; left: 0; right: 0; top: 72px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px var(--gutter) 22px; background: white; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-header); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #EDF2F5; font-size: 14px; }
  .nav-cta { width: 100%; margin-top: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 820px; }
  .hero-visual { width: min(670px, 100%); }
  .browser-card { transform: none; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid, .parent-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .credential-visual { max-width: 700px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-custom { grid-column: auto; }
  .reasons-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reasons-grid article:nth-child(7) { grid-column: span 2; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 82px; }
  .section { padding-block: 64px; }
  h1 { font-size: clamp(35px, 9.6vw, 42px); line-height: 1.09; }
  h2 { font-size: clamp(28px, 7.2vw, 34px); }
  .lead { font-size: 17px; }
  .hero { padding-top: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .browser-content { padding: 14px; }
  .problem-card { padding: 15px; }
  .desmos-card { height: 165px; }
  .audience-grid, .pricing-grid, .reasons-grid, .field-grid.two, .footer-grid { grid-template-columns: 1fr; }
  .reasons-grid article:nth-child(7) { grid-column: auto; }
  .step-card { grid-template-columns: 46px minmax(0,1fr); align-items: start; }
  .step-number { width: 40px; height: 40px; }
  .step-status { grid-column: 2; justify-self: start; }
  .credit-banner { align-items: flex-start; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .credential-board { min-height: 310px; }
  .board-four { font-size: 220px; }
  .diagnostic-banner { text-align: left; justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (max-width: 430px) {
  :root { --gutter: 20px; }
  .brand-logo { width: 178px; }
  .trust-grid { grid-template-columns: 1fr; }
  .precision-callout { align-items: flex-start; padding-inline: 18px; }
  .precision-mark { font-size: 40px; }
  .credit-banner { flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-grid > div { padding: 14px 12px; }
  .metric-grid strong { font-size: 18px; }
  .report-head { align-items: flex-start; }
  .report-chip { white-space: nowrap; }
}

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

.optional-label { color: var(--muted); font-size: 10px; font-weight: 600; }

/* Fase 4 — Conversión */
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-actions .btn-secondary { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.06); color: #fff; }
.contact-actions .btn-secondary:hover { border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.11); }
.contact-form-wrap { min-width: 0; }
.form-heading { margin-bottom: 20px; }
.form-heading h3 { margin-bottom: 6px; }
.form-heading p { color: var(--muted); font-size: 13px; }
.optional-label { color: var(--muted); font-weight: 500; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin-top: 15px; padding: 11px 13px; border-radius: 11px; font-size: 12px; line-height: 1.45; }
.form-status-info { background: #EEF5FA; border: 1px solid #D0E2EF; color: #315C73; }
.form-status-success { background: var(--success-soft); border: 1px solid #BFE6D5; color: #116244; }
.form-status-error { background: #FFF1F0; border: 1px solid #F2C3BF; color: #8F312C; }
.contact-form [aria-invalid="true"] { border-color: #C74B45 !important; box-shadow: 0 0 0 3px rgba(199,75,69,.08) !important; }
.contact-unavailable { padding: 30px; border-radius: 20px; background: white; color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.contact-unavailable h3 { margin-bottom: 7px; }
.contact-unavailable p { color: var(--muted); }
.whatsapp-float { position: fixed; z-index: 920; right: 22px; bottom: 22px; min-height: 52px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border-radius: 999px; background: #1F9D63; color: white; text-decoration: none; box-shadow: 0 14px 34px rgba(0,47,73,.22); font-size: 13px; font-weight: 800; }
.whatsapp-float[hidden] { display: none !important; }
.whatsapp-float > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 10px; letter-spacing: .04em; }
.whatsapp-float:hover { transform: translateY(-1px); }

@media (max-width: 700px) {
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .whatsapp-float { right: 14px; bottom: 14px; padding-right: 10px; }
  .whatsapp-float-text { display: none; }
}



/* ===== Fase 5: Legal + consentimiento ===== */
.footer-legal a { color: #D6E5EC; text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie-button { appearance: none; border: 0; background: transparent; color: #90ADBB; padding: 0; font: inherit; font-size: 11px; cursor: pointer; text-align: left; }
.footer-cookie-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.optional-consent { margin-top: 10px; padding: 12px; border: 1px solid #D8E7F0; border-radius: 12px; background: #F8FBFD; }
.optional-consent[hidden] { display: none !important; }
.inline-legal-link { color: var(--action-blue); text-underline-offset: 2px; }

.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 2100; max-width: 1120px; margin: 0 auto; border: 1px solid #CADAE4; border-radius: 18px; background: rgba(255,255,255,.985); box-shadow: 0 24px 70px rgba(0,47,73,.2); padding: 18px 20px; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-copy { max-width: 720px; }
.cookie-copy strong { display: block; color: var(--brand-navy); margin-bottom: 4px; }
.cookie-copy p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.cookie-copy a { color: var(--action-blue); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 44px; padding: 10px 14px; font-size: 12px; }

.cookie-dialog { width: min(620px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 0; box-shadow: 0 34px 90px rgba(0,0,0,.28); color: var(--text); }
.cookie-dialog::backdrop { background: rgba(0,31,49,.58); backdrop-filter: blur(3px); }
.cookie-dialog-body { padding: 26px; }
.cookie-dialog h2 { font-size: 26px; margin-bottom: 7px; }
.cookie-dialog-intro { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.cookie-choice { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; padding: 15px 0; border-top: 1px solid var(--border); }
.cookie-choice strong { color: var(--brand-navy); font-size: 14px; }
.cookie-choice p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.cookie-choice input { width: 20px; height: 20px; accent-color: var(--action-blue); }
.cookie-dialog-actions { margin-top: 22px; display: flex; gap: 9px; justify-content: flex-end; }

.legal-hero { padding: 70px 0 46px; background: linear-gradient(180deg, #F8FBFD 0%, #fff 100%); border-bottom: 1px solid var(--border); }
.legal-hero .container { max-width: 950px; }
.legal-hero h1 { max-width: 850px; font-size: clamp(38px, 6vw, 58px); }
.legal-hero p { max-width: 760px; color: var(--muted); font-size: 17px; }
.draft-notice { margin-top: 24px; padding: 15px 17px; border-radius: 14px; background: #FFF4E8; border: 1px solid #FFD8AE; color: #7D4206; font-size: 13px; line-height: 1.55; }
.legal-content { padding: 58px 0 90px; }
.legal-content .container { max-width: 950px; }
.legal-section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-section h2 { font-size: clamp(25px, 4vw, 32px); margin-bottom: 12px; }
.legal-section h3 { font-size: 18px; margin-top: 20px; margin-bottom: 8px; }
.legal-section p, .legal-section li { color: #455D6B; line-height: 1.7; }
.legal-section ul { padding-left: 22px; margin-top: 10px; }
.legal-section li + li { margin-top: 6px; }
.legal-table-wrap { overflow-x: auto; margin-top: 16px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 650px; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 13px 14px; border: 1px solid var(--border); }
.legal-table th { background: var(--brand-navy); color: #fff; }
.legal-table td { color: #455D6B; }
.pending-clause { margin-top: 12px; padding: 13px 15px; border-radius: 12px; background: #F6F8FB; border-left: 4px solid var(--brand-orange); color: #536A78; font-size: 13px; line-height: 1.6; }
.legal-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }

@media (max-width: 760px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 15px; border-radius: 15px; }
  .cookie-banner-inner { align-items: stretch; flex-direction: column; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 140px; }
  .cookie-dialog-actions { flex-direction: column-reverse; }
  .cookie-dialog-actions .btn { width: 100%; }
  .legal-hero { padding: 48px 0 34px; }
  .legal-content { padding: 42px 0 65px; }
}


/* ===== Fases 6–8 additions ===== */
.resource-hero { padding: 132px 0 72px; background: linear-gradient(180deg,#F5F9FC 0,#fff 100%); }
.resource-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px; margin-top:28px; }
.resource-card { border:1px solid var(--border); border-radius:var(--radius-card); padding:24px; background:#fff; box-shadow:var(--shadow-soft); }
.resource-card h2 { font-size:24px; }
.resource-card ul { margin:14px 0 0; padding-left:20px; color:var(--muted); }
.resource-note { margin-top:24px; padding:18px 20px; background:var(--action-blue-soft); border:1px solid #cfe2f2; border-radius:16px; }
.qa-badge { display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius:999px; font-size:13px; font-weight:750; background:#eef8f3; color:#176f52; }
@media (max-width:760px){ .resource-grid{grid-template-columns:1fr;} .resource-hero{padding-top:110px;} }


/* Fases 14–16: endurecimiento final de accesibilidad/performance. */
.brand-logo img, .footer-brand img { aspect-ratio: 2048 / 300; object-fit: contain; }
[aria-invalid="true"] { border-color: #B42318 !important; box-shadow: 0 0 0 3px rgba(180,35,24,.10) !important; }
.form-status-error { color: #8A1C13; background: #FEF3F2; border: 1px solid #F7C7C2; }
.form-status-success { color: #145A3C; background: #ECFDF3; border: 1px solid #B7E7CF; }
.form-status-info { color: #294A5C; background: #F2F7FA; border: 1px solid #D8E2E8; }
.form-status { margin-top: 12px; padding: 11px 12px; border-radius: 10px; font-size: 13px; }
@media (forced-colors: active) {
  .btn, .trust-chip, .pricing-card, .info-card, .accordion { border: 1px solid ButtonText; }
}


/* Redes sociales Ask4Teacher */
.footer-social { margin-top: 20px; }
.footer-social > strong, .contact-social > strong { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .02em; }
.footer-social > strong { color: #D6E5EC; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.055); color: #E9F2F6; text-decoration: none; font-size: 12px; font-weight: 720; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.social-link:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.10); color: #fff; }
.social-link:focus-visible { outline: 3px solid rgba(255,255,255,.92); outline-offset: 3px; }
.social-mark { min-width: 25px; height: 25px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 50%; background: #fff; color: var(--brand-navy); font-size: 10px; font-weight: 900; line-height: 1; }
.social-arrow { opacity: .72; font-size: 13px; }
.contact-social { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); }
.contact-social > strong { color: #fff; }
.social-links-contact .social-link { min-height: 44px; }
@media (max-width: 430px) {
  .social-links-contact { display: grid; grid-template-columns: 1fr; }
  .social-links-contact .social-link { width: 100%; justify-content: flex-start; }
}
