:root {
  --navy: #112440;
  --navy-soft: #243b5d;
  --slate: #536177;
  --paper: #fffefa;
  --white: #ffffff;
  --yellow: #ffdc19;
  --yellow-soft: #fff5a7;
  --pink: #f2a4cd;
  --pink-soft: #fff0f8;
  --blue: #a9d3ef;
  --blue-soft: #eef8ff;
  --mint: #a8dfc1;
  --mint-soft: #effbf4;
  --line: 3px solid var(--navy);
  --shadow: 0 8px 0 var(--navy);
  --radius: 24px;
  --shell: min(1120px, calc(100% - 40px));
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 2px solid transparent;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(17, 36, 64, 0.12);
  box-shadow: 0 8px 30px rgba(17, 36, 64, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark,
.closing-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: rotate(-6deg);
  border: 3px solid var(--navy);
  border-radius: 15px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav > a:not(.button) {
  position: relative;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--navy);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 2px solid var(--navy);
  border-radius: 15px;
  background: var(--white);
  color: var(--navy);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--navy);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--navy);
}

.button:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--navy);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 4px 0 var(--navy);
}

.button-primary {
  background: var(--yellow);
}

.button-primary:hover {
  background: #ffe346;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 700px;
  align-content: center;
  justify-items: center;
  padding-block: 110px 95px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, #e9e1d8 2px, transparent 2px),
    linear-gradient(to bottom, #e9e1d8 2px, transparent 2px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 8%;
  bottom: 12%;
  left: 8%;
  height: 2px;
  background: var(--navy);
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 3px solid var(--navy);
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 950;
  box-shadow: 0 6px 0 var(--navy);
}

.shape-pink {
  top: 22%;
  left: 4%;
  transform: rotate(-10deg);
  border-radius: 50% 45% 55% 47%;
  background: var(--pink);
}

.shape-blue {
  top: 35%;
  right: 4%;
  transform: rotate(8deg);
  border-radius: 18px;
  background: var(--blue);
}

.shape-mint {
  right: 14%;
  bottom: 16%;
  width: 64px;
  height: 64px;
  transform: rotate(-7deg);
  border-radius: 50%;
  background: var(--mint);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  font-weight: 920;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6rem);
}

h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.03em;
  bottom: 0.03em;
  left: -0.03em;
  height: 0.23em;
  transform: rotate(-1deg);
  border-radius: 999px;
  background: var(--yellow);
  content: "";
}

.hero-copy {
  max-width: 780px;
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 570;
  line-height: 1.65;
}

.hero-copy strong {
  color: var(--navy);
  font-weight: 820;
}

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

.text-link {
  padding-block: 8px;
  font-weight: 820;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 760;
  list-style: none;
}

.trust-list span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  margin-right: 4px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.72rem;
}

.section {
  padding-block: 110px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-kicker {
  color: var(--slate);
}

.section-heading h2,
.privacy-panel h2,
.closing-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.solver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solver-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solver-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 0 var(--navy);
}

.card-stripe {
  height: 25px;
  border-bottom: var(--line);
}

.solver-card-geometry .card-stripe,
.solver-card-geometry .subject-icon,
.solver-card-geometry .status-pill {
  background: var(--pink);
}

.solver-card-physics .card-stripe,
.solver-card-physics .subject-icon,
.solver-card-physics .status-pill {
  background: var(--blue);
}

.solver-card-statistics .card-stripe,
.solver-card-statistics .subject-icon,
.solver-card-statistics .status-pill {
  background: var(--mint);
}

.solver-card-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
}

.solver-card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.subject-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 3px solid var(--navy);
  border-radius: 18px;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.status-pill {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.status-rating {
  background: var(--yellow) !important;
}

.solver-card h3 {
  margin-bottom: 16px;
  font-size: 1.65rem;
}

.solver-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.97rem;
  font-weight: 570;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  padding: 5px 10px;
  border: 1.5px solid rgba(17, 36, 64, 0.28);
  border-radius: 999px;
  background: #f8f9fb;
  color: var(--navy-soft);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.4;
}

.card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.93rem;
}

.button-card {
  width: 100%;
  margin-top: auto;
}

.solver-card-geometry .button-card:hover {
  background: var(--pink-soft);
}

.solver-card-physics .button-card:hover {
  background: var(--blue-soft);
}

.solver-card-statistics .button-card:hover {
  background: var(--mint-soft);
}

.coming-soon {
  display: grid;
  grid-template-columns: 1fr minmax(390px, 0.8fr);
  gap: 55px;
  align-items: center;
  margin-top: 62px;
  padding: 42px;
  border: 3px dashed var(--navy);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft) 50%, var(--mint-soft));
}

.coming-soon h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.coming-soon p {
  margin: 0;
  color: var(--slate);
}

.waitlist-form label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.86rem;
  font-weight: 820;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.field-row input {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 11px 16px;
  border: 2px solid var(--navy);
  border-radius: 13px;
  background: var(--white);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px transparent;
}

.field-row input::placeholder {
  color: #7a8494;
}

.field-row input:focus {
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.button-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 5px 0 #50617b;
}

.button-dark:hover {
  box-shadow: 0 3px 0 #50617b;
}

.form-note {
  min-height: 1.5em;
  margin-top: 8px !important;
  font-size: 0.77rem;
}

.form-note.is-error {
  color: #8f1637;
  font-weight: 750;
}

.section-tinted {
  border-block: 2px solid rgba(17, 36, 64, 0.1);
  background: #f6f9fc;
}

.steps-list {
  display: grid;
  max-width: 940px;
  gap: 22px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 34px;
  border: var(--line);
  border-radius: 22px;
  background: var(--white);
}

.step-number {
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  border: 3px solid var(--navy);
  border-radius: 17px;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.step-pink {
  background: var(--pink);
}

.step-yellow {
  background: var(--yellow);
}

.step-blue {
  background: var(--blue);
}

.step-card h3 {
  margin: 6px 0 10px;
  font-size: 1.35rem;
}

.step-card p {
  margin: 0;
  color: var(--slate);
  font-weight: 560;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  max-width: 1040px;
  margin: 85px auto 0;
  padding: 52px;
  border-radius: 28px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 0 var(--yellow);
}

.privacy-panel h2 {
  color: var(--white);
}

.privacy-panel p {
  color: #cbd6e6;
}

.privacy-label {
  margin: 0 0 12px;
  color: var(--yellow) !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--yellow);
  font-weight: 850;
  text-underline-offset: 5px;
}

.privacy-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.privacy-points li > span {
  grid-row: 1 / span 2;
  color: var(--yellow);
  font-weight: 950;
}

.privacy-points strong {
  color: var(--white);
  font-size: 0.93rem;
}

.privacy-points small {
  color: #aebdd2;
}

.faq-section {
  max-width: 940px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  overflow: hidden;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  background: var(--yellow-soft);
  box-shadow: 0 5px 0 var(--navy);
}

.faq-list summary {
  position: relative;
  padding: 23px 72px 23px 26px;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  transform: translateY(-50%);
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 72px 25px 26px;
  color: var(--slate);
  font-weight: 560;
}

.closing-cta {
  border-block: var(--line);
  background: var(--pink);
}

.closing-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding-block: 55px;
}

.closing-mark {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  font-size: 2rem;
}

.closing-cta .section-kicker {
  margin-bottom: 8px;
  color: var(--navy);
}

.closing-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.site-footer {
  padding-block: 70px 30px;
  background: var(--navy);
  color: #c7d3e4;
}

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

.footer-brand {
  color: var(--white);
}

.footer-grid > div > p {
  max-width: 280px;
  margin: 18px 0 0;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-grid nav h2 {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid nav a {
  color: #c7d3e4;
  font-size: 0.91rem;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.footer-grid nav a:hover {
  color: var(--yellow);
  text-decoration-color: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #9babc1;
  font-size: 0.79rem;
}

.footer-bottom p {
  margin: 0;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .solver-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .solver-card-body {
    min-height: auto;
  }

  .coming-soon,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-panel {
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
  }
}

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

  body {
    font-size: 16px;
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .has-js .menu-toggle {
    display: grid;
  }

  .has-js .primary-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    border-bottom: 0 solid var(--navy);
    background: var(--paper);
    visibility: hidden;
    transition: max-height 230ms ease, visibility 230ms ease, border-width 230ms ease;
  }

  .has-js .primary-nav.is-open {
    max-height: 330px;
    padding: 14px;
    border-bottom-width: 3px;
    visibility: visible;
  }

  .primary-nav > a:not(.button) {
    padding: 12px 8px;
  }

  .primary-nav .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding-block: 90px 105px;
  }

  .hero-art {
    opacity: 0.65;
  }

  .shape {
    width: 55px;
    height: 55px;
    font-size: 1.15rem;
    box-shadow: 0 4px 0 var(--navy);
  }

  .shape-pink {
    top: 8%;
    left: 1%;
  }

  .shape-blue {
    top: 24%;
    right: 0;
  }

  .shape-mint {
    display: none;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    justify-items: start;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .solver-card-body {
    padding: 24px;
  }

  .coming-soon {
    gap: 28px;
    margin-top: 50px;
    padding: 28px 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 24px;
  }

  .privacy-panel {
    margin-top: 60px;
    padding: 32px 24px;
    box-shadow: 0 8px 0 var(--yellow);
  }

  .faq-list summary {
    padding: 20px 62px 20px 20px;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list details p {
    padding: 0 20px 22px;
  }

  .closing-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .closing-cta-inner .button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .footer-grid > div {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .eyebrow {
    font-size: 0.66rem;
  }

  .solver-card-topline {
    margin-bottom: 18px;
  }

  .solver-card h3 {
    font-size: 1.45rem;
  }

  .closing-mark {
    width: 58px;
    height: 58px;
  }

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

  .footer-grid > div {
    grid-column: auto;
  }
}

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

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

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Subpages: pillar and info pages */

.breadcrumbs {
  padding-top: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 650;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  content: "/";
  color: var(--slate);
}

.breadcrumbs a {
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.breadcrumbs a:hover {
  text-decoration-color: currentColor;
}

.breadcrumbs [aria-current="page"] {
  color: var(--navy);
}

.page-hero {
  padding-block: 52px 26px;
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.page-hero .lead {
  max-width: 780px;
  margin: 0;
  color: var(--slate);
  font-size: 1.14rem;
  font-weight: 570;
}

.page-hero .lead strong {
  color: var(--navy);
}

.page-hero .hero-actions {
  margin-top: 30px;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin: 54px 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.prose h3 {
  margin: 34px 0 12px;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--slate);
  font-weight: 560;
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--navy);
}

.section-slim {
  padding-block: 56px;
}

.worked-example {
  margin: 26px 0;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 0 var(--navy);
}

.worked-example-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: var(--line);
  background: var(--yellow-soft);
}

.worked-example-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.worked-example-tag {
  padding: 5px 12px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.worked-example-body {
  padding: 24px 26px 28px;
}

.example-problem {
  margin: 0 0 18px;
  padding: 16px 20px;
  border-left: 5px solid var(--navy);
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 650;
}

.example-steps {
  margin: 0;
  padding-left: 22px;
}

.example-steps li {
  margin-bottom: 12px;
  color: var(--slate);
  font-weight: 560;
}

.example-steps li strong {
  color: var(--navy);
}

.example-answer {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 2px dashed var(--navy);
  color: var(--navy);
  font-weight: 800;
}

.example-note {
  margin: 14px 0 0;
  color: var(--slate);
  font-size: 0.93rem;
  font-weight: 560;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.topic-grid li {
  padding: 16px 18px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.topic-grid li small {
  display: block;
  margin-top: 4px;
  color: var(--slate);
  font-size: 0.83rem;
  font-weight: 560;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 64px 0 0;
  padding: 34px 38px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--yellow-soft);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-panel p {
  margin: 0;
  color: var(--slate);
  font-weight: 560;
}

.page-note {
  margin-top: 34px;
  padding: 18px 22px;
  border: 2px dashed var(--navy);
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--slate);
  font-size: 0.93rem;
  font-weight: 560;
}

.page-note strong {
  color: var(--navy);
}

@media (max-width: 760px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .worked-example-body {
    padding: 20px;
  }

  .worked-example-head {
    padding: 16px 20px;
  }
}

@media (max-width: 460px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .hero-art,
  .hero-actions,
  .waitlist-form,
  .closing-cta,
  .site-footer {
    display: none !important;
  }

  .hero,
  .section {
    min-height: auto;
    padding-block: 32px;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }

  .solver-card,
  .privacy-panel,
  .faq-list details {
    break-inside: avoid;
    box-shadow: none;
  }
}
