:root {
  color-scheme: light;
  --navy: #07234e;
  --ink: #17233b;
  --blue: #1475ff;
  --blue-dark: #285ade;
  --muted: #637089;
  --border: #dfe5ef;
  --soft: #f5f7fb;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #79a0ff; outline-offset: 4px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 22px; font-weight: 700; letter-spacing: -.55px; line-height: 1; }
.brand img { border-radius: 11px; }
.brand > span > span { color: var(--blue); }
.header-sign-in { color: var(--blue-dark); font-weight: 700; padding: 12px 4px; }
.header-sign-in:hover, .footer-links a:hover, .beta-section a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { min-height: calc(100svh - 88px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 24px clamp(48px, 7vw, 96px); padding: clamp(42px, 5.5vw, 68px) 0 22px; }
.hero-copy { min-width: 0; }
.beta-label, .eyebrow { color: #53698d; font-size: 12px; font-weight: 700; letter-spacing: 1.55px; text-transform: uppercase; }
.beta-label { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.beta-label span { width: 8px; height: 8px; border-radius: 999px; background: var(--blue); box-shadow: 0 0 0 5px #1475ff1a; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--navy); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(43px, 5vw, 68px); line-height: 1.08; }
.hero-description { max-width: 650px; color: #516079; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border-radius: 8px; padding: 0 21px; font-weight: 700; line-height: 1.25; }
.button-primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px #07234e1f; }
.button-primary:hover { background: #0e326b; }
.button-secondary { border: 1px solid #cbd6e7; color: #29466f; background: var(--white); }
.button-secondary:hover { border-color: #91a7c6; background: #f8faff; }
.beta-note { max-width: 650px; color: #718099; font-size: 14px; margin-top: 18px; }

.practice-card { position: relative; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--navy); color: var(--white); box-shadow: 0 28px 70px #07234e24; }
.practice-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), #87aefb); }
.practice-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 27px 28px 0; }
.practice-card-top strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 400; line-height: 1.35; margin-top: 7px; }
.mini-label { color: #aebdd6; font-size: 11px; font-weight: 700; letter-spacing: 1.35px; }
.ready { display: flex; align-items: center; gap: 7px; color: #bac9df; font-size: 12px; white-space: nowrap; }
.ready i { width: 7px; height: 7px; border-radius: 50%; background: #8cdfc3; }
.timer { padding: 28px; text-align: center; font-size: clamp(47px, 5.5vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.practice-fields { padding: 22px 25px 25px; background: var(--white); color: var(--ink); display: grid; gap: 1px; }
.practice-fields div { display: grid; gap: 2px; padding: 14px 12px; border-bottom: 1px solid #e8edf5; }
.practice-fields div:last-child { border: 0; }
.practice-fields span { color: #637089; font-size: 12px; font-weight: 700; }
.practice-fields strong { color: #354762; font-size: 14px; font-weight: 500; }
.practice-fields .focus { border-left: 3px solid var(--blue); border-bottom: 0; background: #f1f5ff; border-radius: 5px; }
.continuation-cue { grid-column: 1 / -1; justify-self: center; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d7dfeb; border-radius: 999px; color: #5d7191; background: var(--white); }
.continuation-cue:hover { border-color: #aabbd4; color: var(--blue-dark); background: #f8faff; }
.continuation-cue svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.features { padding: 0 0 clamp(74px, 9vw, 116px); border-top: 1px solid var(--border); }
.feature-row { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 6vw, 76px); align-items: center; padding: clamp(60px, 8vw, 104px) 0; }
.practice-feature-row { align-items: start; padding-top: clamp(54px, 6vw, 78px); }
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row-reverse { grid-template-columns: minmax(0, 1.28fr) minmax(250px, .72fr); }
.feature-row-reverse .feature-copy { grid-column: 2; }
.feature-row-reverse .product-frame { grid-column: 1; grid-row: 1; }
.feature-copy { min-width: 0; }
.feature-number { color: #8aa0c2; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; }
.feature-copy h3 { font-size: clamp(30px, 3.1vw, 43px); line-height: 1.15; margin-top: 12px; }
.feature-copy > p:not(.feature-number) { color: #596880; font-size: 17px; margin-top: 20px; }
.feature-copy > span { display: block; color: #6d7d96; font-size: 13px; font-weight: 700; line-height: 1.5; margin-top: 22px; }
.product-frame { min-width: 0; overflow: hidden; border: 1px solid #d5dce8; border-radius: 16px; background: #f7f9fc; box-shadow: 0 22px 55px #07234e1a; }
.product-frame img { width: 100%; height: auto; aspect-ratio: 1348 / 926; object-fit: cover; }

.beta-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 8vw, 110px); align-items: center; margin-bottom: clamp(70px, 8vw, 110px); padding: clamp(38px, 6vw, 70px); border-radius: 18px; background: var(--navy); color: var(--white); }
.beta-section .eyebrow { color: #9cb5dc; }
.beta-section h2 { color: var(--white); font-size: clamp(34px, 4vw, 48px); line-height: 1.18; margin-top: 11px; }
.beta-section > div:last-child p { color: #ced9e9; font-size: 18px; }
.beta-section a { display: inline-block; color: #bcd0ff; font-weight: 700; margin-top: 20px; }

footer { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 32px; border-top: 1px solid var(--border); color: #718099; font-size: 13px; }
.footer-brand, .footer-links { display: flex; align-items: center; gap: 16px; }
.footer-brand img { border-radius: 8px; }
.footer-brand > span { color: var(--navy); font-size: 16px; font-weight: 700; }
.footer-brand small { padding: 4px 8px; border-radius: 999px; background: #edf2fb; font-size: 11px; font-weight: 700; }
.footer-links a { color: #385782; }

@media (max-width: 900px) {
  .hero { min-height: calc(100svh - 88px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 34px; padding: 56px 0 22px; }
  .hero-copy { max-width: 760px; }
  .practice-card { width: min(620px, 100%); }
  .continuation-cue { margin-top: 2px; }
  .feature-row, .feature-row-reverse { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .feature-row-reverse .feature-copy, .feature-row-reverse .product-frame { grid-column: auto; grid-row: auto; }
  .feature-copy { max-width: 660px; }
  .product-frame { width: 100%; }
  .beta-section { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; padding: 28px 0; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: calc(100svh - 76px); padding: 46px 0 20px; gap: 28px; }
  h1 { font-size: clamp(38px, 12.3vw, 51px); }
  .hero-description { font-size: 17px; margin-top: 20px; }
  .hero-actions { align-items: stretch; }
  .button { width: 100%; }
  .practice-card-top { padding: 23px 19px 0; }
  .practice-card-top strong { font-size: 18px; }
  .timer { padding: 26px 14px; font-size: clamp(45px, 15vw, 62px); }
  .practice-fields { padding: 15px; }
  .features { padding: 0 0 70px; }
  .practice-feature-row { gap: 25px; padding-top: 50px; }
  .feature-row { gap: 25px; padding: 56px 0; }
  .feature-copy h3 { font-size: 31px; }
  .feature-copy > p:not(.feature-number) { font-size: 16px; margin-top: 15px; }
  .product-frame { overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; border-radius: 10px; box-shadow: 0 14px 35px #07234e17; scrollbar-width: thin; }
  .product-frame img { width: 620px; max-width: none; }
  .beta-section { padding: 32px 23px; }
  .beta-section > div:last-child p { font-size: 16px; }
  .footer-brand, .footer-links { align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 7px; }
}

@media (max-width: 360px) {
  .site-header, main, footer { width: min(100% - 22px, 1180px); }
  .header-sign-in { font-size: 14px; }
  .feature-row { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
