:root {
  --atlas: #14324B; --ember: #EE6A3B; --sun: #F6B940; --pine: #2E6B57; --sky: #7FB7D9; --sand: #F7F0E4;
  --ink: #14324B; --muted: #4A5D6E; --accent: #B8461D; --border: #D9CFBF;
  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --sans: Figtree, system-ui, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: #8F3414; }
:focus-visible { outline: 2px solid var(--atlas); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }

/* Header */
.site-header { padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { height: 44px; width: auto; display: block; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 10px 18px; border: 1.5px solid var(--muted); border-radius: 999px; min-height: 44px; }
.pill-link:hover { color: var(--ink); background: #fff; }

/* Shared */
.eyebrow { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.section { padding: 80px 0; }
.section--white { background: #fff; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.section-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.015em; }
.lead { font-size: 18px; line-height: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 1px 0 var(--border), 0 12px 32px rgba(20, 50, 75, 0.08); }
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 16px; font-weight: 700; border: none; border-radius: 999px; padding: 14px 28px; min-height: 50px; cursor: pointer; text-decoration: none; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { color: #fff; background: #993816; }
.btn-primary:disabled { opacity: 0.7; cursor: wait; }
.btn-sun { color: var(--atlas); background: var(--sun); }
.btn-sun:hover { color: var(--atlas); background: #F8C766; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--sun); color: var(--atlas); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--atlas); }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.hero-title span { color: var(--accent); }
.hero-intro { font-size: 19px; line-height: 30px; max-width: 560px; }
.hero-art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 520px; height: auto; display: block; }

/* Form */
.waitlist { max-width: 560px; scroll-margin-top: 24px; }
.waitlist form { display: flex; flex-direction: column; gap: 16px; }
.form-title { font-family: var(--display); font-size: 24px; line-height: 30px; font-weight: 700; }
.form-intro { font-size: 15px; line-height: 22px; color: var(--muted); margin-top: 4px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--muted); border-radius: 8px; padding: 11px 14px; min-height: 46px; width: 100%; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #A3262A; }
.field-error { color: #A3262A; font-size: 14px; font-weight: 600; }
.field-error:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; }
.consent input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--accent); }
.fine-print { font-size: 13px; line-height: 19px; color: var(--muted); }
.form-error { background: #FBE7E7; color: #A3262A; border-radius: 8px; padding: 10px 12px; font-size: 15px; font-weight: 600; }
.form-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.success[hidden] { display: none; }
.success-icon { width: 48px; height: 48px; border-radius: 999px; background: var(--pine); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Offer cards */
.offer { background: var(--sand); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.offer-icon { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.offer-icon--pine { background: var(--pine); color: #fff; }
.offer-icon--sky { background: var(--sky); color: var(--atlas); }
.offer-icon--sun { background: var(--sun); color: var(--atlas); }
.card-title { font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 700; }
.note { margin-top: 32px; color: var(--muted); font-size: 16px; }

/* Age groups */
.age { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.age--sun { background: var(--sun); color: var(--atlas); }
.age--sky { background: var(--sky); color: var(--atlas); }
.age--pine { background: var(--pine); color: #fff; }
.age-num { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 800; }
.age h3, .promise h3 { font-size: 18px; line-height: 26px; font-weight: 700; }
.age p, .offer p { font-size: 16px; line-height: 25px; }

/* Promise */
.promise-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.promise-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.promise-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.promise { display: flex; flex-direction: column; gap: 10px; }
.promise p { font-size: 16px; line-height: 25px; color: var(--muted); }

/* Benefits */
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; background: var(--atlas); color: var(--sun); font-family: var(--display); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* Footer */
.site-footer { background: var(--atlas); color: var(--sand); position: relative; overflow: hidden; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.footer-sun { position: absolute; left: 50%; top: 0; width: 360px; height: 180px; margin-left: -180px; background: var(--sun); border-radius: 0 0 180px 180px; }
.footer-cta { position: relative; padding-top: 220px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-cta .section-title { color: var(--sand); }
.footer-cta p { font-size: 18px; line-height: 28px; max-width: 560px; }
.footer-cta .btn-sun { color: var(--atlas); }
.footer-bottom { position: relative; border-top: 1px solid #2C4A63; }
.footer-row { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { height: 40px; width: auto; display: block; align-self: flex-start; }
.footer-small { color: #B9C4CE; font-size: 15px; line-height: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 600; }
.copyright { padding-bottom: 32px; font-size: 13px; line-height: 19px; color: #B9C4CE; }
.site-footer--plain .footer-bottom { border-top: none; }

/* Privacy policy */
.policy { padding-top: 56px; padding-bottom: 88px; }
.policy article { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.policy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 12px; }
.policy h2 { font-family: var(--display); font-size: 28px; line-height: 34px; font-weight: 700; }
.policy h3 { font-size: 19px; line-height: 26px; font-weight: 700; }
.policy section { display: flex; flex-direction: column; gap: 14px; }
.policy ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.policy .summary { background: #fff; border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.policy .summary h2 { font-size: 22px; line-height: 28px; }
.basis { background: #fff; border-radius: 16px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.basis h3 { font-size: 18px; }
.basis p { font-size: 16px; line-height: 25px; }
.basis .legal { font-size: 15px; line-height: 22px; color: var(--muted); }
.basis .legal strong { color: var(--ink); }
.placeholder { background: var(--sun); padding: 0 6px; border-radius: 4px; }

/* Message pages (confirm / unsubscribe / 404) */
.msg-wrap { padding-top: 64px; padding-bottom: 96px; }
.msg-card { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.msg-title { font-family: var(--display); font-size: 30px; line-height: 36px; font-weight: 800; }
.msg-icon { width: 48px; height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.msg-icon--success { background: var(--pine); color: #fff; }
.msg-form { margin: 0; }

/* Phone field */
.phone-field { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.phone-field legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.phone-field .optional { font-weight: 400; color: var(--muted); }
.phone-field .optional[hidden] { display: none; }
.phone-row { display: flex; flex-wrap: wrap; gap: 8px; }
.phone-row select, .phone-row input { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--muted); border-radius: 8px; padding: 11px 14px; min-height: 46px; }
.phone-row select { flex: 1 1 170px; max-width: 100%; min-width: 0; }
.phone-row input { flex: 2 1 200px; min-width: 0; }
.phone-row [aria-invalid="true"] { border-color: #A3262A; }
.field-hint { font-size: 13px; line-height: 19px; color: var(--muted); }
#phone-consent-wrap[hidden] { display: none; }
