/* Everyday Confidence across public journeys and account states. */
:root { --ww-field-border: #7b919c; }
[data-theme="dark"] { --ww-field-border: #65838f; }
.reveal, .reveal.show { opacity: 1; transform: none; transition: none; }
main [id] { scroll-margin-top: 108px; }
.pilot-boundary-card { align-self: center; }
.school-demo-hero .callout-card { align-self: start; }
main > .page-hero,
main > :is(.school-pilot-pack, .school-demo) > .page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(28px, 5vw, 76px);
  padding-block: 56px 44px;
  align-items: center;
}
.page-hero-copy,
.page-hero-visual,
[data-theme="dark"] .page-hero-visual {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.page-hero-copy .eyebrow { margin: 0 0 20px; }
.page-hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.3vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -.045em;
  text-wrap: balance;
  line-height: 1.08;
  margin: 0 0 24px;
}
.page-hero-copy > p:not(.eyebrow) { max-width: 58ch; font-size: 1.02rem; line-height: 1.75; }
.page-hero-copy .hero-cta { margin-top: 27px; gap: 12px; }
.page-hero-visual { gap: 20px; min-width: 0; }
.page-hero-visual img,
[data-theme="dark"] .page-hero-visual img {
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  max-height: none;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-soft);
  box-shadow: none;
}
.visual-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-block: 4px; }
.visual-stat-grid div { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; padding: 0 16px; }
.visual-stat-grid div:first-child { border-left: 0; padding-left: 0; }
.visual-stat-grid strong { font-size: 1rem; font-weight: 650; }
.visual-stat-grid span { display: block; margin-top: 5px; font-size: .76rem; line-height: 1.5; }
main > .section,
main > :is(.school-pilot-pack, .school-demo) > .section { padding-block: 32px 40px; }
.section-head { margin-bottom: 28px; max-width: 750px; }
.section-head h2,
.section h2 { color: var(--ink); font-weight: 650; line-height: 1.18; margin-bottom: 15px; }
.section-head > p { max-width: 65ch; }
.section :is(.feature-grid, .faq-grid, .cards, .trust-row, .process-grid),
.section:is(.feature-grid, .faq-grid, .cards, .trust-row, .process-grid) { gap: 22px; }
.feature-grid article,
.faq-grid article,
.cards article,
.course-card,
.prose,
.table,
.callout-card,
.timeline article,
.trust-row article,
.process-grid article,
.insight-card,
.notice-card { border-color: var(--line); border-radius: 9px; padding: 26px; box-shadow: none; background: var(--card); min-width: 0; }
.feature-grid :is(h2, h3),
.faq-grid h3,
.course-card h2,
.cards h2,
.trust-row article h3 { color: var(--ink); font-size: 1.2rem; line-height: 1.28; margin: 0 0 13px; }
.feature-grid article > p,
.trust-row article > p { font-size: .94rem; line-height: 1.7; }
.feature-grid article > a,
.course-card > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .9rem; }
.split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; }
.split > div:not(.prose) > p { max-width: 65ch; }
.check-list, .focus-list { padding-left: 1.15rem; }
.check-list li, .focus-list li { padding-left: .35rem; margin-block: 10px; color: var(--muted); }
.check-list li::marker, .focus-list li::marker { color: var(--primary); }
.proof-strip { gap: 22px; }
.proof-strip div { border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 8px; padding: 24px; box-shadow: none; }
.proof-strip span { color: var(--muted); font-size: .9rem; }
.process-grid article { background: var(--card); }
.process-grid article span { background: var(--bg-soft); color: var(--primary); font-weight: 600; }
.cta-strip { background: var(--bg-soft); padding: 36px; margin-bottom: 40px; }
.prose { line-height: 1.8; }
.prose h2:not(:first-child) { margin-top: 32px; }
.prose a:not(.btn), .auth-card p a, .form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.prose, .notice-card { overflow-wrap: anywhere; }
.table { overflow-x: auto; }
.table table { width: 100%; }
.auth-card,
.auth-card-login { width: min(640px, calc(100% - 36px)); margin: 48px auto 64px; padding: 36px; border-radius: 10px; box-shadow: none; border-top: 3px solid var(--primary); }
.auth-card:has([name="first_name"]) { width: min(760px, calc(100% - 36px)); }
.auth-card h1 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 14px 0 20px; font-weight: 650; }
.auth-card > p { color: var(--muted); font-size: .94rem; }
.auth-card .form-grid,
.auth-card-login .form-grid { max-width: none; margin: 28px 0; gap: 20px; }
.auth-card .btn[type="submit"],
.auth-card-login .btn[type="submit"] { width: 100%; }
.auth-card .eyebrow { margin: 0; }
.form-grid { gap: 20px; }
.form-grid label { font-size: .9rem; font-weight: 500; }
.form-grid :is(input, select, textarea) { display: block; margin-top: 7px; min-height: 46px; padding: 11px 13px; border-radius: 6px; border-color: var(--ww-field-border); font: inherit; background: var(--field-bg); }
.form-grid textarea { resize: vertical; line-height: 1.6; }
.form-grid input[type="checkbox"] { min-height: auto; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--primary); }
.form-grid :is(input, select, textarea):focus { outline: 2px solid var(--primary); outline-offset: 2px; box-shadow: none; border-color: var(--primary); }
.form-grid :is(small, .field-optional) { color: var(--muted); font-size: .78rem; font-weight: 400; }
.form-consent { font-weight: 400 !important; font-size: .82rem !important; line-height: 1.7; }
.flash { border-radius: 7px; margin-top: 18px; }
.auth-card .notice[role="status"] { background: var(--bg-soft); color: var(--ink); border-color: var(--line); border-left: 3px solid var(--primary); line-height: 1.65; }
[data-theme="dark"] .flash-success { background: #103b32; color: #b5f7e2; border-color: #337864; }
[data-theme="dark"] .flash-error { background: #3a1f2b; color: #ffd0d5; border-color: #87505f; }
@media (max-width: 900px) {
  main > .page-hero,
  main > :is(.school-pilot-pack, .school-demo) > .page-hero { gap: 32px; padding-block: 36px 24px; }
  .page-hero-copy h1 { font-size: clamp(2.1rem, 4.7vw, 3rem); }
  .split { gap: 24px; }
}
@media (max-width: 700px) {
  main > .page-hero,
  main > :is(.school-pilot-pack, .school-demo) > .page-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 32px 20px; }
  .page-hero-copy h1 { max-width: none; font-size: 2.35rem; margin-bottom: 20px; }
  .page-hero-copy > p:not(.eyebrow) { font-size: .96rem; }
  .page-hero-copy .hero-cta { align-items: stretch; }
  .page-hero-copy .hero-cta .btn { flex: 1 1 160px; padding-inline: 12px; font-size: .87rem; }
  main > .section,
  main > :is(.school-pilot-pack, .school-demo) > .section { padding-block: 24px 28px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .feature-grid, .cards, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid article, .course-card, .prose, .callout-card, .timeline article, .notice-card { padding: 22px; }
  .visual-stat-grid div { padding-inline: 11px; }
  .visual-stat-grid strong { font-size: .91rem; }
  .visual-stat-grid span { font-size: .71rem; }
  .auth-card { margin-block: 28px 40px; padding: 24px 21px; }
  .cta-strip { padding: 26px 22px; }
}
@media print {
  .page-hero-visual { display: none; }
  main > .page-hero { display: block; padding-block: 16px; }
  .section, main > .section { padding-block: 12px; }
  .prose, .callout-card, .auth-card { box-shadow: none; border-color: #bbb; }
}
