:root {
  --night: #062a31;
  --night-2: #0b3b46;
  --ink: #102f35;
  --muted: #52696d;
  --cream: #f8f4e8;
  --paper: #fffdf7;
  --yellow: #ffc857;
  --yellow-soft: #ffe7a6;
  --coral: #f2644b;
  --coral-dark: #b94434;
  --teal: #54b8b2;
  --line: rgba(16, 47, 53, .18);
  --shadow: 8px 9px 0 var(--night);
  --radius: 18px;
  --shell: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--yellow);
  color: var(--night);
}

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

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.shell.narrow {
  max-width: 820px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  border: 2px solid var(--night);
  background: var(--yellow);
  font-weight: 900;
  transform: translateY(calc(-100% - 2rem));
  transition: transform .15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#contenido-principal:focus {
  outline: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -.055em;
}

.brand-name span {
  color: var(--coral-dark);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.desktop-nav a,
.mobile-menu nav a {
  padding: .55rem .78rem;
  border-radius: 9px;
  color: #284a50;
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible {
  background: #ece4d3;
  color: var(--night);
}

.desktop-nav a[aria-current="page"],
.mobile-menu nav a[aria-current="page"] {
  background: var(--night);
  color: #fff;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  padding: .55rem .85rem;
  border: 2px solid var(--night);
  border-radius: 10px;
  background: var(--paper);
  font-size: .9rem;
  font-weight: 850;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "  ☰";
}

.mobile-menu[open] summary::after {
  content: "  ×";
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  min-width: 230px;
  display: grid;
  gap: .2rem;
  padding: .55rem;
  border: 2px solid var(--night);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

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

.button-primary {
  border-color: var(--night);
  background: var(--night);
  color: #fff;
  box-shadow: 0 4px 0 #041c21;
}

.button-primary:hover {
  background: #10454e;
}

.button-coral {
  border-color: #813025;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 0 #813025;
}

.button-coral:hover {
  background: #dc513c;
}

.button-outline {
  border-color: var(--night);
  background: transparent;
  color: var(--night);
}

.button-outline:hover {
  background: var(--night);
  color: #fff;
}

.button-ghost-light {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 3px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--coral-dark);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 78% 34%, rgba(255, 200, 87, .14), transparent 30%),
    linear-gradient(135deg, var(--night), #0b3c45 65%, #092f36);
  color: #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-copy h1,
.page-hero h1,
.quiz-page-head h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6.4vw, 5.65rem);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: .96;
}

.hero-copy h1 em,
.page-hero h1 em {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 720px;
  margin: 1.6rem 0 0;
  color: #c9dcde;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  margin: 1.6rem 0 0;
  padding: 0;
  color: #b9ced0;
  font-size: .86rem;
  font-weight: 750;
  list-style: none;
}

.hero-proof li::before {
  content: "✓";
  margin-right: .4rem;
  color: var(--yellow);
}

.daily-beacon {
  position: relative;
  padding: clamp(1.7rem, 4vw, 2.5rem);
  border: 2px solid var(--night);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 14px 0 var(--yellow);
}

.daily-beacon::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: -12px;
  right: -12px;
  border-radius: 50%;
  background: var(--coral);
}

.beacon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.beacon-date {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  text-transform: capitalize;
}

.beacon-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--night);
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 950;
}

.category-label {
  margin: 0 0 .55rem;
  color: var(--coral-dark);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.daily-beacon h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.daily-beacon > p:not(.category-label) {
  color: var(--muted);
}

.topic-dots {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1.25rem 0 1.6rem;
}

.topic-dots span {
  padding: .32rem .55rem;
  border: 1px solid var(--line);
  background: #f0ebde;
  font-size: .72rem;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-intro {
  background: var(--cream);
}

.intro-grid,
.two-column-copy {
  display: grid;
  grid-template-columns: 1.05fr .8fr;
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 2.5rem;
}

.intro-grid h2,
.learn-strip h2,
.method-copy h2,
.catalogue-heading h2,
.topic-guide h2,
.quiz-editorial h2,
.rich-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.intro-grid > p,
.catalogue-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.quiz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 1.45rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .16s ease, box-shadow .16s ease;
}

.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 6px 7px 0 var(--night);
}

.quiz-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-symbol {
  display: inline-grid;
  min-width: 64px;
  height: 64px;
  padding-inline: .5rem;
  place-items: center;
  border: 2px solid var(--night);
  background: var(--yellow);
  color: var(--night);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: 4px 4px 0 var(--night);
}

.quiz-card h3 {
  margin: 1.35rem 0 .6rem;
  font-size: 1.55rem;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.quiz-card h3 a {
  text-decoration: none;
}

.quiz-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.quiz-card > p {
  margin: 0;
  color: var(--muted);
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.quiz-meta span {
  padding: .25rem .45rem;
  background: #eee7d8;
  color: #415b60;
  font-size: .7rem;
  font-weight: 800;
}

.card-link {
  margin-top: 1rem;
  color: var(--coral-dark);
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 2.3rem;
}

.learn-strip {
  padding: 3.8rem 0;
  background: var(--yellow);
}

.learn-strip-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.learn-marker {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 3px solid var(--night);
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 3.5rem;
  font-weight: 950;
  box-shadow: 7px 7px 0 var(--night);
}

.learn-strip h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.learn-strip p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: #344e52;
}

.text-link {
  position: relative;
  z-index: 1;
  color: var(--night);
  font-weight: 900;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.home-method {
  background: #e7f0ec;
}

.method-grid {
  display: grid;
  grid-template-columns: .8fr 1.05fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.method-copy > p:not(.eyebrow) {
  margin: 1.3rem 0 1.7rem;
  color: var(--muted);
}

.method-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--night);
  background: var(--night);
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1.2rem;
  padding: 1.3rem;
  background: var(--paper);
}

.method-steps li > span {
  color: var(--coral-dark);
  font-weight: 950;
}

.method-steps strong {
  font-size: 1.05rem;
}

.method-steps p {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.page-hero {
  padding: clamp(4.2rem, 9vw, 8rem) 0;
  background: var(--night);
  color: #fff;
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.3rem);
}

.page-hero > .shell > p:last-child {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #c3d6d8;
  font-size: 1.12rem;
}

.breadcrumbs {
  padding-top: 1.1rem;
  padding-bottom: .2rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: .78rem;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  gap: .45rem;
}

.breadcrumbs a {
  color: var(--coral-dark);
  font-weight: 800;
}

.catalogue-section {
  padding-bottom: 4rem;
}

.catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.catalogue-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.catalogue-heading p {
  margin-top: .45rem;
}

.catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}

.topic-guide {
  padding-top: 4rem;
  background: #e7f0ec;
}

.quiz-page-head {
  padding: clamp(3.8rem, 7vw, 6rem) 0 3rem;
}

.quiz-page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) .65fr;
  align-items: end;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.quiz-page-head h1 {
  color: var(--night);
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.quiz-page-intro {
  max-width: 780px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.daily-readable-date {
  margin: .7rem 0 0;
  color: var(--coral-dark);
  font-size: .88rem;
  font-weight: 850;
  text-transform: capitalize;
}

.quiz-facts {
  margin: 0;
  border-top: 2px solid var(--night);
}

.quiz-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}

.quiz-facts dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 750;
}

.quiz-facts dd {
  margin: 0;
  font-weight: 900;
}

.quiz-play-section {
  padding: 1rem 0 clamp(4rem, 8vw, 7rem);
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 1.5rem;
}

.quiz-player {
  min-height: 520px;
  border: 2px solid var(--night);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quiz-screen {
  padding: clamp(1.35rem, 5vw, 3.5rem);
}

.quiz-start {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.quiz-start-symbol {
  display: grid;
  min-width: 88px;
  height: 88px;
  margin-bottom: 1.6rem;
  padding-inline: .8rem;
  place-items: center;
  border: 3px solid var(--night);
  background: var(--yellow);
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--night);
}

.quiz-start h2,
.quiz-question h2,
.quiz-result h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.quiz-start > p:not(.category-label) {
  max-width: 660px;
  margin: 1rem 0 1.7rem;
  color: var(--muted);
}

.quiz-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.progress-track {
  height: 8px;
  margin: .65rem 0 2rem;
  overflow: hidden;
  background: #e7e1d4;
}

.progress-track span {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--coral);
  transition: width .25s ease;
}

.question-category {
  margin: 0 0 .5rem;
  color: var(--coral-dark);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.answer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.7rem;
}

.answer-button {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 2px solid #b5c0bd;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 790;
  line-height: 1.35;
  text-align: left;
}

.answer-button:hover:not(:disabled) {
  border-color: var(--night);
  background: #f3eee2;
}

.answer-button span {
  flex: 0 0 auto;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: .75rem;
  font-weight: 950;
}

.answer-button:disabled {
  cursor: default;
}

.answer-button.is-correct {
  border-color: #18755d;
  background: #dff5e9;
  color: #0b5644;
}

.answer-button.is-correct span {
  border-color: #18755d;
  background: #18755d;
  color: #fff;
}

.answer-button.is-wrong {
  border-color: #b74435;
  background: #ffe3dc;
  color: #8b2c21;
}

.answer-button.is-wrong span {
  border-color: #b74435;
  background: #b74435;
  color: #fff;
}

.answer-button.is-muted {
  opacity: .52;
}

.answer-feedback {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--teal);
  background: #e7f1ee;
}

.answer-feedback strong {
  display: block;
  margin-bottom: .2rem;
}

.answer-feedback p {
  margin: 0;
  color: #36585d;
}

.quiz-next {
  margin-top: 1.2rem;
}

.quiz-result {
  min-height: 520px;
  text-align: center;
}

.quiz-result .category-label {
  margin-top: 1rem;
}

.result-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .35rem;
  margin: 1rem 0;
}

.result-score strong {
  color: var(--coral);
  font-size: clamp(5rem, 14vw, 8.5rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .9;
}

.result-score span {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 850;
}

.quiz-result > p:not(.category-label, .best-score, .share-status) {
  max-width: 580px;
  margin: 1rem auto;
  color: var(--muted);
}

.best-score {
  display: inline-block;
  padding: .4rem .65rem;
  background: var(--yellow-soft);
  color: #614918;
  font-size: .78rem;
  font-weight: 850;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.5rem;
}

.share-status {
  min-height: 1.4rem;
  margin: .8rem 0 0;
  color: #18755d;
  font-size: .82rem;
  font-weight: 850;
}

.noscript-note {
  margin: 1rem;
  padding: 1rem;
  background: #ffe3dc;
}

.quiz-side-note {
  position: sticky;
  top: 96px;
  padding: 1.35rem;
  border-top: 5px solid var(--yellow);
  background: #e7f0ec;
}

.quiz-side-note ul {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.quiz-side-note li {
  position: relative;
  padding-left: 1.2rem;
  color: #38585d;
  font-size: .9rem;
}

.quiz-side-note li::before {
  content: "";
  position: absolute;
  top: .58rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.privacy-note {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}

.quiz-editorial {
  background: #e7f0ec;
}

.quick-page-head {
  padding: clamp(2.8rem, 6vw, 5rem) 0 2.5rem;
}

.quick-page-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
  gap: clamp(2rem, 8vw, 7rem);
}

.quick-page-heading h1 {
  max-width: 820px;
  color: var(--night);
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  letter-spacing: -.07em;
  line-height: .96;
}

.quick-page-heading h1 em {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.quick-page-heading > div:first-child > p:last-child {
  max-width: 750px;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.quick-head-number {
  display: grid;
  padding: 1rem 0;
  border-block: 2px solid var(--night);
}

.quick-head-number strong {
  color: var(--coral-dark);
  font-size: 4rem;
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .9;
}

.quick-head-number span {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quick-play-section {
  padding: 1rem 0 clamp(4rem, 8vw, 7rem);
}

.quick-quiz-player {
  min-height: 690px;
}

.quick-start {
  min-height: 690px;
}

.quick-start > h2 {
  margin: .2rem 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -.055em;
  line-height: 1.05;
}

.quick-start-lead {
  max-width: 690px;
  margin: .8rem 0 1.4rem;
  color: var(--muted);
}

.quick-mix-fieldset {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.quick-mix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.quick-mix-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-content: center;
  gap: .08rem .85rem;
  padding: 1rem;
  border: 2px solid #b7c1bd;
  background: #fff;
  cursor: pointer;
}

.quick-mix-card:hover {
  border-color: var(--night);
  background: #f7f1e4;
}

.quick-mix-card:focus-within {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.quick-mix-card:has(input:checked) {
  border-color: var(--night);
  background: var(--yellow-soft);
  box-shadow: 4px 4px 0 var(--night);
}

.quick-mix-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quick-mix-check {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-size: .7rem;
  font-weight: 950;
  opacity: 0;
}

.quick-mix-card:has(input:checked) .quick-mix-check {
  opacity: 1;
}

.quick-mix-symbol {
  grid-row: 1 / span 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--night);
  background: var(--cream);
  font-size: .88rem;
  font-weight: 950;
}

.quick-mix-card strong {
  padding-right: 1.5rem;
  font-size: 1rem;
  line-height: 1.15;
}

.quick-mix-card small {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}

.quick-mix-count {
  margin-top: .35rem;
  color: var(--coral-dark);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quick-start-button {
  margin-top: 1.4rem;
}

.quick-side-note h2 {
  margin: .25rem 0 0;
  font-size: 1.45rem;
  letter-spacing: -.04em;
}

.quick-result-actions {
  max-width: 690px;
  margin-inline: auto;
}

.quick-editorial {
  border-top: 1px solid var(--line);
}

.rich-copy {
  color: #3e5a5f;
  font-size: 1.04rem;
  line-height: 1.82;
}

.rich-copy h2 {
  margin: 2.6rem 0 .9rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
}

.rich-copy h2:first-child {
  margin-top: 0;
}

.rich-copy p {
  margin: .9rem 0;
}

.rich-copy a {
  color: #a83c2d;
  font-weight: 760;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.compact-copy {
  font-size: .98rem;
}

.article-card-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
}

.article-card {
  position: relative;
  min-height: 330px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 2px solid var(--night);
  background: var(--paper);
}

.featured-article {
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.article-card > span {
  color: var(--coral-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 1.2rem 0 .8rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.055em;
  line-height: 1.04;
}

.article-card h2 a {
  text-decoration: none;
}

.article-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-card p {
  color: #40595d;
}

.article-card .text-link {
  position: absolute;
  bottom: 1.5rem;
  left: clamp(1.5rem, 4vw, 2.5rem);
}

.learn-principles {
  background: #e7f0ec;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--night);
  background: var(--night);
}

.principle-grid article {
  padding: 1.6rem;
  background: var(--paper);
}

.principle-grid strong {
  color: var(--coral-dark);
}

.principle-grid h3 {
  margin: 1.4rem 0 .6rem;
  font-size: 1.3rem;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.article-page {
  background: var(--paper);
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: clamp(2rem, 7vw, 5rem);
}

.article-index {
  position: sticky;
  top: 105px;
  display: grid;
  gap: .5rem;
  padding-top: .4rem;
  font-size: .82rem;
}

.article-index strong {
  margin-bottom: .4rem;
  color: var(--coral-dark);
  text-transform: uppercase;
}

.article-index a {
  color: var(--muted);
}

.article-opening {
  margin-top: 0 !important;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 650;
}

.article-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 6px solid var(--coral);
  background: var(--yellow-soft);
  color: var(--ink);
}

.article-callout p {
  margin-bottom: 0;
}

.about-statement {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 1.7rem;
  border: 2px solid var(--night);
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.about-statement > span {
  color: var(--coral-dark);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-statement blockquote {
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.contact-card {
  align-self: start;
  padding: 2rem;
  border: 2px solid var(--night);
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 1.5rem 0 .5rem;
  font-size: 2.4rem;
  letter-spacing: -.05em;
}

.contact-card p {
  margin-bottom: 1.5rem;
  color: #3f5557;
}

.legal-page {
  background: var(--paper);
}

.legal-updated {
  display: inline-block;
  margin-top: 0 !important;
  padding: .35rem .55rem;
  background: #eee7d8;
  font-size: .78rem;
  font-weight: 800;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  text-align: center;
}

.not-found-code {
  color: var(--coral);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: .8;
}

.not-found h1 {
  margin: 1rem 0 .5rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -.06em;
  line-height: 1;
}

.not-found p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.progress-section {
  padding-top: 2.2rem;
  background: var(--paper);
}

.progress-daily-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem 2rem;
  border: 2px solid var(--night);
  border-radius: var(--radius);
  background: var(--night);
  color: #fff;
  box-shadow: 7px 8px 0 var(--yellow);
}

.progress-daily-card.is-complete {
  background: #0f514f;
  box-shadow: 7px 8px 0 var(--teal);
}

.progress-daily-card h2 {
  margin: .2rem 0 .25rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.045em;
  line-height: 1.1;
}

.progress-daily-card p:not(.category-label) {
  max-width: 620px;
  margin: 0;
  color: #c9dcde;
}

.progress-daily-actions {
  min-width: 180px;
  display: grid;
  justify-items: stretch;
  gap: .7rem;
}

.streak-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .35rem;
  color: var(--yellow);
  font-size: .84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.streak-badge strong {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.progress-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}

.progress-stat {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--yellow);
  border-radius: 12px;
  background: var(--cream);
}

.progress-stat:nth-child(2) { border-top-color: var(--teal); }
.progress-stat:nth-child(3) { border-top-color: var(--coral); }
.progress-stat:nth-child(4) { border-top-color: var(--night); }

.progress-stat > span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.progress-stat > strong {
  display: block;
  margin: .28rem 0;
  color: var(--night);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: 1;
}

.progress-stat small {
  color: var(--muted);
}

.progress-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.progress-panel {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.progress-panel h2 {
  margin: .2rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.progress-empty {
  display: grid;
  justify-items: start;
  padding: 2rem;
  border: 2px dashed var(--line);
  border-radius: 14px;
}

.progress-empty > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 950;
}

.progress-empty h3 {
  margin: .8rem 0 0;
  font-size: 1.3rem;
}

.progress-empty p {
  margin: .2rem 0 1rem;
  color: var(--muted);
}

.progress-history {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

.progress-history-main {
  min-width: 0;
  display: grid;
}

.progress-history-main span {
  overflow: hidden;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-history-main a {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-history-item > strong {
  flex: 0 0 auto;
  color: var(--coral-dark);
  font-size: 1.35rem;
}

.progress-how {
  background: #e8f3f0;
}

.progress-how > p:not(.category-label),
.progress-how li {
  color: #355b5e;
}

.progress-how ul {
  display: grid;
  gap: .5rem;
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.progress-topics {
  margin-top: 4.5rem;
}

.progress-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.progress-topic {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.progress-topic.has-progress {
  border-color: var(--teal);
  box-shadow: inset 0 4px 0 var(--teal);
}

.progress-topic > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.progress-topic .quiz-symbol {
  width: 46px;
  height: 46px;
  font-size: .75rem;
}

.progress-topic h3 {
  margin: 1rem 0 .8rem;
  font-size: 1.22rem;
  line-height: 1.15;
}

.progress-topic h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.progress-topic dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 0;
}

.progress-topic dl div {
  display: grid;
}

.progress-topic dt {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-topic dd {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 950;
}

.progress-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.progress-privacy p {
  margin: .15rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 3rem 0 1.2rem;
  background: var(--night);
  color: #d7e4e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .65fr);
  gap: 2rem;
}

.brand-footer .brand-name {
  color: #fff;
}

.brand-footer .brand-name span {
  color: var(--yellow);
}

.footer-brand p {
  max-width: 320px;
  margin: .8rem 0 0;
  color: #9fb8bb;
  font-size: .9rem;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: .4rem;
}

.footer-grid nav strong {
  margin-bottom: .3rem;
  color: var(--yellow);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-grid nav a {
  color: #c4d5d7;
  font-size: .85rem;
  text-decoration: none;
}

.footer-grid nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #8eaaad;
  font-size: .75rem;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .home-hero-grid,
  .quiz-page-head-grid,
  .method-grid,
  .intro-grid,
  .two-column-copy,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .daily-beacon {
    max-width: 620px;
  }

  .intro-grid,
  .two-column-copy {
    align-items: start;
    margin-bottom: 2rem;
  }

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

  .learn-strip-grid {
    grid-template-columns: 90px 1fr;
  }

  .learn-strip-grid > .text-link {
    grid-column: 2;
  }

  .learn-marker {
    width: 76px;
    height: 76px;
    font-size: 2.7rem;
  }

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

  .quiz-side-note {
    position: static;
  }

  .article-card-grid {
    grid-template-columns: 1fr;
  }

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

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

  .quick-page-heading {
    grid-template-columns: 1fr;
  }

  .quick-head-number {
    max-width: 240px;
  }

  .progress-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-main-grid {
    grid-template-columns: 1fr;
  }

  .progress-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-index,
  .about-statement {
    position: static;
  }

  .article-index {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 1.4rem), var(--shell));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .home-hero {
    padding-top: 3.7rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .quiz-page-head h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .result-actions .button,
  .contact-card .button {
    width: 100%;
  }

  .daily-beacon {
    box-shadow: 7px 8px 0 var(--yellow);
  }

  .section {
    padding: 4rem 0;
  }

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

  .quiz-card {
    min-height: 330px;
  }

  .learn-strip-grid {
    grid-template-columns: 1fr;
  }

  .learn-strip-grid > .text-link {
    grid-column: auto;
  }

  .catalogue-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalogue-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-page-heading h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .quick-mix-grid {
    grid-template-columns: 1fr;
  }

  .quick-start,
  .quick-quiz-player {
    min-height: 0;
  }

  .quick-mix-card {
    min-height: 138px;
  }

  .quiz-page-head {
    padding-top: 3rem;
  }

  .quiz-player {
    min-height: 0;
    box-shadow: 5px 6px 0 var(--night);
  }

  .quiz-start,
  .quiz-result {
    min-height: 480px;
  }

  .answer-list {
    grid-template-columns: 1fr;
  }

  .answer-button {
    min-height: 64px;
  }

  .quiz-progress-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .15rem;
  }

  .article-card {
    min-height: 360px;
  }

  .progress-daily-card,
  .progress-privacy,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .progress-daily-actions {
    width: 100%;
  }

  .progress-stat-grid,
  .progress-topic-grid {
    grid-template-columns: 1fr;
  }

  .progress-history-item {
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.7rem 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid nav:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, auto);
    gap: .5rem 1rem;
  }

  .footer-grid nav:last-child strong {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
