:root {
  color-scheme: light;
  --navy-950: #041326;
  --navy-900: #071b34;
  --navy-800: #102b4f;
  --navy-700: #173c68;
  --amber-500: #ffb515;
  --amber-600: #ed9d00;
  --green-600: #087a56;
  --green-100: #dff7ed;
  --paper: #ffffff;
  --mist: #f2f7fb;
  --mist-2: #e7eff6;
  --ink: #111a28;
  --muted: #586678;
  --line: #d7e0e9;
  --shadow: 0 24px 70px rgba(4, 19, 38, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: var(--navy-700);
  font-weight: 750;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy-900);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 28px;
}

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

.brand img {
  border-radius: 11px;
}

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

nav a {
  color: var(--navy-900);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 10px;
  background: var(--navy-900);
  color: white;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 108px);
  min-height: 790px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 28px 108px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ffd46b;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-900);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.hero-lede {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions,
.focus-actions,
.check-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.app-store-badge {
  display: inline-flex;
  min-height: 60px;
}

.text-cta {
  color: var(--navy-900);
  font-weight: 850;
}

.microcopy,
.price-note,
.source-boundary {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
}

.screen-card {
  overflow: hidden;
  width: min(100%, 430px);
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 36px;
  background: var(--mist);
  box-shadow: var(--shadow);
}

.screen-card-main {
  transform: rotate(1.8deg);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.proof-note {
  position: absolute;
  right: -44px;
  bottom: 10%;
  display: grid;
  width: 178px;
  padding: 20px;
  border: 1px solid rgba(7, 27, 52, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(4, 19, 38, 0.16);
}

.proof-note strong {
  color: var(--navy-900);
  font-size: 2.5rem;
  line-height: 1;
}

.proof-note span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1184px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(4, 19, 38, 0.07);
}

.proof-strip div {
  display: grid;
  gap: 2px;
  min-height: 120px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--navy-900);
  font-size: 1.75rem;
  line-height: 1.15;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.story-section,
.access-section,
.answer-section {
  max-width: 1184px;
  margin: 0 auto;
  padding: 150px 28px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-heading > p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

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

.story-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mist);
}

.story-card .step {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--amber-600);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.story-card p,
.evidence-copy > p {
  color: var(--muted);
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
  padding: 130px max(28px, calc((100vw - 1184px) / 2));
  background: var(--mist);
}

.evidence-section-reverse {
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1fr);
  background: var(--paper);
}

.evidence-copy {
  max-width: 620px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--navy-900);
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  top: 0.22em;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--green-100);
  color: var(--green-600);
  content: "\2713";
  font-size: 0.78rem;
  font-weight: 950;
}

.focus-check-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  max-width: 1184px;
  margin: 120px auto;
  padding: 52px;
  border-radius: 24px;
  background: var(--navy-900);
  color: white;
}

.focus-check-section h2,
.final-cta h2 {
  color: white;
}

.focus-check-section p:not(.eyebrow),
.final-cta p:not(.eyebrow) {
  color: #d8e4f0;
}

.focus-actions {
  justify-content: flex-end;
}

.focus-actions > a:not(.light-button) {
  color: white;
}

.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--amber-500);
  color: var(--navy-950);
  font-weight: 900;
  text-decoration: none;
}

.trust-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-left: 5px solid var(--amber-500);
  background: var(--mist);
  font-size: 0.95rem;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
}

.access-grid article {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mist);
}

.access-grid .plan-pro {
  border-color: var(--navy-700);
  background: var(--navy-900);
  color: white;
}

.plan-pro h3,
.plan-pro .plan-label {
  color: white;
}

.plan-label {
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-grid ul {
  margin: 24px 0 0;
  padding-left: 1.2em;
}

.access-grid li + li {
  margin-top: 8px;
}

.price-note {
  margin-top: 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  max-width: 1184px;
  margin: 0 auto 100px;
  padding: 46px;
  border-radius: 24px;
  background: var(--navy-900);
  color: white;
}

.final-cta img {
  border-radius: 25px;
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

footer {
  max-width: 1184px;
  margin: 0 auto;
  padding: 28px 28px 70px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--navy-700);
}

footer > p {
  margin-top: 22px;
}

/* Study check */

.check-page {
  background: var(--mist);
}

.check-main {
  max-width: 990px;
  margin: 0 auto;
  padding: 58px 28px 110px;
}

.check-hero {
  max-width: 800px;
  margin-bottom: 70px;
}

.check-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.check-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

.check-actions {
  margin-top: 28px;
}

.check-actions span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.question-list {
  display: grid;
  gap: 42px;
}

.question-list fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.question-list legend {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  margin-bottom: 6px;
  color: var(--navy-900);
  font-size: 1.55rem;
  font-weight: 900;
}

.question-list legend small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}

.question-card h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.question-card label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  cursor: pointer;
}

.question-card input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 0.22em;
  accent-color: var(--green-600);
}

.answer-section {
  padding-right: 0;
  padding-left: 0;
}

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

.answer-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.answer-grid strong {
  color: var(--green-600);
  font-size: 1.2rem;
}

.answer-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.score-box {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid rgba(7, 27, 52, 0.15);
  border-radius: 18px;
  background: #fff5d9;
}

.score-box h3 {
  margin-bottom: 14px;
}

.score-box li + li {
  margin-top: 8px;
}

.check-final-cta {
  margin-bottom: 28px;
}

.source-boundary {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.guide-page {
  background: linear-gradient(180deg, #f4f8fb 0, #ffffff 520px);
}

.guide-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 62px 28px 90px;
}

.guide-hero {
  max-width: 930px;
  padding: 70px 0 68px;
}

.guide-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 6rem);
}

.guide-hub-hero h1 {
  max-width: 980px;
}

.guide-lede {
  max-width: 810px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  line-height: 1.62;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 90px;
}

.guide-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 16px 45px rgba(4, 19, 38, 0.07);
}

.guide-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.guide-card h2 a {
  color: var(--navy-900);
  text-decoration: none;
}

.guide-card p:not(.guide-topic) {
  color: var(--muted);
}

.guide-topic {
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.answer-callout {
  margin-bottom: 72px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid #c5dfd5;
  border-radius: 24px;
  background: var(--green-100);
}

.answer-callout h2 {
  max-width: 870px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.answer-callout > p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.guide-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.72fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 78px;
}

.guide-body h2,
.source-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.guide-steps {
  padding-left: 1.3rem;
}

.guide-steps li {
  padding-left: 0.4rem;
}

.guide-steps li + li {
  margin-top: 15px;
}

.mistake-card {
  padding: 28px;
  border: 1px solid #ead69e;
  border-radius: 18px;
  background: #fff7df;
}

.mistake-card h2 {
  font-size: 1.55rem;
}

.mistake-card p {
  margin-bottom: 0;
}

.source-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
  margin: 0 0 72px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 24px;
  background: var(--navy-900);
  color: #e9f1f9;
}

.source-panel h2,
.source-panel a {
  color: white;
}

.source-panel p {
  margin-bottom: 0;
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 82px;
}

.related-guides a {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--navy-900);
  text-decoration: none;
}

.related-guides span {
  color: var(--green-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-final-cta {
  margin-right: 0;
  margin-bottom: 28px;
  margin-left: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    gap: 14px;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .evidence-section,
  .evidence-section-reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    width: min(88%, 470px);
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-right: 28px;
    margin-left: 28px;
  }

  .proof-strip div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .story-grid,
  .answer-grid,
  .guide-grid,
  .guide-body,
  .source-panel,
  .related-guides {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 0;
  }

  .story-card .step {
    margin-bottom: 38px;
  }

  .evidence-section > .screen-card {
    justify-self: center;
  }

  .evidence-section-reverse > .screen-card {
    order: 2;
  }

  .focus-check-section,
  .final-cta {
    grid-template-columns: 1fr;
    align-items: start;
    margin-right: 28px;
    margin-left: 28px;
  }

  .focus-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding: 16px 18px;
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .hero {
    gap: 54px;
    padding: 54px 20px 80px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

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

  .proof-note {
    right: -18px;
    width: 148px;
  }

  .proof-strip {
    margin-right: 18px;
    margin-left: 18px;
  }

  .proof-strip div {
    min-height: 106px;
    padding: 19px;
  }

  .proof-strip strong {
    font-size: 1.35rem;
  }

  .story-section,
  .access-section {
    padding: 100px 20px;
  }

  .evidence-section {
    padding: 95px 20px;
  }

  .focus-check-section,
  .final-cta {
    margin-right: 18px;
    margin-left: 18px;
    padding: 30px;
  }

  .final-cta img {
    width: 82px;
  }

  .check-main {
    padding-right: 18px;
    padding-left: 18px;
  }

  .guide-main {
    padding: 32px 18px 70px;
  }

  .guide-hero {
    padding: 54px 0 50px;
  }

  .guide-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .guide-card {
    min-height: 0;
    padding: 26px;
  }

  .guide-final-cta {
    margin-right: 0;
    margin-left: 0;
  }

  .question-card {
    padding: 21px;
  }
}

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

@media print {
  .site-header,
  .check-actions,
  .final-cta,
  footer {
    display: none;
  }

  .check-main {
    max-width: none;
    padding: 0;
  }

  .question-card,
  .answer-grid article,
  .score-box {
    break-inside: avoid;
    box-shadow: none;
  }
}
