/* Shared with the approved Guided app: warm cream, sage and charcoal. */
:root {
  color-scheme: light;
  --bg: #F4F1EA; --surface: #FBF8F2; --ink: #1F2A24; --muted: #5C6660;
  --line: #E3DED2; --accent: #3F6E5C; --accent-hover: #2D5346;
  --mint: #E2EDE7; --lilac: #E2EDE7; --peach: #EFEBE0; --sky: #DDF2EE;
  --paper: #FFFFFF; --on-accent: #FFFFFF; --shadow: 0 20px 60px #1F2A2410;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #10141A; --surface: #1D232C; --ink: #ECEAE3; --muted: #A6ADA6;
  --line: #262D38; --accent: #6FAE97; --accent-hover: #A6D3C2;
  --mint: #1E2E2A; --lilac: #1E2E2A; --peach: #1D232C; --sky: #102824;
  --paper: #171C24; --on-accent: #10291F; --shadow: 0 20px 60px #0003;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
button svg, a svg { flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { line-height: 1.35; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; background: var(--bg); }
.nav { height: 96px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 700; line-height: 1; }
.brand img { width: 36px; height: 43px; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-inline-start: auto; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover, .text-link:hover { color: var(--accent); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-download { padding: 9px 20px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 700; }
.nav-download:hover { border-color: var(--accent); }
.icon-button { background: transparent; color: var(--muted); border: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-button:hover { background: var(--surface); }
.menu-toggle { display: none; }
.sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }
.hero { text-align: center; padding: 70px 0 0; overflow: hidden; }
.eyebrow { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 20px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 30px; margin-bottom: 24px; font-size: 12px; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(42px, 5.6vw, 70px); letter-spacing: -.035em; font-weight: 600; max-width: 850px; margin: 0 auto 23px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-description { max-width: 590px; margin: auto; font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; gap: 12px; justify-content: center; align-items: center; border-radius: 16px; padding: 14px 25px; font-size: 14px; font-weight: 700; line-height: 1.6; background: var(--accent); color: var(--on-accent); border: 1px solid transparent; transition: transform 180ms, background 180ms; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }

.text-link { display: inline-flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 700; }
.hero-note { margin-top: 16px; font-size: 12px; }
.device-stage { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 640px; margin: 55px auto 25px; max-width: 1000px; direction: ltr; }
.device-stage::before { content: ''; position: absolute; z-index: -1; width: 88%; height: 330px; bottom: 15px; border-radius: 50%; background: var(--mint); }
.phone { width: 252px; flex-shrink: 0; padding: 7px; background: #242925; border: 2px solid #6e756f; border-radius: 39px; box-shadow: 0 30px 45px #1c302724, inset 0 0 0 1px #111; overflow: hidden; }
.phone img { width: 100%; height: auto; border-radius: 30px; }
.phone-center { width: 282px; position: relative; z-index: 3; transform: translateY(-20px); }
.phone-left { transform: rotate(-9deg) translate(20px,-12px); }
.phone-right { transform: rotate(9deg) translate(-20px,-12px); }
.device-caption { text-align: center; font-size: 11px; color: var(--muted); margin: 12px 0 36px; }
.trust-row { display: flex; justify-content: center; gap: 64px; padding: 30px 0 40px; font-size: 14px; font-weight: 600; }
.trust-row span { display: flex; align-items: center; gap: 10px; }
.trust-row svg { color: var(--accent); }
.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { text-align: center; max-width: 730px; margin: 0 auto 62px; }
.section-heading h2 { font-size: clamp(30px, 3.5vw, 43px); letter-spacing: -.025em; }
.section-heading p { margin-top: 18px; font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: start; }
.step { background: var(--paper); padding: 30px; border-radius: 24px; border: 1px solid var(--line); }
.step-art { height: 72px; display: flex; justify-content: flex-start; align-items: center; position: relative; margin-bottom: 20px; }
.step-art::before { content: ''; width: 72px; height: 72px; position: absolute; background: var(--mint); border-radius: 20px; }
.step:nth-child(2) .step-art::before { background: var(--lilac); }
.step:nth-child(3) .step-art::before { background: var(--peach); }
.step-art svg { position: relative; color: var(--ink); width: 36px; height: 36px; margin-inline: 18px; stroke-width: 1.5; }

.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.9; }
.step-number { display: inline-grid; place-items: center; background: var(--mint); color: var(--accent); width: 28px; height: 28px; border-radius: 50%; font-size: 12px; margin-inline-end: 7px; vertical-align: middle; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.feature-copy h2 { font-size: clamp(32px, 3.8vw, 45px); letter-spacing: -.025em; margin-bottom: 24px; }
.feature-copy > p { font-size: 18px; line-height: 1.95; }
.feature-copy .small-copy { margin-top: 23px; font-size: 13px; line-height: 1.9; }
.feature-copy .text-link { margin-top: 27px; color: var(--accent); }
.feature-art { position: relative; min-height: 560px; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.feature-art::before { content: ''; position: absolute; z-index: -1; width: 440px; height: 440px; max-width: 100%; background: var(--lilac); border-radius: 50%; }
.feature-art .phone { width: 235px; transform: rotate(-7deg); }
.feature-art .phone img { border-radius: 29px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-art { order: 1; }
.note-card { position: absolute; left: -5px; bottom: 80px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: 17px 22px; transform: rotate(5deg); font-size: 13px; min-width: 170px; z-index: 2; }
.note-card strong { display: block; font-size: 15px; margin-bottom: 9px; }
.choice-line { display: flex; gap: 9px; }
.choice-line span { border-radius: 6px; padding: 3px 19px; background: var(--surface); }
.choice-line .selected { background: var(--mint); color: var(--accent); }
.art-caption { position: absolute; bottom: 0; font-size: 11px; color: var(--muted); }
.detail-list { padding: 0; list-style: none; margin: 25px 0 0; }
.detail-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--muted); margin: 13px 0; }
.detail-list svg { color: var(--accent); flex-shrink: 0; margin-top: 5px; }
.report-art::before { background: var(--peach); }
.report-sheet { background: var(--paper); border: 1px solid var(--line); padding: 30px; border-radius: 12px; width: 300px; box-shadow: var(--shadow); min-height: 370px; position: relative; }
.report-sheet.back { position: absolute; transform: rotate(-10deg) translate(-35px,-15px); color: var(--muted); }
.report-sheet.front { transform: rotate(5deg) translate(25px,32px); }
.report-brand { display: flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 700; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-brand img { width: 22px; height: 27px; }
.report-sheet h3 { font-size: 21px; margin-top: 20px; }
.report-sheet p { font-size: 11px; margin-bottom: 20px; }
.report-line { height: 6px; border-radius: 4px; background: var(--line); margin: 12px 0; }
.report-line.short { width: 65%; }
.report-item { display: flex; justify-content: space-between; font-size: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report-item b { font-weight: 600; color: var(--accent); }
.report-languages { position: absolute; bottom: 42px; left: 0; background: var(--ink); color: var(--bg); padding: 9px 18px; border-radius: 8px; font-size: 12px; z-index: 2; transform: rotate(-5deg); }
.share-art::before { background: var(--sky); }
.share-art .phone { transform: rotate(7deg); }
.code-card { left: auto; right: -5px; bottom: 95px; transform: rotate(-6deg); }
.code-dots { display: flex; gap: 7px; justify-content: center; padding: 5px; direction: ltr; }
.code-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.privacy-section { background: var(--surface); }
.privacy-intro { max-width: 650px; text-align: center; margin: auto; }
.privacy-symbol { display: grid; place-items: center; width: 94px; height: 94px; margin: 0 auto 30px; border-radius: 29px; color: var(--accent); background: var(--mint); transform: rotate(-7deg); }
.privacy-symbol svg { width: 45px; height: 45px; transform: rotate(7deg); stroke-width: 1.5; }
.privacy-intro h2 { font-size: clamp(32px, 4vw, 47px); margin-bottom: 22px; }
.privacy-intro p { font-size: 18px; }
.privacy-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px 30px; margin: 28px 0; font-size: 14px; font-weight: 600; }
.privacy-points span { display: flex; align-items: center; gap: 7px; }
.privacy-points svg { color: var(--accent); }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 58px; }
.extra-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--mint); color: var(--accent); margin-bottom: 20px; }
.extra:nth-child(2) .extra-icon { background: var(--lilac); }
.extra:nth-child(3) .extra-icon { background: var(--peach); }
.extra h3 { font-size: 19px; margin-bottom: 12px; }
.extra p { font-size: 15px; }
.clinician-note { border-top: 1px solid var(--line); margin-top: 65px; padding-top: 35px; text-align: center; }
.clinician-note strong { font-size: 18px; font-weight: 600; }
.clinician-note p { font-size: 13px; margin: 10px auto 0; max-width: 700px; }
.clinician-note a { text-decoration: underline; text-underline-offset: 4px; }
.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-intro h2 { font-size: 40px; margin-bottom: 20px; }
.faq-intro p { font-size: 16px; }
.faq-intro .text-link { margin-top: 22px; color: var(--accent); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; position: relative; padding: 22px 0 22px 35px; cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; left: 3px; top: 20px; font-size: 23px; color: var(--accent); font-weight: 400; }
.faq[open] summary::after { content: '−'; }
.faq-body { font-size: 14px; color: var(--muted); line-height: 1.95; padding: 0 0 24px 20px; }
.faq-body a { color: var(--accent); text-decoration: underline; }
.download-section { text-align: center; padding: 100px 0; }
.app-icon { border-radius: 24px; width: 92px; height: 92px; margin: 0 auto 28px; box-shadow: 0 8px 25px #243c281a; }
.download-section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.download-section p { max-width: 590px; margin: 0 auto 27px; font-size: 17px; }
.download-section .download-fine { font-size: 12px; max-width: 560px; margin: 18px auto 0; }
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 30px; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer-brand p { margin-top: 15px; font-size: 12px; max-width: 300px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; max-width: 600px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); gap: 20px; }
@media (max-width: 1000px) {
  .feature-row, .faq-layout { gap: 45px; }
  .feature-art::before { width: 360px; height: 360px; }
  .note-card { left: -10px; padding: 13px 17px; }
  .code-card { right: -10px; left: auto; }
  .steps { gap: 32px; }
  .extras { gap: 35px; }
  .nav { gap: 20px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 28px; }
  .wrap { width: calc(100% - 40px); }
  .nav { height: 80px; gap: 14px; }
  .brand { font-size: 24px; }
  .brand img { width: 30px; height: 36px; }
  .nav-actions { margin-inline-start: auto; gap: 2px; }
  .nav-download { font-size: 11px; padding: 8px 13px; }
  .nav-links { display: none; position: absolute; top: 80px; left: 20px; right: 20px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); border-radius: 12px; padding: 22px; z-index: 10; }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 10px; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 43px; margin-bottom: 20px; }
  .hero-description { font-size: 16px; max-width: 460px; }
  .hero-actions { gap: 18px; }
  .button { padding: 13px 20px; font-size: 13px; }
  .hero-note { font-size: 11px; }
  .device-stage { height: 480px; width: 650px; max-width: none; margin: 35px calc((100% - 650px) / 2) 15px; direction: ltr; }
  .device-stage::before { width: 540px; height: 220px; }
  .phone { width: 183px; padding: 5px; border-radius: 28px; }
  .phone img { border-radius: 21px; }
  .phone-center { width: 213px; }
  .phone-left { transform: rotate(-10deg) translate(30px,-14px); }
  .phone-right { transform: rotate(10deg) translate(-30px,-14px); }
  .device-caption { max-width: 290px; margin: 12px auto 26px; }
  .trust-row { gap: 22px; font-size: 11px; padding: 23px 0 30px; }
  .trust-row span { gap: 6px; }
  .trust-row svg { width: 16px; height: 16px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p { font-size: 15px; }
  .steps { gap: 18px; }
  .step-art { height: 64px; }
  .step-art::before { width: 64px; height: 64px; }
  .step-art svg { width: 32px; height: 32px; margin-inline: 16px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 13px; }
  .feature-row, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .feature-copy, .feature-row.reverse .feature-copy { order: 0; max-width: 520px; margin: auto; width: 100%; }
  .feature-row.reverse .feature-art { order: 1; }
  .feature-copy h2 { font-size: 35px; }
  .feature-copy > p { font-size: 16px; }
  .feature-art { min-height: 550px; max-width: 450px; width: 100%; margin: auto; }
  .feature-art .phone { width: 224px; padding: 7px; border-radius: 36px; }
  .feature-art::before { width: 380px; height: 380px; }
  .note-card { left: 5px; }
  .code-card { right: 5px; left: auto; }
  .privacy-intro p { font-size: 16px; }
  .extras { gap: 30px; }
  .extra h3 { font-size: 17px; }
  .extra p { font-size: 13px; }
  .faq-intro h2 { font-size: 34px; }
  .footer-main { flex-direction: column; gap: 28px; }
  .footer-links { justify-content: flex-start; }
  .download-section { padding: 75px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; gap: 15px; }
  .hero-description { font-size: 15px; }
  .hero-note { margin-top: 14px; }
  .trust-row { gap: 12px; flex-wrap: wrap; }
  .trust-row span { font-size: 11px; }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 310px; margin: auto; }
  .step-art { height: 64px; margin-bottom: 18px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 15px; }
  .feature-copy h2 { font-size: 32px; }
  .feature-art { min-height: 530px; }
  .note-card { min-width: 150px; left: 0; padding: 13px; }
  .code-card { left: auto; right: 0; }
  .report-sheet { width: 255px; max-width: calc(100% - 45px); padding: 24px; min-height: 350px; }
  .report-sheet.back { transform: rotate(-8deg) translate(-15px,-15px); }
  .report-sheet.front { transform: rotate(5deg) translate(12px,25px); }
  .report-languages { bottom: 48px; }
  .extras { grid-template-columns: 1fr; gap: 35px; }
  .extra { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .extra-icon { grid-row: span 2; margin: 0; }
  .extra h3 { margin-bottom: 7px; }
  .extra p { font-size: 14px; }
  .faq summary { font-size: 15px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.brand-mark-dark, .screen-dark { display: none; }
[data-theme="dark"] .brand-mark-light, [data-theme="dark"] .screen-light { display: none; }
[data-theme="dark"] .brand-mark-dark, [data-theme="dark"] .screen-dark { display: block; }
.nav-download { min-height: 44px; display: inline-flex; align-items: center; border-radius: 14px; }
.nav-actions .icon-button { flex: 0 0 44px; }
.sharing-preview { width: min(350px, 100%); padding: 28px; border-radius: 28px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(3deg); }
.sharing-heading { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 24px; }
.sharing-document { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 24px; }
.sharing-label { display: block; margin-bottom: 20px; font-size: 15px; font-weight: 700; }
.sharing-line { display: block; height: 6px; border-radius: 4px; background: var(--line); margin: 12px 0; }
.sharing-line.short { width: 65%; }
.sharing-part { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.sharing-part strong { display: block; font-size: 15px; }
.sharing-part span:not(.sharing-step) { display: block; color: var(--muted); font-size: 13px; }
.sharing-step { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--accent); }
.sharing-part .code-dots { justify-content: flex-start; padding: 12px 0 0; }
@media (max-width: 760px) {
  .step { padding: 24px; }
  .step h3 { font-size: 19px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .hero .device-stage { height: 570px; }
  .hero .phone-center { width: 250px; }
  .hero .phone-left, .hero .phone-right { opacity: .5; width: 165px; }
  .sharing-preview { width: min(320px, calc(100% - 14px)); padding: 24px; }
}
@media (max-width: 359px) {
  .nav-download { display: none; }
}
