/* ReviewAndPass — main stylesheet
   Brand colors are sampled from the logo and must not drift:
   navy #12303F, teal #0E9F8F, green #0EA35E, slate #6B8A97            */

@font-face {
  font-family: "Google Sans Flex";
  src: url("../fonts/google-sans-flex.woff2") format("woff2");
  font-weight: 1 1000;
  font-stretch: 25% 151%;
  font-display: swap;
}

:root {
  --navy: #12303f;
  --teal: #0e9f8f;
  --green: #0ea35e;
  --slate: #6b8a97;

  --paper: #f3f8f5;
  --white: #ffffff;
  --deep: #0a1f29;
  --deep-2: #0f2a36;
  --mist: #e4eeea;
  --amber: #e9a23b;
  --green-ink: #087a47;
  --teal-ink: #0a7569;
  --body: #3f5b68;
  --on-deep: #e9f2ef;
  --on-deep-soft: #9fb8c1;
  --line: rgba(18, 48, 63, 0.14);
  --line-deep: rgba(233, 242, 239, 0.16);

  --display: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow-sheet: 0 1px 0 rgba(18, 48, 63, 0.05), 0 18px 40px -18px rgba(18, 48, 63, 0.28), 0 60px 120px -50px rgba(14, 159, 143, 0.35);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--text);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, table { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 86%;
  letter-spacing: -0.024em;
  line-height: 0.92;
  font-size: clamp(3.1rem, 10.8vw, 8.5rem);
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 88%;
  letter-spacing: -0.028em;
  line-height: 1;
  font-size: clamp(2.15rem, 5.6vw, 4.5rem);
  text-wrap: balance;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 92%;
  letter-spacing: -0.018em;
  line-height: 1.08;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; color: var(--body); max-width: 56ch; text-wrap: pretty; }
.copy { color: var(--body); max-width: 60ch; text-wrap: pretty; }
.small { font-size: 0.9rem; line-height: 1.5; color: var(--body); }
.link { color: var(--teal-ink); font-weight: 600; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--teal-ink); }
.btn--quiet { border-color: var(--line); color: var(--navy); background: rgba(255, 255, 255, 0.6); }
.btn--quiet:hover { border-color: var(--navy); }
.btn--bright { background: var(--green); color: var(--deep); }
.btn--bright:hover { background: #2cc27d; }
.btn--ghost-deep { background: transparent; border-color: var(--line-deep); color: var(--on-deep); }
.btn--ghost-deep:hover { border-color: var(--on-deep); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(243, 248, 245, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 0.98rem; color: var(--navy); }
.nav__link:hover { background: rgba(18, 48, 63, 0.07); }
.nav__link[aria-current="page"] { background: rgba(18, 48, 63, 0.09); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__logo img { height: 26px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 14px 12px; font-size: 1.1rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 8vh, 96px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--paper) 0%, rgba(243, 248, 245, 0) 30%, rgba(243, 248, 245, 0) 62%, var(--paper) 100%),
    repeating-linear-gradient(to bottom, transparent 0 47px, rgba(18, 48, 63, 0.07) 47px 48px);
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title span { display: block; }
.hero__lead { margin-top: clamp(20px, 3vw, 32px); max-width: 44ch; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__note { margin-top: 16px; font-size: 0.95rem; color: var(--body); }

/* ---------- skill drill ---------- */
.drill-wrap { margin-top: clamp(44px, 6vw, 80px); }
.drill {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
  max-width: 1040px; margin-inline: auto;
  text-align: left;
}
.drill__sheet { padding: clamp(24px, 3.4vw, 44px); border-right: 1px solid var(--line); }
.drill__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.drill__title { font-family: var(--display); font-weight: 750; font-stretch: 90%; letter-spacing: -0.02em; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; }
.drill__sub { margin-top: 8px; color: var(--body); font-size: 0.98rem; }
.drill__count { flex: none; font-weight: 650; font-size: 0.95rem; color: var(--body); font-variant-numeric: tabular-nums; }
.drill__count b { color: var(--navy); font-size: 1.35rem; font-family: var(--display); font-weight: 750; }

.drill__steps { counter-reset: step; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.4;
}
.step:last-child { border-bottom: 0; }
.step__mark {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  font-size: 0.8rem; font-weight: 700; color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.step__mark::before { content: counter(step); }
.step__mark svg { display: none; width: 16px; height: 16px; }
.step__text { padding-top: 4px; }
.step.is-done .step__mark { border-color: transparent; background: linear-gradient(135deg, var(--teal), var(--green)); }
.step.is-done .step__mark::before { content: none; }
.step.is-done .step__mark svg { display: block; }
.step.is-pending .step__text {
  height: 1.4em; overflow: hidden; white-space: nowrap;
  color: transparent; user-select: none;
  background: linear-gradient(var(--mist), var(--mist)) left center / var(--bar, 70%) 10px no-repeat;
}
.step.is-new { animation: step-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.step.is-new .step__mark { animation: mark-pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes step-in { from { background-color: rgba(14, 163, 94, 0.14); } to { background-color: transparent; } }
@keyframes mark-pop { from { transform: scale(0.4); } to { transform: scale(1); } }

.drill__panel { padding: clamp(24px, 3.4vw, 44px); background: var(--deep); color: var(--on-deep); display: flex; flex-direction: column; min-height: 440px; }
.drill__scene { font-size: 0.98rem; color: var(--on-deep-soft); }
.drill__prompt { margin-top: 14px; font-family: var(--display); font-weight: 650; font-stretch: 92%; letter-spacing: -0.015em; font-size: clamp(1.45rem, 2.5vw, 1.95rem); line-height: 1.14; text-wrap: balance; }
.drill__choices { margin-top: 24px; display: grid; gap: 10px; }
.choice {
  width: 100%; text-align: left; cursor: pointer;
  min-height: 56px; padding: 14px 18px;
  background: rgba(233, 242, 239, 0.07);
  border: 1.5px solid var(--line-deep); border-radius: 16px;
  color: var(--on-deep); font-weight: 550; font-size: 1.03rem; line-height: 1.3;
  transition: background-color 0.15s, border-color 0.15s;
}
.choice:hover:not(:disabled) { background: rgba(233, 242, 239, 0.14); border-color: rgba(233, 242, 239, 0.4); }
.choice:focus-visible { outline-color: #7fe3c0; }
.choice.is-right { background: var(--green); border-color: var(--green); color: var(--deep); }
.choice.is-wrong { border-color: var(--amber); color: #f6cf8f; animation: nudge 0.3s; }
.choice:disabled { cursor: default; }
.choice:disabled:not(.is-right):not(.is-wrong) { opacity: 0.45; }
@keyframes nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.drill__why { margin-top: 16px; min-height: 3em; color: #f6cf8f; font-size: 0.98rem; line-height: 1.45; }
.drill__why.is-good { color: #8fe7bf; }
.drill__foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.drill__score { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 0.95; letter-spacing: -0.03em; }
.drill__score small { display: block; margin-top: 10px; font-family: var(--text); font-weight: 500; font-size: 1.03rem; letter-spacing: 0; line-height: 1.45; color: var(--on-deep-soft); }
.drill__source { max-width: 1040px; margin: 18px auto 0; text-align: center; font-size: 0.88rem; color: var(--body); }

@media (max-width: 820px) {
  .drill { grid-template-columns: 1fr; }
  .drill__panel { order: -1; min-height: 0; }
  .drill__sheet { border-right: 0; }
  .drill__why { min-height: 0; }
  .drill__foot { margin-top: 20px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 144px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep .lead, .section--deep .copy, .section--deep .small { color: var(--on-deep-soft); }
.section--deep .link { color: #7fe3c0; }
.section--deep .link:hover { color: #fff; }
.section--white { background: var(--white); }
.section__head { max-width: 22ch; }
.section__head--wide { max-width: 28ch; }
.section__lead { margin-top: 24px; }

/* exam chapter */
.twocol { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); max-width: 980px; }
.twocol p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--on-deep-soft); text-wrap: pretty; }
.twocol p strong { color: var(--on-deep); font-weight: 650; }
@media (max-width: 700px) { .twocol { grid-template-columns: 1fr; } }

.vendors { margin-top: clamp(48px, 7vw, 88px); width: 100%; border-collapse: collapse; text-align: left; }
.vendors caption { caption-side: bottom; text-align: left; padding-top: 18px; font-size: 0.88rem; line-height: 1.5; color: var(--on-deep-soft); max-width: 78ch; }
.vendors th, .vendors td { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-deep); vertical-align: top; }
.vendors thead th { font-family: var(--display); font-weight: 700; font-stretch: 90%; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; border-bottom: 2px solid var(--on-deep); padding-bottom: 14px; }
.vendors thead th small { display: block; margin-top: 2px; font-family: var(--text); font-weight: 500; font-size: 0.85rem; letter-spacing: 0; color: var(--on-deep-soft); }
.vendors tbody th { font-weight: 550; color: var(--on-deep-soft); width: 20%; font-size: 0.98rem; }
.vendors td { font-size: 1.03rem; width: 26.6%; }
.vendors td b { font-family: var(--display); font-weight: 750; font-size: 1.9rem; line-height: 1; letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .vendors { display: flex; flex-direction: column; }
  .vendors tbody, .vendors tr, .vendors th, .vendors td, .vendors caption { display: block; width: auto; }
  .vendors caption { order: 2; }
  .vendors tbody th { width: auto; }
  .vendors thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vendors tr { padding: 18px 0; border-bottom: 1px solid var(--line-deep); }
  .vendors th, .vendors td { border: 0; padding: 0; }
  .vendors tbody th { color: var(--on-deep); font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
  .vendors td { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 6px 0; align-items: baseline; }
  .vendors td::before { content: attr(data-vendor); color: var(--on-deep-soft); font-size: 0.92rem; }
  .vendors td b { font-size: 1.3rem; }
}

.wall { margin-top: clamp(64px, 9vw, 120px); }
.wall__title { max-width: 20ch; }
.wall__list { margin-top: clamp(28px, 4vw, 44px); columns: 3 280px; column-gap: clamp(24px, 4vw, 56px); }
.wall__list li {
  break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line-deep);
  font-family: var(--display); font-weight: 600; font-stretch: 92%; font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; line-height: 1.2;
}
.wall__list li.is-first { color: #7fe3c0; }
.wall__key { margin-top: 20px; font-size: 0.88rem; line-height: 1.5; color: var(--on-deep-soft); max-width: 78ch; }
.wall__key i { font-style: normal; color: #7fe3c0; font-weight: 600; }

/* features */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__art { order: -1; }
.feature__body .copy { margin-top: 18px; font-size: 1.125rem; }
.feature__body .small { margin-top: 14px; font-weight: 600; color: var(--green-ink); }
.feature__body .link { display: inline-block; margin-top: 18px; font-size: 1.05rem; }
.feature__art { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__art { order: 0; }
  .feature__art { aspect-ratio: 4 / 3; }
}

/* art: evaluator sheet */
.art-sheet { background: linear-gradient(160deg, #d9efe6, #c4e6e0); }
.art-sheet__paper { width: 68%; background: #fff; border-radius: 18px 18px 0 0; padding: 26px 26px 0; align-self: end; box-shadow: 0 30px 60px -20px rgba(18, 48, 63, 0.35); transform: rotate(-2.5deg) translateY(6%); }
.art-sheet__title { font-family: var(--display); font-weight: 750; font-size: clamp(1rem, 1.8vw, 1.35rem); letter-spacing: -0.015em; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.art-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.art-row i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--green)); }
.art-row i.todo { background: none; border: 1.5px solid var(--line); }
.art-row span { height: 9px; border-radius: 5px; background: var(--mist); }
.art-row em { font-style: normal; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fdf0d9; color: #8a5a0b; }

/* art: question */
.art-q { background: var(--deep); padding: 8%; }
.art-q__card { width: 100%; color: var(--on-deep); }
.art-q__q { font-family: var(--display); font-weight: 650; font-size: clamp(1.05rem, 1.9vw, 1.45rem); line-height: 1.2; letter-spacing: -0.012em; text-wrap: balance; }
.art-q__opts { margin-top: 18px; display: grid; gap: 8px; }
.art-q__opts li { padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-deep); font-size: clamp(0.85rem, 1.3vw, 0.98rem); font-weight: 550; }
.art-q__opts li.right { background: var(--green); border-color: var(--green); color: var(--deep); }
.art-q__why { margin-top: 14px; font-size: clamp(0.82rem, 1.2vw, 0.94rem); line-height: 1.45; color: #8fe7bf; }

/* art: guides */
.art-guides { background: linear-gradient(200deg, #e8f3ee, #d5e9e2); }
.art-guides__stack { position: relative; width: 56%; aspect-ratio: 3 / 4; }
.art-guide { position: absolute; inset: 0; border-radius: 16px; background: #fff; padding: 12% 11%; box-shadow: 0 24px 50px -22px rgba(18, 48, 63, 0.4); }
.art-guide:nth-child(1) { transform: rotate(-9deg) translate(-26%, 4%); background: #f6fbf9; }
.art-guide:nth-child(2) { transform: rotate(6deg) translate(24%, 2%); background: #fbfdfc; }
.art-guide:nth-child(3) { transform: rotate(-1deg); }
.art-guide b { display: block; font-family: var(--display); font-weight: 750; font-stretch: 88%; font-size: clamp(1.05rem, 2.2vw, 1.7rem); line-height: 1.02; letter-spacing: -0.02em; }
.art-guide small { display: block; margin-top: 8px; font-size: 0.78rem; font-weight: 600; color: var(--green-ink); }
.art-guide span { display: block; height: 8px; border-radius: 4px; background: var(--mist); margin-top: 12px; }
.art-guide span:nth-of-type(1) { margin-top: 22px; }
.art-guide span:nth-of-type(3n) { width: 62%; }
.art-guide span:nth-of-type(4n) { width: 84%; }

/* art: flagged review (quiz results page with the flag filter on) */
.art-flag { background: linear-gradient(160deg, #e3f1ec, #cfe7e1); padding: 7%; }
.art-flag__page { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: clamp(14px, 2.4vw, 24px); box-shadow: 0 30px 60px -22px rgba(18, 48, 63, 0.38); }
.art-flag__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.art-flag__bar b { font-family: var(--display); font-weight: 750; font-size: clamp(0.95rem, 1.6vw, 1.2rem); letter-spacing: -0.012em; margin-right: auto; }
.art-flag__btn { font-size: clamp(0.68rem, 1.1vw, 0.8rem); font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--navy); white-space: nowrap; }
.art-flag__btn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.art-flag__btn.go { background: var(--green); border-color: var(--green); color: var(--deep); }
.art-flag__q { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.art-flag__q:last-child { border-bottom: 0; }
.art-flag__q.faded { opacity: 0.28; }
.art-flag__q i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fdf0d9; color: #b8761a; }
.art-flag__q i svg { width: 14px; height: 14px; }
.art-flag__q.faded i { background: var(--mist); color: var(--slate); }
.art-flag__q span { display: block; height: 9px; border-radius: 5px; background: var(--mist); margin-top: 6px; }
.art-flag__q span:first-child { margin-top: 4px; background: #c9d8d2; }
.art-flag__q span.w1 { width: 88%; } .art-flag__q span.w2 { width: 64%; } .art-flag__q span.w3 { width: 76%; }
.art-flag__q em { display: inline-block; font-style: normal; font-size: 0.66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e3f5ec; color: var(--green-ink); margin-top: 8px; }

/* fair pricing */
.promises { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.promise { padding: 26px 0; border-top: 1px solid var(--line); }
.promise h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(1.3rem, 2.1vw, 1.65rem); letter-spacing: -0.015em; line-height: 1.1; }
.promise p { margin-top: 8px; color: var(--body); max-width: 44ch; }
.section--deep .promise { border-top-color: var(--line-deep); }
.section--deep .promise p { color: var(--on-deep-soft); }
@media (max-width: 700px) { .promises { grid-template-columns: 1fr; } }

.teaser { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 24px; padding: 28px clamp(20px, 3vw, 36px); background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.teaser__plan span { display: block; font-weight: 600; color: var(--body); }
.teaser__plan b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; margin-top: 4px; }
.teaser__plan b small { font-family: var(--text); font-size: 0.95rem; font-weight: 550; letter-spacing: 0; color: var(--body); }
@media (max-width: 820px) { .teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); } .teaser .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .teaser { gap: 14px; padding: 22px 18px; } .teaser__plan b small { display: block; margin-top: 2px; } }

/* veterans band */
.band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band .lead { margin-top: 22px; }
.band .btn { margin-top: 30px; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; } }

.pass {
  position: relative; aspect-ratio: 1.586; width: 100%; max-width: 460px; margin-inline: auto;
  border-radius: 24px; padding: 7%;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(14, 163, 94, 0.55), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(14, 159, 143, 0.6), transparent 62%),
    var(--deep-2);
  color: var(--on-deep);
  border: 1px solid rgba(233, 242, 239, 0.18);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg);
}
.pass__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pass__name { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(1.7rem, 4.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 0.95; }
.pass__mark { width: 54px; flex: none; }
.pass__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 0.82rem; }
.pass__rows dt { color: var(--on-deep-soft); }
.pass__rows dd { font-weight: 650; font-size: 1.02rem; }

/* programs strip */
.strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.strip .copy { margin-top: 16px; font-size: 1.125rem; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }

/* faq */
.faq { margin-top: clamp(28px, 4vw, 48px); max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 650; font-stretch: 94%; font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -0.012em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--navy), var(--navy)) center / 12px 1.5px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.5px 12px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--body); max-width: 66ch; }

/* closing */
.closing { text-align: center; }
.closing .display { font-size: clamp(2.8rem, 9vw, 7rem); }
.closing .lead { margin: 24px auto 0; }
.closing .btn { margin-top: 32px; }
.closing__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.closing__actions .btn { margin-top: 0; }

.photo-band { height: clamp(320px, 56vw, 680px); background: var(--mist) center / cover no-repeat; }

/* footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 0.95rem; color: var(--body); }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.footer__logo img { height: 28px; width: auto; }
.footer__tag { margin-top: 12px; font-family: var(--display); font-weight: 650; color: var(--navy); font-size: 1.1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a { text-decoration: none; font-weight: 550; color: var(--navy); }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; line-height: 1.55; }
.footer__legal p { max-width: 92ch; }
.footer__legal p + p { margin-top: 10px; }

/* ---------- pricing page ---------- */
.phero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero .display { font-size: clamp(2.8rem, 7.6vw, 6rem); }
.phero .lead { margin-top: 24px; }
.phero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } }

.receipt {
  position: relative; width: 100%; max-width: 340px; margin-inline: auto;
  background: #fff; padding: 30px 26px 40px; transform: rotate(2.5deg);
  box-shadow: 0 30px 60px -24px rgba(18, 48, 63, 0.4);
  font-size: 0.95rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 100% repeat-x;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 100% repeat-x;
}
.receipt img { height: 22px; width: auto; }
.receipt__rows { margin-top: 22px; border-top: 1.5px dashed var(--line); }
.receipt__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.receipt__row dt { color: var(--body); }
.receipt__row dd { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.receipt__total span { font-weight: 650; }
.receipt__total b { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.receipt__note { margin-top: 14px; font-size: 0.84rem; color: var(--green-ink); font-weight: 600; }

.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto auto; gap: 20px; }
.plan { border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--free { grid-column: 1; grid-row: 1; }
.plan--weekly { grid-column: 1; grid-row: 2; }
.plan--monthly { grid-column: 2; grid-row: 1 / span 2; background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.plan__name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.012em; }
.plan__price { margin-top: 10px; font-family: var(--display); font-weight: 800; font-stretch: 84%; letter-spacing: -0.035em; line-height: 0.9; font-size: clamp(3.2rem, 6vw, 4.6rem); }
.plan--monthly .plan__price { font-size: clamp(4.2rem, 10vw, 8rem); }
.plan__price small { font-family: var(--text); font-weight: 550; font-size: 1rem; letter-spacing: 0; color: var(--body); margin-left: 4px; }
.plan--monthly .plan__price small { color: var(--on-deep-soft); }
.plan__for { margin-top: 14px; color: var(--body); max-width: 40ch; }
.plan--monthly .plan__for { color: var(--on-deep-soft); font-size: 1.125rem; }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23087a47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan--monthly .ticks li::before { background-color: rgba(233, 242, 239, 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%237fe3c0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .ticks + .btn, .plan .plan__for + .btn { margin-top: 28px; }
.plan__push { flex: 1; min-height: 20px; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan--free, .plan--weekly, .plan--monthly { grid-column: 1; grid-row: auto; }
  .plan--monthly { order: -1; }
}

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.calc__ctl { margin-top: 32px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.calc__label output { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 2.2rem; letter-spacing: -0.025em; }
.calc input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--green); height: 32px; }
.calc__ends { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--on-deep-soft); }
.calc__out { background: var(--deep-2); border: 1px solid var(--line-deep); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); }
.calc__pick { font-size: 1rem; color: var(--on-deep-soft); }
.calc__plan { margin-top: 6px; font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -0.035em; line-height: 0.92; }
.calc__total { margin-top: 14px; font-size: 1.2rem; font-weight: 600; }
.calc__vs { margin-top: 6px; color: var(--on-deep-soft); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

.rows { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 16px 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.1; }
.row p { color: var(--body); max-width: 54ch; }
@media (max-width: 820px) { .row { grid-template-columns: 1fr; } .row .btn { justify-self: start; } }

/* ---------- veterans page ---------- */
.vhero { background: var(--deep); color: var(--on-deep); padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 128px); overflow: hidden; }
.vhero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.vhero .display { font-size: clamp(3.3rem, 10.5vw, 8.25rem); }
.vhero__sub { margin-top: 20px; font-family: var(--display); font-weight: 650; font-stretch: 92%; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.015em; line-height: 1.12; }
.vhero .lead { margin-top: 16px; color: var(--on-deep-soft); }
.vhero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .vhero__grid { grid-template-columns: 1fr; } }

.how { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: how; }
.how--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how li { counter-increment: how; padding-top: 22px; border-top: 2px solid var(--navy); }
.how li::before { content: counter(how); font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--green-ink); display: block; }
.how h3 { margin-top: 14px; font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(1.3rem, 2.1vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.1; }
.how p { margin-top: 10px; color: var(--body); }
@media (max-width: 820px) { .how, .how--four { grid-template-columns: 1fr; } }

.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.note { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); }
.note h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(1.4rem, 2.3vw, 1.85rem); letter-spacing: -0.015em; line-height: 1.08; max-width: 18ch; }
.note p { margin-top: 14px; color: var(--body); }
.note .link { display: inline-block; margin-top: 16px; }
.note .ticks { margin-top: 18px; }
.note .ticks li { color: var(--body); }
@media (max-width: 820px) { .notes { grid-template-columns: 1fr; } }

/* ---------- flagged review page ---------- */
.fhero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.fhero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fhero .display { font-size: clamp(2.9rem, 8.6vw, 7rem); }
.fhero .display span { display: block; }
.fhero .lead { margin-top: 24px; }
.fhero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.fhero .art-flag { aspect-ratio: 5 / 4; border-radius: var(--r-lg); display: grid; place-items: center; }
@media (max-width: 860px) { .fhero__grid { grid-template-columns: 1fr; } .fhero .art-flag { aspect-ratio: 4 / 3; } }

.explain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.explain__card { background: var(--deep-2); border: 1px solid var(--line-deep); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); }
.explain__card h3 { font-family: var(--display); font-weight: 700; font-stretch: 92%; font-size: clamp(1.4rem, 2.3vw, 1.85rem); letter-spacing: -0.015em; line-height: 1.08; }
.explain__card p { margin-top: 14px; color: var(--on-deep-soft); }
.explain__btn { display: inline-block; margin-bottom: 18px; font-size: 0.9rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--green); color: var(--deep); }
@media (max-width: 820px) { .explain { grid-template-columns: 1fr; } }

.why { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.why li { padding: 22px 0; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 650; font-stretch: 92%; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.012em; line-height: 1.15; }
@media (max-width: 700px) { .why { grid-template-columns: 1fr; } }

/* ---------- start (placeholder) + generic WordPress content ---------- */
.plain { padding: clamp(56px, 9vw, 120px) 0; }
.plain .h2 { max-width: 18ch; }
.plain .lead { margin-top: 20px; }
.plain .btn { margin-top: 28px; }
.setup { margin-top: 32px; padding: 22px 24px; border-radius: var(--r-md); background: #fdf3e0; color: #6b4708; max-width: 64ch; font-size: 0.98rem; }
.setup code { background: rgba(107, 71, 8, 0.1); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

.entry { max-width: 720px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1.1; margin-top: 1.8em; }
.entry h2 { font-size: 1.9rem; } .entry h3 { font-size: 1.45rem; }
.entry ul, .entry ol { padding-left: 1.3em; } .entry ul { list-style: disc; } .entry ol { list-style: decimal; }
.entry a { color: var(--teal-ink); }
.entry p, .entry li { color: var(--body); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__title span, .hero__lead, .hero__actions, .hero__note, .drill-wrap { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero__title span:nth-child(2) { animation-delay: 0.12s; }
  .hero__lead { animation-delay: 0.28s; }
  .hero__actions, .hero__note { animation-delay: 0.38s; }
  .drill-wrap { animation-name: rise-far; animation-delay: 0.5s; animation-duration: 1.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes rise-far { from { opacity: 0; transform: translateY(70px) scale(0.97); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* the feature-list copy of the flagged illustration has less height: drop the last row */
.feature__art.art-flag .art-flag__q:nth-child(n+5) { display: none; }
.feature__art.art-flag .art-flag__page { max-height: 100%; overflow: hidden; }

/* ---------- five-pass pricing grid ---------- */
.plans--five { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
.plans--five .plan--free { grid-column: 1; grid-row: 1; }
.plans--five .plan--weekly { grid-column: 1; grid-row: 2; }
.plans--five .plan--monthly { grid-column: 2; grid-row: 1 / span 2; }
.plans--five .plan--thirty { grid-column: 3; grid-row: 1; }
.plans--five .plan--retest { grid-column: 3; grid-row: 2; }
.plans--five .plan--monthly .plan__price { font-size: clamp(3.6rem, 7vw, 6rem); }
@media (max-width: 1000px) {
  .plans--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans--five .plan--free, .plans--five .plan--weekly, .plans--five .plan--monthly, .plans--five .plan--thirty, .plans--five .plan--retest { grid-column: auto; grid-row: auto; }
  .plans--five .plan--monthly { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) { .plans--five { grid-template-columns: 1fr; } }

/* ---------- courses page ---------- */
.fhero > .wrap > .lead { margin-top: 24px; }
.course { border-top: 2px solid var(--navy); padding-top: 28px; }
.course__kicker { font-weight: 700; color: var(--green-ink); }
.course__head .lead { margin-top: 18px; }
.course__cols { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.course__cols .ticks { margin-top: 18px; }
.course__cols .ticks li { color: var(--body); }
.course__foot { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.course__foot .small { width: 100%; }
@media (max-width: 700px) { .course__cols { grid-template-columns: 1fr; } }
