:root {
  --ink: #241a2d;
  --plum: #4d234f;
  --plum-dark: #351538;
  --coral: #ef725f;
  --coral-soft: #ffd8cc;
  --teal: #176c6a;
  --cream: #fbf6ed;
  --sand: #ead8ba;
  --white: #fffdfa;
  --muted: #6f6571;
  --line: #ded4ca;
  --shadow: 0 22px 60px rgba(53, 21, 56, 0.13);
  --radius: 24px;
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(251, 246, 237, 0.92);
  border-bottom: 1px solid rgba(77, 35, 79, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 13px 4px;
  background: var(--plum);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav > a,
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-form {
  display: inline;
  margin: 0;
}

.nav-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 9px 17px;
  color: #fff;
  background: var(--plum);
}

.button--primary {
  color: #fff;
  background: var(--plum);
  box-shadow: 0 12px 25px rgba(77, 35, 79, 0.2);
}

.button--primary:hover {
  background: var(--plum-dark);
}

.button--light {
  flex: 0 0 auto;
  color: var(--plum);
  background: var(--white);
}

.button--full {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #ffc0b2;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(239, 114, 95, 0.14), transparent 25%),
    linear-gradient(125deg, var(--cream) 0%, #f7eee4 58%, #f4dfd5 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -150px;
  bottom: -160px;
  border: 1px solid rgba(77, 35, 79, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(77, 35, 79, 0.035), 0 0 0 116px rgba(77, 35, 79, 0.025);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 80px;
  padding-block: 80px 96px;
}

.hero-copy h1,
.section-heading h2,
.learner-grid h2,
.callout h2,
.dashboard-head h1,
.auth-intro h1,
.status-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 670px;
  margin: 18px 0 20px;
  font-size: clamp(3.4rem, 6.7vw, 6.25rem);
  font-weight: 500;
  line-height: 0.93;
}

.hero-copy h1 em {
  color: var(--coral);
  font-weight: 500;
}

.hero-lede {
  max-width: 610px;
  margin: 0;
  color: #5f5362;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 850;
  text-underline-offset: 5px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.sun-orbit {
  position: absolute;
  width: 470px;
  aspect-ratio: 1;
  left: 50%;
  top: 45%;
  border: 1px solid rgba(77, 35, 79, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.22), 0 0 0 110px rgba(255, 255, 255, 0.16);
}

.sample-card {
  position: absolute;
  z-index: 2;
  width: min(360px, 82%);
  min-height: 455px;
  left: 50%;
  top: 50%;
  padding: 25px;
  border: 1px solid rgba(77, 35, 79, 0.13);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translate(-48%, -51%) rotate(2deg);
}

.sample-card--back {
  z-index: 1;
  background: var(--coral);
  transform: translate(-61%, -48%) rotate(-8deg);
}

.sample-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-top span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
}

.sample-art {
  height: 235px;
  position: relative;
  margin: 22px 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #f6d7cc, #f6ead7);
}

.strand {
  position: absolute;
  width: 34px;
  height: 210px;
  top: 28px;
  left: 50%;
  border: 9px solid #6b3e2c;
  border-top: 0;
  border-radius: 0 0 50% 50%;
  transform: rotate(18deg);
}

.strand--two {
  left: 37%;
  height: 180px;
  transform: rotate(4deg);
}

.strand--three {
  left: 62%;
  height: 190px;
  transform: rotate(30deg);
}

.sample-card > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.24;
}

.sample-answer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.score-chip {
  position: absolute;
  z-index: 3;
  right: -4px;
  bottom: 44px;
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 32px rgba(23, 108, 106, 0.24);
}

.score-chip b,
.score-chip span {
  display: block;
}

.score-chip b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.score-chip span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-strip {
  color: #fff;
  background: var(--plum);
}

.study-steps {
  min-height: 125px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.study-steps > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.study-steps > div:last-child {
  border-right: 0;
}

.study-steps > div > span {
  color: #ffac9a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.study-steps p,
.study-steps b,
.study-steps small {
  display: block;
  margin: 0;
}

.study-steps small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-heading h2,
.learner-grid h2,
.callout h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 610px;
  color: var(--muted);
}

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

.feature {
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.72);
}

.feature--wide {
  min-height: 330px;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 52px 1fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.feature--plum {
  color: #fff;
  border-color: var(--plum);
  background: var(--plum);
}

.feature--sand {
  border-color: var(--sand);
  background: var(--sand);
}

.feature--coral {
  border-color: var(--coral-soft);
  background: var(--coral-soft);
}

.feature-number {
  align-self: start;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 14px;
  color: var(--plum);
  background: #f1e7df;
  font-size: 1.25rem;
  font-weight: 900;
}

.feature h3 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.feature--wide h3 {
  margin-top: 0;
  font-size: 2.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.feature--plum p {
  color: rgba(255, 255, 255, 0.7);
}

.sound-wave {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.sound-wave i {
  width: 7px;
  height: 50%;
  border-radius: 8px;
  background: var(--coral);
}

.sound-wave i:nth-child(2),
.sound-wave i:nth-child(6) {
  height: 85%;
}

.sound-wave i:nth-child(3),
.sound-wave i:nth-child(5) {
  height: 60%;
}

.sound-wave i:nth-child(4) {
  height: 100%;
}

.mini-meter {
  height: 10px;
  margin-top: 26px;
  border-radius: 999px;
  background: #e9ded5;
}

.mini-meter span {
  width: 78%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--teal);
}

.mini-pills {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.mini-pills i {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.lock-illustration {
  width: 130px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: var(--coral);
}

.lock-illustration span {
  width: 48px;
  height: 42px;
  position: relative;
  display: block;
  border-radius: 8px;
  background: #fff;
}

.lock-illustration span::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 8px;
  top: -23px;
  border: 6px solid #fff;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.section--learners {
  color: #fff;
  background: var(--teal);
}

.learner-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: start;
}

.learner-list {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.learner-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.learner-list span {
  color: #a9dbd8;
  font-family: Georgia, "Times New Roman", serif;
}

.learner-list p,
.learner-list b {
  display: block;
  margin: 0;
}

.learner-list p {
  color: rgba(255, 255, 255, 0.72);
}

.learner-list b {
  margin-bottom: 4px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 58px;
  border-radius: 32px;
  color: #fff;
  background: var(--plum);
}

.callout > div {
  max-width: 760px;
}

.callout h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.callout p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
  background: #f6eee4;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.auth-section {
  min-height: calc(100vh - 78px);
  padding: 36px;
  background: #efe3d7;
}

.auth-panel {
  width: min(1080px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(239, 114, 95, 0.65), transparent 26%),
    linear-gradient(155deg, var(--plum), var(--plum-dark));
}

.brand--light {
  color: #fff;
}

.brand--light .brand-mark {
  color: var(--plum);
  background: #fff;
}

.brand--light small {
  color: rgba(255, 255, 255, 0.64);
}

.auth-intro h1 {
  margin: 12px 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.auth-intro > div > p,
.license-note {
  color: rgba(255, 255, 255, 0.68);
}

.license-note {
  max-width: 340px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
}

.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 50px;
}

.auth-form {
  width: min(420px, 100%);
}

.auth-form h2 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
}

.auth-form > p {
  color: var(--muted);
  font-size: 0.87rem;
}

.auth-form a {
  color: var(--plum);
  font-weight: 800;
}

.form-stack {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.form-stack label {
  display: grid;
  gap: 8px;
  font-size: 0.79rem;
  font-weight: 850;
}

.form-stack input {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
}

.form-stack input:focus {
  border-color: var(--plum);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 66px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  padding: 7px;
  transform: translateY(-50%);
  border: 0;
  color: var(--plum);
  background: transparent;
  font-size: 0.73rem;
  font-weight: 850;
  cursor: pointer;
}

.field-help,
.form-fineprint {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.form-fineprint {
  margin-top: 24px !important;
}

.notice {
  margin: 18px 0;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.notice--error {
  color: #76291f;
  background: #ffe1db;
}

.notice--success {
  color: #105351;
  background: #d7eeeb;
}

.dashboard-hero {
  padding: 70px 0 110px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(239, 114, 95, 0.42), transparent 25%),
    var(--plum);
}

.dashboard-hero--admin {
  background:
    radial-gradient(circle at 82% 20%, rgba(234, 216, 186, 0.35), transparent 26%),
    var(--plum-dark);
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.dashboard-head h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.dashboard-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.access-badge {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.access-badge--paid {
  color: #0f5250;
  border-color: #c7ece9;
  background: #c7ece9;
}

.access-badge--admin {
  color: var(--plum-dark);
  border-color: var(--sand);
  background: var(--sand);
}

.dashboard-section {
  min-height: 550px;
  padding-bottom: 100px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  align-items: start;
  margin-top: -62px;
}

.action-grid {
  display: grid;
  gap: 14px;
}

.action-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(53, 21, 56, 0.06);
  transition: transform 150ms ease, border-color 150ms ease;
}

.action-card:hover {
  border-color: var(--plum);
  transform: translateY(-2px);
}

.action-card--primary {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.action-card--disabled {
  opacity: 0.56;
  pointer-events: none;
}

.action-icon {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--plum);
  background: #f1e7df;
  font-weight: 900;
}

.action-card--primary .action-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.action-card b,
.action-card small {
  display: block;
}

.action-card b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.action-card small {
  margin-top: 4px;
  color: var(--muted);
}

.action-card--primary small {
  color: rgba(255, 255, 255, 0.7);
}

.action-card > i {
  font-style: normal;
  font-weight: 900;
}

.progress-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.readiness-ring {
  width: 176px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 24px auto;
  border-radius: 50%;
  background: conic-gradient(var(--coral) calc(var(--score) * 1%), #eadfd6 0);
}

.readiness-ring::before {
  content: "";
  width: 136px;
  aspect-ratio: 1;
  grid-area: 1 / 1;
  border-radius: 50%;
  background: var(--white);
}

.readiness-ring span {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}

.readiness-ring b,
.readiness-ring small {
  display: block;
}

.readiness-ring b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.readiness-ring small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-list {
  margin: 0;
}

.stats-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.stats-list dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.stats-list dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: right;
}

.unlock-card {
  min-height: 445px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 46px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.unlock-card h2 {
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
}

.unlock-card > div > p {
  max-width: 680px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--teal);
  font-weight: 900;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 30px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.account-row span,
.account-row b {
  display: block;
}

.account-row span {
  color: var(--muted);
  font-size: 0.7rem;
}

.account-row b {
  margin-top: 3px;
  font-size: 0.88rem;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--plum);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.muted {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: -62px;
}

.admin-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-card h2 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.admin-card p {
  margin-bottom: 28px;
  color: var(--muted);
}

.admin-card--note {
  background: var(--sand);
  box-shadow: none;
}

.status-section {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 60px 20px;
}

.status-card {
  width: min(590px, 100%);
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 28px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.status-card h1 {
  margin: 12px 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.status-card p {
  margin: 0 auto 28px;
  color: var(--muted);
}

.status-spinner {
  width: 54px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border: 5px solid #eee3da;
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

.error-code {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .hero-grid,
  .learner-grid,
  .auth-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .study-steps {
    grid-template-columns: 1fr;
  }

  .study-steps > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature--wide {
    grid-column: span 2;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .progress-card {
    display: grid;
    grid-template-columns: 1fr 190px 1.2fr;
    align-items: center;
    gap: 20px;
  }

  .readiness-ring {
    margin: 0;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .auth-section {
    padding: 20px;
  }

  .auth-panel {
    max-width: 670px;
  }

  .auth-intro {
    min-height: 500px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1160px);
    --radius: 20px;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand small,
  nav > a:not(.button),
  .nav-link {
    display: none;
  }

  nav {
    gap: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 58px 0 72px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    text-align: center;
  }

  .hero-visual {
    min-height: 460px;
  }

  .sun-orbit {
    width: 360px;
  }

  .sample-card {
    width: min(320px, 84vw);
    min-height: 410px;
  }

  .sample-art {
    height: 200px;
  }

  .score-chip {
    width: 98px;
    right: 0;
    bottom: 20px;
  }

  .study-steps > div {
    padding-inline: 10px;
  }

  .section {
    padding-block: 76px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature--wide {
    min-height: 290px;
    grid-column: auto;
  }

  .feature--wide {
    grid-template-columns: 38px 1fr;
  }

  .feature--wide > :last-child {
    display: none;
  }

  .learner-grid {
    gap: 40px;
  }

  .callout {
    align-items: stretch;
    flex-direction: column;
    padding: 34px 26px;
  }

  .footer-grid,
  .dashboard-head,
  .account-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-section {
    padding: 0;
  }

  .auth-panel {
    min-height: 100vh;
    border-radius: 0;
  }

  .auth-intro {
    min-height: 360px;
    padding: 30px 24px;
  }

  .auth-intro h1 {
    font-size: 3.1rem;
  }

  .license-note {
    display: none;
  }

  .auth-form-wrap {
    padding: 42px 24px 54px;
  }

  .dashboard-hero {
    padding: 55px 0 105px;
  }

  .dashboard-head {
    gap: 24px;
  }

  .dashboard-layout,
  .admin-grid {
    margin-top: -56px;
  }

  .action-card {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    min-height: 118px;
    padding: 20px;
  }

  .action-card > i {
    display: none;
  }

  .action-icon {
    width: 46px;
  }

  .progress-card {
    display: block;
  }

  .readiness-ring {
    margin: 24px auto;
  }

  .unlock-card,
  .admin-card {
    padding: 28px 22px;
  }

  .unlock-card .button,
  .admin-card .button {
    width: 100%;
  }

  .status-card {
    padding: 40px 24px;
  }
}

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