:root {
    color-scheme: light;
    --ink: #2f3747;
    --muted: #59636e;
    --green: #4f9665;
    --green-soft: #e5f2e8;
    --blue: #5c6fdb;
    --yellow: #ffc857;
    --paper: #f6f4f1;
    --line: #ded8ce;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: #385dba; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
img { max-width: 100%; }
.shell { width: min(100% - 40px, 1120px); margin-inline: auto; }
.skip-link { position: absolute; inset: -100px auto auto 16px; z-index: 10; padding: 8px 14px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 16px 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--green-soft); border-radius: 50%; }
.brand-mark img { width: 35px; height: 35px; object-fit: contain; }
.brand-wordmark { display: flex; font-size: 1.56rem; line-height: 1; font-weight: 850; letter-spacing: -.055em; }
.brand-wordmark span:nth-child(1) { color: var(--green); }
.brand-wordmark span:nth-child(2) { color: var(--blue); }
.brand-wordmark span:nth-child(3) { color: #c28e24; }
.primary-nav, .language-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.primary-nav a, .language-nav a { color: var(--ink); font-size: .93rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.language-nav { gap: 4px; border-left: 1px solid var(--line); padding-left: 18px; }
.language-nav a { padding: 5px 8px; border-radius: 8px; font-size: .77rem; }
.language-nav a[aria-current] { color: #245638; background: var(--green-soft); }
.document { max-width: 900px; background: white; margin-block: 34px 55px; padding: clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 44px #2f374709; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; }
.document h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 12px; }
.document h2 { font-size: 1.4rem; margin: 38px 0 10px; }
p { max-width: 72ch; margin: 0 0 17px; }
.lede { font-size: 1.12rem; color: #405264; }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: 30px; }
.callout { background: #edf5ef; border-left: 4px solid var(--green); padding: 18px 20px; border-radius: 0 12px 12px 0; margin-block: 24px; }
.callout p:last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 26px 0 34px; color: var(--muted); font-size: .87rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; }
.site-footer a { color: #42588e; }

/* Public landing and local design prototypes use the product's existing palette. */
.landing { overflow: hidden; }
.landing .shell { width: min(100% - 40px, 1120px); }
.prototype-strip { background: #e4e8ff; color: #324484; font-size: .82rem; font-weight: 700; text-align: center; padding: 8px 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .77rem; font-weight: 850; color: #337549; }
.display { font-size: clamp(2.7rem, 5.9vw, 5.5rem); line-height: 1.06; letter-spacing: -.065em; max-width: 12ch; margin: 14px 0 24px; }
.landing p { color: #46515e; }
.landing .lead { font-size: clamp(1.08rem, 1.9vw, 1.3rem); line-height: 1.6; max-width: 55ch; }
.landing h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin: 0 0 18px; }
.landing h3 { font-size: 1.24rem; margin: 0 0 10px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; text-decoration: none; }
.button-primary { color: white; background: #397c4f; }
.button-primary:hover { background: #27643a; }
.button-secondary { color: var(--ink); background: white; border-color: #c9d8cd; }
.button-secondary:hover { border-color: var(--green); }
.landing-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.landing-section { padding-block: clamp(62px, 9vw, 112px); }
.landing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 6vw, 72px); align-items: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.feature-card { background: white; border: 1px solid #e3e0da; border-radius: 22px; padding: 28px; box-shadow: 0 16px 36px #2f374709; }
.feature-number { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--green-soft); color: #27643a; border-radius: 12px; font-weight: 800; margin-bottom: 18px; }
.landing-cta { text-align: center; background: #e5f2e8; padding-block: clamp(56px, 8vw, 86px); }
.landing-cta h2, .landing-cta p { margin-inline: auto; }
.landing-cta .button-row { justify-content: center; }
.mockup { background: #fff; border: 1px solid #e4e0d8; border-radius: 26px; box-shadow: 0 24px 70px #2f37471d; padding: 18px; max-width: 440px; margin-inline: auto; transform: rotate(2deg); }
.mockup-header { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 18px; font-size: .87rem; color: var(--muted); }
.mockup-title { font-size: 1.52rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.mockup-card { display: flex; align-items: flex-start; gap: 12px; background: #f8f8f5; border-radius: 16px; padding: 14px; margin: 10px 0; }
.mockup-card span:first-child { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 10px; background: var(--green-soft); color: #337549; font-weight: 800; }
.mockup-card strong { display: block; line-height: 1.3; }
.mockup-card small { display: block; color: var(--muted); margin-top: 3px; }
.mockup-bottom { display: flex; gap: 8px; margin-top: 17px; }
.mockup-bottom span { flex: 1; text-align: center; background: #f0f2ff; color: #3e50ad; border-radius: 9px; padding: 8px 4px; font-size: .78rem; font-weight: 750; }

.story-hero { background: radial-gradient(circle at 76% 20%, #fff6dd, transparent 31%), #f7f2e9; padding-block: clamp(74px, 10vw, 130px); }
.story-hero .display em { font-style: normal; color: #397c4f; }
.story-visual { position: relative; padding: 40px 24px; }
.story-visual::before { content: ""; position: absolute; inset: 0; border-radius: 45% 55% 52% 48%; background: #e6f0e4; transform: rotate(-8deg); }
.story-visual .mockup { position: relative; }
.story-steps { background: #fff; }
.story-steps .intro { max-width: 600px; }
.story-steps .feature-card:nth-child(2) { transform: translateY(18px); }

.product-hero { background: linear-gradient(145deg, #e7ebff 0%, #f7f7f2 55%, #e9f3e7 100%); padding-block: clamp(70px, 9vw, 112px); }
.product-hero .display { color: #313e8c; max-width: 16ch; font-size: clamp(2.7rem, 4.5vw, 4.4rem); }
.product-hero .mockup { transform: rotate(-2deg); }
.product-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product-badges span { padding: 7px 12px; border-radius: 99px; background: #fff; border: 1px solid #d9dfef; color: #3f4b66; font-size: .83rem; font-weight: 700; }
.product-features { background: #fff; }
.product-features .feature-card { background: #fbfaf8; }
.product-how { background: #f7f9f7; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.how-step { border-top: 2px solid #a9cdb2; padding-top: 24px; }
.how-step-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--green-soft); color: #27643a; font-weight: 850; }
.how-step p { margin-bottom: 0; }
.product-screens { background: #fff; }
.section-intro { font-size: 1.08rem; }
.screen-swipe-hint { display: none; color: var(--muted); font-size: .88rem; }
.screen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px; margin-top: 34px; }
.screen-grid:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 8px; }
.screen-card { display: flex; flex-direction: column; margin: 0; padding: 12px 12px 20px; background: #f8f6f2; border: 1px solid #e5e0d7; border-radius: 25px; }
.screen-card img { display: block; width: 100%; height: auto; border-radius: 17px; }
.screen-card figcaption { display: grid; gap: 4px; padding: 15px 7px 0; margin-top: auto; }
.screen-card figcaption strong { font-size: 1.1rem; }
.screen-card figcaption span { color: var(--muted); font-size: .92rem; }
.product-scenario { background: #ecf4e9; }
.scenario-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 90px); align-items: center; }
.scenario-list { margin: 0; padding: 0; list-style: none; }
.scenario-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; margin-block: 10px; background: #fff; border: 1px solid #d8e5d9; border-radius: 16px; }
.scenario-number { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #27643a; background: var(--green-soft); font-size: .85rem; font-weight: 800; }
.family-story { background: #fcf8f0; border-block: 1px solid #ebe5d9; }
.family-story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 92px); align-items: center; }
.family-story-photo { margin: 0; }
.family-story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 47%; border-radius: 28px; box-shadow: 0 28px 55px #352d231f; }
.family-story-copy { max-width: 60ch; }
.family-story-copy .eyebrow { margin-bottom: 13px; }
.family-story-copy h2 { max-width: 13ch; }
.family-story-copy p:not(.eyebrow) { font-size: clamp(1rem, 1.6vw, 1.14rem); line-height: 1.75; }
.product-faq { background: #fff; }
.faq-shell { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 750; font-size: 1.08rem; }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.faq-item p { padding: 0 32px 16px 0; margin: 0; }
.alpha-signup { max-width: 640px; }
.alpha-signup .eyebrow { margin-inline: auto; }
.alpha-form { display: grid; gap: 10px; max-width: 490px; margin: 28px auto 0; text-align: left; }
.alpha-form > label:not(.check-label) { font-weight: 750; }
.alpha-form input[type="email"], .alpha-form input[type="text"] { width: 100%; min-height: 48px; border: 1px solid #aab6b0; border-radius: 10px; padding: 10px 13px; background: #fff; color: var(--ink); font: inherit; }
.alpha-form input:focus-visible, .alpha-form button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.alpha-form .check-label { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.45; }
.alpha-form .check-label input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alpha-form .button { cursor: pointer; font: inherit; margin-top: 8px; }
.alpha-form .form-error { color: #a12424; font-size: .88rem; }
.alpha-small { font-size: .85rem; color: var(--muted); margin: 20px auto 0; }
.alpha-document-form { margin: 22px 0 36px; }

.minimal-hero { text-align: center; background: #f9f8f4; padding-block: clamp(70px, 10vw, 128px); }
.minimal-hero .display { max-width: 15ch; margin-inline: auto; }
.minimal-hero .lead { margin-inline: auto; }
.minimal-hero .button-row { justify-content: center; }
.minimal-hero .hero-symbol { display: grid; place-items: center; width: 110px; height: 110px; background: var(--green-soft); border-radius: 50%; margin: 0 auto 28px; }
.minimal-hero .hero-symbol img { width: 88px; height: 88px; }
.minimal-benefits { background: white; border-block: 1px solid #e8e4db; }
.minimal-benefits .feature-grid { margin-top: 0; }
.minimal-benefits .feature-card { box-shadow: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 10px 30px; }
.minimal-benefits .feature-card:first-child { border-left: 0; }
.minimal-quote { text-align: center; padding-block: clamp(52px, 8vw, 92px); }
.minimal-quote blockquote { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; font-weight: 720; max-width: 28ch; margin: auto; }
.minimal-quote .eyebrow { margin-top: 20px; }

.prototype-index h1 { margin-bottom: 10px; }
.prototype-index .feature-grid { margin-block: 28px; }
.prototype-index .feature-card { display: flex; flex-direction: column; }
.prototype-index .feature-card a { margin-top: auto; font-weight: 750; }

@media (max-width: 820px) {
    .landing-grid { grid-template-columns: 1fr; }
    .family-story-grid { grid-template-columns: 1fr; }
    .family-story-photo { max-width: 540px; }
    .how-grid { grid-template-columns: 1fr; }
    .screen-swipe-hint { display: block; margin: 18px 0 0; }
    .screen-grid { display: flex; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 18px; }
    .screen-card { flex: 0 0 82%; scroll-snap-align: start; }
    .scenario-grid { grid-template-columns: 1fr; }
    .story-visual { max-width: 540px; margin-inline: auto; }
    .feature-grid { grid-template-columns: 1fr; }
    .story-steps .feature-card:nth-child(2) { transform: none; }
    .minimal-benefits .feature-card { border: 0; border-top: 1px solid var(--line); padding: 18px 6px; }
    .minimal-benefits .feature-card:first-child { border-top: 0; }
}
@media (max-width: 600px) {
    .header-inner { flex-wrap: wrap; padding-block: 10px; gap: 8px 14px; }
    .primary-nav { order: 3; flex: 0 0 100%; justify-content: center; padding-bottom: 5px; }
    .language-nav { order: 2; margin-left: auto; border-left: 0; padding-left: 0; }
    .document { margin-block: 18px 35px; }
    .button-row .button { width: 100%; }
    .mockup { transform: none; }
    .product-hero .mockup { transform: none; }
}
