:root {
  color-scheme: light;
  --ink: #193f38;
  --ink-soft: #456660;
  --canvas: #f5f2ec;
  --paper: #fffdfa;
  --peach: #f9b489;
  --peach-deep: #e9845e;
  --mint: #b8dfc9;
  --lavender: #d8d2ef;
  --line: rgba(25, 63, 56, .11);
  --shadow: 0 16px 40px rgba(38, 64, 57, .11);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 20% 0%, #e3ede4 0, transparent 26rem), var(--canvas); }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #ef966e; outline-offset: 3px; }

.app-frame { position: relative; min-height: 100dvh; max-width: 460px; margin: 0 auto; padding: 20px 17px 104px; background: var(--canvas); overflow: hidden; }
.topbar { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; margin: 2px 0 22px; }
.topbar h1, h2, h3, p { margin: 0; }
.topbar h1 { font-size: 22px; letter-spacing: -.04em; }
.eyebrow { margin-bottom: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.brand-lockup, .onboarding-brand { display: flex; align-items: center; gap: 7px; }
.brand-lockup .eyebrow, .onboarding-brand .eyebrow { margin: 0; }
.brand-spiral { width: 25px; height: 25px; flex: none; color: #d77d5a; filter: drop-shadow(0 2px 2px rgba(157, 80, 50, .16)); }
.brand-spiral path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.5; }
.onboarding-brand { justify-content: center; margin-bottom: 7px; }
.onboarding-brand .brand-spiral { width: 27px; height: 27px; }
.icon-button, .avatar, .more-button, .heart-button, .link-button, .text-button { border: 0; background: transparent; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); box-shadow: 0 3px 10px rgba(28, 60, 51, .06); font-size: 23px; }
.icon-button.is-hidden { visibility: hidden; }
.avatar { justify-self: end; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 14px; font-weight: 800; }
.content { display: grid; gap: 15px; }
.card { border: 1px solid rgba(255,255,255,.75); border-radius: 26px; background: var(--paper); box-shadow: 0 8px 25px rgba(27, 61, 52, .06); }
.welcome-card { position: relative; min-height: 202px; padding: 24px 24px 22px; overflow: hidden; background: linear-gradient(142deg, #e4f1e5, #c4dfcd); }
.welcome-copy { position: relative; z-index: 1; max-width: 255px; }
.welcome-copy h2 { font-size: 30px; letter-spacing: -.055em; }
.welcome-copy p:last-child { max-width: 250px; margin-top: 10px; color: #41635a; line-height: 1.47; font-size: 14px; }
.spark { color: var(--peach-deep); font-size: 21px; vertical-align: 8px; }
.orb { position: absolute; display: grid; width: 132px; height: 132px; place-items: center; border-radius: 45% 55% 52% 48% / 44% 45% 55% 56%; transform: rotate(-17deg); }
.orb-mint { right: -22px; bottom: -11px; background: linear-gradient(145deg, #fbccac, #f39770); color: #fff6e9; box-shadow: inset 14px 10px 16px rgba(255,255,255,.32); }
.orb span { font-size: 57px; transform: rotate(17deg); }
.today { padding: 21px; }
.section-line, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-line h2, .section-heading h2 { font-size: 19px; letter-spacing: -.04em; }
.progress-value { display: grid; min-width: 48px; height: 32px; place-items: center; border-radius: 12px; background: #edf3ed; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.progress-track { height: 8px; margin: 16px 0 20px; overflow: hidden; border-radius: 99px; background: #e9eae3; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ink), #5d997e); transition: width .25s ease; }
.today-row { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; margin-bottom: 19px; }
.today-row strong { font-size: 15px; }.today-row p { margin-top: 3px; color: var(--ink-soft); font-size: 12px; line-height: 1.38; }
.routine-orb { display: grid; flex: none; width: 48px; height: 48px; place-items: center; border-radius: 18px; font-size: 22px; }
.routine-orb.lavender { background: #e8e3f4; }.routine-orb.peach { background: #ffe0cb; }.routine-orb.mint { background: #d9eddf; }
.primary-button, .secondary-button { display: flex; width: 100%; min-height: 51px; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 17px; font-weight: 800; }
.primary-button { background: var(--ink); color: white; box-shadow: 0 10px 18px rgba(25, 63, 56, .18); }.primary-button span { font-size: 20px; line-height: 1; }.primary-button.light { background: white; color: var(--ink); box-shadow: none; }
.secondary-button { border: 1px solid var(--line); background: transparent; color: var(--ink-soft); }
.section-heading { margin: 9px 3px -2px; }.link-button { color: #58786e; font-size: 13px; font-weight: 800; }
.insight-card, .explore-card { display: grid; width: 100%; grid-template-columns: 38px 1fr 18px; gap: 12px; align-items: center; padding: 16px; text-align: left; border: 0; }
.insight-card strong, .explore-card strong { display: block; font-size: 14px; }.insight-card small, .explore-card small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }
.insight-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 14px; background: #fce0ce; color: var(--peach-deep); font-size: 22px; }
.goal-strip { display: flex; align-items: center; gap: 9px; padding: 3px 6px; color: #54736b; font-size: 12px; }.goal-strip strong { color: var(--ink); }.goal-strip button { margin-left: auto; border: 0; background: transparent; font-size: 17px; }.soft-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }
.bottom-nav { position: fixed; z-index: 10; right: max(17px, calc((100vw - 460px) / 2 + 17px)); bottom: 16px; left: max(17px, calc((100vw - 460px) / 2 + 17px)); display: grid; grid-template-columns: repeat(4,1fr); padding: 8px; border: 1px solid rgba(255,255,255,.88); border-radius: 23px; background: rgba(255,253,250,.92); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.nav-button { display: grid; gap: 4px; min-height: 50px; place-items: center; border: 0; border-radius: 16px; background: transparent; color: #6d837d; }.nav-button span { font-size: 20px; line-height: 1; }.nav-button small { font-size: 10px; font-weight: 700; }.nav-button.is-active { background: #dfede2; color: var(--ink); }
.ritual-hero { padding: 23px; background: linear-gradient(145deg, #f4ddc9, #fdeee1); }.ritual-hero h2, .discover-hero h2, .saved-hero h2 { font-size: 27px; letter-spacing: -.05em; }.ritual-hero > p:not(.eyebrow), .discover-hero p:not(.eyebrow), .saved-hero p:not(.eyebrow) { margin-top: 9px; color: #725b4c; line-height: 1.48; font-size: 14px; }.ritual-meta { display: flex; gap: 9px; margin-top: 17px; }.ritual-meta span { padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.53); color: #765849; font-size: 11px; font-weight: 750; }
.routine-list { display: grid; gap: 10px; }.routine-card { display: grid; grid-template-columns: 31px 48px 1fr 29px; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }.routine-card.is-done { opacity: .7; }.routine-card.is-done strong { text-decoration: line-through; }.routine-check { width: 28px; height: 28px; border: 1.5px solid #aac8b5; border-radius: 10px; background: white; color: var(--ink); font-size: 12px; font-weight: 900; }.is-done .routine-check { border-color: var(--ink); background: var(--ink); color: white; }.routine-card strong { font-size: 14px; }.routine-card p { margin-top: 3px; color: var(--ink-soft); font-size: 11px; line-height: 1.35; }.routine-card small { display: inline-block; margin-top: 6px; color: #6d837d; font-size: 10px; font-weight: 800; }.more-button { color: #668078; font-weight: 900; letter-spacing: 1px; }
.discover-hero { padding: 23px; background: linear-gradient(145deg, #254f46, #447867); color: white; }.discover-hero .kicker { display: inline-block; margin-bottom: 11px; padding: 6px 9px; border-radius: 9px; background: rgba(255,255,255,.14); font-size: 10px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }.discover-hero p { color: #d2e4d9 !important; }.discover-hero .primary-button { margin-top: 19px; }
.scan-launch { display: grid; width: 100%; grid-template-columns: 42px 1fr 18px; gap: 12px; align-items: center; padding: 16px; border: 0; background: linear-gradient(140deg, #f5e5d8, #fffaf2); text-align: left; }.scan-launch-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 15px; background: #fff8ef; color: #ca7551; box-shadow: inset 0 0 0 1px rgba(202,117,81,.12); font-size: 25px; }.scan-launch strong { display: block; font-size: 14px; }.scan-launch small { display: block; margin-top: 4px; color: #6f6c62; font-size: 12px; line-height: 1.35; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }.product-card { display: grid; min-height: 174px; align-content: space-between; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: left; }.product-card.is-selected { border: 2px solid #79a88c; box-shadow: 0 0 0 3px #e0eee3; }.product-card small, .product-card em { display: block; color: var(--ink-soft); font-size: 9px; font-style: normal; line-height: 1.25; }.product-card strong { display: block; margin: 4px 0; font-size: 12px; line-height: 1.08; }.product-art { position: relative; display: block; width: 61px; height: 72px; margin: 4px auto 10px; border-radius: 16px 16px 21px 21px; box-shadow: inset 8px 8px 14px rgba(255,255,255,.38), 0 8px 10px rgba(32,50,46,.10); }.product-art i { position: absolute; top: -10px; left: 17px; width: 27px; height: 16px; border-radius: 5px 5px 3px 3px; background: inherit; filter: brightness(.92); }.product-art b { position: absolute; right: 9px; bottom: 17px; left: 9px; display: block; height: 19px; border-radius: 7px; background: rgba(255,255,255,.72); }.product-art.sky { background: linear-gradient(145deg, #a8d8e8, #6aafc5); }.product-art.pearl { background: linear-gradient(145deg, #eeeae0, #c2bcae); }.product-art.sun { background: linear-gradient(145deg, #facd7d, #e8904d); }.product-art.small { width: 48px; height: 57px; margin: 0; }
.explore-card { margin-top: 3px; }.mini-stars { color: #e79263; font-size: 18px; }
.scan-hero { padding: 23px; background: linear-gradient(140deg, #d9ece2, #f5e3d5); }.scan-hero h2 { font-size: 28px; letter-spacing: -.05em; }.scan-hero p:not(.eyebrow) { margin-top: 9px; max-width: 335px; color: #49675d; font-size: 14px; line-height: 1.48; }.scan-stage { padding: 15px; }.scan-empty { padding: 25px 20px; text-align: center; }.scan-empty-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 13px; place-items: center; border-radius: 21px; background: #e8f2e9; color: #4d8668; font-size: 34px; }.scan-empty h3 { font-size: 20px; letter-spacing: -.04em; }.scan-empty p, .scan-stage > p { margin: 8px auto 17px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }.scan-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; }.scan-actions .primary-button, .scan-actions .secondary-button { min-height: 48px; font-size: 12px; }.camera-window { position: relative; min-height: 270px; overflow: hidden; border-radius: 20px; background: #183c35; }.camera-window video { display: block; width: 100%; min-height: 270px; object-fit: cover; transform: scaleX(-1); }.scan-frame { position: absolute; inset: 13% 11%; border: 2px solid rgba(255,255,255,.88); border-radius: 20px; box-shadow: 0 0 0 999px rgba(10,31,26,.18); pointer-events: none; }.photo-preview { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 20px; background: #e9ece8; }.candidate-card { display: grid; grid-template-columns: 64px 1fr; gap: 13px; align-items: center; margin: 15px 0 10px; padding: 13px; border-radius: 18px; background: #eef5ee; }.candidate-card .product-art { width: 52px; height: 61px; margin: 0 auto; }.candidate-card .product-art i { left: 14px; width: 23px; }.candidate-card .product-art b { right: 8px; bottom: 14px; left: 8px; height: 16px; }.candidate-card h3 { margin: 1px 0 4px; font-size: 18px; letter-spacing: -.04em; }.candidate-card > div > span { color: var(--ink-soft); font-size: 11px; }.candidate-card .eyebrow { margin-bottom: 2px; font-size: 9px; }.scan-disclosure { margin: 11px 2px 14px !important; color: #6a736e !important; font-size: 11px !important; }.scan-again { display: block; width: 100%; margin: 11px auto 0; }.scan-privacy { display: grid; grid-template-columns: 37px 1fr; gap: 11px; padding: 15px; background: #f1eee8; }.scan-privacy > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 12px; background: #fffdfa; color: #608779; font-size: 20px; }.scan-privacy strong { font-size: 13px; }.scan-privacy p { margin-top: 4px; color: #68746e; font-size: 11px; line-height: 1.42; }.scan-error { margin: -3px 2px 0; padding: 12px 13px; border: 1px solid #ecc7ad; border-radius: 15px; background: #fff5ed; color: #8b573b; font-size: 12px; line-height: 1.38; }.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.check-intro { padding: 3px 4px 0; }.check-intro h2 { font-size: 28px; letter-spacing: -.05em; }.check-intro p:last-child { margin-top: 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }.choice-pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 4px; scrollbar-width: none; }.choice-pill { flex: none; padding: 10px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink-soft); font-size: 12px; font-weight: 740; }.choice-pill.is-active { border-color: var(--ink); background: var(--ink); color: white; }.check-result { padding: 20px; }.product-preview { display: grid; grid-template-columns: 72px 1fr; gap: 15px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }.product-preview .product-art { margin: 0 auto; }.product-preview p, .product-preview span { color: var(--ink-soft); font-size: 11px; }.product-preview h3 { margin: 3px 0; font-size: 20px; letter-spacing: -.04em; }.result-line { display: grid; grid-template-columns: 28px 1fr; gap: 9px; margin: 18px 0; padding: 13px; border-radius: 16px; background: #edf5ed; }.result-line span { color: #578d69; }.result-line p { color: #3e6555; font-size: 13px; line-height: 1.42; }.question-list { margin-bottom: 18px; padding: 2px 3px; }.question-list span { display: block; color: var(--ink-soft); font-size: 11px; }.question-list strong { display: block; margin-top: 5px; font-size: 13px; line-height: 1.4; }.safety-note { padding: 2px 7px; color: #75847c; font-size: 11px; line-height: 1.45; }
.saved-hero { padding: 22px; background: linear-gradient(140deg, #e9e4f7, #f8f3eb); }.saved-list { display: grid; gap: 10px; }.saved-item { display: grid; grid-template-columns: 50px 1fr 34px; gap: 12px; align-items: center; padding: 13px; }.saved-item small, .saved-item p { color: var(--ink-soft); font-size: 11px; }.saved-item h3 { margin: 3px 0; font-size: 15px; }.heart-button { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #fde9e2; color: #d96d63; font-size: 17px; }.empty-card { padding: 30px 22px; text-align: center; }.empty-card > span { color: #dd8d70; font-size: 34px; }.empty-card h2 { margin-top: 7px; font-size: 21px; }.empty-card p { margin: 8px 0 17px; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }.soft-link { width: 100%; padding: 9px; border: 0; background: transparent; color: #55796c; font-weight: 800; font-size: 13px; }
.profile-card { display: grid; grid-template-columns: 61px 1fr 29px; gap: 14px; align-items: center; padding: 18px; }.large-avatar { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 23px; background: linear-gradient(145deg, #f0b78e, #df7f60); color: white; font-size: 24px; font-weight: 850; }.profile-card h2 { font-size: 22px; }.profile-card span { color: var(--ink-soft); font-size: 12px; }.goal-choices { display: grid; gap: 8px; }.goal-choice { display: flex; min-height: 49px; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink-soft); text-align: left; font-size: 13px; font-weight: 700; }.goal-choice.is-active { border-color: #7da68b; background: #e6f0e5; color: var(--ink); }.quiet-card { display: grid; grid-template-columns: 37px 1fr; gap: 11px; padding: 16px; background: #f4ecdf; }.quiet-card span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px; background: #fff7e9; color: #bf7b50; }.quiet-card strong { font-size: 13px; }.quiet-card p { margin-top: 4px; color: #766657; font-size: 11px; line-height: 1.4; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 98px; left: 24px; max-width: 410px; margin: auto; padding: 13px 15px; border-radius: 16px; background: #193f38; color: white; box-shadow: var(--shadow); font-size: 13px; text-align: center; animation: rise .22s ease-out; }.onboarding-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: end center; padding: 18px; background: rgba(24, 45, 39, .34); backdrop-filter: blur(7px); }.onboarding { width: min(100%, 426px); padding: 22px; border-radius: 31px; background: #fffdfa; box-shadow: 0 20px 60px rgba(16,41,34,.28); text-align: center; animation: rise .3s ease-out; }.onboarding-art { position: relative; height: 160px; margin: -5px 0 12px; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, #d8ecdf, #f8d9bd); }.bottle { position: absolute; bottom: 0; left: calc(50% - 33px); width: 66px; height: 108px; border-radius: 20px 20px 13px 13px; background: linear-gradient(135deg, #fdf1dd, #e9a971); box-shadow: inset 12px 8px 13px rgba(255,255,255,.48); }.bottle::before { position: absolute; top: -16px; left: 20px; width: 26px; height: 22px; border-radius: 8px 8px 3px 3px; background: #d98b5f; content: ""; }.flower { position: absolute; color: #fff6e8; text-shadow: 0 4px 8px rgba(128,77,55,.18); font-size: 46px; }.flower.one { top: 21px; left: 55px; }.flower.two { right: 49px; bottom: 25px; color: #e7886b; }.flower.three { top: 31px; right: 91px; color: #638f76; font-size: 30px; }.onboarding-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 15px; }.onboarding-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d8d9d2; }.onboarding-dots i.is-current { width: 18px; border-radius: 9px; background: var(--ink); }.onboarding h2 { font-size: 28px; letter-spacing: -.05em; }.onboarding p:not(.eyebrow) { margin: 10px auto 18px; max-width: 295px; color: var(--ink-soft); font-size: 14px; line-height: 1.48; }.text-button { margin-top: 13px; color: #6c827b; font-size: 13px; font-weight: 700; }
button:disabled { cursor: not-allowed; opacity: .62; }
.topbar { grid-template-columns: 46px 1fr 46px; }
.icon-button, .avatar { width: 44px; height: 44px; }
.topbar h1:focus-visible { border-radius: 8px; outline: 3px solid #ef966e; outline-offset: 4px; }
.routine-card { grid-template-columns: 46px 48px 1fr 44px; }
.routine-check { display: grid; width: 44px; height: 44px; place-items: center; }
.more-button { display: grid; min-width: 44px; min-height: 44px; place-items: center; }
.saved-item { grid-template-columns: 50px 1fr 44px; }
.heart-button { width: 44px; height: 44px; }
.profile-card { grid-template-columns: 61px 1fr 44px; }
.camera-window video { transform: none; }
.camera-status { min-height: 38px; }
.scan-disclosure { color: #425f56 !important; }
.scan-privacy p { color: #425f56; }
.scan-examples { display: flex; gap: 7px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-width: none; }
.scan-example { flex: none; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: #426359; font-size: 12px; font-weight: 760; }
.scan-example.is-active { border-color: #487965; background: #dfede2; color: var(--ink); box-shadow: inset 0 0 0 1px #7ca58c; }
.scan-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.scan-secondary-actions .text-button { min-height: 44px; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; }
.check-scan-cta { display: grid; width: 100%; grid-template-columns: 42px 1fr 18px; gap: 12px; align-items: center; padding: 16px; border: 0; color: var(--ink); text-align: left; }
.check-scan-cta > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 15px; background: #e8f2e9; color: #4d8668; font-size: 24px; }
.check-scan-cta strong, .check-scan-cta small { display: block; }
.check-scan-cta strong { font-size: 14px; }
.check-scan-cta small { margin-top: 4px; color: #426359; font-size: 12px; line-height: 1.35; }
.text-button { min-height: 44px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 700px) { body { padding: 28px 0; }.app-frame { min-height: calc(100dvh - 56px); border-radius: 34px; box-shadow: 0 30px 80px rgba(24,60,48,.17); }.bottom-nav { right: calc((100vw - 460px) / 2 + 17px); left: calc((100vw - 460px) / 2 + 17px); } }
