/* testace.org — site styles */

:root {
  --bg: #000;
  --surface: #060606;
  --surface-2: #0a0a0b;
  --line: #141414;
  --line-2: #1a1a1a;
  --line-3: #242424;
  --text: #ededed;
  --text-hi: #f5f5f5;
  --muted: #9c9c9c;
  --muted-2: #8a8a8a;
  --faint: #6e6e6e;
  --dim: #6a6a6a;
  --accent: #fff;
  --glow: 150, 160, 255;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
kbd, input, button { font: inherit; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: #fff; color: #000; }
img, svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 50; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  font-size: 15px; font-weight: 500; cursor: pointer; border: 0;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #dadada; color: #000; }
.btn-ghost { border: 1px solid #262626; color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: #4a4a4a; background: #0e0e0e; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.link { color: #8f8f8f; transition: color .2s ease; }
.link:hover { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-cta { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-cta .link { padding: 10px 8px; }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase; font-weight: 500; }
.h1 {
  margin: 0; max-width: 1000px;
  font-weight: 600; font-size: clamp(44px, 6.6vw, 88px);
  line-height: 1; letter-spacing: -.045em; color: var(--text-hi);
}
.h2 {
  margin: 0; font-weight: 600; font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02; letter-spacing: -.035em; color: var(--text-hi);
}
.h2 .dim, .h1 .dim { color: var(--dim); }
.lede { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.copy { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- sections ---------- */
.section { border-top: 1px solid var(--line); }
.section-inner { padding-top: 140px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head.split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.section-head.split > div { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head.split .copy { max-width: 380px; }

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-light {
  position: absolute; inset: 0 0 auto 0; height: 900px; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(var(--glow), .09), transparent 70%);
}
.hero-copy { position: relative; padding-top: 128px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #222; border-radius: 999px; padding: 6px 14px 6px 8px;
  font-size: 13px; color: #bdbdbd; transition: border-color .2s ease, background .2s ease;
}
.pill:hover { border-color: #3a3a3a; background: #0b0b0b; }
.pill-tag { background: #161616; border: 1px solid #2a2a2a; border-radius: 999px; padding: 2px 8px; font-size: 11px; color: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- product mock ---------- */
.product-stage { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 32px 0; }
.product-glow {
  position: absolute; left: 12%; right: 12%; top: 0; height: 420px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(170, 180, 255, .16), transparent);
  filter: blur(30px);
}
.product {
  position: relative; height: 660px; display: flex;
  border: 1px solid #232325; border-radius: 14px; background: var(--surface-2); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 60px 160px rgba(0, 0, 0, .9);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  transform-origin: 50% 0;
}
.p-side { flex: 0 0 224px; border-right: 1px solid #1a1a1c; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #a3a3a3; }
.p-ws { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 12px; }
.p-ws-name { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 500; }
.p-ws-logo { width: 20px; height: 20px; border-radius: 5px; background: var(--text); color: #000; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.kbd-sm { font-size: 10px; color: var(--muted-2); border: 1px solid #2a2a2a; border-radius: 4px; padding: 1px 5px; }
.p-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 6px; color: #a3a3a3; transition: background .18s ease, color .18s ease; }
.p-item:hover { background: #141416; color: var(--text); }
.p-item.is-active { background: #18181b; color: var(--text-hi); }
.p-item .count { font-size: 11px; color: var(--faint); }
.p-label { padding: 18px 8px 6px; font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.p-exam { justify-content: flex-start; }
.p-dot { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.p-add { color: var(--faint); justify-content: flex-start; }

.p-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.p-bar { height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #1a1a1c; font-size: 13px; }
.p-crumbs { display: flex; align-items: center; gap: 8px; color: #8f8f8f; }
.p-crumbs .sep { color: #4a4a4a; }
.p-crumbs .here { color: var(--text); }
.p-filters { display: flex; gap: 6px; }
.p-filter { border: 1px solid #1e1e20; border-radius: 6px; padding: 3px 9px; font-size: 12px; color: #8f8f8f; }
.p-filter.is-on { border-color: #262628; color: var(--text); background: #151517; }
.p-list { flex: 1 1 auto; overflow: hidden; }
.p-group { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 18px; background: #0e0e10; border-bottom: 1px solid #161618; font-size: 12px; color: #bdbdbd; }
.p-group span:first-child { font-weight: 500; }
.p-group span:last-child { color: var(--faint); }
.row {
  width: 100%; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 18px;
  border: 0; border-bottom: 1px solid #141416; background: transparent; cursor: pointer; text-align: left;
  font-size: 13px; color: #e4e4e4; transition: background .18s ease, box-shadow .25s var(--ease);
}
.row:hover { background: #131315; }
.row[aria-pressed="true"] { background: #17171a; box-shadow: inset 2px 0 0 var(--accent); }
.prio { display: flex; gap: 2px; align-items: flex-end; width: 14px; height: 12px; flex: none; }
.prio i { display: block; width: 3px; border-radius: 1px; background: #2e2e30; }
.prio i:nth-child(1) { height: 5px; } .prio i:nth-child(2) { height: 8px; } .prio i:nth-child(3) { height: 11px; }
.prio[data-level="1"] i:nth-child(-n+1), .prio[data-level="2"] i:nth-child(-n+2), .prio[data-level="3"] i { background: #bdbdbd; }
.row-id { font-size: 12px; color: var(--faint); width: 74px; flex: 0 0 74px; }
.row-title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tag { font-size: 11px; color: #a3a3a3; border: 1px solid #262628; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.row-time { font-size: 11px; color: var(--faint); width: 28px; text-align: right; }

.p-detail { flex: 0 0 380px; border-left: 1px solid #1a1a1c; display: flex; flex-direction: column; min-width: 0; }
.p-detail-bar { height: 48px; flex: 0 0 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #1a1a1c; font-size: 12px; color: #8f8f8f; }
.p-detail-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; }
.p-detail-body h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--text-hi); }
.p-prompt { margin: 0; font-size: 14px; line-height: 1.65; color: #bdbdbd; }
.p-answer { display: flex; gap: 8px; align-items: flex-end; }
.p-answer .field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.p-answer label { font-size: 11px; color: var(--muted-2); }
.p-answer input {
  height: 40px; background: #000; border: 1px solid #2a2a2c; border-radius: 8px; color: #fff;
  font-size: 14px; padding: 0 12px; transition: border-color .2s ease;
}
.p-answer input:focus { outline: none; border-color: #5a5a5c; }
.p-answer .btn { height: 40px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.p-feedback { margin: -6px 0 0; font-size: 12px; color: #bdbdbd; min-height: 18px; }
.p-props { margin: 4px 0 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); row-gap: 12px; font-size: 13px; border-top: 1px solid #1a1a1c; padding-top: 18px; }
.p-props dt { color: var(--faint); }
.p-props dd { margin: 0; color: #e4e4e4; }
.mastery { display: flex; align-items: center; gap: 10px; }
.mastery-track { flex: 1 1 auto; height: 6px; background: #1c1c1e; border-radius: 3px; overflow: hidden; }
.mastery-fill { display: block; height: 100%; border-radius: 3px; background: #7a7a7a; transition: width .8s var(--ease), background .4s ease; transform-origin: left center; }
.mastery-fill.is-low { background: var(--accent); }
.mastery-val { font-size: 12px; color: #8f8f8f; }
.p-why { margin: 0; font-size: 12px; color: var(--faint); }

/* ---------- schools ---------- */
.schools { padding: 40px 0 120px; }
.schools-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-bottom: 40px; }
.schools-head p { margin: 0; }
.schools-head .lead { font-size: 17px; color: var(--text); font-weight: 500; }
.schools-head .sub { font-size: 15px; color: #8f8f8f; }
.marquees { display: flex; flex-direction: column; gap: 28px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.track { display: flex; align-items: center; gap: 72px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee-l 80s linear infinite; }
.track.rev { animation-name: marquee-r; }
.marquee:hover .track { animation-play-state: paused; }
.school { color: #7e7e7e; white-space: nowrap; line-height: 1; transition: color .4s ease; }
.school:hover { color: #fff; }
.disclaimer { margin: 40px auto 0; max-width: 640px; padding: 0 32px; text-align: center; font-size: 12px; color: var(--faint); }

/* per-school typography: closest free match to each school's brand typeface */
.s-mit         { font-family: Inter, sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.s-princeton   { font-family: "Old Standard TT", serif; font-size: 20px; letter-spacing: .16em; text-transform: uppercase; }
.s-harvard     { font-family: "Crimson Pro", serif; font-size: 22px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.s-yale        { font-family: "EB Garamond", serif; font-size: 32px; font-weight: 500; }
.s-caltech     { font-family: Inter, sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.s-stanford    { font-family: "Source Serif 4", serif; font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.s-penn        { font-family: "EB Garamond", serif; font-size: 32px; font-weight: 500; }
.s-duke        { font-family: "EB Garamond", serif; font-size: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.s-jhu         { font-family: "Roboto Slab", serif; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.s-northwestern{ font-family: Poppins, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.s-uchicago    { font-family: Montserrat, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.s-columbia    { font-family: Cinzel, serif; font-size: 22px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.s-dartmouth   { font-family: "EB Garamond", serif; font-size: 30px; }
.s-cmu         { font-family: "Source Serif 4", serif; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.s-cornell     { font-family: Palatino, "Palatino Linotype", "Book Antiqua", "Crimson Pro", serif; font-size: 28px; }
.s-brown       { font-family: "Crimson Pro", serif; font-size: 30px; font-weight: 500; }
.s-rice        { font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.s-vanderbilt  { font-family: "Libre Caslon Display", serif; font-size: 24px; letter-spacing: .1em; text-transform: uppercase; }
.s-washu       { font-family: "Playfair Display", serif; font-size: 28px; font-weight: 600; }
.s-berkeley    { font-family: "Sorts Mill Goudy", serif; font-size: 30px; }
.s-ucla        { font-family: Karla, sans-serif; font-size: 28px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.s-notredame   { font-family: "EB Garamond", serif; font-size: 21px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.s-emory       { font-family: "Crimson Pro", serif; font-size: 22px; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.s-georgetown  { font-family: "Libre Caslon Text", serif; font-size: 19px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface);
  transition: border-color .4s ease, transform .6s var(--ease), background .4s ease;
}
.card:hover { border-color: #2c2c2c; transform: translateY(-4px); background: #0a0a0a; }
.family { padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; min-height: 300px; }
.family-meta { display: flex; justify-content: space-between; font-size: 12px; color: #7e7e7e; }
.family h3, .feature h3 { margin: 0; font-weight: 600; font-size: 24px; letter-spacing: -.02em; color: var(--text-hi); }
.family p { margin: 0; font-size: 14px; color: #9a9a9a; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.chips li { font-size: 12px; color: #c8c8c8; border: 1px solid var(--line-3); border-radius: 6px; padding: 4px 9px; }

.feature { overflow: hidden; display: flex; flex-direction: column; }
.feature-art { height: 220px; border-bottom: 1px solid #161616; display: flex; align-items: center; justify-content: center; padding: 24px; }
.feature-art svg { width: 100%; height: 100%; }
.feature-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.feature-body .idx { font-size: 12px; color: var(--faint); }
.feature h3 { font-size: 21px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }
.cells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 300px; }
.cells span { display: block; aspect-ratio: 1; border-radius: 3px; background: #3a3a3a; animation: pulse 3.6s ease-in-out infinite; }
.cells span.weak { background: var(--accent); }

.cmdk-card { padding: 40px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.cmdk-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cmdk-copy h3 { margin: 0; font-weight: 600; font-size: 30px; letter-spacing: -.03em; color: var(--text-hi); }
.cmdk-copy p { margin: 0; font-size: 15px; color: var(--muted); max-width: 420px; }
.keys { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.keys kbd { font-size: 12px; color: #bdbdbd; border: 1px solid #2a2a2a; border-bottom-width: 2px; border-radius: 6px; padding: 4px 8px; background: #0c0c0c; }
.cmdk { flex: 1 1 420px; min-width: 0; border: 1px solid #242426; border-radius: 12px; background: #0c0c0d; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); overflow: hidden; }
.cmdk-input { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid #1c1c1e; font-size: 15px; color: var(--text-hi); }
.caret { width: 1px; height: 18px; background: var(--text-hi); margin-left: -6px; animation: blink 1.05s steps(1) infinite; }
.cmdk-list { margin: 0; padding: 6px; list-style: none; }
.cmdk-list li { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; color: #a3a3a3; transition: background .15s ease, color .15s ease; }
.cmdk-list li.is-on { color: var(--text-hi); background: #18181b; }
.cmdk-list .kind { font-size: 11px; color: var(--faint); width: 52px; display: inline-block; }
.cmdk-list .hint { font-size: 11px; color: var(--faint); }

/* ---------- library ---------- */
.library { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 140px; padding-bottom: 140px; }
.library-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.library-copy .copy { font-size: 17px; max-width: 460px; }
.filelist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.filelist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.filelist li span:last-child { font-size: 12px; color: #7e7e7e; }
.library-copy .btn { align-self: flex-start; }
.papers { flex: 1 1 480px; min-width: 0; display: flex; gap: 18px; justify-content: center; align-items: flex-end; padding-top: 24px; }
.paper {
  flex: 0 1 180px; aspect-ratio: 8.5 / 11; background: #0b0b0b; border: 1px solid var(--line-3); border-radius: 6px;
  padding: 16px 14px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform .7s var(--ease);
}
.paper:hover { transform: translateY(-14px) rotate(0deg); }
.paper-head { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted-2); border-bottom: 1px solid #262626; padding-bottom: 8px; letter-spacing: .04em; }
.paper-title { font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: -.01em; }
.paper-lines, .paper-opts { display: flex; flex-direction: column; gap: 7px; }
.paper-lines i { display: block; height: 4px; background: #202020; border-radius: 2px; }
.paper-opts { gap: 9px; margin-top: 6px; }
.paper-opts div { display: flex; gap: 8px; align-items: center; }
.paper-opts b { width: 10px; height: 10px; border: 1px solid #444; border-radius: 50%; flex: none; }
.paper-opts i { display: block; height: 4px; background: #1c1c1c; border-radius: 2px; }
.paper-foot { margin-top: auto; font-size: 9px; color: var(--faint); text-align: right; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.plan { padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; }
.plan-pro { border-color: #2a2a2a; background: #0a0a0b; box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 40px 120px rgba(var(--glow), .06); }
.plan-head { display: flex; flex-direction: column; gap: 8px; }
.plan-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.plan h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--text-hi); }
.plan-desc { margin: 0; font-size: 15px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price .amt { font-size: 56px; font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--text-hi); }
.plan-price .per { font-size: 15px; color: var(--muted-2); }
.plan-sub { margin: -8px 0 0; font-size: 13px; color: var(--faint); min-height: 20px; }
.plan-btn { justify-content: center; }
.plan-list { margin: 6px 0 0; padding: 18px 0 0; list-style: none; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-2); font-size: 14px; color: #c8c8c8; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1px solid #3a3a3a; background: radial-gradient(circle, #d9d9d9 0 2.5px, transparent 3px); }
.billing { display: inline-flex; padding: 3px; border: 1px solid #262626; border-radius: 9px; background: #050505; }
.billing button { border: 0; background: transparent; color: #8f8f8f; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 6px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.billing button[aria-pressed="true"] { background: #1c1c1f; color: #fff; }
.plan-price .amt, .plan-price .per, .plan-sub { transition: opacity .25s ease; }
.plan-price.swap .amt, .plan-price.swap .per, .plan-pro .plan-sub.swap { opacity: 0; }
.trial-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 760px; }
.trial-note strong { color: var(--text); font-weight: 500; }

/* ---------- waitlist ---------- */
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 600px; }
.waitlist input[type="email"], .waitlist select {
  height: 46px; background: #0a0a0a; border: 1px solid #2a2a2a; border-radius: 10px; color: #fff;
  font-size: 15px; padding: 0 14px; transition: border-color .2s ease;
}
.waitlist input[type="email"] { flex: 1 1 240px; min-width: 0; }
.waitlist select { flex: 0 1 160px; color: #bdbdbd; appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%238f8f8f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.waitlist input:focus, .waitlist select:focus { outline: none; border-color: #5a5a5a; }
.waitlist button[disabled] { opacity: .6; cursor: default; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-status { margin: -10px 0 0; min-height: 22px; font-size: 14px; color: var(--text); }
.wl-status.err { color: #ffb4a8; }

/* ---------- compare ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid #121212; }
.compare thead th { font-size: 12px; letter-spacing: .06em; color: var(--muted-2); font-weight: 400; border-bottom-color: var(--line-2); }
.compare thead th.us { color: #fff; font-weight: 500; }
.compare .us { background: #0b0b0b; color: #fff; }
.compare tbody th { font-weight: 400; color: #bdbdbd; }
.compare td.them { color: #7a7a7a; }
.compare tr:last-child > * { border-bottom: 0; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; overflow: hidden; }
.cta-light { position: absolute; inset: auto 0 0 0; height: 600px; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(var(--glow), .08), transparent 70%); }
.cta-inner { position: relative; padding-top: 170px; padding-bottom: 170px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta-inner .h2 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -.045em; }
.cta-inner .copy { max-width: 460px; font-size: 17px; }
.cta-note { font-size: 12px; color: var(--faint); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand small { font-size: 12px; color: var(--faint); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin: 0; font-size: 13px; color: var(--text); font-weight: 500; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes tilt {
  from { opacity: 0; transform: perspective(2200px) rotateX(26deg) translateY(90px) scale(.93); }
  to { opacity: 1; transform: perspective(2200px) rotateX(0) translateY(0) scale(1); }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: .08; } 45% { opacity: .9; } }
@keyframes breathe { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .85; transform: scale(1.04); } }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

.nav { animation: fade-down .9s var(--ease) both; }
.rise { animation: rise 1.2s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; }
.product { animation: tilt 1.8s var(--ease) .6s both; }
.product-glow { animation: breathe 7s ease-in-out infinite; }
.mastery-fill.intro { animation: grow 1.6s var(--ease) 1.5s both; }

/* scroll reveals: hidden only when JS is running, so no-JS visitors see everything */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .draw .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .draw.in .ln { animation: draw 2.2s var(--ease) .2s forwards; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) { .p-detail { display: none; } }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 760px) {
  .p-side { display: none; }
  .product { height: 520px; }
  .row-tag, .row-time { display: none; }
  .hero-copy { padding-top: 88px; }
  .section-inner, .library { padding-top: 96px; padding-bottom: 96px; }
  .cmdk-card { padding: 24px; }
  .wrap, .product-stage { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw .ln { stroke-dashoffset: 0; }
  .track { flex-wrap: wrap; width: auto; justify-content: center; gap: 32px 56px; padding: 0 32px; }
  .track .dup { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
