/* Anki tutor landing. Palette, type and motion follow the Atlas landing: warm canvas, navy ink,
   orange accent, Fraunces italic accents on DM Sans, soft pastel cards, long ease-out reveals. */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/dm-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 800 900; font-style: normal; font-display: swap; src: url('fonts/dm-sans-800.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 100 900; font-style: italic; font-display: swap; src: url('fonts/fraunces-latin-italic.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --canvas: #fbfaf7; --paper: #ffffff; --line: #e1e5dc;
  --ink: #10182b; --muted: #5c615d;
  --accent: #c2410c; --on-accent: #ffffff;
  --blue: #255eee; --blue-soft: #edf3ff; --green: #24663d; --green-soft: #eaf5ed;
  --lilac: #efeffb; --cream: #fff5df; --mint: #e9f6ed; --ice: #edf4ff; --rose: #f5edf0;
  --sky: #7bbde8; --leaf: #4acb99; --gold: #f4d772;
  --navy: #111c31; --on-navy: #ffffff; --on-navy-accent: #ff9a66;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, Arial, sans-serif;
  --side: clamp(23px, 5.8vw, 104px);
  --max: 1510px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--canvas); }
.landing {
  min-height: 100dvh; color: var(--ink); background: var(--canvas); font-family: var(--sans);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.landing button, .landing a { font: inherit; -webkit-tap-highlight-color: transparent; }
.landing button { cursor: pointer; }
.landing a { color: inherit; text-decoration: none; }
.landing a:focus-visible, .landing button:focus-visible, .landing [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.landing [tabindex='-1']:focus { outline: none; }
.shell { width: 100%; max-width: var(--max); padding-inline: var(--side); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--paper); padding: 10px 16px; border-radius: 99px; font-weight: 800; }
.skip-link:focus { top: 12px; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 750; letter-spacing: -0.065em; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.075em; }
.lead { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.58; color: var(--muted); }

/* Buttons */
.button {
  border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  border-radius: 99px; min-height: 54px; padding: 14px 25px; font-size: 14px; font-weight: 800; white-space: nowrap;
  transition: transform .28s var(--ease), background .2s, box-shadow .28s var(--ease), border-color .2s;
}
.button:hover { transform: translateY(-3px); }
.button .arr { font-size: 20px; line-height: 1; transition: transform .25s; }
.button:hover .arr { transform: translateX(4px); }
.button--orange { background: var(--accent); color: var(--on-accent); box-shadow: 0 9px 20px rgb(194 65 12 / .13); }
.button--orange:hover { box-shadow: 0 15px 27px rgb(194 65 12 / .2); }
.button--white { background: var(--paper); color: var(--ink); border-color: var(--line); }
.button--white:hover { box-shadow: 0 12px 28px rgb(16 24 43 / .09); }
.button--small { min-height: 44px; padding: 10px 19px; font-size: 13px; }

/* Header */
.site-header { pointer-events: none; position: fixed; inset: 20px 0 auto; z-index: 90; display: flex; justify-content: center; padding-inline: 15px; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 26px; width: min(1020px, 100%); min-height: 72px;
  padding: 9px 12px 9px 23px; border-radius: 999px; border: 1px solid rgb(17 28 49 / .075);
  background: rgb(255 255 255 / .93); box-shadow: 0 10px 49px rgb(17 28 49 / .085);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: box-shadow .3s, background .3s, min-height .3s;
}
.site-header.scrolled .nav { min-height: 62px; background: rgb(255 255 255 / .97); box-shadow: 0 12px 39px rgb(17 28 49 / .14); }
.brand-mark { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand-mark svg { width: 39px; height: 33px; display: block; }
.brand-mark span { display: flex; flex-direction: column; gap: 2px; }
.brand-mark strong { font-size: 21px; font-weight: 900; line-height: .95; letter-spacing: -0.07em; }
.brand-mark small { font-size: 10px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.nav-links { display: flex; gap: 26px; align-items: center; margin-inline: auto; }
.nav-links a { font-size: 12.5px; font-weight: 800; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-extra { display: flex; align-items: center; gap: 13px; }
.nav-secondary { font-size: 12.5px; color: var(--muted); font-weight: 800; }
.nav-secondary:hover { color: var(--accent); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: max(785px, min(980px, 100svh)); display: flex; align-items: center; overflow: hidden; padding: 145px 0 123px; }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0 0 0 25%; opacity: .7;
  background-image: radial-gradient(circle, rgb(37 94 238 / .13) 1px, transparent 1.7px); background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, rgb(16 24 43 / .7) 55%, rgb(16 24 43 / .15)); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; z-index: -1; right: -15%; top: -21%; width: 75vw; height: 75vw; max-height: 1060px; max-width: 1060px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(237 243 255 / .56), rgb(239 239 251 / .09) 75%, transparent); pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(26px, 3vw, 70px); }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { font-size: clamp(56px, 6.1vw, 102px); line-height: .98; max-width: 900px; margin: 0 0 28px; font-weight: 900; }
.hero h1 .serif { display: inline-block; }
.hero-description { max-width: 560px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.64; color: var(--muted); margin-bottom: 35px; }
.hero-actions { display: flex; gap: 13px; align-items: center; flex-wrap: wrap; }
.hero-actions .button { min-height: 60px; padding-inline: 29px; }

.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-art .glow { position: absolute; inset: 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(244 215 114 / .3), rgb(123 189 232 / .12) 60%, transparent); }
.chat {
  position: relative; z-index: 2; width: min(100%, 440px); border: 1px solid var(--green-soft); border-radius: 28px; background: var(--paper);
  box-shadow: 0 19px 65px rgb(17 28 49 / .1); overflow: hidden; animation: float 7s ease-in-out infinite;
}
.chat-top { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--lilac); }
.chat-label, .preview-label { display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; }
.chat-label i, .preview-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chat-count, .preview-count { font-size: 12px; color: var(--muted); font-weight: 800; white-space: nowrap; }
.chat-body { padding: 22px 24px 24px; display: grid; gap: 12px; }
.bubble { padding: 13px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; max-width: 92%; }
.bubble--tutor { background: var(--ice); border-bottom-left-radius: 6px; }
.bubble--you { background: var(--cream); justify-self: end; border-bottom-right-radius: 6px; }
.bubble em { font-family: var(--serif); font-weight: 650; letter-spacing: -0.03em; color: var(--accent); }
.grade-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.grade-row span { text-align: center; padding: 9px 4px; border-radius: 99px; border: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--muted); }
.grade-row span.on { background: var(--navy); color: var(--on-navy); border-color: var(--navy); animation: pulse 2.6s ease-in-out infinite; }
.hero-card { position: absolute; z-index: 3; display: grid; gap: 3px; padding: 14px 18px; border-radius: 18px; border: 1px solid rgb(16 24 43 / .06); box-shadow: 0 16px 40px rgb(17 28 49 / .1); font-size: 13px; }
.hero-card b { font-weight: 800; letter-spacing: -0.03em; font-size: 14px; }
.hero-card small { color: var(--muted); font-size: 12px; }
.hero-card--a { left: -8%; top: -3%; background: var(--lilac); animation: float 6s ease-in-out -2s infinite; }
.hero-card--b { right: -2%; bottom: 4%; background: var(--mint); animation: float 8s ease-in-out -4s infinite; }
.tag { justify-self: start; display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag--green { background: var(--green); }
.tag--gold { background: #9a5b00; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(17 28 49 / .25); } 50% { box-shadow: 0 0 0 6px rgb(17 28 49 / 0); } }

.scroll-cue { position: fixed; z-index: 80; bottom: max(23px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 9px; letter-spacing: .21em; font-weight: 800; transition: opacity .35s, transform .35s; pointer-events: none; }
.scroll-cue.hide { opacity: 0; transform: translate(-50%, 8px); }
.scroll-mouse { width: 21px; height: 34px; border-radius: 15px; border: 1.5px solid var(--sky); display: flex; justify-content: center; padding-top: 8px; }
.scroll-mouse i { width: 3px; height: 8px; border-radius: 3px; background: var(--accent); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { to { opacity: 0; transform: translateY(10px); } }

/* What it is */
.study { padding: clamp(110px, 11vw, 190px) 0; background: var(--paper); }
.study-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(50px, 7vw, 132px); align-items: center; }
.study h2, .memory h2, .never h2, .access h2 { font-size: clamp(54px, 6vw, 102px); line-height: .99; margin: 0 0 28px; font-weight: 900; }
.study .lead { max-width: 485px; margin: 0 0 27px; }
.study-subpoint { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.study-subpoint i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.steps-card, .access-steps { list-style: none; margin: 0; padding: 12px 30px; border: 1px solid var(--green-soft); border-radius: 28px; background: var(--paper); box-shadow: 0 19px 65px rgb(17 28 49 / .08); }
.steps-card li, .access-steps li { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--lilac); align-items: flex-start; }
.steps-card li:last-child, .access-steps li:last-child { border-bottom: 0; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); font-weight: 900; font-size: 15px; transition: background .3s, color .3s; }
li:hover > .num { background: var(--accent); color: #fff; }
.steps-card h3, .access-steps h3 { font-size: 22px; margin: 4px 0 6px; letter-spacing: -0.05em; }
.steps-card p, .access-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 27px; }
.section-head h2 { margin: 0; font-size: clamp(56px, 7.2vw, 124px); line-height: .98; letter-spacing: -0.076em; font-weight: 900; }
.benefit-sub { max-width: 345px; font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0 0 8px; }

/* Benefits */
.benefits { background: var(--paper); padding: 40px 0 166px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.benefit-card {
  background: var(--bg); border: 1px solid rgb(16 24 43 / .047); border-radius: 21px; padding: 26px 24px 30px; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .4s, border-color .3s;
}
.benefit-card:hover { transform: translateY(-9px); border-color: rgb(16 24 43 / .145); box-shadow: 0 22px 48px rgb(17 28 49 / .1); }
.benefit-card .art { width: 100%; max-width: 150px; height: 88px; margin-bottom: 18px; transition: transform .5s var(--ease); }
.benefit-card:hover .art { transform: scale(1.08) rotate(-2deg); }
.benefit-card h3 { font-size: clamp(23px, 1.8vw, 28px); line-height: 1.05; margin-bottom: 12px; }
.benefit-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3d4452; }
.benefit-card:nth-child(n+5) .art { max-width: 130px; }

/* Grade lab */
.memory { padding: 150px 0 164px; background: var(--ice); }
.memory-head { margin-bottom: 63px; }
.memory-head .lead { max-width: 390px; margin-bottom: 8px; }
.memory-lab { background: var(--paper); border: 1px solid var(--green-soft); border-radius: 27px; box-shadow: 0 17px 49px rgb(17 28 49 / .045); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(25px, 4vw, 72px); padding: clamp(26px, 4.4vw, 62px); }
.memory-left { border-right: 1px solid var(--green-soft); padding-right: clamp(28px, 3.7vw, 65px); }
.memory-left h3 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; margin-bottom: 14px; }
.memory-left p { color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.recall-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recall-choice { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 800; text-align: left; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.recall-choice:hover { transform: translateY(-2px); }
.recall-choice i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .2s; }
.recall-choice[aria-pressed='true'] { border-color: var(--blue); background: var(--blue-soft); }
.recall-choice[aria-pressed='true'] i { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 2px #fff; }
.memory-right { display: flex; flex-direction: column; justify-content: center; gap: 24px; min-width: 0; }
.memory-graphic-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.memory-graphic-header strong { font-size: 13px; font-weight: 700; }
.memory-graphic-header span { font-size: 11px; color: var(--muted); }
.timeline { padding: 18px 4px 0; }
.tl-track { position: relative; height: 6px; border-radius: 6px; background: var(--lilac); }
.tl-track::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 40%); border-radius: inherit; background: var(--sky); transition: width .7s var(--ease); }
.tl-dot { position: absolute; z-index: 2; top: 50%; left: var(--x, 40%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgb(194 65 12 / .16); transition: left .7s var(--ease); }
.tl-labels { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.memory-fade { background: var(--ice); border-radius: 14px; padding: 18px 19px; color: var(--blue); font-size: 14px; line-height: 1.6; min-height: 89px; }
.memory-fade strong { display: block; font-weight: 900; color: var(--ink); margin-bottom: 3px; }
.memory-summary { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.memory-summary b { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); flex: none; }

/* Never */
.never { background: var(--paper); padding: 150px 0 160px; }
.never-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.never .lead { max-width: 400px; }
.never-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.never-list li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 26px; border-radius: 21px; background: var(--rose); transition: transform .4s var(--ease), box-shadow .4s; }
.never-list li:hover { transform: translateX(6px); box-shadow: 0 14px 34px rgb(17 28 49 / .07); }
.never-list li.note { background: var(--cream); }
.x, .i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #a3123a; color: #fff; font-size: 20px; font-weight: 800; line-height: 1; }
.i { background: #9a5b00; font-family: var(--serif); font-size: 18px; }
.never-list h3 { font-size: 22px; margin: 4px 0 5px; letter-spacing: -0.05em; }
.never-list p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3d4452; }

/* Note type */
.notetype { background: var(--cream); padding: 150px 0 170px; }
.nt-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 90px); margin-top: 60px; align-items: start; }
.nt-card { background: var(--paper); border: 1px solid rgb(16 24 43 / .06); border-radius: 27px; box-shadow: 0 17px 49px rgb(17 28 49 / .06); overflow: hidden; margin-bottom: 28px; }
.nt-card-top { padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid var(--lilac); }
.nt-fields { padding: 10px 28px 14px; display: grid; }
.nt-fields div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.nt-fields div:last-child { border-bottom: 0; }
.nt-fields code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 8px; justify-self: start; }
.nt-fields span { color: var(--muted); }
.nt-fields em { font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--ink); }
.nt-main .lead { margin: 0; max-width: 560px; }
.nt-main strong { color: var(--ink); }
.nt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nt-mini { background: var(--bg); border-radius: 21px; padding: 22px 22px 26px; border: 1px solid rgb(16 24 43 / .05); transition: transform .45s var(--ease), box-shadow .4s; }
.nt-mini:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgb(17 28 49 / .09); }
.nt-mini h3 { font-size: 24px; margin: 14px 0 8px; line-height: 1.08; }
.nt-mini p { margin: 0; font-size: 14px; line-height: 1.55; color: #3d4452; }
.chips-title { font-size: 20px; margin: 34px 0 0; letter-spacing: -0.05em; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.area-chips li { padding: 6px 14px; border: 1px solid rgb(16 24 43 / .12); background: rgb(255 255 255 / .7); border-radius: 999px; font-size: 13px; letter-spacing: -0.01em; transition: background .2s, transform .25s var(--ease); }
.area-chips li:hover { background: var(--paper); transform: translateY(-2px); }
.nt-tutor { margin-top: 70px; padding: clamp(26px, 3.6vw, 52px); border-radius: 27px; background: var(--navy); color: var(--on-navy); }
.nt-tutor h3 { font-size: clamp(30px, 2.8vw, 44px); margin-bottom: 28px; }
.nt-tutor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.nt-tutor-grid b { display: block; font-size: 17px; letter-spacing: -0.03em; color: var(--on-navy-accent); margin-bottom: 6px; }
.nt-tutor-grid p { margin: 0; font-size: 14.5px; line-height: 1.58; color: rgb(255 255 255 / .82); }
.nt-tutor-grid em { font-style: italic; font-family: var(--serif); }
.nt-foot { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .18); font-size: 13px; color: rgb(255 255 255 / .7); max-width: 760px; }

/* Access */
.access { background: var(--paper); padding: 150px 0 175px; }
.access-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: center; }
.access .lead { max-width: 430px; }
.url-row { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); min-width: 0; }
.url-row code { flex: 1; min-width: 0; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; color: var(--ink); }
.copy { flex: none; border: 0; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 800; font-size: 12.5px; padding: 10px 18px; min-height: 40px; transition: transform .25s var(--ease); }
.copy:hover { transform: translateY(-2px); }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy); padding: 80px 0 32px; }
.footer-lead { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 68px; }
.footer-lead h2 { font-size: clamp(56px, 6.2vw, 100px); margin: 0; line-height: 1.05; font-weight: 900; }
.footer .serif { color: var(--on-navy-accent); }
.footer .button { background: var(--paper); color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .18); padding-top: 24px; font-size: 12px; }
.footer .brand-mark strong { color: var(--on-navy); }
.footer-links { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.footer-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .nt-tutor-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 90px; min-height: 0; }
  .hero-layout, .study-layout, .never-layout, .nt-layout, .access-layout { grid-template-columns: 1fr; }
  .hero-art { min-height: 480px; margin-top: 20px; }
  .hero-card--a { left: 0; top: -2%; } .hero-card--b { right: 0; bottom: 0; }
  .memory-lab { grid-template-columns: 1fr; }
  .memory-left { border-right: 0; border-bottom: 1px solid var(--green-soft); padding: 0 0 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .never-layout, .access-layout { gap: 44px; }
  .benefits, .never, .notetype, .access { padding-top: 90px; padding-bottom: 100px; }
  .memory { padding: 90px 0 100px; }
  .scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .nav { padding-left: 16px; gap: 10px; }
  .brand-mark small, .nav-secondary { display: none; }
  .benefit-grid, .nt-two, .nt-tutor-grid { grid-template-columns: 1fr; }
  .recall-buttons { grid-template-columns: 1fr 1fr; }
  .nt-fields div { grid-template-columns: 1fr; gap: 4px; }
  .steps-card, .access-steps { padding: 6px 20px; }
  .footer-lead { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 540px; padding-top: 30px; }
  .hero-card--a { top: -10px; } .hero-card--b { bottom: -6px; }
}

/* ---- v2 additions ---- */
.hero h1 .orange { color: var(--accent); }
.free-pill { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px; padding: 7px 15px; border-radius: 99px; background: var(--mint); border: 1px solid rgb(36 102 61 / .18); color: var(--green); font-size: 12.5px; font-weight: 800; }
.free-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); animation: pulse 2.4s ease-in-out infinite; }
.tag--gray { background: #5c615d; }
.study .section-head h2, .use .section-head h2 { font-size: clamp(56px, 7.2vw, 124px); margin: 0; }
.plug { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin: 64px 0 40px; }
.plug-node { background: var(--bg); border-radius: 24px; padding: 26px 20px; display: grid; justify-items: center; gap: 6px; text-align: center; border: 1px solid rgb(16 24 43 / .05); transition: transform .45s var(--ease), box-shadow .4s; }
.plug-node:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgb(17 28 49 / .1); }
.plug-node svg { width: 76px; height: 58px; margin-bottom: 6px; }
.plug-node b { font-size: 20px; letter-spacing: -0.05em; }
.plug-node small { color: var(--muted); font-size: 13px; }
.plug-link { position: relative; width: clamp(60px, 9vw, 150px); display: grid; justify-items: center; }
.plug-link span { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.plug-link i { display: block; width: 100%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); background-size: 36px 4px; animation: flow 1.2s linear infinite; }
@keyframes flow { to { background-position: 36px 0; } }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.trio article { padding: 26px 26px 30px; border-radius: 21px; border: 1px solid var(--line); background: var(--canvas); transition: transform .45s var(--ease), box-shadow .4s; }
.trio article:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgb(17 28 49 / .08); }
.trio h3 { font-size: 24px; margin-bottom: 10px; }
.trio p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.use { background: var(--canvas); padding: 150px 0 150px; }
.mode-lab { background: var(--paper); border: 1px solid var(--green-soft); border-radius: 27px; box-shadow: 0 17px 49px rgb(17 28 49 / .05); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(25px, 4vw, 64px); padding: clamp(26px, 4vw, 56px); margin: 56px 0 20px; }
.mode-left h3 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; margin-bottom: 12px; }
.mode-left > p { color: var(--muted); margin-bottom: 22px; }
.mode-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: #3d4452; }
.mode-points li { display: flex; gap: 10px; line-height: 1.5; }
.mode-points li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.mode-stage { background: var(--ice); border-radius: 22px; padding: 24px; min-height: 330px; display: grid; align-content: center; gap: 12px; }
.mode-stage .bubble { max-width: 88%; }
.mode-stage .bubble--you { background: var(--paper); }
.voice-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; }
.voice-wave i { width: 5px; border-radius: 4px; background: var(--blue); animation: wave 1.1s ease-in-out infinite; }
.voice-wave i:nth-child(1) { height: 14px; animation-delay: -.9s; } .voice-wave i:nth-child(2) { height: 30px; animation-delay: -.7s; }
.voice-wave i:nth-child(3) { height: 40px; animation-delay: -.5s; } .voice-wave i:nth-child(4) { height: 24px; animation-delay: -.3s; }
.voice-wave i:nth-child(5) { height: 36px; animation-delay: -.1s; } .voice-wave i:nth-child(6) { height: 18px; animation-delay: -.6s; }
.voice-wave i:nth-child(7) { height: 28px; animation-delay: -.4s; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.said { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: -6px; }
.apps article { background: var(--paper); }
.benefits { padding: 150px 0 166px; }
.benefits .section-head h2 { font-size: clamp(54px, 6.4vw, 112px); }
.vs { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 20px; align-items: stretch; margin-top: 56px; }
.vs-col { border-radius: 24px; padding: 28px 30px 32px; display: grid; gap: 14px; align-content: start; }
.vs-col--old { background: var(--neutral, #f0f1ed); }
.vs-col--new { background: var(--lilac); box-shadow: 0 19px 50px rgb(109 63 214 / .12); }
.vs-q { margin: 0; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; letter-spacing: -0.04em; font-weight: 800; }
.vs-note { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.vs-arrow { align-self: center; font-size: 36px; color: var(--accent); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.benefit-grid { grid-template-columns: repeat(3, 1fr); }
.memory { padding: 150px 0 160px; }
.mem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mem-card { background: var(--paper); border: 1px solid var(--green-soft); border-radius: 27px; padding: clamp(26px, 3.2vw, 46px); box-shadow: 0 17px 49px rgb(17 28 49 / .05); display: grid; gap: 4px; align-content: start; transition: transform .45s var(--ease), box-shadow .4s; }
.mem-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgb(17 28 49 / .1); }
.mem-card h3 { font-size: clamp(28px, 2.4vw, 38px); margin: 14px 0 10px; line-height: 1.05; }
.mem-card > p { color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.mem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mem-list li { padding: 14px 16px; border-radius: 14px; background: var(--canvas); font-size: 14.5px; line-height: 1.55; color: #3d4452; }
.mem-list b { color: var(--ink); }
.features { background: var(--paper); padding: 150px 0 150px; }
.features .section-head h2 { font-size: clamp(56px, 7.2vw, 124px); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.feat { background: var(--bg); border: 1px solid rgb(16 24 43 / .05); border-radius: 21px; padding: 24px 22px 28px; transition: transform .45s var(--ease), box-shadow .4s; }
.feat:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgb(17 28 49 / .1); }
.feat h3 { font-size: 24px; margin-bottom: 14px; }
.feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.feat li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: #3d4452; }
.feat li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.never { background: var(--canvas); padding: 150px 0 150px; }
.notetype { padding: 130px 0 140px; }
.notetype .section-head h2 { font-size: clamp(48px, 5.6vw, 96px); }
.nt-layout { margin-top: 48px; }
.nt-card { margin-bottom: 0; }
.nt-foot { margin: 22px 0 0; padding: 0; border: 0; font-size: 14.5px; line-height: 1.6; color: #3d4452; max-width: none; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .plug { grid-template-columns: 1fr; gap: 6px; margin: 44px 0 28px; }
  .plug-link { width: 100%; height: 56px; grid-auto-flow: column; align-content: center; justify-content: center; gap: 12px; }
  .plug-link i { width: 4px; height: 100%; background: repeating-linear-gradient(180deg, var(--sky) 0 10px, transparent 10px 18px); background-size: 4px 36px; animation: flowv 1.2s linear infinite; }
  .plug-link span { margin: 0; }
  .trio, .mem-grid, .mode-lab, .vs { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); justify-self: center; animation: none; }
  .use, .features, .never, .notetype, .benefits, .memory { padding-top: 90px; padding-bottom: 100px; }
}
@keyframes flowv { to { background-position: 0 36px; } }
@media (max-width: 600px) { .feat-grid, .benefit-grid { grid-template-columns: 1fr; } }


/* ---- v3: connect + invite ---- */
.bg-lilac { --bg: var(--lilac); } .bg-cream { --bg: var(--cream); } .bg-mint { --bg: var(--mint); }
.bg-ice { --bg: var(--ice); } .bg-rose { --bg: var(--rose); }
.tag--purple { background: #6d3fd6; }
.invite-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 27px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 19px 65px rgb(17 28 49 / .07); }
.invite-card h3 { font-size: 28px; margin-bottom: 18px; }
.invite-form { display: grid; gap: 10px; }
.invite-form label { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.invite-form .opt { color: var(--muted); font-weight: 600; }
.invite-form input, .invite-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s; }
.invite-form textarea { resize: vertical; min-height: 84px; }
.invite-form input:focus, .invite-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(37 94 238 / .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; margin: 6px 0 2px; }
.invite-form .button { justify-self: start; margin-top: 6px; }
.invite-form .button[disabled] { opacity: .6; cursor: progress; transform: none; }
.invite-status { min-height: 1.5em; margin: 4px 0 0; font-size: 14.5px; font-weight: 700; }
.invite-status.ok { color: var(--green); } .invite-status.err { color: #a3123a; }
.invite-fine { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.connect { background: var(--canvas); padding: 130px 0 150px; }
.connect .section-head h2 { font-size: clamp(56px, 7.2vw, 124px); }
.url-box { margin: 52px 0 24px; display: grid; gap: 8px; }
.url-box > span { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.url-box .url-row { background: var(--paper); margin-top: 0; }
.connect-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 20px; }
.connect-card { background: var(--bg); border: 1px solid rgb(16 24 43 / .05); border-radius: 23px; padding: 26px 26px 30px; transition: transform .45s var(--ease), box-shadow .4s; }
.connect-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgb(17 28 49 / .09); }
.connect-card .tag { margin-bottom: 14px; }
.connect-card ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.55; color: #3d4452; }
.connect-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: #3d4452; }
.cmd-row { align-items: flex-start; margin: 4px 0 14px; background: var(--paper); }
.cmd-row code { font-size: 12.5px; }
code.inline { font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: rgb(255 255 255 / .8); padding: 2px 7px; border-radius: 6px; }
.first { margin-top: 70px; padding: clamp(26px, 3.6vw, 48px); border-radius: 27px; background: var(--paper); border: 1px solid var(--green-soft); box-shadow: 0 17px 49px rgb(17 28 49 / .05); }
.first h3 { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 8px; }
.first .lead { margin-bottom: 24px; }
.first-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.say { padding: 20px 22px 22px; border-radius: 18px; background: var(--ice); transition: transform .4s var(--ease); }
.say:hover { transform: translateY(-5px); }
.say span { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.say b { display: block; margin: 8px 0 6px; font-size: 22px; letter-spacing: -0.05em; }
.say p { margin: 0; font-size: 14px; color: #3d4452; line-height: 1.5; }
.lic { font-size: 11px; opacity: .72; padding: 2px 9px; border: 1px solid rgb(255 255 255 / .28); border-radius: 99px; margin-left: -12px; }
@media (max-width: 1100px) { .connect-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .first-grid { grid-template-columns: 1fr; } .connect { padding: 90px 0 100px; } .invite-form .button { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition-duration: .01ms !important; }
}
.mode-stage .bubble--tutor { background: var(--paper); } .mode-stage .bubble--you { background: var(--cream); }
@media (max-width: 900px) { .plug-link i { height: 34px; } .plug-link { height: auto; padding: 4px 0; } }

/* Why / How (clarity pass) */
.why { background: var(--paper); padding: clamp(70px, 8vw, 130px) 0 clamp(40px, 5vw, 70px); }
.how { background: var(--paper); padding: clamp(30px, 4vw, 60px) 0 clamp(90px, 9vw, 150px); }
.why .section-head h2, .how .section-head h2 { margin: 0; font-size: clamp(44px, 5.2vw, 88px); line-height: .98; letter-spacing: -0.07em; font-weight: 900; }
.why .section-head, .how .section-head { margin-bottom: 8px; }
.trio .tag { margin-bottom: 14px; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 26px 26px 30px; border-radius: 21px; border: 1px solid var(--line); background: var(--canvas); }
.steps h3 { font-size: 24px; margin: 14px 0 10px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.steps a { color: var(--accent); font-weight: 700; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 900; font-size: 18px; }
.hero-note { max-width: 560px; margin: 22px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.hero-note a, .access-note a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.access-note { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
