/* oswen.ai: the same visual language as the Oswen app (app/lib/core/constants/app_colors.dart, calm_type.dart).
   Cream is the home. Navy is the intelligence. Sunshine is Oswen. Sky is action/conversation. Peach is people. Sage is done.
   No gradients, no heavy shadows, no decorative motion. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-500-latinext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-600-latinext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Inter (SIL OFL 1.1): the web interface face, as SF Pro is in the iOS app (design/typography.json) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-var-latinext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #FBF8F3; --card: #FFFFFF; --ink: #24344A; --ink-2: #5E6470; --ink-3: #736D66;
  --sun: #F6C85F; --sun-soft: #FCEBC2; --sky: #2F6E99; --sky-pale: #E6F2FA; --sage: #3F7A3D; --peach: #A65A33; --peach-soft: #FBE3D6;
  --line: #ECE6DC; --hair: #F1ECE4; --focus: #2F6E99;
  --serif: var(--font-serif); --sans: var(--font-sans);   /* from type.css, generated from design/typography.json */
  --wrap: 1120px; --gutter: clamp(20px, 5vw, 40px); --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --cream: #1A1714; --card: #231F1B; --ink: #F4EEE5; --ink-2: #C9C0B4; --ink-3: #A99F92;
    --sun: #F6C85F; --sun-soft: #3A3122; --sky: #8EC5E8; --sky-pale: #1F2A33; --sage: #8CC487; --peach: #E3A07A; --peach-soft: #3A2A22;
    --line: #34302B; --hair: #2B2723; --focus: #8EC5E8; color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }
.fine { font-size: 13px; color: var(--ink-3); }

/* type */
h1, h2, h3, .display { font-family: var(--serif); font-weight: var(--type-display-weight); letter-spacing: var(--type-display-tracking); line-height: var(--type-display-line); margin: 0; text-wrap: balance; }
h1 { font-size: var(--type-display-size); }
h2 { font-size: var(--type-headline-size); line-height: var(--type-headline-line); }
h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.label { font-size: var(--type-label-size); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--ink-3); font-weight: var(--type-label-weight); }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }

[hidden] { display: none !important; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--hair); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.wordmark { font-family: var(--type-wordmark-family); font-weight: var(--type-wordmark-weight); font-size: var(--type-wordmark-size); letter-spacing: var(--type-wordmark-tracking); color: var(--ink); text-decoration: none; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; opacity: 0.82; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }
.bar .btn-small { margin-left: auto; }
@media (min-width: 920px) { .nav { display: flex; } .bar .btn-small { margin-left: 8px; } }
/* small screens: one quiet menu beside the call to action */
.bar { position: relative; }
.bar { gap: 14px; }
@media (min-width: 920px) { .bar { gap: 28px; } }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; content: ""; }
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-links { position: absolute; right: 0; left: 0; top: 100%; display: grid; padding: 8px var(--gutter) 18px; background: var(--cream);
  border-bottom: 1px solid var(--hair); }
.menu-links a { color: var(--ink); text-decoration: none; font-size: 19px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.menu-links a:last-child { border-bottom: 0; }
@media (min-width: 920px) { .menu { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--cream)); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink-3); text-decoration: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* sections */
section { padding-block: clamp(72px, 11vw, 140px); }
section + section { border-top: 1px solid var(--hair); }
.hero { padding-top: clamp(56px, 9vw, 112px); }
.hero .oswen { width: 72px; height: 72px; border-radius: 50%; }
.hero h1 { margin-top: 28px; max-width: 11.5em; }
.hero .lede { margin-top: 28px; }
.hero .actions { margin-top: 40px; }
.hero .availability { margin-top: 20px; font-size: 15px; color: var(--ink-3); }

/* section 2: one sentence of a home */
.home-words { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 54px); line-height: 1.22; letter-spacing: -0.01em; max-width: 20em; }
.home-words span { white-space: nowrap; }
.home-words .dot { color: var(--sun); }

/* section 3: questions */
.questions { list-style: none; padding: 0; margin-bottom: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .questions { grid-template-columns: 1fr 1fr; gap: 16px 20px; } }
.questions li { background: var(--sky-pale); color: var(--ink); border-radius: 18px 18px 18px 6px; padding: 16px 20px; font-size: 18px; }

/* section 4: one notice */
.notice { margin-inline: 0; margin-bottom: 0; background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); max-width: 560px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.notice img { width: 48px; height: 48px; border-radius: 50%; }
.notice .label { color: var(--peach); }
.notice p.say { font-family: var(--serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.25; margin-top: 6px; }

/* section 5: ask · show · talk */
.three { display: grid; gap: 40px; }
@media (min-width: 820px) { .three { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.three h3 { margin-bottom: 10px; }
.mark { display: inline-block; width: 28px; height: 3px; background: var(--sun); border-radius: 2px; margin-bottom: 18px; }

/* section 6: boundaries */
.roles { display: grid; gap: 20px; }
@media (min-width: 820px) { .roles { grid-template-columns: 1fr 1fr; } }
.role { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); }
.role ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.role li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); margin-right: 12px; vertical-align: middle; }
.role li.no::before { background: transparent; border: 1px solid var(--ink-3); }
.role li.no { color: var(--ink-3); }

/* section 7 */
.split { display: grid; gap: 40px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.plain li:first-child { border-top: 1px solid var(--hair); }

/* section 8: reality */
.reality { font-family: var(--serif); font-size: clamp(34px, 5.8vw, 72px); line-height: 1.08; letter-spacing: -0.015em; }
.reality span { display: block; }
.reality span:nth-child(even) { color: var(--ink-2); }

/* trust + pricing */
.cards { display: grid; gap: 20px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 26px; margin-bottom: 10px; }
.price { background: var(--card); border-radius: 20px; padding: clamp(28px, 5vw, 48px); max-width: 560px; }
.price .amount { font-family: var(--serif); font-size: clamp(56px, 8vw, 80px); line-height: 1; margin-top: 18px; }
.price .per { color: var(--ink-2); margin-top: 6px; }
.price .note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }

/* closing */
.closing { text-align: left; }

/* prose pages */
.page { padding-block: clamp(56px, 9vw, 104px); }
.prose h1 { font-size: clamp(42px, 6vw, 68px); margin-bottom: 28px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 52px; margin-bottom: 12px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }

/* forms (sign-in, reset) */
.form { background: var(--card); border-radius: 20px; padding: clamp(24px, 5vw, 40px); max-width: 440px; }
.form label { display: block; font-size: 15px; font-weight: 600; margin-top: 18px; }
.form input { width: 100%; margin-top: 8px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font: 17px var(--sans); }
.form input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.form .btn { width: 100%; margin-top: 24px; }
.form .switch { margin-top: 18px; font-size: 15px; }
.status { margin-top: 16px; font-size: 15px; min-height: 1.4em; }
.status.bad { color: var(--peach); }
.status.good { color: var(--sage); }
.linklike { background: none; border: 0; padding: 0; color: var(--sky); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* signed-in home */
.today { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; max-width: 640px; }
.today li { background: var(--card); border-radius: 14px; padding: 18px 20px; }
.today .why { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.app-page { padding-block: clamp(36px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.app h2.label { font-family: var(--sans); font-size: var(--type-label-size); letter-spacing: var(--type-label-tracking); line-height: 1.3; }
.app-grid { display: grid; gap: 44px; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 980px) { .app-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.app-grid > section { padding: 0; min-width: 0; border: 0; }
.app .today { margin-top: 16px; max-width: none; }
.app-foot { margin-top: clamp(40px, 6vw, 64px); padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap;
  gap: 14px 24px; align-items: center; justify-content: space-between; }
.app-foot p { margin: 0; }
.inbox { padding-block: 0; }
.inbox .addr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.inbox .addr code { font: inherit; font-size: 17px; overflow-wrap: anywhere; }
.inbox .addr p { flex-basis: 100%; margin: 0; }
.inbox .held { background: var(--card); border-radius: 14px; padding: 18px 20px; margin-top: 16px; display: grid; gap: 14px; }
.inbox .held .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.inbox .held p { margin: 0; }
.inbox .held .status { margin: 0; min-height: 0; }
.inbox .held .status:empty { display: none; }
.mail { list-style: none; padding: 0; margin: 18px 0 0; }
.mail li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.mail li:last-child { border-bottom: 0; }
.mail .top { display: flex; gap: 12px; align-items: baseline; }
.mail .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .when { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.mail .line { color: var(--ink-2); font-size: 15px; margin-top: 3px; display: flex; gap: 8px; align-items: baseline; }
.mail .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); flex-shrink: 0; transform: translateY(-2px); }
.mail .dot.done { background: var(--sage); }
.mail .dot.you { background: var(--peach); }

/* footer */
.site-footer { border-top: 1px solid var(--hair); padding-block: 48px 36px; }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot .wordmark { font-size: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.foot-links a { color: var(--ink); text-decoration: none; opacity: 0.8; }
.foot-links a:hover { opacity: 1; text-decoration: underline; }
.site-footer .fine { margin-top: 28px; }

/* spacing utilities (no inline styles: the security policy forbids them) */
.mt-12 { margin-top: 12px; } .mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mb-14 { margin-bottom: 14px; } .w-440 { max-width: 440px; }
.h-page { font-size: clamp(40px, 6vw, 64px); }
.price .plan-name { font-family: var(--type-moment-family); font-size: var(--type-moment-size); font-weight: var(--type-moment-weight); line-height: 1.1; margin: 0; }
.price .plan-line { color: var(--ink-2); margin: 6px 0 0; }

/* Talking with Oswen on the web: your words, the household answering, the record line underneath. No bubbles. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.side { display: grid; gap: 44px; min-width: 0; }
.talk { min-width: 0; }
.turns { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 980px) { .turns { max-height: min(62vh, 640px); overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; } }
.turn { display: grid; gap: 10px; min-width: 0; }
.turn .q { font-family: var(--type-moment-family); font-size: var(--type-moment-size); font-weight: var(--type-moment-weight);
  line-height: var(--type-moment-line); letter-spacing: var(--type-moment-tracking); margin: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.turn .a { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.turn .rec { display: grid; gap: 8px; }
.turn .rec-line { color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.turn .src { color: var(--ink-3); font-size: 14px; }
.turn .src a { color: inherit; }
.prep { background: var(--card); border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; }
.prep p { margin: 0; }
.prep .mail-body { white-space: pre-wrap; color: var(--ink-2); font-size: 15px; border-left: 2px solid var(--hair); padding-left: 12px; }
.prep .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.linklike { background: none; border: 0; padding: 0; color: var(--sky); font: inherit; font-size: 15px; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.work { color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.work .breath { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .work .breath { animation: none; } }
.ask { margin-top: 22px; display: flex; gap: 10px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 8px 8px 8px 18px; }
.ask:focus-within { border-color: var(--focus); }
.ask textarea { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 17px/1.45 var(--sans); resize: none; padding: 9px 0; max-height: 220px; outline: none; }
.ask .btn { flex-shrink: 0; }
@media (max-width: 979px) { .ask { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 6px 24px rgba(36, 52, 74, .08); } }
.setup { margin-top: clamp(24px, 4vw, 40px); }
.setup .type-moment { margin: 0; }
.setup select { width: 100%; margin-top: 8px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font: 17px var(--sans); }
.side > section { padding: 0; border: 0; }
.prep .status { margin: 0; min-height: 0; }
.prep .status:empty { display: none; }
.setup .status:empty { display: none; }
.oauth { display: grid; gap: 14px; margin-bottom: 6px; }
.oauth .btn { width: 100%; }
.oauth .or { margin: 4px 0 0; text-align: center; }
