:root {
  --ink: #102433;
  --ink-soft: #48606d;
  --navy: #0b2c3d;
  --green: #18794e;
  --green-dark: #0e5a38;
  --mint: #dff4e9;
  --coral: #c7352f;
  --yellow: #f2c14e;
  --paper: #f8faf8;
  --white: #ffffff;
  --line: #dbe3df;
  --shadow: 0 18px 44px rgba(16, 36, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; letter-spacing: 0; line-height: 1.12; }
h2 { font-size: 3rem; margin-bottom: 0; }
h3 { font-size: 1.3rem; }
svg { width: 1.25rem; height: 1.25rem; stroke-width: 2; flex: 0 0 auto; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--ink); padding: .7rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
.site-header { height: 72px; padding: 0 clamp(1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(16,36,51,.08); position: sticky; top: 0; z-index: 50; }
.brand { display: inline-flex; align-items: center; width: 174px; height: 58px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.3rem); }
.desktop-nav a, .text-link { text-decoration: none; font-weight: 600; font-size: .94rem; }
.desktop-nav a, .mobile-nav a { display: inline-flex; align-items: center; gap: .38rem; }
.desktop-nav svg, .mobile-nav svg { width: 1rem; height: 1rem; }
.desktop-nav a:hover, .text-link:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-nav a { display: block; padding: .85rem; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.2rem; border: 2px solid var(--green); border-radius: 6px; background: var(--green); color: var(--white); font-weight: 700; text-decoration: none; text-align: center; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--green-dark); border-color: var(--green-dark); }
.button-small { min-height: 40px; padding: .55rem .95rem; font-size: .9rem; }
.button-quiet { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); }
.button-quiet:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-outline { background: transparent; color: var(--green-dark); }
.button-outline:hover { color: var(--white); }
.button-coral { background: var(--coral); border-color: var(--coral); }
.button-coral:hover { background: #9f2925; border-color: #9f2925; }

.hero { min-height: 560px; height: calc(100svh - 96px); max-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; background: url("images/eduthrifties-subscriptions-hero-v2.png") center center / cover no-repeat; color: var(--white); }
.hero-shade { position: absolute; inset: 0 48% 0 0; background: rgba(6, 31, 43, .82); }
.hero-content { width: min(92%, 1280px); margin: 0 auto; position: relative; z-index: 1; }
.hero-content > * { max-width: 650px; }
.eyebrow { margin-bottom: .85rem; font-weight: 800; text-transform: uppercase; font-size: .76rem; letter-spacing: .13em; color: #b7f0d2; }
.eyebrow.dark { color: var(--green-dark); }
.eyebrow.light { color: #b7f0d2; }
.hero h1 { font-size: 5.4rem; margin-bottom: 1rem; }
.hero-lead { font-size: 1.25rem; line-height: 1.55; margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-note { margin: 1.25rem 0 0; display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: #e7f4ed; }

.signal-strip { width: min(94%, 1240px); margin: -24px auto 0; position: relative; z-index: 4; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-strip > div { min-height: 88px; padding: 1.2rem 1.35rem; display: flex; align-items: center; gap: .85rem; }
.signal-strip > div + div { border-left: 1px solid var(--line); }
.signal-strip svg { color: var(--green); width: 1.7rem; height: 1.7rem; }
.signal-strip span { display: grid; color: var(--ink-soft); font-size: .9rem; }
.signal-strip strong { color: var(--ink); }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 4rem); }
.section-heading { width: min(100%, 1180px); margin: 0 auto 2.6rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: 3rem; align-items: end; }
.section-heading > p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }
.section-heading.compact { display: block; }
.section-heading.compact > div { max-width: 760px; }
.plan-grid { width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plan-card { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; min-width: 0; }
.plan-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan-top { height: 32px; display: flex; align-items: center; justify-content: space-between; color: var(--green); }
.plan-number { font-weight: 800; color: var(--ink-soft); font-size: .82rem; }
.popular { background: var(--yellow); color: var(--ink); padding: .28rem .55rem; border-radius: 4px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.plan-card h3 { font-size: 1.55rem; margin: 1rem 0 .45rem; }
.plan-tagline { min-height: 3.1rem; color: var(--ink-soft); }
.price { font-family: "Manrope", Arial, sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 1.2rem 0 .2rem; }
.price span { font-size: 1.25rem; vertical-align: top; margin-right: .2rem; }
.price-note { color: var(--ink-soft); font-size: .85rem; }
.plan-card ul { padding: 1.2rem 0; margin: 0 0 1rem; list-style: none; border-top: 1px solid var(--line); flex: 1; }
.plan-card li { display: flex; gap: .55rem; margin: .7rem 0; align-items: flex-start; }
.plan-card li svg { color: var(--green); margin-top: .12rem; }
.delivery-note { width: min(100%, 1180px); margin: 1rem auto 0; padding: 1.1rem 1.3rem; display: flex; gap: .85rem; align-items: center; background: var(--mint); border-left: 4px solid var(--green); }
.delivery-note div { display: grid; }
.delivery-note span { color: var(--ink-soft); }

.steps-section { background: #eef3f0; }
.steps { width: min(100%, 1180px); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #bdcbc4; }
.steps li { padding: 1.6rem 1.4rem 0 0; }
.steps li > span { display: grid; place-items: center; width: 38px; height: 38px; margin-top: -20px; background: var(--green); color: var(--white); border-radius: 50%; font-weight: 800; }
.steps h3 { margin: 1.2rem 0 .5rem; font-size: 1.12rem; }
.steps p { color: var(--ink-soft); margin: 0; }

.platform-section { background: var(--navy); color: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(3rem, 8vw, 8rem); }
.platform-copy { max-width: 650px; justify-self: end; }
.platform-copy > p:not(.eyebrow) { color: #c4d4dc; font-size: 1.08rem; margin: 1.4rem 0 2rem; }
.platform-features { border-top: 1px solid rgba(255,255,255,.2); align-self: center; }
.platform-features article { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.platform-features svg { color: var(--yellow); width: 1.6rem; height: 1.6rem; }
.platform-features h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.platform-features p { margin: 0; color: #c4d4dc; }

.final-cta { padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 7vw, 8rem); background: var(--coral); color: var(--white); display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.final-cta .eyebrow.dark { color: var(--white); }
.final-cta h2 { max-width: 740px; font-size: 3.1rem; color: var(--white); }
.final-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex: 0 0 auto; }
.final-actions .button { background: var(--white); border-color: var(--white); color: var(--coral); }
.final-actions .button:hover { background: #fff3f1; border-color: #fff3f1; color: #9f2925; }
.final-actions .button-outline { background: transparent; border-color: var(--white); color: var(--white); }
.final-actions .button-outline:hover { background: var(--white); border-color: var(--white); color: var(--coral); }

.site-footer { padding: 3rem clamp(1rem, 4vw, 4rem) 1.5rem; background: #071e2a; color: #d8e5e9; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand img { display: block; width: 185px; height: 64px; margin-bottom: 1.35rem; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 380px; margin: 0; color: #a9bdc6; }
.site-footer h2 { font-size: .9rem; text-transform: uppercase; color: var(--white); margin-bottom: .7rem; }
.site-footer a { display: block; text-decoration: none; color: #a9bdc6; margin: .45rem 0; }
.site-footer a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.3rem; margin: .5rem 0 0; color: #8ca5af; font-size: .85rem; }

@media (max-width: 980px) {
  h2 { font-size: 2.5rem; }
  .desktop-nav, .header-actions .text-link, .header-actions > .button { display: none; }
  .menu-button { display: inline-flex; }
  .hero-shade { inset: 0 28% 0 0; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .plan-grid { grid-template-columns: 1fr; max-width: 660px; }
  .plan-tagline { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .platform-section { grid-template-columns: 1fr; }
  .platform-copy { justify-self: start; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .final-cta h2 { font-size: 2.6rem; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; }
  .brand { width: 145px; height: 50px; }
  .mobile-nav { top: 64px; }
  .hero { min-height: 620px; height: calc(100svh - 82px); max-height: 760px; background-position: 62% center; align-items: flex-end; padding-bottom: 3.2rem; }
  .hero-shade { inset: 0; background: rgba(5, 28, 39, .7); }
  .hero-content { width: calc(100% - 2rem); }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 3.5rem; overflow-wrap: anywhere; }
  .hero-lead { font-size: 1.08rem; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; }
  .signal-strip { width: calc(100% - 2rem); }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .steps { grid-template-columns: 1fr; row-gap: 2.3rem; }
  .delivery-note { align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .final-actions, .final-actions .button { width: 100%; }
  .final-cta h2 { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
