:root {
  --navy: #122a46;
  --navy-2: #183b60;
  --ink: #16324f;
  --muted: #637386;
  --paper: #fffdf8;
  --cream: #f5f1e8;
  --line: #ddd9cf;
  --coral: #ef6e5b;
  --coral-dark: #d95645;
  --mint: #b8dfcf;
  --mint-strong: #5ea98e;
  --yellow: #f2ca62;
  --blue: #a9cfe7;
  --white: #fff;
  --shadow: 0 20px 50px rgb(17 42 70 / 10%);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 15px; background: white; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 48px)); }

.site-header { height: 78px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgb(18 42 70 / 9%); background: rgb(255 253 248 / 93%); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 40; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; text-decoration: none; white-space: nowrap; }
.brand i, footer i { color: var(--coral); font-style: normal; }
.brand-mark { width: 37px; height: 37px; border-radius: 11px; display: grid; place-items: center; background: var(--coral); box-shadow: 0 7px 18px rgb(239 110 91 / 28%); transform: rotate(-4deg); }
.brand-mark svg { width: 26px; fill: none; stroke: white; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { border: 0; background: none; padding: 10px 12px; font-size: 14px; font-weight: 600; border-radius: 9px; cursor: pointer; color: #526579; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: #eee9df; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.account-button { height: 42px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 0 13px 0 7px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 700; }
.account-button:hover { border-color: var(--navy); }
.account-avatar { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--mint); color: var(--navy); font: 800 12px Manrope, sans-serif; text-transform: uppercase; }
.mobile-menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: white; border-radius: 11px; padding: 10px; cursor: pointer; }
.mobile-menu span { height: 2px; background: var(--ink); display: block; margin: 4px 0; }

.view { display: none; min-height: 72vh; }
.view.is-visible { display: block; animation: enter .35s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.hero { min-height: 620px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 40px; padding-block: 74px 66px; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; color: var(--coral-dark); }
.eyebrow span { width: 25px; height: 2px; background: currentColor; }
.hero h1 { margin: 18px 0 22px; font: 800 clamp(58px, 6vw, 88px)/.96 Manrope, sans-serif; letter-spacing: -.055em; color: var(--navy); }
.hero h1 em { color: var(--coral); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 4%; right: -2%; bottom: -8px; height: 9px; border-top: 3px solid var(--coral); border-radius: 50%; transform: rotate(-2deg); }
.hero-lede { font-size: 18px; line-height: 1.65; max-width: 570px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { border: 0; border-radius: 11px; min-height: 50px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: white; box-shadow: 0 12px 24px rgb(239 110 91 / 22%); }
.button-primary:hover { background: var(--coral-dark); }
.button-quiet { background: transparent; border: 1px solid var(--line); }
.button-outline { background: white; border: 1px solid var(--navy); }
.trust-note { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.trust-icon { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--mint-strong); color: var(--mint-strong); border-radius: 50%; font-size: 11px; font-weight: 700; }

.hero-art { height: 500px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: #edf1e7; }
.orbit { position: absolute; border: 1px solid rgb(18 42 70 / 14%); border-radius: 50%; }
.orbit-one { width: 440px; height: 260px; transform: rotate(-28deg); }
.orbit-two { width: 475px; height: 305px; transform: rotate(32deg); }
.spark { position: absolute; color: var(--yellow); font-size: 30px; }
.spark-one { right: 3%; top: 15%; }.spark-two { left: 5%; bottom: 16%; color: var(--coral); font-size: 18px; }
.hero-card { position: absolute; width: 270px; height: 350px; padding: 27px; border-radius: 19px; box-shadow: 0 30px 50px rgb(16 45 70 / 17%); border: 1px solid rgb(18 42 70 / 8%); display: flex; flex-direction: column; }
.card-back { background: var(--mint); transform: translate(-90px, -30px) rotate(-10deg); }
.card-back strong { font: 700 25px/1.25 Manrope; margin-top: 50px; }
.card-front { background: white; transform: translate(78px, 32px) rotate(7deg); text-align: center; align-items: center; }
.mini-label, .kind-pill { align-self: flex-start; background: rgb(18 42 70 / 9%); padding: 6px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; }
.mini-label.coral { color: var(--coral-dark); background: #fff0ec; }
.card-symbol { width: 86px; height: 86px; margin: 42px 0 20px; border-radius: 50%; background: #f8e0d9; display: grid; place-items: center; color: var(--coral); font: 800 26px Manrope; }
.card-front strong { font: 800 24px Manrope; }.card-front p { color: var(--muted); font-size: 13px; }
.tap-chip { margin-top: auto; font-size: 11px; font-weight: 700; padding: 7px 10px; background: var(--cream); border-radius: 7px; }
.answer-line { height: 9px; width: 100%; margin-top: 70px; border-radius: 9px; background: rgb(18 42 70 / 10%); }.answer-line.short { width: 66%; margin-top: 12px; }

.stat-strip { background: var(--navy); color: white; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 132px; align-items: center; }
.stat-grid div { min-height: 72px; display: flex; flex-direction: column; justify-content: center; padding-left: 38px; border-left: 1px solid rgb(255 255 255 / 13%); }
.stat-grid div:first-child { border-left: 0; padding-left: 0; }
.stat-grid strong { font: 700 31px Manrope; color: var(--yellow); }.stat-grid span { margin-top: 6px; font-size: 12px; opacity: .72; }

.activities { padding-block: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading h2, .progress-promo h2 { font: 800 clamp(32px, 4vw, 49px)/1.08 Manrope; letter-spacing: -.04em; margin: 8px 0 0; }
.section-heading > p { max-width: 390px; color: var(--muted); line-height: 1.6; }
.kicker { margin: 0; color: var(--coral-dark); text-transform: uppercase; letter-spacing: .15em; font-size: 10px; font-weight: 800; }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.activity-card { min-height: 245px; padding: 25px; border: 0; border-radius: var(--radius); text-align: left; position: relative; display: grid; grid-template-columns: 100px 1fr; align-items: end; gap: 20px; cursor: pointer; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }.activity-card.peach { background: #f3c2b5; }.activity-card.mint { background: var(--mint); }.activity-card.yellow { background: #f1d783; }.activity-card.blue { background: var(--blue); }
.activity-number { position: absolute; top: 22px; left: 25px; font: 700 12px Manrope; opacity: .55; }
.activity-icon { width: 90px; height: 90px; border-radius: 50%; background: rgb(255 255 255 / 52%); display: grid; place-items: center; }
.activity-icon svg { width: 48px; height: 48px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.activity-text { display: flex; flex-direction: column; padding-bottom: 9px; }.activity-text strong { font: 800 23px Manrope; }.activity-text small { margin-top: 8px; font-size: 13px; line-height: 1.45; opacity: .68; max-width: 280px; }
.round-arrow { position: absolute; right: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 48%); font-size: 19px; }

.progress-promo { min-height: 330px; margin-bottom: 100px; padding: 55px 65px; background: var(--navy); color: white; border-radius: 28px; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 80px; overflow: hidden; position: relative; }
.progress-promo::after { content: ""; width: 310px; height: 310px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; position: absolute; right: -130px; top: -140px; }
.kicker.light { color: var(--yellow); }.progress-preview { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 40px; }
.progress-ring { width: 150px; height: 150px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 10px solid rgb(255 255 255 / 12%); border-top-color: var(--coral); transform: rotate(20deg); }
.progress-ring span, .progress-ring small { transform: rotate(-20deg); }.progress-ring span { font: 800 36px Manrope; }.progress-ring small { font-size: 11px; opacity: .6; }
.progress-lines > div { display: flex; justify-content: space-between; font-size: 12px; margin-top: 18px; }.progress-lines b { color: var(--yellow); }
.progress-lines .line { height: 7px; background: rgb(255 255 255 / 12%); border-radius: 8px; overflow: hidden; margin-top: 8px; }.progress-lines .line i { display: block; width: var(--progress); background: var(--coral); border-radius: inherit; }

.activity-view { background: #f6f3ec; }.activity-shell { padding-block: 66px 90px; }
.activity-header { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 34px; }.activity-header h1 { margin: 6px 0 10px; font: 800 clamp(40px, 5vw, 64px)/1 Manrope; letter-spacing: -.05em; }.activity-header p:last-child { margin: 0; max-width: 650px; color: var(--muted); line-height: 1.55; }
.activity-header.compact h1 { font-size: clamp(38px, 5vw, 55px); }.activity-badge { flex: none; width: 100px; height: 100px; border-radius: 30px; display: grid; place-items: center; background: #f2c0b2; transform: rotate(5deg); font: 800 33px Manrope; }.activity-badge.mint-badge { background: var(--mint); }.activity-badge.yellow-badge { background: var(--yellow); }.activity-badge.blue-badge { background: var(--blue); }
.scope-tabs { width: fit-content; max-width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; background: #e6e1d8; padding: 5px; border-radius: 13px; margin-bottom: 28px; }.scope-tabs button { min-width: 125px; border: 0; background: none; padding: 10px 19px; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); }.scope-tabs button.is-active { background: white; color: var(--ink); box-shadow: 0 3px 10px rgb(17 42 70 / 8%); }
.library-tools { display: grid; grid-template-columns: 1fr 230px; gap: 12px; }.search-box { height: 56px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 0 16px; display: flex; align-items: center; gap: 10px; }.search-box span { font-size: 25px; color: var(--muted); }.search-box input { flex: 1; border: 0; outline: 0; min-width: 0; color: var(--ink); }.library-tools select { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--ink); background: white; }
.alphabet { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0; }.alphabet button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: white; font-size: 11px; font-weight: 700; cursor: pointer; }.alphabet button:hover, .alphabet button.is-active { background: var(--navy); color: white; border-color: var(--navy); }
.result-summary { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 15px; font-size: 13px; }.result-summary button, .text-button, .match-toolbar button { border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--coral-dark); font-weight: 700; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }.library-card { min-height: 205px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: white; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }.library-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.library-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.library-card .kind-pill { align-self: auto; }.library-card .letter { width: 29px; height: 29px; border-radius: 8px; background: var(--cream); display: grid; place-items: center; font: 800 12px Manrope; }.library-card h3 { margin: 20px 0 8px; font: 800 19px/1.2 Manrope; }.library-card p { color: var(--muted); line-height: 1.5; font-size: 13px; margin: 0 0 18px; }.library-card a { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--coral-dark); }.load-more { display: flex; margin: 28px auto 0; }.empty-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; color: var(--muted); }.empty-state strong { display: block; color: var(--ink); font: 800 24px Manrope; margin-bottom: 7px; }

.game-meta { margin-top: 32px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }.streak { color: var(--coral-dark); }.progress-bar { height: 6px; margin: 10px 0 26px; background: #e1ddd4; border-radius: 9px; overflow: hidden; }.progress-bar i { display: block; width: 10%; height: 100%; background: var(--coral); border-radius: inherit; transition: width .3s ease; }
.flashcard { display: block; width: 100%; height: 405px; perspective: 1200px; background: none; border: 0; padding: 0; cursor: pointer; }.flashcard-inner { position: relative; width: 100%; height: 100%; display: block; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }.flashcard.is-flipped .flashcard-inner { transform: rotateY(180deg); }.flash-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px; box-shadow: var(--shadow); }.flash-front { background: white; }.flash-back { background: var(--navy); color: white; transform: rotateY(180deg); }.flash-face .kind-pill { align-self: center; position: absolute; top: 26px; }.flash-face small { color: var(--muted); margin-bottom: 16px; }.flash-face strong { max-width: 600px; font: 800 clamp(27px, 4vw, 42px)/1.2 Manrope; text-align: center; }.flash-back small { color: rgb(255 255 255 / 56%); }.flash-back strong { font-size: clamp(22px, 3vw, 34px); }.flash-back a { position: absolute; bottom: 29px; color: var(--yellow); font-size: 12px; font-weight: 700; }.flip-prompt { position: absolute; bottom: 28px; font-size: 12px; color: var(--muted); }.flip-prompt b { color: var(--coral); margin-left: 5px; }.flash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; opacity: .4; pointer-events: none; }.flash-actions.is-ready { opacity: 1; pointer-events: auto; }.recall-button { background: white; border: 1px solid var(--line); }.recall-button.know { background: var(--mint); border-color: var(--mint); }.text-button { display: block; margin: 20px auto 0; }

.quiz-card { border: 1px solid var(--line); background: white; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }.quiz-card > .kind-pill { display: inline-block; }.quiz-card > p { color: var(--muted); font-size: 13px; margin: 25px 0 8px; }.quiz-card h2 { margin: 0 0 27px; font: 800 24px/1.35 Manrope; }.quiz-options { display: grid; gap: 10px; }.quiz-option { min-height: 53px; border: 1px solid var(--line); background: #faf9f5; border-radius: 11px; padding: 12px 15px; text-align: left; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }.quiz-option i { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; background: white; border: 1px solid var(--line); font-style: normal; font-size: 11px; }.quiz-option:hover { border-color: var(--navy); }.quiz-option.is-correct { background: #e5f5ed; border-color: var(--mint-strong); }.quiz-option.is-wrong { background: #fdeae6; border-color: var(--coral); }.quiz-option:disabled { cursor: default; color: var(--ink); }.quiz-feedback { min-height: 28px; margin-top: 18px; font-weight: 700; font-size: 13px; }.quiz-feedback.good { color: #327d65; }.quiz-feedback.bad { color: var(--coral-dark); }.next-question { display: none; margin: 8px 0 0 auto; }.next-question.is-visible { display: flex; }

.match-toolbar { display: flex; gap: 28px; align-items: center; padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; font-size: 13px; }.match-toolbar button { margin-left: auto; }.match-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.match-tile { min-height: 145px; border: 1px solid var(--line); border-radius: 15px; padding: 17px; background: white; display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer; font-weight: 700; line-height: 1.4; box-shadow: 0 5px 15px rgb(18 42 70 / 4%); transition: transform .16s ease, background .16s ease; }.match-tile:hover { transform: translateY(-3px); }.match-tile.is-use { font-weight: 500; color: var(--muted); font-size: 12px; }.match-tile.is-selected { background: #f4d99a; border-color: #d6ad48; transform: translateY(-3px); }.match-tile.is-matched { background: var(--mint); border-color: var(--mint-strong); color: var(--ink); opacity: .65; cursor: default; }.match-tile.is-wrong { animation: shake .32s ease; background: #fdeae6; }@keyframes shake { 25%{transform:translateX(-4px)}75%{transform:translateX(4px)} }.match-complete { min-height: 70px; display: grid; place-items: center; text-align: center; font-weight: 700; color: #327d65; }

footer { background: #0e2239; color: white; }.footer-inner { min-height: 190px; display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 100px; }.footer-inner strong { font: 800 21px Manrope; }.footer-inner p { font-size: 12px; line-height: 1.5; color: rgb(255 255 255 / 58%); }.footer-inner a { display: inline-block; margin-right: 20px; color: var(--yellow); font-size: 11px; font-weight: 700; }

.account-dialog { width: min(620px, calc(100% - 28px)); max-height: min(820px, calc(100vh - 30px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 90px rgb(4 18 32 / 30%); overflow: auto; }
.account-dialog::backdrop { background: rgb(10 28 47 / 65%); backdrop-filter: blur(5px); }
.account-dialog-inner { padding: 34px; position: relative; }
.dialog-close { position: absolute; top: 19px; right: 19px; width: 37px; height: 37px; border-radius: 50%; border: 1px solid var(--line); background: white; cursor: pointer; font-size: 23px; line-height: 1; }
.account-dialog-heading { display: flex; align-items: center; gap: 16px; padding-right: 45px; }
.account-dialog-icon { flex: none; width: 56px; height: 56px; border-radius: 17px; background: var(--coral); color: white; display: grid; place-items: center; font: 800 17px Manrope, sans-serif; transform: rotate(-4deg); }
.account-dialog-heading h2 { margin: 5px 0 0; font: 800 27px/1.1 Manrope, sans-serif; letter-spacing: -.035em; }
.account-intro { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 22px 0; }
.account-intro code { color: var(--coral-dark); background: #f6e9e4; padding: 2px 5px; border-radius: 5px; }
.account-panel { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.active-account-card { display: flex; align-items: center; gap: 14px; }
.large-avatar { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--mint); font: 800 20px Manrope, sans-serif; text-transform: uppercase; }
.active-account-card div { display: flex; flex-direction: column; }.active-account-card small, .active-account-card span { color: var(--muted); font-size: 11px; }.active-account-card strong { margin: 2px 0; font: 800 19px Manrope, sans-serif; }
.account-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }.account-action-grid .button { min-height: 45px; padding-inline: 12px; }
.danger-link { display: block; margin: 17px auto 0; border: 0; background: none; color: #ad4137; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 11px; }
.account-panel h3 { margin: 0 0 11px; font: 800 14px Manrope, sans-serif; }.saved-profiles { display: grid; gap: 7px; margin-bottom: 19px; }.saved-profile { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f5; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }.saved-profile:hover { border-color: var(--navy); }.saved-profile .account-avatar { flex: none; }.saved-profile span:nth-child(2) { display: flex; flex-direction: column; }.saved-profile strong { font-size: 13px; }.saved-profile small { color: var(--muted); }.saved-profile b { margin-left: auto; font-size: 18px; color: var(--coral); }
.create-profile-form label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 13px; }.create-profile-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.create-profile-form input { min-width: 0; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: white; }.create-profile-form input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgb(169 207 231 / 35%); }.create-profile-form .button { min-height: 48px; }.create-profile-form > small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.account-import { margin-top: 13px; padding: 15px; border: 1px dashed #c9c3b8; border-radius: 14px; display: flex; align-items: center; gap: 12px; }.account-import div { display: flex; flex: 1; flex-direction: column; }.account-import strong { font-size: 12px; }.account-import span { color: var(--muted); font-size: 10px; margin-top: 2px; }.account-import .button { min-height: 40px; padding: 0 13px; font-size: 11px; }
.account-status { min-height: 18px; margin: 12px 0 0; color: #327d65; font-size: 11px; font-weight: 700; text-align: center; }.account-status.is-error { color: var(--coral-dark); }
.account-privacy { color: var(--muted); font-size: 9px; line-height: 1.45; margin: 10px 6px 0; text-align: center; }

@media (max-width: 940px) {
  .main-nav { position: fixed; top: 77px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }.main-nav.is-open { display: flex; }.mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }.hero-copy { text-align: center; }.eyebrow, .hero-actions, .trust-note { justify-content: center; }.hero-lede { margin-inline: auto; }.hero-art { height: 460px; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }.match-board { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .shell, .narrow { width: min(100% - 28px, 1180px); }.site-header { height: 68px; padding: 0 14px; }.main-nav { top: 67px; }.account-button { padding-right: 7px; }.account-button > span:last-child { display: none; }.hero { min-height: auto; padding: 55px 0 35px; }.hero h1 { font-size: clamp(50px, 17vw, 72px); }.hero-art { transform: scale(.82); margin: -20px 0; }.stat-grid { grid-template-columns: 1fr 1fr; padding-block: 18px; }.stat-grid div, .stat-grid div:first-child { min-height: 80px; padding-left: 20px; border-left: 1px solid rgb(255 255 255 / 13%); }.stat-grid div:nth-child(odd) { border-left: 0; padding-left: 0; }.activities { padding-block: 70px; }.section-heading { display: block; }.section-heading > p { margin-top: 16px; }.activity-grid { grid-template-columns: 1fr; }.activity-card { min-height: 205px; grid-template-columns: 75px 1fr; }.activity-icon { width: 70px; height: 70px; }.progress-promo { margin-bottom: 70px; padding: 40px 25px; grid-template-columns: 1fr; gap: 38px; }.progress-preview { grid-template-columns: 100px 1fr; gap: 20px; }.progress-ring { width: 100px; height: 100px; border-width: 7px; }.progress-ring span { font-size: 27px; }
  .activity-shell { padding-block: 44px 70px; }.activity-badge { width: 68px; height: 68px; border-radius: 21px; }.scope-tabs { width: 100%; }.scope-tabs button { min-width: 0; padding-inline: 8px; }.library-tools { grid-template-columns: 1fr; }.library-tools select { height: 50px; }.library-grid { grid-template-columns: 1fr; }.flashcard { height: 385px; }.flash-face { padding: 30px 22px; }.quiz-card { padding: 22px 17px; }.match-board { grid-template-columns: repeat(2, 1fr); }.match-tile { min-height: 125px; padding: 12px; font-size: 13px; }.footer-inner { grid-template-columns: 1fr; gap: 10px; padding-block: 45px; }.activity-header { gap: 15px; }.account-dialog-inner { padding: 25px 18px; }.account-action-grid { grid-template-columns: 1fr; }.account-import { align-items: stretch; flex-direction: column; }.account-import .button { width: 100%; }.create-profile-form > div { grid-template-columns: 1fr; }
}

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