/* Self-hosted fonts (Phil, 2026-12-01): Plus Jakarta Sans 500-800 and Inter 400-600, latin subset,
   from @fontsource/plus-jakarta-sans@5.2.8 and @fontsource/inter@5.2.8 (SIL Open Font License 1.1;
   see site/fonts/LICENSE-*.txt). Served from hardshipplanner.com itself: no Google Fonts. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* hardshipplanner.com, after Phil's design reference (docs/landing-design-reference.html,
   2026-12-01): Plus Jakarta Sans for headings, Inter for text, deep teal and sunrise gold.
   No inline styles anywhere, and only this site's own files (fonts included) under its CSP. */
:root {
  --ink: #1C2B2A;
  --ink-strong: #0B3B37;
  --text: #3E4F4B;
  --muted: #4A5A56;
  --teal: #0B5D57;
  --teal-dark: #08423E;
  --teal-deep: #0B3B37;
  --teal-night: #0B2E2B;
  --sun: #F7B955;
  --sun-dark: #F2A93B;
  --sun-ink: #3A2402;
  --amber: #9A5B05;
  --cream: #FBFAF7;
  --sand: #F3EFE6;
  --line: #E7E2D8;
  --mint: #E3F0EC;
  --white: #FFFFFF;
  --head: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 6px #0B5D57;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--cream); }
img, svg { max-width: 100%; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--white); color: var(--teal); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.medium { max-width: 1000px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Type */
.h1, .h2, .h3, .h4, h1, h2, h3 { font-family: var(--head); color: var(--ink-strong); }
.h1 { margin: 20px 0 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -1.5px; }
.h1--page { margin-top: 0; font-size: clamp(32px, 5vw, 48px); }
.h2 { margin: 12px 0 0; font-size: clamp(28px, 4.2vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.8px; }
.h3 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; }
.h4 { margin: 18px 0 0; font-size: 19px; font-weight: 700; }
.lead { margin: 20px 0 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--text); max-width: 600px; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; max-width: 720px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--amber); }
.eyebrow--sun { color: var(--sun); }
.small { font-size: 14px; color: var(--muted); }
.emphasis { margin: 30px 0 0; font-size: 19px; font-weight: 600; color: var(--teal); }
.note { margin: 24px auto 0; max-width: 760px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.callout { margin: 32px auto 0; max-width: 760px; text-align: center; font-size: 18px; font-weight: 600; color: var(--teal); }

/* Buttons and links: real links, at least 44px tall */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.15s; }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--sun { background: var(--sun); color: var(--sun-ink); font-weight: 800; }
.btn--sun:hover { background: var(--sun-dark); color: var(--sun-ink); }
.btn--outline { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--small { padding: 10px 20px; font-weight: 600; }
.btn--large { padding: 18px 30px; font-size: 18px; }
.btn--primary.btn--large { box-shadow: 0 10px 24px rgba(11, 93, 87, 0.22); }
.btn--block { display: flex; width: 100%; margin-top: 28px; padding: 18px; font-size: 18px; }
.btn .icon { width: 18px; height: 18px; }
.link-strong { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 17px; font-weight: 600; color: var(--teal); text-decoration: none; }
.link-strong:hover { text-decoration: underline; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 26px; height: 26px; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink-strong); font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.logo-mark { flex-shrink: 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: #33433F; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.nav .nav__signin { color: var(--teal); font-weight: 600; }

/* Bands */
.band { padding: 88px 0; background: var(--cream); }
.band--white { background: var(--white); }
.band--hero { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); padding: 72px 0 88px; }
.band--page { padding: 56px 0; }
.band--dark { background: var(--teal-deep); color: var(--white); }
.band--pricing { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.band--educators { background: var(--sand); padding: 56px 0; }
.band--cta-wrap { padding-top: 0; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__preview { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; background: #FFF3DD; color: #7A4A06; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--teal); width: 18px; height: 18px; }
.hero__text .small { margin: 14px 0 0; }

/* App preview card */
.preview { width: 100%; max-width: 440px; background: var(--white); border-radius: 28px; box-shadow: 0 30px 60px rgba(11, 59, 55, 0.16), 0 2px 6px rgba(11, 59, 55, 0.06); padding: 26px; }
.preview__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview__title { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink-strong); }
.pill { font-size: 13px; font-weight: 600; color: #7A4A06; background: #FFF3DD; padding: 6px 12px; border-radius: 999px; }
.preview__bar { margin-top: 16px; height: 8px; background: #EEF2F0; border-radius: 999px; }
.preview__bar span { display: block; width: 56%; height: 8px; background: var(--teal); border-radius: 999px; }
.preview__steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.preview__step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 15px; color: #33433F; }
.preview__num { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.preview__step--done { background: #F4F8F6; }
.preview__step--done .preview__num { background: var(--teal); color: var(--white); }
.preview__step--now { background: var(--white); border: 2px solid var(--sun); font-weight: 600; color: var(--ink-strong); }
.preview__step--now .preview__num { background: var(--sun); color: #4A2E03; font-weight: 800; }
.preview__step--next { color: #5F6E6A; }
.preview__step--next .preview__num { border: 2px solid #C9D3CF; color: #5F6E6A; }
.preview__guide { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--teal-deep); border-radius: 16px; }
.preview__play { width: 40px; height: 40px; border-radius: 12px; background: var(--sun); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.preview__guide-title { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.preview__guide-note { display: block; font-size: 13px; color: #B9CEC9; }

/* Problem chips */
.chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li { background: var(--sand); color: var(--text); font-weight: 500; padding: 10px 18px; border-radius: 999px; }

/* Step cards */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.step { flex: 1 1 190px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.step__num { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--teal); font-family: var(--head); font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.step p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* What's inside (dark band) */
.inside { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.inside__intro { flex: 1 1 320px; min-width: 0; }
.band--dark .h2 { color: var(--white); }
.band--dark .lead { color: #C6D8D3; font-size: 18px; }
.inside__list { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.inside__list li { flex: 1 1 250px; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; padding: 18px; font-size: 16px; line-height: 1.45; }
.inside__list .icon { color: var(--sun); }

/* Is / is not panels */
.panels { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 20px; }
.panel { flex: 1 1 380px; min-width: 0; border-radius: 22px; padding: 30px; }
.panel--is { background: #EEF6F3; }
.panel--isnt { background: #F7F4EE; }
.panel__title { margin: 0; font-family: var(--head); font-weight: 800; font-size: 20px; }
.panel--is .panel__title { color: var(--teal); }
.panel--isnt .panel__title { color: #5A4632; }
.panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.panel li { display: flex; gap: 12px; }
.panel--is .icon { color: var(--teal); width: 22px; height: 22px; }
.panel--isnt .icon { color: #8A6A4A; width: 22px; height: 22px; }

/* Pricing */
.pricing { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: center; }
.pricing__intro { flex: 1 1 380px; min-width: 0; max-width: 460px; }
.pricing__intro .lead { font-size: 18px; }
.price-card { flex: 1 1 380px; min-width: 0; max-width: 440px; background: var(--white); border-radius: 28px; box-shadow: 0 30px 60px rgba(11, 59, 55, 0.14); padding: 36px; }
.price-card__name { margin: 0; font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--teal); }
.price-card__price { margin: 10px 0 0; display: flex; align-items: baseline; gap: 8px; }
.price-card__amount { font-family: var(--head); font-weight: 800; font-size: 64px; letter-spacing: -2px; color: var(--ink-strong); line-height: 1; }
.price-card__per { font-size: 18px; color: var(--muted); }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checks li { display: flex; gap: 10px; }
.checks .icon { color: var(--teal); }
.price-card__note { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.price-card__note strong { color: var(--ink-strong); }

/* FAQ (details/summary) */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; background: var(--cream); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 0; font-weight: 700; font-size: 18px; color: var(--ink-strong); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { font-size: 26px; color: var(--teal); line-height: 1; transition: transform 0.15s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__item p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text); }

/* Final call to action */
.cta { background: var(--teal); border-radius: 32px; padding: 56px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta__text { flex: 1 1 480px; min-width: 0; }
.cta .h2 { margin: 0; color: var(--white); font-size: clamp(26px, 3.6vw, 36px); }
.cta p { margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: #D2E6E1; }

/* Educators strip */
.educators { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.educators__text { flex: 1 1 520px; min-width: 0; }
.educators__text p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); }

/* Footer */
.footer { background: var(--teal-night); color: #B9CEC9; padding: 48px 0; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__about { flex: 1 1 320px; min-width: 0; font-size: 14px; line-height: 1.6; }
.footer__about p { margin: 8px 0 0; }
.footer__name { font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--white); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; align-items: flex-start; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.footer__nav a:hover { color: var(--sun); }
.footer a:focus-visible { box-shadow: 0 0 0 3px var(--teal-night), 0 0 0 6px var(--sun); }
.footer__notice { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; line-height: 1.65; color: #A9C0BA; }
.footer__notice strong { color: var(--white); }
.footer__copy { margin: 14px 0 0; font-size: 13px; color: #A9C0BA; }

/* Forms and plain pages */
.form-card { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
label { display: block; font-weight: 600; margin: 16px 0 6px; color: var(--ink-strong); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
label.check input { margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; }
input[type="email"], select { width: 100%; max-width: 440px; min-height: 48px; padding: 10px 14px; font: inherit; border: 1px solid #9FA9A6; border-radius: 12px; background: var(--white); color: var(--ink); }
.form-card .btn { margin-top: 24px; }
.hidden-field { position: absolute; left: -9999px; }
.error { color: #9B1C1C; font-weight: 600; }
.draft { background: #FFF3DD; border: 1px solid #E8C766; padding: 12px 16px; border-radius: 12px; color: #5A3A04; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--text); }

@media (max-width: 640px) {
  .band { padding: 56px 0; }
  .band--hero { padding: 40px 0 56px; }
  .wrap { padding: 0 16px; }
  .hero { gap: 36px; }
  .preview { padding: 20px; border-radius: 22px; }
  .cta { padding: 36px 24px; border-radius: 24px; }
  .price-card { padding: 28px 22px; }
  .price-card__amount { font-size: 52px; }
  .nav { gap: 0 14px; }
  .nav__extra { display: none !important; }
  .top__inner { padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .btn--large { width: 100%; }
}
