:root {
  --paper: #f4f1e9;
  --paper-deep: #eae4d7;
  --surface: #fffdf8;
  --ink: #17213a;
  --ink-soft: #5f6678;
  --line: #d9d3c7;
  --blue: #3156d9;
  --blue-dark: #203d9f;
  --mint: #bce8db;
  --mint-dark: #197765;
  --lime: #dafa62;
  --coral: #ff8067;
  --amber: #f3c35e;
  --shadow: 0 18px 50px rgba(23, 33, 58, 0.09);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --focus: 0 0 0 4px rgba(49, 86, 217, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 7%, rgba(218, 250, 98, .22), transparent 25rem),
    radial-gradient(circle at 94% 90%, rgba(188, 232, 219, .28), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, textarea, input { font: inherit; }
button { color: inherit; }

button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 70px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 6px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 12px 4px;
  background: var(--blue);
  color: white;
  font-weight: 850;
  letter-spacing: -.07em;
  transform: rotate(-2deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: -3px;
  top: -3px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--paper);
}

.brand-name { font-size: 1.12rem; font-weight: 850; letter-spacing: -.03em; }

.desktop-nav {
  display: flex;
  align-items: center;
  padding: 5px;
  gap: 4px;
  border-radius: 15px;
  background: rgba(255, 253, 248, .72);
  border: 1px solid rgba(217, 211, 199, .78);
}

.nav-btn {
  border: 0;
  border-radius: 11px;
  background: transparent;
  padding: 9px 14px;
  color: var(--ink-soft);
  font-weight: 720;
  cursor: pointer;
}

.nav-btn:hover { color: var(--ink); background: rgba(49, 86, 217, .06); }
.nav-btn.active { color: var(--blue-dark); background: white; box-shadow: 0 2px 8px rgba(23, 33, 58, .08); }

.profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 750;
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-dark);
  font-weight: 850;
}

.page { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 850;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(2.25rem, 5vw, 4.4rem); line-height: .99; letter-spacing: -.055em; }
h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { margin-bottom: 8px; font-size: 1.05rem; letter-spacing: -.02em; }
.lede { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); font-size: 1.03rem; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  min-height: 330px;
  margin: 12px 0 22px;
  border-radius: 32px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.hero-copy { position: relative; z-index: 2; padding: clamp(34px, 6vw, 64px); }
.hero .eyebrow { color: var(--lime); }
.hero .lede { color: #c8ccda; }

.hero-art { position: relative; min-height: 280px; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit.one { width: 260px; height: 260px; top: 32px; right: 30px; transform: rotate(20deg); }
.orbit.two { width: 190px; height: 310px; top: 4px; right: 52px; transform: rotate(55deg); }
.planet { position: absolute; border-radius: 50%; }
.planet.main { width: 118px; height: 118px; right: 97px; top: 108px; background: var(--blue); box-shadow: inset -24px -16px rgba(0,0,0,.13); }
.planet.moon { width: 34px; height: 34px; right: 36px; top: 72px; background: var(--coral); }
.planet.spark { width: 18px; height: 18px; right: 245px; top: 67px; background: var(--lime); }
.story-lines { position: absolute; right: 79px; top: 142px; width: 150px; transform: rotate(-7deg); }
.story-lines span { display: block; height: 6px; margin: 9px 0; border-radius: 999px; background: rgba(255,255,255,.75); }
.story-lines span:nth-child(2) { width: 75%; }
.story-lines span:nth-child(3) { width: 88%; }

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  padding: 11px 17px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover { transform: translateY(-1px); background: var(--blue-dark); box-shadow: 0 8px 18px rgba(49,86,217,.2); }
.button:active { transform: translateY(0); }
.button.lime { background: var(--lime); color: var(--ink); }
.button.lime:hover { background: #e4ff78; }
.button.secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.button.secondary:hover { background: white; box-shadow: 0 8px 18px rgba(23,33,58,.08); }
.button.ghost { background: transparent; color: var(--blue); }
.button.small { min-height: 36px; padding: 7px 11px; font-size: .86rem; border-radius: 10px; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }

.arrow { font-size: 1.2em; line-height: 1; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 9px 28px rgba(23,33,58,.05);
}

.card-pad { padding: 24px; }

.week-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 23px 25px; }
.week-card p { margin: 0; color: var(--ink-soft); }
.week-dots { display: flex; gap: 8px; }
.week-dot { width: 44px; height: 8px; border-radius: 999px; background: var(--paper-deep); }
.week-dot.done { background: var(--blue); }
.week-dot.today { background: var(--lime); box-shadow: 0 0 0 3px rgba(218,250,98,.26); }

.latest-feedback-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 23px 25px;
  border-color: rgba(42, 84, 219, .2);
  background: linear-gradient(135deg, rgba(219, 228, 255, .72), rgba(255, 253, 248, .96));
}
.latest-feedback-card h2 { margin: 3px 0 7px; }
.latest-feedback-card p:last-child { margin: 0; color: var(--ink-soft); }
.latest-feedback-card .button { flex: 0 0 auto; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 38px 0 16px; }
.section-head p { margin: 0; color: var(--ink-soft); }

.prompt-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.prompt-card:hover { transform: translateY(-3px); border-color: #b8bfd0; box-shadow: var(--shadow); }
.prompt-card:focus-visible { box-shadow: var(--focus), var(--shadow); }
.prompt-card .tag { align-self: flex-start; }
.prompt-card h3 { margin-top: 25px; font-size: 1.28rem; line-height: 1.18; }
.prompt-card p { color: var(--ink-soft); font-size: .92rem; }
.prompt-card .choose { margin-top: auto; color: var(--blue); font-weight: 820; }
.prompt-card::after { content: ""; position: absolute; width: 92px; height: 92px; right: -38px; bottom: -43px; border-radius: 50%; background: var(--accent, var(--mint)); opacity: .82; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag.blue { background: #dfe5ff; color: var(--blue-dark); }
.tag.green { background: #d9f4eb; color: var(--mint-dark); }
.tag.coral { background: #ffe2dc; color: #a23b28; }
.tag.amber { background: #ffedbf; color: #8d5b00; }

.focus-card { position: relative; overflow: hidden; padding: 27px; background: var(--blue); color: white; border: 0; }
.focus-card p { margin-bottom: 0; color: #dce2ff; }
.focus-card::after { content: ";"; position: absolute; right: 18px; bottom: -42px; color: rgba(255,255,255,.12); font-family: Georgia, serif; font-size: 10rem; line-height: 1; }

.word-preview { padding: 27px; }
.mini-word-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.mini-word-row strong { letter-spacing: .01em; }
.mini-word-row span { color: var(--ink-soft); font-size: .84rem; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 20px;
  align-items: start;
}

.workspace-main { min-width: 0; }
.workspace-top { margin: 6px 0 18px; }
.back-btn { border: 0; background: transparent; color: var(--ink-soft); font-weight: 750; padding: 8px 0; cursor: pointer; }
.back-btn:hover { color: var(--blue); }

.prompt-banner { padding: 26px 28px; margin-bottom: 16px; background: var(--ink); color: white; }
.prompt-banner p { margin-bottom: 0; color: #cbd0de; }
.prompt-banner .tag { margin-bottom: 16px; background: var(--lime); }

.editor-card { overflow: hidden; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: #faf8f2; color: var(--ink-soft); font-size: .82rem; }
.save-state { display: flex; align-items: center; gap: 7px; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-dark); }
.writing-editor {
  display: block;
  width: 100%;
  min-height: 440px;
  resize: vertical;
  border: 0;
  outline: 0;
  padding: 30px;
  background: var(--surface);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  line-height: 1.8;
}
.writing-editor::placeholder { color: #a7a4a0; }
.editor-footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.word-count { color: var(--ink-soft); font-size: .84rem; }

.side-stack { display: grid; gap: 15px; position: sticky; top: 18px; }
.side-card { padding: 21px; }
.side-card p:last-child { margin-bottom: 0; }
.focus-rule { margin: 14px 0 0; padding: 13px 14px; border-radius: 12px; background: #e6eaff; color: var(--blue-dark); font-weight: 750; }
.nudge { border: 1px dashed #b6b0a5; background: transparent; }
.nudge[open] { background: var(--surface); }
.nudge summary { cursor: pointer; font-weight: 800; }
.nudge p { margin: 13px 0 0; color: var(--ink-soft); }

.stepper { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; }
.step { width: 34px; height: 5px; border-radius: 999px; background: var(--paper-deep); }
.step.done { background: var(--blue); }
.step.current { background: var(--lime); }

.feedback-shell { max-width: 880px; margin: 0 auto; }
.feedback-hero { padding: 34px; margin-bottom: 18px; background: var(--ink); color: white; }
.feedback-hero p { margin-bottom: 0; color: #c9cfde; }
.feedback-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--lime); font-weight: 850; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feedback-card { padding: 25px; }
.feedback-card.wide { grid-column: 1 / -1; }
.feedback-card p:last-child { margin-bottom: 0; }
.feedback-card .number { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 16px; border-radius: 11px; background: var(--paper-deep); font-weight: 900; }
.quote-box { margin-top: 15px; padding: 16px 18px; border-left: 4px solid var(--coral); border-radius: 0 12px 12px 0; background: #fff3ef; font-family: Georgia, serif; }
.review-card { padding: clamp(22px, 4vw, 32px); }
.review-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-heading .number { flex: 0 0 auto; margin: 0; }
.review-heading h3, .review-heading p { margin: 0; }
.review-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.review-item { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.58); }
.review-item p { margin: 9px 0 0; }
.review-label { display: inline-block; margin-bottom: 8px; color: var(--blue-dark); font-size: .78rem; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.review-excerpt { padding-left: 12px; border-left: 3px solid var(--coral); color: var(--ink); font-family: Georgia, serif; }
.review-explanation { color: var(--ink-soft); font-size: .94rem; }
.review-empty { margin: 0; padding: 15px 17px; border-radius: 14px; background: rgba(188,232,219,.28); color: var(--ink-soft); }
.spelling-review { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spelling-correction { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; font-size: 1.12rem; }
.spelling-attempt { color: #a23b28; text-decoration: line-through; text-decoration-thickness: 2px; }
.spelling-arrow { color: var(--ink-soft); }

.tabs { display: inline-flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.tab { border: 0; border-radius: 10px; padding: 9px 13px; background: transparent; color: var(--ink-soft); font-weight: 780; cursor: pointer; }
.tab.active { background: white; color: var(--blue-dark); box-shadow: 0 2px 8px rgba(23,33,58,.08); }

.practice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; margin-top: 20px; }
.practice-stage { min-height: 430px; padding: clamp(24px, 5vw, 48px); }
.question-kicker { color: var(--ink-soft); font-weight: 760; font-size: .86rem; }
.word-big { margin: 30px 0 12px; font-family: Georgia, serif; font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.definition { max-width: 590px; color: var(--ink-soft); font-size: 1.03rem; }
.answer-input { width: 100%; max-width: 530px; margin-top: 24px; padding: 15px 17px; border: 2px solid var(--line); border-radius: 13px; background: white; font-size: 1.05rem; }
.answer-input:focus { border-color: var(--blue); }
.practice-actions { display: flex; gap: 10px; margin-top: 17px; }
.choice-list { display: grid; gap: 10px; margin-top: 24px; }
.choice { padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: white; text-align: left; cursor: pointer; font-weight: 680; }
.choice:hover { border-color: var(--blue); background: #f8f9ff; }
.choice.correct { border-color: var(--mint-dark); background: #e5f7f1; }
.choice.wrong { border-color: #bd4b37; background: #fff0ed; }
.mastery-list { display: grid; gap: 13px; margin-top: 18px; }
.mastery-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.mastery-item p { margin: 0; }
.mastery-bar { width: 100%; height: 7px; margin-top: 6px; overflow: hidden; border-radius: 999px; background: var(--paper-deep); }
.mastery-fill { height: 100%; border-radius: inherit; background: var(--blue); }
.mastery-score { color: var(--ink-soft); font-size: .8rem; font-weight: 750; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; }
.metric { padding: 20px; }
.metric-value { display: block; margin-bottom: 6px; font-size: 2rem; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.metric-label { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }

.progress-panel { padding: 28px; }
.skill-row { display: grid; grid-template-columns: 170px 1fr 52px; gap: 13px; align-items: center; margin: 17px 0; }
.skill-row strong { font-size: .9rem; }
.skill-track { height: 10px; overflow: hidden; border-radius: 999px; background: var(--paper-deep); }
.skill-fill { height: 100%; border-radius: inherit; background: var(--blue); }
.skill-value { color: var(--ink-soft); font-size: .82rem; text-align: right; }

.timeline { display: grid; gap: 0; margin-top: 14px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 13px; padding-bottom: 21px; }
.timeline-item:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline-dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.timeline-item p { margin: 3px 0 0; color: var(--ink-soft); font-size: .88rem; }

.empty-state { padding: 52px 25px; text-align: center; }
.empty-state p { max-width: 480px; margin: 0 auto 20px; color: var(--ink-soft); }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(940px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.login-art { position: relative; overflow: hidden; min-height: 530px; padding: 46px; background: var(--ink); color: white; }
.login-art p { color: #c8ccda; }
.login-art .brand { color: white; padding: 0; margin-bottom: 76px; }
.login-planet { position: absolute; width: 260px; height: 260px; right: -50px; bottom: -58px; border-radius: 50%; background: var(--blue); }
.login-planet::before { content: ""; position: absolute; width: 330px; height: 110px; left: -56px; top: 62px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; transform: rotate(-15deg); }
.login-form { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
.login-form label { display: block; margin: 18px 0 7px; font-weight: 800; }
.login-form input { width: 100%; padding: 14px 15px; border: 2px solid var(--line); border-radius: 12px; background: white; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 17px; }
.role-choice { padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; font-weight: 750; }
.role-choice.active { border-color: var(--blue); background: #eef1ff; color: var(--blue-dark); }
.form-error { min-height: 22px; margin: 10px 0 0; color: #a83b28; font-size: .88rem; }

.bottom-nav { display: none; }
.toast { position: fixed; z-index: 1000; left: 50%; bottom: 26px; transform: translate(-50%, 20px); padding: 10px 15px; border-radius: 11px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); font-weight: 700; font-size: .88rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.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; }

@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { position: absolute; inset: 0 0 0 58%; opacity: .5; }
  .hero-copy { max-width: 650px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .workspace, .practice-layout { grid-template-columns: 1fr; }
  .side-stack { position: static; grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .bottom-nav { position: fixed; z-index: 50; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; width: min(450px, calc(100% - 24px)); justify-content: space-around; padding: 7px; border: 1px solid rgba(217,211,199,.85); border-radius: 17px; background: rgba(255,253,248,.94); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
  .bottom-nav .nav-btn { padding: 9px 12px; font-size: .78rem; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); padding-bottom: 92px; }
  .topbar { min-height: 70px; }
  .profile-pill span:last-child { display: none; }
  .hero { margin-top: 4px; min-height: 420px; }
  .hero-copy { padding: 32px 26px; }
  .hero-art { inset: 49% -36px -25px 24%; opacity: .55; }
  .grid-2, .grid-3, .feedback-grid, .side-stack { grid-template-columns: 1fr; }
  .spelling-review { grid-template-columns: 1fr; }
  .week-card { grid-template-columns: 1fr; }
  .latest-feedback-card { align-items: stretch; flex-direction: column; }
  .latest-feedback-card .button { align-self: flex-start; }
  .week-dots { order: -1; }
  .prompt-card { min-height: 210px; }
  .section-head { align-items: start; flex-direction: column; }
  .writing-editor { min-height: 380px; padding: 23px; }
  .editor-footer { align-items: stretch; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 17px; }
  .skill-row { grid-template-columns: 1fr 45px; }
  .skill-row .skill-track { grid-column: 1 / -1; grid-row: 2; }
  .login-card { grid-template-columns: 1fr; }
  .login-art { min-height: 240px; padding: 28px; }
  .login-art .brand { margin-bottom: 38px; }
  .login-art h1 { font-size: 2.4rem; }
  .login-form { padding: 32px 28px; }
}

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