[hidden] { display: none !important; }

:root {
  --night: #080b0d;
  --surface: #11161a;
  --ink: #f2f5f3;
  --muted: #919b9b;
  --line: #263036;
  --mint: #65ddbd;
  --mint-dark: #071b16;
  --display: "Aptos Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --sans: "Aptos", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--night); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.home-auth-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--night);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 0s linear 140ms;
}
.home-auth-pending .home-auth-loader { opacity: 1; visibility: visible; transition-delay: 0s; }
.home-auth-loader span { position: relative; z-index: 1; color: var(--night); font: 800 21px/1 var(--display); }
.home-auth-loader i {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(101,221,189,.2);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: homeAuthSpin .8s linear infinite;
}
.home-auth-loader::before { content: ""; position: absolute; width: 35px; height: 35px; border-radius: 50%; background: var(--mint); }
@keyframes homeAuthSpin { to { transform: rotate(360deg); } }

.home-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: min(1380px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.home-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; color: var(--mint); font-size: 20px; font-weight: 900; letter-spacing: -.045em; text-decoration: none; }
.home-mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--night); font-family: var(--display); font-size: 15px; box-shadow: inset 0 0 0 5px rgba(7,27,22,.16); }
.home-links { display: flex; gap: 32px; color: var(--muted); font-size: 12px; font-weight: 800; }
.home-links a { text-decoration: none; transition: color .18s ease; }
.home-links a:hover { color: var(--ink); }
.home-account { justify-self: end; display: flex; align-items: center; gap: 7px; }

.nav-account { min-height: 35px; padding: 7px 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 850; }
.nav-account:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.nav-account.signup { border-color: rgba(101,221,189,.42); color: var(--mint); }
.nav-account.pro { display: inline-flex; align-items: center; border-color: rgba(101,221,189,.46); background: rgba(101,221,189,.09); color: var(--mint); text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.nav-account.pro:hover { transform: translateY(-1px); background: var(--mint); color: #07100d; }

@media (prefers-reduced-motion: reduce) {
  .home-auth-loader i { animation: none; border-color: var(--mint); }
}

.home-profile-wrap { position: relative; }
.home-profile { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(17,22,26,.8); color: var(--ink); cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.home-profile:hover, .home-profile[aria-expanded="true"] { border-color: var(--mint); transform: translateY(-1px); }
.home-profile svg { width: 17px; height: 17px; }
.home-profile-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #151b1f; box-shadow: 0 24px 70px rgba(0,0,0,.5); animation: menuIn .18s ease both; }
.home-profile-menu p { margin: 0; padding: 8px 10px 10px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.home-profile-menu button { width: 100%; padding: 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 800; text-align: left; }
.home-profile-menu button:hover { background: rgba(101,221,189,.08); color: var(--mint); }

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
  align-items: center;
  gap: 50px;
  overflow: hidden;
  padding: 128px max(6vw, 32px) 82px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 48%, rgba(101,221,189,.11), transparent 28%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    var(--night);
  background-size: auto, 100% 42px, auto;
}

.hero-copy { position: relative; z-index: 2; max-width: 760px; animation: heroCopyIn .75s cubic-bezier(.2,.8,.2,1) both; }
.hero-eyebrow, .section-lead > p, .choice-heading > p { margin: 0 0 20px; color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-family: var(--display); font-size: clamp(64px, 8.2vw, 134px); font-weight: 560; letter-spacing: -.065em; line-height: .82; }
.hero-intro { max-width: 590px; margin: 34px 0 0; color: #abb3b3; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; }
.hero-actions > a { color: var(--muted); font-size: 13px; font-weight: 800; text-underline-offset: 5px; }

.home-cta { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 13px 19px; border: 1px solid var(--mint); border-radius: 12px; background: var(--mint); color: var(--night); cursor: pointer; font-size: 14px; font-weight: 900; text-decoration: none; box-shadow: 0 15px 44px rgba(101,221,189,.12); transition: transform .18s ease, box-shadow .18s ease; }
.home-cta, .home-cta * { color: #050809 !important; }
.home-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 52px rgba(101,221,189,.2); }
.home-cta span { font-size: 18px; }

.practice-orbit { position: relative; justify-self: center; display: block; width: min(42vw, 590px); max-width: 100%; aspect-ratio: 1; color: inherit; animation: orbitIn 1s .15s cubic-bezier(.2,.8,.2,1) both; transition: transform 90ms linear; will-change: transform; }
.practice-orbit .orbit-core { z-index: 4; color: inherit; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.orbit-core:hover, .orbit-core:focus-visible { border-color: var(--mint); background: #10201c; box-shadow: 0 0 95px rgba(101,221,189,.18); transform: scale(1.035); }
.orbit-core:focus-visible, .skill-word:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.orbit-ring { position: absolute; pointer-events: none; border: 1px solid rgba(101,221,189,.24); border-radius: 50%; }
.ring-one { inset: 8%; animation: slowSpin 24s linear infinite; }
.ring-one::before, .ring-one::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 22px var(--mint); }
.ring-one::before { top: 4%; left: 27%; }.ring-one::after { right: 6%; bottom: 23%; }
.ring-two { inset: 26%; border-style: dashed; border-color: rgba(255,255,255,.13); animation: slowSpin 18s linear infinite reverse; }
.orbit-core { position: absolute; inset: 36%; display: grid; place-items: center; align-content: center; border: 1px solid rgba(101,221,189,.46); border-radius: 50%; background: #0b1312; box-shadow: 0 0 80px rgba(101,221,189,.09); text-align: center; }
.orbit-core > span { color: var(--mint); font-family: var(--display); font-size: clamp(48px, 6vw, 82px); font-weight: 700; line-height: .85; }
.orbit-core small { margin-top: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.skill-word { position: absolute; z-index: 5; min-height: 38px; padding: 8px 11px; border: 1px solid transparent; border-radius: 8px; appearance: none; background: var(--night); color: #cad0ce; cursor: pointer; font: inherit; font-size: clamp(12px, 1.2vw, 16px); font-weight: 850; letter-spacing: .02em; touch-action: manipulation; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.skill-word:hover, .skill-word:focus-visible { border-color: rgba(101,221,189,.45); background: #101817; color: var(--mint); transform: translateY(-2px); }
.word-reading { left: 0; top: 46%; }.word-listening { right: 3%; top: 17%; }.word-writing { right: 2%; bottom: 18%; }.word-speaking { left: 15%; bottom: 6%; }
.orbit-signal { position: absolute; pointer-events: none; width: 3px; height: 3px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 18px 5px rgba(101,221,189,.28); animation: signal 3s ease-in-out infinite; }
.signal-one { left: 22%; top: 16%; }.signal-two { right: 22%; top: 49%; animation-delay: .9s; }.signal-three { left: 38%; bottom: 18%; animation-delay: 1.7s; }
.hero-index { position: absolute; right: 2.5vw; bottom: -3vw; color: rgba(101,221,189,.055); font-family: var(--display); font-size: clamp(180px, 26vw, 420px); font-weight: 800; line-height: .75; pointer-events: none; }

.approach { padding: 130px max(6vw, 32px); }
.section-lead { display: grid; grid-template-columns: minmax(160px, .35fr) 1fr; gap: 40px; align-items: start; margin-bottom: 80px; }
.section-lead h2, .choice-heading h2 { max-width: 900px; margin: 0; font-family: var(--display); font-size: clamp(48px, 6.4vw, 98px); font-weight: 530; letter-spacing: -.055em; line-height: .92; }
.approach-lines { border-top: 1px solid var(--line); }
.approach-line { display: grid; grid-template-columns: 90px minmax(240px, .75fr) minmax(280px, 1fr); gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.approach-line > span { color: var(--mint); font-size: 11px; font-weight: 900; }
.approach-line h3 { margin: 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 38px); font-weight: 560; letter-spacing: -.025em; }
.approach-line p { max-width: 610px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.exam-choice { padding: 130px max(6vw, 32px) 150px; background: #0c1013; border-top: 1px solid var(--line); }
.choice-heading { max-width: 980px; margin-bottom: 72px; }
.exam-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); perspective: 1500px; }
.exam-card { min-height: 250px; color: inherit; outline: 0; perspective: 1500px; text-decoration: none; }
.exam-card-inner { position: relative; display: block; width: 100%; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .72s cubic-bezier(.2,.72,.18,1); }
.exam-card.flip-horizontal:hover .exam-card-inner,
.exam-card.flip-horizontal:focus-visible .exam-card-inner,
.exam-card.flip-horizontal.touch-flipped .exam-card-inner { transform: rotateY(180deg); }
.exam-card.flip-vertical:hover .exam-card-inner,
.exam-card.flip-vertical:focus-visible .exam-card-inner,
.exam-card.flip-vertical.touch-flipped .exam-card-inner { transform: rotateX(180deg); }
.exam-face { position: absolute; inset: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 34px; grid-template-rows: 1fr auto; gap: 24px; align-items: start; min-height: 250px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.exam-front { background: #12181c; }
.exam-back { background: #d8f4ec; color: #081511; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.flip-horizontal .exam-back { transform: rotateY(180deg); }
.flip-vertical .exam-back { transform: rotateX(180deg); }
.exam-copy { display: block; align-self: center; }
.exam-copy strong { display: block; margin-bottom: 10px; font-family: var(--display); font-size: clamp(32px, 3.5vw, 53px); font-weight: 560; letter-spacing: -.04em; line-height: 1; }
.exam-copy > span { display: block; max-width: 510px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.exam-back .exam-copy > span { color: #426058; }
.exam-number { color: var(--mint); font-size: 11px; font-weight: 900; }
.exam-back .exam-number { color: #176c58; }
.exam-status { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.exam-status.available { border-color: rgba(101,221,189,.38); color: var(--mint); }
.exam-back .exam-status { border-color: rgba(8,21,17,.2); color: #426058; }
.exam-back .exam-status.available { border-color: rgba(23,108,88,.35); color: #176c58; }
.exam-arrow { justify-self: end; font-size: 27px; }
.exam-go { position: absolute; left: 110px; bottom: 27px; padding-top: 11px; border-top: 1px solid rgba(8,21,17,.18); color: #0d4e3e; font-size: 13px; font-weight: 900; }

.home-footer { min-height: 100px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; padding: 26px max(6vw, 32px); border-top: 1px solid var(--line); color: #737d7c; font-size: 11px; }
.home-footer p { margin: 0; }.home-footer > span { justify-self: end; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.home-footer nav a { color: #8c9693; text-decoration: none; }
.home-footer nav a:hover, .home-footer nav a:focus-visible { color: var(--mint); }

.home-modal-layer { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); animation: fade .18s ease both; }
.home-modal { width: min(510px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #151b1f; box-shadow: 0 30px 100px rgba(0,0,0,.5); animation: modalIn .23s ease both; }
.home-modal small { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.home-modal h2 { margin: 13px 0 10px; font-family: var(--display); font-size: 36px; letter-spacing: -.04em; }
.home-modal p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.home-modal button { float: none; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.reveal-delay-1 { transition-delay: 65ms; }
.reveal.reveal-delay-2 { transition-delay: 130ms; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.placeholder-page { min-height: 100svh; background: radial-gradient(circle at 70% 40%, rgba(101,221,189,.1), transparent 28%), var(--night); }
.placeholder-page .home-nav { position: relative; grid-template-columns: 1fr auto; }
.back-home { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }
.coming-soon { position: relative; min-height: calc(100svh - 76px); display: grid; align-content: center; padding: 60px max(8vw, 28px) 100px; overflow: hidden; }
.coming-soon h1 { max-width: 980px; margin: 0; font-family: var(--display); font-size: clamp(66px, 10vw, 150px); font-weight: 540; letter-spacing: -.07em; line-height: .82; }
.coming-soon > p:not(.hero-eyebrow) { max-width: 590px; margin: 35px 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.coming-soon .home-cta { width: fit-content; }
.coming-index { position: absolute; right: 2vw; bottom: -5vw; color: rgba(101,221,189,.06); font-family: var(--display); font-size: min(35vw, 500px); font-weight: 800; line-height: .8; }

@keyframes heroCopyIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbitIn { from { opacity: 0; transform: scale(.84) rotate(-7deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes signal { 0%,100% { opacity: .28; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(15px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 900px) {
  .cursor-glow { display: none; }
  .home-nav { width: calc(100% - 32px); grid-template-columns: 1fr auto; }
  .home-links { display: none; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 690px; }
  .practice-orbit { width: min(86vw, 540px); margin: 20px auto 0; }
  .section-lead { grid-template-columns: 1fr; }
  .approach-line { grid-template-columns: 52px 1fr; }
  .approach-line p { grid-column: 2; }
  .exam-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .home-nav { min-height: 66px; }
  .nav-account { display: none; }
  .nav-account.pro { display: inline-flex; min-height: 32px; padding-inline: 9px; }
  .home-brand { font-size: 17px; }
  .home-hero { padding: 112px 20px 68px; }
  .hero-copy h1 { font-size: clamp(58px, 18vw, 86px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .practice-orbit { width: min(100%, 430px); }
  .skill-word { font-size: 11px; }
  .approach, .exam-choice { padding: 90px 20px; }
  .section-lead { margin-bottom: 55px; }
  .approach-line { grid-template-columns: 36px 1fr; gap: 18px; }
  .exam-card, .exam-card-inner, .exam-face { min-height: 230px; }
  .exam-face { grid-template-columns: 30px minmax(0, 1fr) 26px; gap: 14px; padding: 26px 22px; }
  .exam-status { display: none; }
  .exam-copy > span { font-size: 12px; line-height: 1.5; }
  .exam-go { left: 66px; bottom: 22px; }
  .home-footer { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .home-footer p { display: none; }
  .coming-soon { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .exam-card:hover .exam-card-inner, .exam-card:focus-visible .exam-card-inner, .exam-card.touch-flipped .exam-card-inner { transform: none !important; }
  .exam-back { transform: none !important; opacity: 0; }
  .exam-card:hover .exam-front, .exam-card:focus-visible .exam-front, .exam-card.touch-flipped .exam-front { opacity: 0; }
  .exam-card:hover .exam-back, .exam-card:focus-visible .exam-back, .exam-card.touch-flipped .exam-back { opacity: 1; }
}

/* 2026 onboarding and interactive homepage */
.home-hero { grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr); }
.hero-copy { max-width: 900px; }
.hero-copy h1 { max-width: 920px; font-size: clamp(52px, 6.8vw, 108px); line-height: .88; }
.hero-copy .hero-eyebrow { margin-bottom: 22px; }

.practice-preview {
  padding: 130px max(6vw, 32px) 150px;
  border-bottom: 1px solid var(--line);
  background: #0c1013;
}

.preview-heading {
  display: grid;
  grid-template-columns: 150px minmax(350px, .9fr) minmax(270px, .55fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: 70px;
}

.preview-heading > p,
.home-final-cta > p {
  align-self: start;
  margin: 5px 0 0;
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.preview-heading h2,
.home-final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(47px, 6vw, 88px);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: .92;
}

.preview-heading > span { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.preview-workbench { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.preview-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.preview-tabs button { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; text-align: left; transition: color .18s ease, background .18s ease; }
.preview-tabs button:last-child { border-right: 0; }
.preview-tabs button:hover { color: var(--ink); background: rgba(255,255,255,.025); }
.preview-tabs button.active { color: var(--night); background: var(--mint); }
.preview-tabs span { font-size: 14px; font-weight: 900; }
.preview-tabs small { color: inherit; font-size: 9px; font-weight: 850; letter-spacing: .08em; opacity: .72; text-transform: uppercase; }

.preview-stage { min-height: 480px; display: grid; grid-template-columns: minmax(260px, .82fr) minmax(360px, 1.18fr); }
.preview-stage.stage-enter > * { animation: previewIn 330ms cubic-bezier(.2,.8,.2,1) both; }
.preview-stage.stage-enter > :last-child { animation-delay: 45ms; }
.preview-passage, .preview-listen, .preview-speak-plan { display: grid; align-content: center; padding: clamp(34px, 5vw, 78px); border-right: 1px solid var(--line); background: rgba(8, 11, 13, .5); }
.preview-passage strong { color: var(--mint); font-size: 10px; letter-spacing: .12em; }
.preview-passage p { max-width: 540px; margin: 20px 0 0; color: #d7dcda; font-family: Georgia, serif; font-size: clamp(19px, 2vw, 26px); line-height: 1.58; }
.preview-task { display: grid; align-content: center; padding: clamp(34px, 5vw, 78px); }
.preview-eyebrow { margin: 0 0 14px; color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.preview-task h3 { max-width: 650px; margin: 0 0 28px; font-family: var(--display); font-size: clamp(29px, 3vw, 45px); font-weight: 560; letter-spacing: -.04em; line-height: 1.03; }
.preview-support { max-width: 600px; margin: -8px 0 28px; color: var(--muted); line-height: 1.6; }
.preview-options { display: grid; gap: 9px; max-width: 620px; }
.preview-options button { min-height: 48px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: #cbd2cf; cursor: pointer; text-align: left; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.preview-options button:hover, .preview-options button.selected { border-color: var(--mint); color: var(--ink); background: rgba(101,221,189,.07); }
.preview-check { width: fit-content; min-height: 43px; margin-top: 15px; padding: 10px 16px; border: 1px solid var(--mint); border-radius: 9px; background: var(--mint); color: var(--night); cursor: pointer; font-weight: 900; }
.preview-feedback { min-height: 21px; margin: 15px 0 0; color: #ff9c92; font-size: 13px; }
.preview-feedback.correct { color: var(--mint); }
.preview-task textarea { width: 100%; max-width: 670px; resize: vertical; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #11171b; color: var(--ink); font: 15px/1.55 var(--sans); outline: 0; }
.preview-task textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(101,221,189,.09); }
.preview-word-count { margin-top: 9px; color: var(--muted); font-size: 11px; }
.preview-response-row { max-width: 670px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; }
.preview-response-row .preview-word-count, .preview-response-row .preview-check { margin-top: 0; }

.preview-listen { gap: 28px; }
.preview-listen > strong { color: var(--mint); font-size: 10px; letter-spacing: .12em; }
.preview-wave { height: 150px; display: flex; align-items: center; gap: 5px; }
.preview-wave i { width: 5px; height: 38%; min-height: 10px; border-radius: 999px; background: var(--mint); opacity: .55; transform-origin: center; }
.preview-wave i:nth-child(4n + 1) { height: 24%; }
.preview-wave i:nth-child(4n + 2) { height: 68%; }
.preview-wave i:nth-child(4n + 3) { height: 46%; }
.preview-wave i:nth-child(4n) { height: 82%; }
.preview-listen button { width: fit-content; min-height: 45px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #151b1f; color: var(--ink); cursor: pointer; font-weight: 850; }
.preview-listen button.playing { border-color: var(--mint); color: var(--mint); }
.preview-listen:has(button.playing) .preview-wave i { animation: wavePulse 800ms ease-in-out infinite alternate; }
.preview-mini-status { width: fit-content; padding-top: 15px; border-top: 1px solid var(--line); color: var(--mint); font-size: 12px; font-weight: 800; }
.preview-audio-player { width: min(100%, 520px); accent-color: var(--mint); color-scheme: dark; }
.preview-email-context p { font-family: var(--sans); font-size: clamp(16px, 1.55vw, 20px); line-height: 1.6; }
.preview-email-points { max-width: 650px; margin: -10px 0 23px; padding-left: 22px; color: #cbd2cf; }
.preview-email-points li { margin: 8px 0; padding-left: 5px; line-height: 1.45; }
.preview-email-points li::marker { color: var(--mint); }

.preview-speak-plan { grid-template-columns: 36px 1fr; gap: 25px 17px; }
.preview-speak-plan > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(101,221,189,.45); border-radius: 50%; color: var(--mint); font-size: 11px; font-weight: 900; }
.preview-speak-plan p { margin: 0; color: var(--muted); line-height: 1.5; }
.preview-speak-plan strong { display: block; margin-bottom: 4px; color: var(--ink); }
.preview-record { width: fit-content; min-height: 47px; display: flex; align-items: center; gap: 11px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #151b1f; color: var(--ink); cursor: pointer; font-weight: 850; }
.preview-record i { width: 10px; height: 10px; border-radius: 50%; background: #ff7d86; box-shadow: 0 0 0 5px rgba(255,125,134,.1); }
.preview-record.active { border-color: #ff7d86; }
.preview-record.active i { animation: recordPulse 850ms ease infinite; }
.preview-interview-context { gap: 24px; }
.preview-interview-context p { font-family: var(--sans); font-size: clamp(18px, 1.8vw, 24px); }
.preview-prompt-play { width: fit-content; min-height: 44px; padding: 10px 15px; border: 1px solid rgba(101,221,189,.36); border-radius: 999px; background: rgba(101,221,189,.06); color: var(--mint); cursor: pointer; font-weight: 850; }
.preview-prompt-play:hover, .preview-prompt-play:focus-visible { border-color: var(--mint); outline: 0; }
.preview-speaking-controls { display: flex; align-items: center; gap: 16px; margin-bottom: 3px; }
.preview-countdown { min-width: 48px; color: var(--muted); font-variant-numeric: tabular-nums; }

.home-modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 11px; }
.home-modal-actions .modal-secondary { min-height: 46px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 850; }
.home-modal-actions .modal-secondary:hover, .home-modal-actions .modal-secondary:focus-visible { border-color: #4a565c; color: var(--ink); outline: 0; }

.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 560px; height: 560px; contain: strict; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(255,255,255,.045) 0, rgba(101,221,189,.018) 30%, rgba(0,0,0,.018) 56%, transparent 73%); will-change: transform, opacity; transition: opacity .35s ease; }
.cursor-glow.visible { opacity: 1; }
main, .home-footer { position: relative; z-index: 2; }
.home-nav { z-index: 20; }

button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.preview-footer { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 18px; color: var(--muted); font-size: 11px; }
.preview-footer a { color: var(--mint); font-size: 12px; font-weight: 900; text-decoration: none; }

.feedback-example { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(420px, 1.28fr); gap: clamp(36px, 7vw, 110px); align-items: center; margin-top: 76px; padding-top: 62px; border-top: 1px solid var(--line); }
.feedback-example-intro > p { margin: 0 0 14px; color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.feedback-example-intro h3 { max-width: 520px; margin: 0 0 18px; font-family: var(--display); font-size: clamp(31px, 4vw, 52px); font-weight: 560; letter-spacing: -.045em; line-height: 1.02; }
.feedback-example-intro > span { display: block; max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.feedback-example-report { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #11171a; }
.feedback-example-report header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 26px; border-bottom: 1px solid var(--line); }
.feedback-example-report header > span { color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.feedback-example-report header div { text-align: right; }
.feedback-example-report header small, .feedback-example-report header strong { display: block; }
.feedback-example-report header small { color: var(--muted); font-size: 10px; }
.feedback-example-report header strong { margin-top: 4px; font-family: var(--display); font-size: 28px; }
.feedback-example-report dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.feedback-example-report dl > div { min-width: 0; padding: 22px 26px; border-right: 1px solid var(--line); }
.feedback-example-report dl > div:last-child { border-right: 0; }
.feedback-example-report dt { color: var(--muted); font-size: 11px; }
.feedback-example-report dd { margin: 7px 0 0; color: var(--mint); font-size: 14px; font-weight: 850; }
.feedback-example-report dd.feedback-developing { color: #f1c66d; }
.feedback-example-suggestion { padding: 23px 26px 26px; border-top: 1px solid var(--line); }
.feedback-example-suggestion span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.feedback-example-suggestion p { max-width: 650px; margin: 9px 0 0; color: #e3e8e5; font-size: 15px; line-height: 1.55; }

.home-final-cta { min-height: 75svh; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 110px max(6vw, 32px); overflow: hidden; background: radial-gradient(circle at 78% 52%, rgba(101,221,189,.11), transparent 28%), var(--night); }
.home-final-cta .home-cta { align-self: end; margin-bottom: 8px; }

@keyframes previewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wavePulse { to { transform: scaleY(.55); opacity: 1; } }
@keyframes recordPulse { 50% { box-shadow: 0 0 0 9px rgba(255,125,134,.04); } }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .preview-heading { grid-template-columns: 1fr 1fr; }
  .preview-heading > p { grid-column: 1 / -1; }
  .preview-stage { grid-template-columns: 1fr; }
  .preview-passage, .preview-listen, .preview-speak-plan { min-height: 310px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feedback-example { grid-template-columns: 1fr; }
  .home-final-cta { grid-template-columns: 1fr; align-content: center; }
  .home-final-cta .home-cta { align-self: auto; width: fit-content; }
}

@media (max-width: 620px) {
  .practice-preview { padding: 90px 20px; }
  .preview-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 45px; }
  .preview-heading > p { grid-column: auto; }
  .preview-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-tabs button:nth-child(2) { border-right: 0; }
  .preview-tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .preview-tabs small { display: none; }
  .preview-stage { min-height: 0; }
  .preview-passage, .preview-listen, .preview-speak-plan, .preview-task { min-height: 280px; padding: 28px 22px; }
  .preview-footer { align-items: flex-start; flex-direction: column; }
  .preview-response-row { align-items: flex-start; flex-direction: column; }
  .preview-speaking-controls { align-items: flex-start; flex-direction: column; }
  .feedback-example { margin-top: 52px; padding-top: 44px; }
  .feedback-example-report dl { grid-template-columns: 1fr; }
  .feedback-example-report dl > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .feedback-example-report dl > div:last-child { border-bottom: 0; }
  .feedback-example-report header { align-items: flex-start; }
  .home-modal-actions { align-items: stretch; flex-direction: column-reverse; }
  .home-modal-actions .home-cta, .home-modal-actions .modal-secondary { width: 100%; }
  .home-final-cta { min-height: 68svh; padding: 90px 20px; }
  .home-footer { grid-template-columns: 1fr auto; }
  .home-footer nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}
