:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #f4f4f6;
  --surface-high: #e9eef1;
  --surface-top: #dde8ed;
  --ink: #141d22;
  --primary: #075985;
  --on-primary: #ffffff;
  --primary-container: #cdebff;
  --accent: #007d6e;
  --accent-container: #d9f5ed;
  --secondary: #56646b;
  --tertiary: #73848c;
  --divider: #e1e2e6;
  --outline: #caced4;
  --page: 1160px;
  --radius-card: 12px;
  --radius-control: 8px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--canvas); color: var(--ink); font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 9px 14px; border-radius: var(--radius-control); background: var(--primary); color: var(--on-primary); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--divider); background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); font-size: 1rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
nav a, .footer-links a { color: var(--secondary); font-size: .86rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--primary); }
.status-chip { padding: 6px 10px; border: 1px solid var(--outline); border-radius: 999px; color: var(--primary); font-size: .7rem; font-weight: 750; }

.hero { min-height: 720px; padding-block: 68px 76px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr); gap: clamp(48px, 8vw, 104px); align-items: center; }
.kicker { display: block; color: var(--primary); font-size: .69rem; font-weight: 800; letter-spacing: .12em; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 0; font-size: clamp(2.65rem, 4.25vw, 3.85rem); line-height: 1.05; letter-spacing: -.048em; font-weight: 800; }
.hero-copy .kicker { margin-bottom: 18px; }
.hero-lead { max-width: 600px; margin: 24px 0 0; color: var(--secondary); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: .93rem; font-weight: 760; text-decoration: none; transition: background .16s ease, border-color .16s ease; }
.button.primary { background: var(--primary); color: var(--on-primary); }
.button.tonal { background: var(--primary-container); color: var(--primary); }
.button:focus-visible, nav a:focus-visible, .footer-links a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 530px; margin-top: 38px; border-top: 1px solid var(--divider); }
.hero-facts div { padding: 20px 16px 0 0; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-size: 1.45rem; line-height: 1.1; }
.hero-facts span { margin-top: 5px; color: var(--tertiary); font-size: .72rem; }

.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.material-orbit { position: absolute; border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; background: var(--primary-container); }
.orbit-two { width: 290px; height: 290px; right: 1%; bottom: 3%; border: 1px solid #a8ded4; background: var(--accent-container); }
.phone-frame { position: relative; z-index: 2; width: 286px; max-height: 590px; margin: 0; overflow: hidden; border: 7px solid #050607; border-radius: 38px; background: #050607; box-shadow: 0 28px 68px rgba(0, 0, 0, .45); }
.phone-frame img { width: 100%; height: auto; }
.floating-card { position: absolute; z-index: 3; display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--outline); border-radius: var(--radius-card); background: rgba(255, 255, 255, .94); box-shadow: 0 16px 42px rgba(20, 29, 34, .14); backdrop-filter: blur(12px); }
.floating-card span { color: var(--primary); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.floating-card strong { font-size: 1rem; }
.progress-card { top: 16%; right: -2%; }
.resume-card { left: -3%; bottom: 18%; }

.trust-strip { border-block: 1px solid #b9dff0; background: var(--primary-container); }
.trust-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.trust-inner > span { color: var(--secondary); font-size: .86rem; font-weight: 650; }
.trust-inner ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.trust-inner li { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .72); color: var(--primary); font-size: .69rem; font-weight: 700; }

.section { padding-block: 96px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr); gap: 64px; align-items: end; }
.section-heading .kicker { margin-bottom: 13px; }
.section-heading h2, .app-copy h2, .cta h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.042em; }
.section-heading > p { margin: 0 0 2px; color: var(--secondary); font-size: .96rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.feature-card { min-height: 235px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--divider); border-radius: var(--radius-card); background: var(--surface); }
.feature-card:nth-child(2) { border-color: #afdcd1; background: var(--accent-container); }
.feature-card:nth-child(3) { border-color: #d3c2ee; background: #f0e8ff; }
.feature-card:nth-child(4) { border-color: #ead39c; background: #fff2ce; }
.feature-primary { background: var(--primary-container); color: var(--ink); border-color: #a7d9ef; }
.feature-icon { align-self: flex-end; color: var(--tertiary); font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.feature-primary .feature-icon { color: var(--primary); }
.feature-card h3 { margin-bottom: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; }
.feature-card p { max-width: 500px; margin: 12px 0 0; color: var(--secondary); font-size: .9rem; }
.feature-primary p { color: var(--secondary); }

.app-section { padding-block: 96px; border-block: 1px solid #b9dff0; background: #f2f9fc; }
.app-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(390px, 1fr); gap: clamp(56px, 9vw, 120px); align-items: center; }
.app-copy .kicker { margin-bottom: 13px; }
.app-copy > p { max-width: 550px; margin: 22px 0 0; color: var(--secondary); font-size: .96rem; }
.check-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 11px; color: var(--secondary); font-weight: 620; }
.check-list span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-container); color: var(--primary); font-size: .78rem; }
.app-shot { width: min(390px, 100%); margin: 0 auto; }
.app-shot img { width: 100%; border: 6px solid #101417; border-radius: 34px; background: #101417; box-shadow: 0 24px 64px rgba(7, 89, 133, .18); }
.app-shot figcaption { margin-top: 14px; color: var(--tertiary); font-size: .72rem; text-align: center; }

.compact-heading { align-items: start; }
.exam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 42px; }
.exam-grid div { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 17px; border: 1px solid var(--divider); border-radius: var(--radius-control); background: var(--surface); }
.exam-grid div:nth-child(1) { border-color: #b9ccff; background: #edf1ff; }
.exam-grid div:nth-child(2) { border-color: #f0c89f; background: #fff0df; }
.exam-grid div:nth-child(3) { border-color: #d5c3f1; background: #f2eaff; }
.exam-grid div:nth-child(4) { border-color: #efc0bc; background: #ffebe8; }
.exam-grid div:nth-child(5) { border-color: #a8ded4; background: var(--accent-container); }
.exam-grid div:nth-child(6) { border-color: #e8cf92; background: #fff2c8; }
.exam-grid div:nth-child(7) { border-color: #acd9c6; background: #e4f7ef; }
.exam-grid strong { font-size: .88rem; font-weight: 650; }
.dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #3157d5; }
.dot.orange { background: #a14f00; }.dot.purple { background: #6a3cc7; }.dot.red { background: #b3261e; }.dot.teal { background: var(--accent); }.dot.gold { background: #8a5800; }.dot.green { background: #087a55; }

.cta { margin-bottom: 20px; padding: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; border: 1px solid #9bd4eb; border-radius: var(--radius-card); background: var(--primary-container); }
.cta img { border-radius: 16px; }
.cta .kicker { margin-bottom: 9px; }
.cta h2 { font-size: clamp(1.6rem, 2.7vw, 2.35rem); }
.cta p { margin: 10px 0 0; color: var(--secondary); font-size: .88rem; }
.study-notice { margin-bottom: 76px; padding: 20px; display: grid; grid-template-columns: 32px 1fr; gap: 14px; border: 1px solid var(--divider); border-radius: var(--radius-card); background: var(--surface); }
.notice-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--outline); border-radius: 50%; color: var(--primary); font-weight: 800; }
.study-notice h2 { margin: 2px 0 6px; font-size: .9rem; }
.study-notice p { margin: 0; color: var(--tertiary); font-size: .75rem; }

.site-footer { border-top: 1px solid #b9dff0; background: #edf7fb; }
.footer-inner { min-height: 120px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 0 28px; align-items: center; }
.footer-links { display: flex; gap: 20px; }
.footer-inner small { grid-column: 1 / -1; padding: 14px 0 20px; border-top: 1px solid var(--divider); color: var(--tertiary); font-size: .68rem; }

/* Legal and support pages */
.legal-page { --legal-canvas: #f8fafb; --legal-surface: #ffffff; --legal-surface-soft: #eef6fa; --legal-ink: #141d22; --legal-muted: #56646b; --legal-outline: #d9e1e5; min-height: 100vh; background: var(--legal-canvas); color: var(--legal-ink); }
.legal-page .site-header { background: color-mix(in srgb, var(--legal-canvas) 90%, transparent); }
.legal-page .brand { color: var(--legal-ink); }
.legal-page .brand img { box-shadow: 0 6px 18px rgba(7, 89, 133, .16); }
.legal-page nav a { position: relative; padding: 8px 0; color: var(--legal-muted); }
.legal-page nav a[aria-current="page"] { color: var(--primary); }
.legal-page nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 999px; background: var(--primary); content: ""; }
.legal-shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.legal-main { padding: 56px 0 88px; }
.legal-hero { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 52px); border: 1px solid #b9dff0; border-radius: 18px; background: var(--primary-container); }
.legal-hero::after { position: absolute; width: 240px; height: 240px; right: -90px; bottom: -130px; border-radius: 50%; background: var(--accent-container); content: ""; }
.legal-hero > * { position: relative; z-index: 1; }
.legal-hero .kicker { margin-bottom: 13px; }
.legal-hero h1 { max-width: 760px; font-size: clamp(2.25rem, 5.5vw, 4rem); }
.legal-hero .lead { max-width: 720px; margin: 18px 0 0; color: var(--legal-muted); font-size: clamp(.98rem, 1.5vw, 1.1rem); line-height: 1.65; }
.legal-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.effective-date { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; padding: 7px 11px; border: 1px solid rgba(7, 89, 133, .2); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--primary); font-size: .72rem; font-weight: 750; }
.effective-date::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.summary-item { min-height: 112px; padding: 18px; border: 1px solid var(--legal-outline); border-radius: 12px; background: var(--legal-surface); }
.summary-item:nth-child(2) { border-color: #afdcd1; background: #e9f8f3; }
.summary-item:nth-child(3) { border-color: #d3c2ee; background: #f5efff; }
.summary-item:nth-child(4) { border-color: #ead39c; background: #fff6db; }
.summary-item strong, .summary-item span { display: block; }
.summary-item strong { font-size: .92rem; line-height: 1.25; }
.summary-item span { margin-top: 7px; color: var(--legal-muted); font-size: .75rem; line-height: 1.4; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.legal-aside { position: sticky; top: 92px; padding: 18px; border: 1px solid var(--legal-outline); border-radius: 12px; background: var(--legal-surface); }
.legal-aside strong { display: block; margin-bottom: 11px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-aside nav { display: grid; gap: 3px; }
.legal-aside nav a { padding: 8px 10px; border-radius: 7px; font-size: .78rem; font-weight: 650; text-decoration: none; }
.legal-aside nav a:hover { background: var(--legal-surface-soft); color: var(--primary); }
.legal-aside .aside-note { margin: 16px 0 0; padding-top: 15px; border-top: 1px solid var(--legal-outline); color: var(--legal-muted); font-size: .72rem; line-height: 1.5; }
.legal-content { display: grid; gap: 12px; }
.legal-card { scroll-margin-top: 92px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--legal-outline); border-radius: 12px; background: var(--legal-surface); }
.legal-card h2 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.48rem); letter-spacing: -.025em; }
.legal-card p { margin: 12px 0 0; color: var(--legal-muted); }
.legal-card a { color: var(--primary); font-weight: 650; }
.legal-card.notice-card { border-color: #9bd4eb; background: var(--legal-surface-soft); }
.legal-card.notice-card p { color: var(--legal-ink); font-weight: 540; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.support-link { min-height: 116px; display: flex; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid var(--legal-outline); border-radius: 12px; background: var(--legal-surface); color: var(--legal-ink); text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease; }
.support-link:hover { border-color: #9bd4eb; box-shadow: 0 12px 28px rgba(20,29,34,.07); }
.support-link:nth-child(2) { background: #e9f8f3; border-color: #afdcd1; }
.support-link:nth-child(3) { background: #f5efff; border-color: #d3c2ee; }
.support-link:nth-child(4) { background: #fff6db; border-color: #ead39c; }
.support-link strong, .support-link span { display: block; }
.support-link strong { font-size: 1rem; }
.support-link span { margin-top: 6px; color: var(--legal-muted); font-size: .76rem; line-height: 1.4; }
.support-link b { color: var(--primary); font-size: 1.1rem; font-weight: 500; }
.support-contact { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.support-contact p { margin: 8px 0 0; color: var(--legal-muted); }
.support-contact .button { white-space: nowrap; }
.legal-page .site-footer { margin-top: 0; background: #edf7fb; }
.legal-page .footer-inner { min-height: 108px; }

@media (prefers-color-scheme: dark) {
  .legal-page { --legal-canvas: #101417; --legal-surface: #1c2226; --legal-surface-soft: #172a33; --legal-ink: #edf3f6; --legal-muted: #bac6cc; --legal-outline: #354148; --primary: #77d1ff; --on-primary: #00344e; --primary-container: #163847; --accent: #61dbc8; --accent-container: #183a35; --secondary: #bac6cc; --tertiary: #9dabb2; --divider: #303b41; color-scheme: dark; }
  .legal-page .site-header { border-color: var(--legal-outline); }
  .legal-hero { border-color: #31566a; }
  .legal-hero::after { opacity: .7; }
  .effective-date { border-color: #3e6e83; background: rgba(16,20,23,.35); }
  .summary-item:nth-child(2), .support-link:nth-child(2) { border-color: #315a52; background: #19332f; }
  .summary-item:nth-child(3), .support-link:nth-child(3) { border-color: #554775; background: #2b2538; }
  .summary-item:nth-child(4), .support-link:nth-child(4) { border-color: #665931; background: #342f20; }
  .legal-page .site-footer { border-color: var(--legal-outline); background: #141b1f; }
}

@media (max-width: 920px) {
  .hero { min-height: auto; grid-template-columns: 1fr 340px; gap: 36px; padding-block: 62px 68px; }
  .hero-visual { min-height: 540px; }
  .phone-frame { width: 258px; max-height: 535px; }
  .orbit-one { width: 330px; height: 330px; }
  .floating-card { display: none; }
  .section-heading { gap: 40px; }
  .app-layout { gap: 48px; }
  .exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { grid-template-columns: auto 1fr; }
  .cta .button { grid-column: 2; justify-self: start; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 680px) {
  .shell { width: min(var(--page), calc(100% - 32px)); }
  .header-inner { min-height: 62px; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 16px; }
  nav a:not(:last-child), .status-chip { display: none; }
  .hero { display: flex; flex-direction: column; gap: 42px; padding-block: 52px 62px; }
  h1 { font-size: clamp(2.1rem, 9.8vw, 2.75rem); line-height: 1.08; letter-spacing: -.043em; }
  .hero-lead { margin-top: 20px; font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-facts { margin-top: 30px; }
  .hero-facts div { padding-top: 17px; }
  .hero-facts strong { font-size: 1.25rem; }
  .hero-facts span { font-size: .64rem; }
  .hero-visual { width: 100%; min-height: 545px; }
  .phone-frame { width: min(282px, calc(100vw - 74px)); max-height: 560px; }
  .orbit-one { width: min(330px, 90vw); height: min(330px, 90vw); }
  .trust-inner { padding-block: 18px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .trust-inner ul { justify-content: flex-start; }
  .section, .app-section { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .app-copy h2 { font-size: clamp(1.85rem, 8vw, 2.45rem); }
  .feature-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .feature-card { min-height: 210px; padding: 21px; }
  .app-layout { grid-template-columns: 1fr; gap: 44px; }
  .app-copy > p { font-size: .9rem; }
  .app-shot { width: min(350px, 100%); }
  .exam-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .cta { width: min(var(--page), calc(100% - 32px)); padding: 24px; grid-template-columns: 1fr; gap: 20px; }
  .cta img { width: 64px; height: 64px; }
  .cta .button { grid-column: 1; width: 100%; }
  .study-notice { margin-bottom: 58px; grid-template-columns: 1fr; }
  .footer-inner { min-height: 190px; display: flex; align-items: flex-start; flex-direction: column; gap: 22px; padding-block: 28px 20px; }
  .footer-inner small { width: 100%; padding-bottom: 0; }
  .legal-shell { width: min(100% - 32px, 1080px); }
  .legal-page .header-inner { min-height: 64px; gap: 12px; }
  .legal-page .header-inner .brand span { display: none; }
  .legal-page .header-inner nav { gap: 12px; }
  .legal-page .header-inner nav a { display: inline-flex; font-size: .76rem; }
  .legal-main { padding: 28px 0 58px; }
  .legal-hero { padding: 26px 22px; border-radius: 14px; }
  .legal-hero h1 { font-size: clamp(2rem, 11vw, 2.75rem); }
  .summary-grid, .support-grid { grid-template-columns: 1fr; }
  .summary-item { min-height: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 12px; }
  .legal-aside { position: static; padding: 12px; overflow-x: auto; }
  .legal-aside strong, .legal-aside .aside-note { display: none; }
  .legal-aside nav { display: flex; width: max-content; }
  .legal-aside nav a { border: 1px solid var(--legal-outline); border-radius: 999px; white-space: nowrap; }
  .legal-card { padding: 22px; }
  .support-contact { grid-template-columns: 1fr; }
  .support-contact .button { width: 100%; }
}

@media (max-width: 420px) {
  .legal-page .header-inner nav { gap: 9px; }
  .legal-page .header-inner nav a { font-size: .72rem; }
}

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