:root {
  color-scheme: light;
  --ink: #183a30;
  --ink-soft: #48665b;
  --cream: #faf8f0;
  --paper: #fffdf7;
  --leaf: #c9dc71;
  --orange: #e78955;
  --line: #dfe6d8;
  --muted: #718074;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.site-nav { position: relative; z-index: 5; border-bottom: 1px solid #e5e8db; background: rgb(250 248 240 / 95%); }
.nav-inner, .wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; background: var(--leaf); font-size: 20px; }
.brand-name { font: 600 23px var(--serif); letter-spacing: -.05em; }
.brand-name span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
/* English / العربية: a small two-option pill at the end of the top bar; on phones on the logo row. */
.nav-links { margin-inline-start: auto; }
.nav-language { display: inline-flex; flex: none; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 3px; white-space: nowrap; }
.nav-language a { display: inline-flex; min-height: 32px; align-items: center; border-radius: 999px; padding: 0 12px; color: var(--ink-soft); font-size: 12px; font-weight: 650; line-height: 1; text-decoration: none; }
.nav-language a:hover { color: var(--ink); }
.nav-language a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav-logout { display: inline-flex; margin: 0; }
.nav-logout button { border: 0; background: transparent; padding: 8px 0; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; min-height: 44px; }
.nav-logout button:focus-visible { outline: 3px solid #e78955; outline-offset: 3px; }
.nav-cta, .button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 999px; padding: 12px 21px; background: var(--ink); color: var(--paper); cursor: pointer; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s, background .2s; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); background: #355844; }
.button-accent { background: var(--orange); box-shadow: 0 10px 24px rgb(231 137 85 / 22%); }
.button-accent:hover { background: #d77949; }
.button-leaf { background: var(--leaf); color: var(--ink); }
.button-leaf:hover { background: #d6e78b; }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-outline { border: 1px solid #cfd9cc; background: transparent; color: var(--ink); }
.button-outline:hover { background: #f0f1e6; }
.flash-stack { width: min(760px, calc(100% - 40px)); margin: 18px auto 0; }
.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.container { width: min(800px, calc(100% - 48px)); margin-inline: auto; padding-inline: 24px; }
.btn { display: inline-block; min-height: 44px; border: 0; border-radius: 6px; padding: 12px 24px; cursor: pointer; font-size: 1rem; font-weight: 650; text-decoration: none; }
.btn-amber { background: var(--orange); color: #fff; }
.btn-outline { border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
.flash { border-radius: 8px; padding: .75rem 1rem; margin-bottom: 1rem; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-info { background: #e8eedc; color: #355844; }
.site-footer { border-top: 1px solid #e1e6db; background: #f2f2e7; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px; color: #718074; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-inner:has(.footer-legal) { flex-wrap: wrap; }
.footer-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: var(--ink-soft); }

.hero-grid { display: grid; min-height: 620px; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 46px; padding-block: 48px 70px; }
.hero-copy { position: relative; z-index: 1; padding-block: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 8px 14px; color: var(--ink-soft); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 { max-width: 680px; margin: 25px 0 0; font-size: clamp(3.4rem, 7.4vw, 6.2rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 em { color: #63804d; font-weight: 500; }
.hero-copy > p { max-width: 490px; margin: 24px 0 0; color: #526a5f; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 27px; color: #66796b; font-size: 12px; font-weight: 600; }
.hero-art { position: relative; min-height: 540px; }
.hero-photo { position: absolute; inset: 1% 0 4% 5%; overflow: hidden; border-radius: 46% 46% 34px 34px; background: #e9e6d8; box-shadow: 0 26px 70px rgb(54 67 49 / 15%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(24 58 48 / 23%), transparent 46%, rgb(255 244 212 / 10%)); content: ""; }
.photo-stamp { position: absolute; z-index: 1; top: 28px; inset-inline-end: 22px; border: 1px solid rgb(255 255 255 / 70%); border-radius: 999px; background: rgb(255 253 247 / 88%); padding: 8px 14px; color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.morning-card { position: absolute; bottom: 28px; inset-inline-start: -18px; z-index: 2; width: min(290px, 78%); border: 1px solid #e6e8dc; border-radius: 23px; background: var(--paper); padding: 19px; box-shadow: 0 18px 52px rgb(24 58 48 / 17%); }
.morning-card .kicker { color: #63804d; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.morning-card h2 { margin: 15px 0; font: 24px/1.15 var(--serif); }
.card-meter { display: flex; align-items: center; gap: 7px; color: #738274; font-size: 10px; }
.card-meter i { display: block; width: 42px; height: 6px; border-radius: 99px; background: var(--orange); }
.card-meter i:nth-child(2) { width: 30px; background: var(--leaf); }
.card-meter i:nth-child(3) { width: 20px; background: var(--line); }
.card-meter span { margin-inline-start: auto; }
.good-news-badge { position: absolute; top: 15%; inset-inline-end: -5px; display: grid; width: 82px; height: 82px; place-content: center; border-radius: 50%; background: var(--leaf); text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.stats-strip { border-block: 1px solid #e3e7d8; background: #f2f2e7; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 19px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { color: var(--orange); font: 27px var(--serif); }
.stat:nth-child(2) b { color: #63804d; }
.section { padding-block: 100px; }
.section-heading { max-width: 670px; margin: 0 auto 52px; text-align: center; }
.section-kicker { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2, .feature-copy h2 { margin: 13px 0 0; font-size: clamp(2.7rem, 5vw, 4.3rem); line-height: 1; }
.section-heading > p { max-width: 500px; margin: 17px auto 0; color: #62766a; font-size: 15px; line-height: 1.8; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card { border: 1px solid #e1e6db; border-radius: 25px; background: var(--paper); padding: 27px; }
.process-icon { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 16px; background: #e7eed0; font-size: 22px; }
.process-card:nth-child(2) .process-icon { background: #f7e6d8; }
.process-card:nth-child(3) .process-icon { background: #e5eee8; }
.process-card .step-no { float: right; float: inline-end; color: #b2bdac; font: italic 20px var(--serif); }
.process-card h3 { margin: 27px 0 9px; font: 25px/1.15 var(--serif); letter-spacing: -.03em; }
.process-card p { margin: 0; color: #65776a; font-size: 14px; line-height: 1.75; }
.feature-section { background: #e9eedf; padding-block: 94px; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.feature-copy h2 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.feature-copy h2 em { color: #63804d; }
.feature-copy > p { max-width: 445px; color: #536c5e; line-height: 1.8; }
.feature-note { display: inline-block; margin-top: 13px; border-radius: 99px; background: rgb(255 253 247 / 80%); padding: 9px 14px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.feature-card { border: 1px solid #d5dfd0; border-radius: 29px; background: var(--paper); padding: 27px; box-shadow: 0 18px 55px rgb(49 80 57 / 8%); }
.feature-card h3 { margin: 7px 0 0; font: 25px var(--serif); }
.feature-card > p { color: var(--muted); font-size: 13px; }
.topic-preview { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.topic-pill, .interest-pill { border: 1px solid var(--line); border-radius: 99px; background: var(--paper); padding: 8px 13px; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.topic-pill.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.interest-preview { border-radius: 18px; background: #f2f3e9; padding: 17px; }
.interest-preview h4 { margin: 0 0 11px; font: 19px var(--serif); }
.sample-section { padding-block: 100px; }
.sample-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 16px; }
.sample-intro { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 26px; background: var(--ink); padding: 30px; color: var(--paper); }
.sample-intro h3 { margin: auto 0 0; font: 38px/1.05 var(--serif); }
.sample-intro p { color: #d5e0d6; font-size: 13px; line-height: 1.8; }
.sample-list { border: 1px solid #e1e6db; border-radius: 26px; background: var(--paper); padding: 24px; }
.sample-list h3 { margin: 0; font: 22px var(--serif); }
.sample-list p { color: #879387; font-size: 12px; }
.landing-story { padding: 22px 0; border-bottom: 1px solid #e1e6db; }
.landing-story-category { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.landing-story h3 { font-size: 24px; line-height: 1.25; }
.landing-story p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; margin: 10px 0; }
.landing-story-source { color: var(--ink-soft); font-size: 11px; }
.sample-list > .button { margin-top: 22px; }
.story-empty { border-radius: 15px; background: #f2f3e9; padding: 22px; color: var(--ink-soft); }
.plans-section { background: #f0f1e6; padding-block: 94px; }
.plan-grid { display: grid; max-width: 880px; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 auto; }
.plan-card { display: flex; flex-direction: column; border: 1px solid #dce4d7; border-radius: 27px; background: var(--paper); padding: 30px; }
.plan-card.premium { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.plan-label { align-self: flex-start; border-radius: 99px; background: #f0f2e8; padding: 6px 11px; color: #637668; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.premium .plan-label { background: var(--leaf); color: var(--ink); }
.plan-card h3 { margin: 20px 0 0; font: 36px var(--serif); }
.plan-card > p { color: var(--muted); font-size: 13px; }
.premium > p { color: #d2dfd3; }
.plan-price { margin-top: 15px; font: 46px var(--serif); }
.plan-price small { color: var(--muted); font: 12px system-ui; }
.premium .plan-price small { color: #b6c7b8; }
.plan-card ul { flex: 1; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; }
.premium ul { color: #e3ebe1; }
.plan-card li { margin-block: 10px; }
.plan-card li::before { margin-inline-end: 9px; color: #63804d; content: "✓"; font-weight: 900; }
.premium li::before { color: var(--leaf); }
.faq-list { max-width: 760px; margin: auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px; font: 22px var(--serif); }
.faq-item p { margin: 0; color: #66796c; font-size: 14px; line-height: 1.8; }
.closing { margin-block: 0 88px; border-radius: 33px; background: var(--leaf); padding: 48px; }
.closing h2 { margin: 13px 0; font: clamp(40px, 5vw, 66px)/.99 var(--serif); letter-spacing: -.06em; }
.closing p { max-width: 470px; color: var(--ink-soft); font-size: 14px; }
.closing .button { margin-top: 12px; }

.form-page { width: min(880px, calc(100% - 40px)); margin: 52px auto 88px; }
.form-page.narrow { width: min(720px, calc(100% - 40px)); }
.form-heading { max-width: 680px; margin-bottom: 31px; }
.form-heading h1 { margin: 12px 0; font: clamp(39px, 6vw, 57px)/1.03 var(--serif); letter-spacing: -.055em; }
.form-heading p { max-width: 590px; color: #62766a; }
.form-card { border: 1px solid #e1e6db; border-radius: 25px; background: var(--paper); padding: clamp(20px, 4vw, 34px); box-shadow: 0 15px 45px rgb(49 80 57 / 5%); }
.form-section + .form-section { margin-top: 30px; padding-top: 25px; border-top: 1px solid #e8eadf; }
.form-section h2 { margin: 0 0 7px; font: 25px var(--serif); }
.form-section > p { margin: 0 0 16px; color: #748275; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.category-label { display: flex; min-height: 58px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: #fffefb; padding: 11px; cursor: pointer; transition: border-color .15s, background .15s; }
.category-label:hover, .category-label.checked { border-color: #82977b; background: #f0f3e8; }
.category-label input, .interest-label input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: #63804d; }
.category-label .emoji { font-size: 18px; }
.category-label span:last-child { font-size: 13px; font-weight: 650; }
.interest-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.interest-group { border-radius: 16px; background: #f3f4eb; padding: 15px; }
.interest-group h3 { margin: 0 0 9px; font-size: 13px; }
.interest-options { display: grid; gap: 5px; }
.interest-label { display: flex; align-items: flex-start; gap: 9px; padding: 6px 2px; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.selection-count { display: inline-flex; margin-top: 12px; border-radius: 99px; background: #e8eedc; padding: 6px 11px; color: #48665b; font-size: 11px; font-weight: 700; }
.helper-card { border: 1px solid #d5dfd0; border-radius: 20px; background: #fbfcf6; padding: 19px; }
.helper-card h3 { margin: 0; font: 21px var(--serif); }
.helper-card > p { color: #647669; font-size: 13px; }
.chat-log { display: grid; gap: 9px; margin-top: 14px; }
.chat-bubble { max-width: 90%; border-radius: 15px; background: #f1f2e9; padding: 10px 13px; color: var(--ink-soft); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble.mine { justify-self: end; background: var(--ink); color: var(--paper); }
.suggestion { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 14px; color: var(--ink-soft); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.suggestion button { margin-top: 11px; }
.suggest-form { display: flex; gap: 8px; margin-top: 12px; }
.suggest-form input, .field { width: 100%; min-height: 46px; border: 1px solid #d5dfd0; border-radius: 12px; background: #fffefb; padding: 10px 13px; color: var(--ink); }
.suggest-form input { min-width: 0; border-radius: 99px; padding-inline: 16px; }
.suggest-form .button { min-width: 48px; padding-inline: 14px; }
.custom-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.custom-chip { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; border-radius: 99px; background: #e8eedc; padding: 6px 7px 6px 12px; color: #355844; font-size: 12px; font-weight: 650; }
.custom-chip span { overflow-wrap: anywhere; }
.remove-custom { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: #d7e3c4; color: var(--ink); cursor: pointer; font-size: 17px; }
.custom-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.form-error { margin-top: 12px; color: #942f27; font-size: 13px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.form-footnote { margin-top: 14px; color: #879387; font-size: 11px; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.tier-option { display: block; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); padding: 18px; cursor: pointer; }
.tier-option:has(input:checked) { border-color: #63804d; box-shadow: 0 0 0 2px rgb(99 128 77 / 14%); }
.tier-option input { accent-color: #63804d; }
.tier-option h3 { margin: 8px 0 3px; font: 22px var(--serif); }
.tier-option p { margin: 0; color: var(--muted); font-size: 12px; }
.field-wrap { margin-top: 16px; }
.field-wrap label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: #52695c; font-size: 13px; }
.consent-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: #63804d; }
.confirmed-panel { text-align: center; }
.confirmed-icon { display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 17px; border-radius: 25px; background: var(--leaf); font-size: 35px; }
.confirmed-panel h1 { margin: 0; font: clamp(36px, 6vw, 52px) var(--serif); }
.confirmed-panel > p { max-width: 510px; margin: 12px auto; color: #5f7165; }
.confirmed-panel .button { margin-top: 16px; }
.preview-story { border-bottom: 1px solid #e8eadf; padding: 19px 0; }
.preview-story:last-child { border-bottom: 0; }
.preview-story h3 { margin: 5px 0; font: 23px/1.2 var(--serif); }
.preview-story p { color: #62766a; font-size: 14px; }
.source-link { display: inline-flex; align-items: center; gap: 5px; color: #63804d; font-size: 12px; font-weight: 700; }
.source-link:hover { color: var(--ink); }
.empty-state { border-radius: 17px; background: #f2f3e9; padding: 22px; color: var(--ink-soft); }

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 20px; }
  .hero-art { min-height: 450px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { gap: 12px; }
  .feature-grid { gap: 25px; }
}
@media (max-width: 650px) {
  .nav-inner, .wrap { width: min(100% - 32px, 600px); }
  .nav-inner { min-height: 66px; flex-wrap: wrap; padding-block: 10px; gap: 6px 12px; }
  .nav-links { gap: 14px; }
  .nav-links { flex-wrap: wrap; flex-basis: 100%; gap: 0 14px; }
  .nav-links a:not(.nav-cta) { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-language { order: 1; margin-inline-start: auto; }
  .nav-links { order: 2; margin-inline-start: 0; }
  .nav-cta { min-height: 40px; padding: 9px 14px; font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-block: 28px 45px; }
  .hero-copy { padding-top: 12px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-copy > p { font-size: 15px; }
  .hero-art { min-height: 390px; }
  .hero-photo { inset: 0 0 4% 8%; }
  .morning-card { bottom: 10px; inset-inline-start: 0; }
  .good-news-badge { inset-inline-end: -3px; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { min-height: 54px; }
  .stat + .stat { border-top: 1px solid var(--line); border-inline-start: 0; }
  .section, .sample-section { padding-block: 70px; }
  .section-heading { margin-bottom: 32px; }
  .process-grid, .feature-grid, .sample-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-section, .plans-section { padding-block: 70px; }
  .feature-grid { gap: 27px; }
  .closing { margin-bottom: 60px; padding: 30px 23px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 11px; }
  .form-page { margin-block: 34px 60px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .interest-groups { grid-template-columns: 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.nav-links a.nav-cta { color: #fffdf7; }
/* Tablets (651-1000 px): the signed-in menu has more links than fit beside the logo,
   so it wraps onto its own full-width row, each label on one line with a 44 px tap area. */
@media (max-width: 1000px) {
  .nav-inner { flex-wrap: wrap; padding-block: 10px; gap: 6px 12px; }
  .nav-links { flex-wrap: wrap; flex-basis: 100%; gap: 0 18px; }
  .nav-links a:not(.nav-cta) { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .nav-logout button { white-space: nowrap; }
  .nav-cta { min-height: 44px; }
}

/* Home page, signed in: the two ticks under the hero link to Preferences and Happy News. */
.hero-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero-trust a:hover { color: #183a30; }

/* Privacy and terms (draft legal pages) */
.legal-page { max-width: 720px; margin: 2.5rem auto; padding: 0 16px; line-height: 1.6; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin: 0 0 .5rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
.legal-page ul { padding-inline-start: 1.25rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-draft { background: #fef3c7; border: 1px solid #f59e0b; border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; color: #3f3a2e; }
.legal-draft p { margin: .4rem 0 0; }
.legal-updated { color: #6b7280; }
.legal-language { text-align: end; margin-bottom: 1rem; }
