/* A calm, readable layer shared by the public site and guided app. */
:root { --gs-muted: #53655d; --gs-border: #dce3da; --gs-green-700: #285b46; --gs-shadow-soft: 0 8px 32px #183b2710; --gs-shadow-card: 0 4px 18px #183b2708; }
body { background: #f7f8f2; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #946526; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: white; border: 2px solid #285b46; }
.skip-link:focus { top: 12px; }
.site-header { background: #fcfcf8f5; backdrop-filter: blur(12px); }
.nav-container { width: min(1280px, calc(100% - 64px)); min-height: 88px; }
.brand-mark { border-radius: 50% 50% 14px 50%; background: #285b46; box-shadow: none; }
.brand-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 1.5rem; letter-spacing: -.04em; }
.brand-tagline { font-size: .72rem; letter-spacing: .03em; }
.nav-actions { gap: 30px; }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.nav-link[aria-current] { color: #214c3b; box-shadow: inset 0 -2px #285b46; }
.btn { min-height: 48px; padding: 12px 23px; border-radius: 10px; gap: 16px; font-size: .95rem; line-height: 1.4; }
.btn-primary { background: #285b46; box-shadow: none; }
.btn-primary:hover { background: #1d4534; box-shadow: 0 4px 12px #183b2720; }
.btn-secondary { background: #f0f3e9; color: #285b46; border-color: #dce3da; }
.eyebrow { font-size: .72rem; letter-spacing: .15em; margin-bottom: 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: #285b46; font-size: .9rem; font-weight: 700; gap: 8px; text-decoration: underline; text-decoration-color: #285b4633; text-underline-offset: 5px; }
.life-dashboard { max-width: 1280px; width: calc(100% - 64px); margin: 0 auto; padding: 38px 0 72px; }
.dashboard-topline, .welcome-row, .section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dashboard-topline { border-bottom: 1px solid var(--gs-border); padding-bottom: 14px; }
.dashboard-topline .eyebrow { margin: 0; }
.quiet-label { font-size: .8rem; color: var(--gs-muted); }
.preview-banner { margin: 18px 0 0; color: #59664c; font-size: .82rem; }
.welcome-row { padding: 32px 0 26px; }
.welcome-row h1, .setup-intro h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(2.35rem, 3.8vw, 3.65rem); line-height: 1.13; letter-spacing: -.045em; margin-bottom: 14px; }
.welcome-copy { color: var(--gs-muted); margin: 0; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; align-items: start; }
.next-step-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; overflow: hidden; min-height: 310px; padding: 32px; background: #e9efdf; border: 1px solid #dbe3ce; border-radius: 20px; }
.next-step-copy { position: relative; z-index: 1; }
.next-step-card h2 { max-width: 470px; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 400; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 12px; }
.next-step-card p:not(.eyebrow) { max-width: 480px; color: #4d614f; font-size: .95rem; margin-bottom: 22px; }
.card-footnote { display: block; margin-top: 12px; font-size: .76rem; color: #526249; }
.section-title-row { margin: 32px 0 16px; flex-wrap: wrap; gap: 6px; }
.section-title-row h2 { font-size: 1.12rem; font-weight: 600; margin: 0; letter-spacing: -.02em; }
.life-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.life-area-card { min-width: 0; display: flex; flex-direction: column; padding: 22px; background: #fffefa; border: 1px solid var(--gs-border); border-radius: 14px; }
.life-area-card.is-selected { border-color: #698267; background: #f0f4e9; }
.area-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.area-number { display: grid; place-items: center; width: 34px; height: 34px; background: #eef1e7; border-radius: 10px; color: #426049; font-size: .75rem; }
.area-status { font-size: .66rem; color: #58664e; }
.life-area-card h3 { font-size: 1.03rem; margin-bottom: 8px; }
.life-area-card p { color: var(--gs-muted); font-size: .85rem; line-height: 1.65; margin-bottom: 16px; }
.life-area-card .text-link { font-size: .78rem; margin-top: auto; }
.guide-card { padding: 28px; background: #254e3d; color: #fffef7; border-radius: 20px; }
.guide-symbol { font-size: 2.7rem; color: #d8dfba; line-height: 1.3; margin-bottom: 20px; }
.guide-card .eyebrow { color: #d8dfba; }
.guide-card h2, .gentle-note h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.guide-card p:not(.eyebrow) { color: #e1e9db; font-size: .9rem; }
.guide-details { border-top: 1px solid #ffffff40; margin-top: 24px; padding-top: 14px; }
.guide-details summary { cursor: pointer; font-size: .86rem; font-weight: 600; padding: 10px 0; }
.guide-details .text-link { color: #fff; text-decoration-color: #b5c6a6; }
.guide-details div { padding-top: 12px; }
.gentle-note { padding: 30px 18px; }
.gentle-note .eyebrow { display: block; color: #766037; }
.gentle-note h2 { font-size: 1.45rem; }
.gentle-note p { color: var(--gs-muted); font-size: .87rem; }
.growth-art { position: relative; align-self: stretch; min-height: 225px; }
.sun-circle { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #dbe5c6; top: 12px; left: 0; }
.stem { position: absolute; width: 5px; height: 140px; background: #54704a; bottom: 44px; left: 100px; transform: rotate(5deg); border-radius: 8px; }
.leaf { position: absolute; width: 70px; height: 40px; border-radius: 5px 70px 5px 70px; background: #66835a; }
.leaf-one { left: 35px; bottom: 140px; transform: rotate(8deg); }
.leaf-two { left: 100px; bottom: 170px; transform: rotate(100deg); background: #41654a; }
.leaf-three { left: 100px; bottom: 105px; transform: rotate(110deg); background: #7c945f; }
.plant-pot { position: absolute; width: 72px; height: 65px; bottom: 0; left: 64px; background: #be9871; border-radius: 3px 3px 26px 26px; transform: perspective(80px) rotateX(-8deg); }
.ground-line { position: absolute; width: 150px; height: 1px; background: #b4c3a1; bottom: 0; left: 25px; }
.setup-layout { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 64px 0 80px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.setup-intro { padding-top: 40px; }
.setup-intro h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.setup-intro > p:not(.eyebrow) { color: var(--gs-muted); max-width: 340px; }
.setup-promise { display: flex; gap: 18px; align-items: center; margin: 36px 0; }
.setup-promise > span { font-size: 2.4rem; color: #698267; }
.setup-promise p { margin: 0; font-size: .88rem; color: var(--gs-muted); }
.setup-promise strong { font-weight: 500; color: #254e3d; }
.setup-card { padding: clamp(24px, 3.3vw, 42px); border: 1px solid var(--gs-border); border-radius: 22px; background: #fffefa; box-shadow: var(--gs-shadow-soft); }
.setup-progress { margin-bottom: 32px; }
.setup-progress p { color: #53654b; font-size: .78rem; margin-bottom: 12px; }
progress { display: block; width: 100%; height: 6px; border: 0; border-radius: 6px; background: #e9edde; accent-color: #285b46; }
progress::-webkit-progress-bar { background: #e9edde; border-radius: 6px; }
progress::-webkit-progress-value { background: #285b46; border-radius: 6px; }
progress::-moz-progress-bar { background: #285b46; border-radius: 6px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-size: 1.65rem; line-height: 1.25; letter-spacing: -.035em; color: #173d2e; font-family: Georgia, 'Times New Roman', serif; }
.field-help { margin: 14px 0 24px; color: var(--gs-muted); font-size: .9rem; }
.form-row label { font-weight: 600; font-size: .9rem; }
.area-choices, .goal-choices { display: grid; gap: 10px; }
.area-choices { grid-template-columns: 1fr 1fr; }
.choice-card { display: flex; gap: 10px; align-items: flex-start; padding: 15px; border: 1px solid var(--gs-border); border-radius: 10px; cursor: pointer; background: #fff; }
.choice-card:has(input:checked) { border-color: #698267; background: #f0f4e9; }
.choice-card input { accent-color: #285b46; width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0 0; }
.choice-card strong { display: block; font-weight: 600; font-size: .85rem; }
.choice-card small { display: block; margin-top: 4px; color: var(--gs-muted); font-size: .75rem; line-height: 1.5; }
.wizard-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.session-note { color: #626a5d; font-size: .75rem; border-top: 1px solid var(--gs-border); margin: 10px 0 0; padding-top: 18px; }
.setup-review { margin-top: 20px; border-radius: 10px; padding: 16px; background: #eef1e7; font-size: .85rem; color: #38513f; }
.field-error { color: #9b3028; font-size: .85rem; margin: 12px 0 0; }
.auth-card h1, .dashboard-section h1 { line-height: 1.1; }
.site-footer { background: transparent; font-size: .78rem; padding: 24px; }
@media (max-width: 1100px) { .home-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; } .life-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .next-step-card { grid-template-columns: minmax(0, 1fr) 130px; } .growth-art { transform: scale(.8); transform-origin: bottom left; } .setup-layout { gap: 32px; } }
@media (max-width: 850px) { .home-columns { grid-template-columns: 1fr; } .guide-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .nav-actions { gap: 20px; } .setup-layout { grid-template-columns: 1fr; max-width: 640px; padding-top: 32px; } .setup-intro { padding: 0; } .setup-intro h1 br { display: none; } .setup-promise { display: none; } .setup-intro > p:not(.eyebrow) { max-width: none; } .welcome-row { align-items: flex-start; } }
@media (max-width: 680px) { .nav-container { width: calc(100% - 32px); gap: 16px; padding: 16px 0; } .nav-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 20px; overflow: visible; } .nav-actions .nav-link { display: inline-flex; font-size: .85rem; } .nav-actions .btn { width: auto; min-height: 44px; padding: 8px 16px; margin-left: auto; } .brand-tagline { font-size: .7rem; } .site-header { position: static; } .life-dashboard { width: calc(100% - 32px); padding-top: 24px; } .dashboard-topline .quiet-label { display: none; } .welcome-row { flex-direction: column; gap: 12px; padding: 24px 0; } .welcome-row h1 { font-size: 2.4rem; } .welcome-copy { font-size: .9rem; } .next-step-card { grid-template-columns: 1fr; padding: 24px; } .growth-art { display: none; } .next-step-card h2 { font-size: 1.9rem; } .next-step-card .btn { width: auto; } .life-area-grid { gap: 12px; } .life-area-card { padding: 16px; } .area-card-top { flex-direction: column; align-items: flex-start; margin-bottom: 18px; } .guide-column { grid-template-columns: 1fr; } .gentle-note { padding: 10px 8px; } .setup-layout { width: calc(100% - 32px); gap: 24px; } .area-choices { grid-template-columns: 1fr; } .setup-card { padding: 24px 20px; } .wizard-actions .btn { width: auto; flex: 1; } .hero-section h1 { font-size: 3.2rem; line-height: 1.05; } }
@media (max-width: 360px) { .life-area-grid { grid-template-columns: 1fr; } .nav-actions { gap: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.welcome-row h1, .setup-review { overflow-wrap: anywhere; }

.install-app-button { padding: 9px 14px; gap: 8px; white-space: nowrap; font-size: .85rem; }
.install-app-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; box-sizing: border-box; margin: auto; padding: 28px; border: 1px solid #dce3da; border-radius: 20px; background: #fffefa; color: #173b2d; box-shadow: 0 20px 70px #173b2d33; }
.install-app-dialog::backdrop { background: #142c2380; }
.install-app-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.install-app-heading .eyebrow { margin: 0; }
.install-app-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: #eef1e7; color: #285b46; font-size: 1.6rem; cursor: pointer; }
.install-app-icon { display: block; margin: 16px 0; border-radius: 16px; }
.install-app-dialog h2 { margin: 0 0 14px; font: 400 1.9rem/1.2 Georgia, serif; letter-spacing: -.03em; }
.install-app-dialog h3 { font-size: 1rem; margin: 22px 0 10px; }
.install-app-dialog ol { padding-left: 24px; }
.install-app-dialog li { margin-bottom: 10px; }
.install-app-dialog [data-install-status]:empty { display: none; }
.install-app-footnote { font-size: .85rem; color: #53655d; margin: 20px 0 0; }
@media (max-width: 640px) { .install-app-dialog { padding: 20px; } }

.story-video { display:block; width:100%; max-height:420px; background:#14271f; border-radius:16px; margin:1rem 0; }
.story-video[hidden] { display:none; }
.guide-chapters { display:flex; flex-wrap:wrap; gap:.65rem; margin:1rem 0 2rem; }
.guide-chapters a { padding:.6rem .85rem; border:1px solid #b8cabb; border-radius:12px; color:inherit; }
.guide-chapters a[aria-current] { background:#285b46; color:white; }
.guide-chapter { max-width:850px; margin:1rem auto; }
.guide-chapter[hidden] { display:none; }

.hosted-video { width:100%; }
.hosted-video>video,.hosted-video>iframe { display:block; border:0; width:100%; min-height:220px; aspect-ratio:16/9; max-height:520px; background:#172b24; }
.hosted-video>iframe { min-height:300px; }
.hosted-video>video { object-fit:contain; }
.hosted-video [hidden] { display:none!important; }
.hosted-video>.field-help,.hosted-video-source { margin:12px; display:block; }
