/* FitTogether, a calm, responsive interface with system typography and restrained materials. */
:root {
  --purple: #7418e6;
  --purple-deep: #5411ac;
  --ink: #202025;
  --muted: #65636e;
  --paper: #ffffff;
  --soft: #f3effb;
  --line: #e8e6ee;
  --max: 1180px;
  --radius: 2rem;
  --shadow: 0 24px 64px rgba(35, 22, 57, .07);
  font: 100%/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  accent-color: var(--purple);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { margin: 0; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button, input, summary { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5vw, 4.6rem); font-weight: 730; }
h2 { font-size: clamp(2.2rem, 3.65vw, 3.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -.028em; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.wrap, .site-footer { width: min(calc(100% - 6rem), var(--max)); margin-inline: auto; }
.icon { display: inline-block; width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
.eyebrow { color: var(--purple); font-size: .8rem; line-height: 1.5; font-weight: 650; letter-spacing: .04em; margin-bottom: 1.1rem; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: 1rem; padding: .7rem 1rem; color: #fff; background: var(--ink); border-radius: .8rem; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; border-radius: .35rem; }
::selection { background: #e5d3ff; color: #351261; }

/* The floating navigation stays legible over the page and responds on press. */
.site-header { position: sticky; top: 0; z-index: 30; padding: .8rem 0 .4rem; }
.nav-wrap { position: relative; width: min(calc(100% - 3rem), 1230px); min-height: 4.6rem; margin: auto; padding: .65rem 1.3rem .65rem 1rem; display: flex; align-items: center; gap: 1.6rem; background: rgba(255,255,255,.88); border: 1px solid rgba(225,222,234,.72); border-radius: 1.65rem; box-shadow: 0 8px 28px rgba(36,22,50,.045), 0 1px 0 #fff inset; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.brand { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; white-space: nowrap; font-size: 1.27rem; font-weight: 750; letter-spacing: -.055em; line-height: 1; }
.brand-em { color: var(--purple); }
.brand-symbol { display: block; position: relative; width: 3.2rem; height: 2rem; overflow: hidden; flex: none; }
.brand-symbol img { position: absolute; width: 4.55rem; height: 4.55rem; max-width: none; top: -1.27rem; left: -.68rem; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: .3rem; margin: auto; }
.desktop-nav a { padding: .65rem 1rem; min-height: 44px; font-size: .86rem; font-weight: 550; text-decoration: none; color: #56525f; border-radius: 1rem; transition: background .15s ease, color .15s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="location"] { background: #f1ecfa; color: var(--purple); }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem 1.2rem; border-radius: 2rem; font-size: .84rem; font-weight: 600; color: #fff; background: var(--purple); text-decoration: none; }
.nav-contact:hover { background: var(--purple-deep); }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: .7rem; border: 0; background: #f2eff7; border-radius: 50%; color: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .18s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.mobile-menu { width: min(calc(100% - 3rem), 1230px); margin: .6rem auto 0; padding: .65rem; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: .8rem 1rem; min-height: 48px; font-size: 1rem; text-decoration: none; border-radius: .85rem; }
.mobile-menu a:hover { background: var(--soft); color: var(--purple); }
.button, .nav-contact, .menu-toggle, .product-tabs button, .shopping-footer button, .back-link { transition: background .16s ease, color .16s ease, transform .12s ease; }
.button:active, .nav-contact:active, .menu-toggle:active, .shopping-footer button:active { transform: scale(.97); transition: transform 70ms ease-out; }

/* A real product example is the hero's visual anchor. */
.hero { display: grid; grid-template-columns: 1.16fr 1fr; gap: 4rem; align-items: center; padding-block: 4.8rem 5rem; }
.hero-copy { min-width: 0; max-width: 610px; }
.hero-eyebrow { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .78rem; letter-spacing: .01em; color: #665472; }
.status-dot { display: block; width: .45rem; height: .45rem; background: var(--purple); border-radius: 50%; box-shadow: 0 0 0 4px #efe6fb; }
.hero h1 { font-size: clamp(2.85rem, 4.7vw, 4.5rem); letter-spacing: -.055em; line-height: 1.08; }
.hero h1 span { display: block; margin-top: .18em; color: var(--purple); }
.hero-intro { max-width: 490px; font-size: 1.075rem; line-height: 1.75; margin-top: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.3rem; min-height: 52px; text-decoration: none; border-radius: 2rem; font-size: .875rem; font-weight: 600; }
.primary { color: #fff; background: var(--purple); box-shadow: 0 6px 18px rgba(116,24,230,.15); }
.primary:hover { background: var(--purple-deep); }
.primary .icon { width: 18px; height: 18px; }
.secondary { color: var(--purple); background: #f2ebfc; }
.secondary:hover { background: #e9def9; }
.launch-note { margin-top: 1.3rem; font-size: .8rem; line-height: 1.65; }
.hero-product { min-width: 0; position: relative; width: 100%; padding: 1rem .75rem 0; isolation: isolate; }
.hero-product::before { content: ""; position: absolute; z-index: -1; inset: 5% -12% 2%; background: radial-gradient(ellipse at 50% 50%, #e8dcfb 0%, #f7f2fd 46%, transparent 72%); }
.app-preview { max-width: 390px; width: 100%; position: relative; margin: auto; padding: 1rem 1.25rem 1.05rem; border: 1px solid #e2dee9; border-radius: 2.8rem; background: #fff; box-shadow: 0 40px 80px rgba(44,19,81,.10), 0 5px 12px rgba(44,19,81,.025), 0 0 0 6px #f5f3f8; }
.app-chrome { height: 2.3rem; display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; padding-inline: .5rem; margin-bottom: 1.1rem; position: relative; font-size: .72rem; font-weight: 650; }
.device-island { position: absolute; left: 50%; top: -.15rem; transform: translateX(-50%); width: 5.5rem; height: 1.25rem; border-radius: 1rem; background: #25232b; }
.device-status { display: flex; align-items: center; gap: .25rem; padding-top: .1rem; }
.device-status svg { width: 16px; height: 11px; }
.device-status svg:last-child { width: 21px; }
.app-screen { min-width: 0; }
.app-view { min-height: 484px; }
.app-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.3rem; }
.app-heading h3 { font-size: 1.5rem; letter-spacing: -.04em; }
.app-heading > .icon { width: 21px; height: 21px; color: var(--purple); }
.mini-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--soft); color: var(--purple); font-size: .78rem; font-weight: 600; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: .2rem; margin-bottom: 1.25rem; }
.calendar > span { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .4rem 0; border-radius: .9rem; font-size: .68rem; color: var(--muted); line-height: 1.3; }
.calendar b { margin-block: .15rem; font-size: .9rem; color: var(--ink); font-weight: 600; }
.calendar .icon { width: 11px; height: 11px; color: var(--purple); }
.calendar .today { background: var(--purple); color: #fff; }
.calendar .today b { color: #fff; }
.calendar i { width: 4px; height: 4px; margin-block: 3px; border-radius: 50%; background: #fff; }
.energy { display: flex; align-items: center; justify-content: center; gap: 1.7rem; margin-bottom: 1.45rem; }
.energy-ring { width: 142px; height: 142px; flex: none; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -105deg, var(--purple) 0 242deg, #eee7f8 242deg 360deg); }
.energy-ring > div { width: 124px; height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; }
.energy-ring strong { font-size: 2.55rem; letter-spacing: -.055em; font-weight: 700; line-height: 1.1; }
.energy-ring span { margin-top: .2rem; font-size: .8rem; color: var(--muted); }
.energy-values { display: flex; flex-direction: column; gap: 1rem; }
.energy-values > span { display: flex; flex-direction: column; font-size: .75rem; color: var(--muted); }
.energy-values b { color: var(--ink); font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; font-weight: 650; }
.macros { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; margin-bottom: 1.6rem; }
.macros > div { min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.macros span { font-size: .69rem; color: var(--muted); }
.macros b { font-size: .88rem; line-height: 1.6; font-weight: 650; }
.macros small { font-size: .69rem; font-weight: 400; color: var(--muted); }
progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 5px; overflow: hidden; border: 0; border-radius: 5px; background: #ece7f4; }
progress::-webkit-progress-bar { background: #ece7f4; }
/* Vendor progress pseudo-elements need separate rules in browsers. */
progress::-webkit-progress-value { background: var(--purple); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--purple); border-radius: 5px; }
.macros > div:nth-child(2) progress::-webkit-progress-value { background: #bf8852; }
.macros > div:nth-child(2) progress::-moz-progress-bar { background: #bf8852; }
.macros > div:nth-child(3) progress::-webkit-progress-value { background: #777cc5; }
.macros > div:nth-child(3) progress::-moz-progress-bar { background: #777cc5; }
.meal-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.meal-heading h4 { font-size: .94rem; letter-spacing: -.02em; }
.meal-heading .icon { width: 19px; height: 19px; color: #99739e; }
.meal-entry { display: flex; align-items: center; gap: .7rem; padding-block: .2rem 1rem; }
.meal-entry img { width: 48px; height: 48px; flex: none; border-radius: .85rem; }
.meal-entry > div { flex: 1; min-width: 0; }
.meal-entry b { display: block; font-size: .81rem; line-height: 1.5; font-weight: 600; }
.meal-entry > div span { display: block; font-size: .67rem; color: var(--muted); }
.meal-kcal { font-size: .94rem; font-weight: 650; text-align: right; }
.meal-kcal small { display: block; color: var(--muted); font-size: .67rem; font-weight: 400; }
.water-row { display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; border-radius: .95rem; background: #f6f3fc; font-size: .81rem; }
.water-row .icon { width: 18px; height: 18px; color: var(--purple); }
.water-row b { margin-left: auto; }
.water-row small { font-weight: 400; color: var(--muted); }
.product-tabs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; padding: 5px; margin-top: .7rem; border-radius: 1.35rem; background: #f0edf5; isolation: isolate; }
.product-tabs button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; min-width: 0; min-height: 60px; border: 0; border-radius: 1rem; padding: .5rem .15rem; color: #635b6d; background: transparent; font-size: .72rem; line-height: 1.35; }
.product-tabs .icon { width: 20px; height: 20px; }
.product-tabs button[aria-selected="true"] { background: #fff; color: var(--purple); font-weight: 650; box-shadow: 0 2px 7px #25202c0b; }
.product-tabs:has(.tab-indicator) button[aria-selected="true"] { background: transparent; box-shadow: none; }
.product-tabs button:hover { color: var(--purple); }
.product-tabs button:active { color: var(--purple-deep); }
.tab-indicator { position: absolute; top: 5px; bottom: 5px; left: 0; z-index: 0; width: 0; background: #fff; border-radius: 1rem; box-shadow: 0 2px 7px #25202c0b; pointer-events: none; }
.preview-caption { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 1.6rem; font-size: .72rem; color: #77707f; }
.preview-caption-dot { width: 4px; height: 4px; background: #a6a0ae; border-radius: 50%; flex: none; }
.feed-filter { display: flex; gap: 1.1rem; font-size: .8rem; padding-bottom: .9rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.feed-filter b { color: var(--purple); }
.feed-filter span { color: var(--muted); }
.avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #583265; font-size: .82rem; font-weight: 650; }
.peach { background: #f5e5dc; }
.lilac { background: #e5d6fb; }
.green { background: #e2eddd; }
.post-author { display: flex; align-items: center; gap: .6rem; }
.post-author b { display: block; font-size: .81rem; }
.post-author > div > span { display: block; font-size: .68rem; color: var(--muted); }
.sample-post > p { margin-block: .85rem; font-size: .85rem; line-height: 1.6; }
.post-win { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1rem; border-radius: 1.1rem; background: #f0e8fc; color: var(--purple-deep); }
.post-win > .icon { width: 28px; height: 28px; }
.post-win strong { font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.3; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; padding: .9rem 0; color: var(--muted); font-size: .67rem; }
.post-meta .icon { width: 15px; height: 15px; }
.post-meta .icon:nth-of-type(2) { margin-left: .65rem; }
.sample-reply { display: flex; gap: .6rem; padding-block: .65rem 1rem; border-top: 1px solid var(--line); }
.sample-reply .avatar { width: 29px; height: 29px; font-size: .7rem; }
.sample-reply b { font-size: .75rem; }
.sample-reply p { font-size: .75rem; line-height: 1.55; margin-top: .15rem; }
.feed-group { display: flex; align-items: center; gap: .7rem; padding: .75rem; border-radius: .9rem; background: #f7f4fc; }
.feed-group b { display: block; font-size: .75rem; }
.feed-group span { display: block; font-size: .68rem; color: var(--muted); }
.feed-group .icon { width: 22px; height: 22px; color: var(--purple); }
.recipe-app-photo { height: 205px; overflow: hidden; border-radius: 1.2rem; }
.recipe-app-photo img { width: 100%; height: 100%; object-position: center 54%; }
.recipe-app-copy { padding-block: 1rem; }
.recipe-app-copy > span { font-size: .68rem; letter-spacing: .045em; color: #785890; }
.recipe-app-copy h4 { font-size: 1.4rem; line-height: 1.2; margin-block: .6rem; }
.recipe-app-copy p { font-size: .81rem; line-height: 1.6; }
.recipe-flow { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .75rem; color: var(--purple); }
.recipe-flow .icon { width: 16px; height: 16px; margin-right: .15rem; }
.recipe-caption { margin-top: 1rem; font-size: .7rem; color: var(--muted); }

/* Sections have a clear rhythm, cards only where they group related content. */
.manifesto { padding-block: 3rem 6.5rem; max-width: 1000px; text-align: center; }
.mission-copy { color: #59545f; max-width: 970px; margin: auto; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.6; text-wrap: pretty; }
.mission-copy span { color: var(--purple); font-weight: 600; }
.tracking-section { padding-block: 1rem 6rem; }
.tracking-heading { text-align: center; max-width: 800px; margin-inline: auto; }
.tracking-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; margin-top: 3rem; }
.feature-card { min-width: 0; padding: 1.8rem; border: 1px solid #eeebf3; background: #faf9fc; border-radius: 1.5rem; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.3rem; border-radius: 1rem; background: #ece2fb; color: var(--purple); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: .6rem; }
.feature-card p { font-size: .93rem; line-height: 1.7; }
.companion { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4rem; margin-top: 2rem; padding: 3.4rem; border-radius: 2rem; background: #f4effb; }
.companion h3 { max-width: 480px; font-size: clamp(1.85rem, 2.8vw, 2.7rem); letter-spacing: -.04em; line-height: 1.15; }
.companion p:not(.eyebrow):not(.sample-note) { max-width: 450px; margin-top: 1.3rem; font-size: .96rem; line-height: 1.8; }
.system-preview { min-width: 0; padding-block: .75rem; }
.mini-widget { max-width: 335px; padding: 1.4rem 1.5rem; border-radius: 1.5rem; background: #fff; box-shadow: 0 14px 32px #49277a0b; }
.widget-title { display: flex; align-items: center; gap: .55rem; color: var(--purple); font-size: .88rem; font-weight: 600; }
.widget-title .icon { width: 18px; height: 18px; }
.widget-values { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-block: .9rem; }
.widget-values strong { font-size: 2.35rem; font-weight: 650; letter-spacing: -.055em; line-height: 1.1; }
.widget-values > span { font-size: .8rem; color: var(--muted); }
.mini-widget progress { height: 6px; }
.widget-macros { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; font-size: .68rem; color: var(--muted); margin-top: .8rem; }
.live-widget { max-width: 315px; margin-top: 1.4rem; margin-left: auto; padding: 1.2rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 1.7rem; background: #282130; color: #fff; box-shadow: 0 14px 25px #35213e12; }
.live-widget > div { display: flex; align-items: center; gap: .55rem; font-size: .75rem; color: #e1d9ea; }
.live-widget .icon { width: 21px; height: 21px; color: #c5a2f6; }
.live-widget strong { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.live-widget small { font-size: .75rem; font-weight: 400; color: #d5c4e6; letter-spacing: 0; }
.sample-note { font-size: .72rem; text-align: center; margin-top: 1rem; color: #776d81; }
.companion .sample-note { margin-top: 1.4rem; }
.community-section { padding-block: 6rem; background: #f7f4fc; }
.community-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5rem; align-items: center; }
.community-copy > p:not(.eyebrow) { max-width: 480px; margin-top: 1.6rem; font-size: 1.02rem; line-height: 1.85; }
.text-link { color: var(--purple); font-size: .95rem; font-weight: 600; }
.text-link:hover { color: var(--purple-deep); }
.community-copy .text-link { display: inline-block; padding-block: .65rem; margin-top: 1rem; }
.conversation { min-width: 0; background: rgba(255,255,255,.86); padding: 1.8rem; border: 1px solid #eee6f7; border-radius: 1.8rem; box-shadow: 0 16px 40px #47237106; }
.conversation-title { display: flex; align-items: center; gap: .6rem; font-size: .94rem; font-weight: 650; letter-spacing: -.015em; margin-bottom: 1.5rem; }
.conversation-title .icon { width: 21px; height: 21px; color: var(--purple); }
.conversation-message { display: flex; gap: .65rem; margin-block: 1.4rem; }
.conversation-message > div { min-width: 0; flex: 1; }
.message-name { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 600; color: #777080; }
.conversation-message p { padding: .9rem 1.1rem; color: #3c3346; background: #f5f2f9; border-radius: .4rem 1.2rem 1.2rem 1.2rem; font-size: .89rem; line-height: 1.75; }
.conversation-message.offset { margin-left: 1.3rem; }
.conversation-message.offset p { background: #efe6fc; }
.recipe-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; padding-block: 6.5rem; }
.recipe-visual { position: relative; overflow: hidden; border-radius: 2rem; height: 590px; background: #ece5dc; }
.recipe-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.recipe-copy > p:not(.eyebrow) { margin-top: 1.5rem; font-size: 1rem; line-height: 1.85; }
.recipe-example { margin-top: 1.75rem; padding: 1.5rem; border-radius: 1.35rem; background: #f8f7fa; }
.recipe-example h3 { font-size: 1.16rem; line-height: 1.3; }
.plain-meta { display: block; margin-top: .55rem; font-size: .79rem; color: var(--muted); }
.ingredient-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-top: .65rem; }
.ingredient-list > span { padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: .85rem; }
.recipe-copy .recipe-detail { font-size: .9rem !important; }
.shopping-section { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 5rem; padding-block: 0 6rem; }
.shopping-copy > p:not(.eyebrow) { max-width: 510px; margin-top: 1.5rem; font-size: 1rem; line-height: 1.85; }
.shopping-copy .text-link { display: inline-block; margin-top: 1rem; padding-block: .65rem; }
.shopping-preview { min-width: 0; padding: 1rem; border-radius: 2rem; background: #f4effb; }
.shopping-list { padding: 1.8rem; border: 1px solid #e9e3f0; border-radius: 1.5rem; background: #fff; box-shadow: 0 10px 28px #3b214c06; }
.shopping-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.2rem; }
.shopping-title h3 { font-size: 1.2rem; line-height: 1.3; }
.shopping-title > span { font-size: .72rem; color: var(--muted); }
#shopping-progress { height: 4px; margin-bottom: .45rem; }
.shopping-list label { display: flex; align-items: center; gap: .8rem; cursor: pointer; min-height: 76px; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.shopping-list input { width: 23px; height: 23px; flex: none; margin: 0; cursor: pointer; accent-color: var(--purple); }
.shopping-list label > span { min-width: 0; }
.shopping-list label b { display: block; font-size: .88rem; font-weight: 550; line-height: 1.6; transition: color .15s ease; }
.shopping-list label small { display: block; font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.shopping-list label.is-done b { color: #85808d; text-decoration: line-through; }
.shopping-list.is-complete .shopping-title > span { color: var(--purple); font-weight: 600; }
.shopping-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .8rem; }
.shopping-footer > span { font-size: .72rem; color: var(--muted); }
.shopping-footer button { min-height: 44px; border: 0; background: #f4effb; color: var(--purple); border-radius: 1rem; padding: .6rem .85rem; font-size: .76rem; font-weight: 600; }
.shopping-footer button:hover { background: #eae0fa; }
.faq-section { display: grid; grid-template-columns: .8fr 1.4fr; gap: 5rem; padding-block: 1rem 6rem; }
.faq-heading { align-self: start; position: sticky; top: 8rem; }
.faq-list { min-width: 0; }
.faq-list details { margin-bottom: .7rem; padding-inline: 1.4rem; border: 1px solid #eeebf3; border-radius: 1.2rem; background: #faf9fc; }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.2rem; min-height: 64px; font-size: .96rem; line-height: 1.6; font-weight: 550; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; color: var(--purple); background: #eee5fa; border-radius: 50%; font-size: 1.1rem; font-weight: 400; line-height: 1; transition: transform .18s ease; }
.faq-list details[open] { background: #f5f1fb; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.4rem; font-size: .93rem; line-height: 1.85; }
.faq-list a { color: var(--purple); }
.contact-section { padding-bottom: 4rem; }
.contact-inner { padding: 4rem 2rem; border-radius: 2rem; text-align: center; background: #7418e6; color: #fff; }
.contact-inner .eyebrow { color: #e2cefd; }
.contact-inner h2 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.light { color: var(--purple-deep); background: #fff; margin-top: 1.8rem; padding-inline: 1.7rem; }
.light:hover { background: #f2e9ff; }
.contact-email { display: block; margin-top: 1rem; font-size: .83rem; color: #f3eaff; }

.site-footer { padding-bottom: 2rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; padding-bottom: 1.8rem; }
.footer-top .brand { font-size: 1.15rem; }
.footer-top p, .footer-top > a { font-size: .82rem; color: var(--muted); }
.footer-top > a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .72rem; color: #777080; }
.footer-bottom > span { white-space: nowrap; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.footer-bottom nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-bottom nav a:hover, .footer-bottom nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; }

/* All information pages use the same hierarchy and readable line length. */
.legal-main { padding-block: 2.8rem 6rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .85rem; margin-bottom: 2rem; margin-left: -.85rem; border-radius: 1rem; font-size: .85rem; font-weight: 550; text-decoration: none; color: var(--muted); }
.back-link:hover { background: var(--soft); color: var(--purple); }
.back-link .icon { width: 18px; height: 18px; }
.legal-heading { max-width: 950px; }
.legal-heading h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); overflow-wrap: anywhere; }
.legal-heading > p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.8; max-width: 730px; margin-top: 1.5rem; }
.legal-date { display: block; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.legal-draft { max-width: 930px; margin-top: 1.8rem; padding: 1.3rem 1.5rem; border: 1px solid #ebdcac; border-radius: 1.2rem; background: #fff8e6; color: #715418; }
.legal-draft strong { font-size: .96rem; }
.legal-draft p { margin-top: .35rem; color: #715d2f; font-size: .9rem; line-height: 1.8; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 3.5rem; margin-top: 3.5rem; align-items: start; }
.legal-toc { position: sticky; top: 7rem; max-height: calc(100svh - 8rem); overflow-y: auto; scrollbar-width: thin; padding: 1.2rem; background: #f8f6fb; border: 1px solid #eeebf3; border-radius: 1.3rem; }
.legal-toc summary { font-size: .85rem; font-weight: 650; cursor: pointer; padding-block: .4rem; line-height: 1.5; }
.legal-toc nav { display: flex; flex-direction: column; gap: .2rem; padding-top: .75rem; }
.legal-toc a { font-size: .79rem; line-height: 1.6; padding: .45rem .35rem; border-radius: .5rem; color: var(--muted); text-decoration: none; }
.legal-toc a:hover { background: #ede7f7; color: var(--purple); }
.legal-body { min-width: 0; max-width: 780px; }
.legal-body section { scroll-margin-top: 1rem; }
.legal-body section + section { margin-top: 2.6rem; padding-top: 2.3rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 1rem; text-wrap: pretty; }
.legal-body p { font-size: .97rem; line-height: 1.95; margin-block: .8rem; }
.legal-body a { color: var(--purple); overflow-wrap: anywhere; }
.legal-body strong { color: var(--ink); font-weight: 650; }
.legal-body code { font-family: ui-monospace, monospace; font-size: .86em; background: var(--soft); padding: .12em .35em; border-radius: .3rem; }
.not-found { padding-block: 5rem 6rem; text-align: center; max-width: 850px; }
.not-found h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.not-found p:not(.eyebrow) { margin: 1.5rem auto; max-width: 600px; font-size: 1.05rem; line-height: 1.8; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.3rem; margin-top: 2rem; }
.not-found-links a { min-height: 44px; padding-block: .6rem; color: var(--purple); font-size: .9rem; }

/* Adapt at the layout boundary, rather than shrinking the desktop. */
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}
@media (min-width: 900px) {
  .legal-toc summary { cursor: pointer; }
}
@media (max-width: 1100px) {
  .wrap, .site-footer { width: calc(100% - 4rem); }
  .hero { gap: 2.5rem; }
  .hero h1 { font-size: 3.65rem; }
  .hero-actions { gap: .65rem; }
  .hero-actions .button { padding-inline: 1rem; font-size: .8rem; }
  .community-layout, .recipe-section, .shopping-section { gap: 3rem; }
  .companion { padding: 2.5rem; gap: 2.5rem; }
  .feature-card { padding: 1.5rem; }
  .faq-section { gap: 3rem; }
  .legal-layout { grid-template-columns: 235px minmax(0,1fr); gap: 2.5rem; }
}
@media (max-width: 899px) {
  .legal-layout { grid-template-columns: minmax(0,1fr); gap: 2rem; margin-top: 2.5rem; }
  .legal-toc { position: static; max-height: none; padding: .9rem 1.1rem; }
  .legal-toc summary { min-height: 36px; font-size: .93rem; }
  .legal-toc nav { padding-top: .8rem; padding-bottom: .3rem; }
  .legal-toc a { min-height: 44px; padding: .7rem .4rem; font-size: .87rem; }
  .legal-body { max-width: 100%; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 6.5rem; }
  .wrap, .site-footer { width: calc(100% - 3rem); }
  .site-header { padding-top: .55rem; }
  .nav-wrap { min-height: 4.1rem; width: calc(100% - 1.6rem); padding: .5rem .6rem .5rem .75rem; gap: .55rem; border-radius: 1.4rem; }
  .brand { font-size: 1.2rem; }
  .desktop-nav { display: none; }
  .nav-contact { margin-left: auto; min-height: 42px; font-size: .78rem; padding: .6rem 1rem; }
  .js-enhanced .menu-toggle { display: flex; }
  .mobile-menu { width: calc(100% - 1.6rem); }
  .js-enhanced .mobile-menu { position: absolute; top: calc(100% + .2rem); left: .8rem; width: calc(100% - 1.6rem); margin: 0; transform-origin: calc(100% - 1.8rem) 0; background: rgba(255,255,255,.98); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .hero { grid-template-columns: minmax(0,1fr); gap: 3.5rem; padding-block: 3.5rem 3rem; }
  .hero-copy { text-align: center; max-width: 690px; margin-inline: auto; }
  .hero-eyebrow { justify-content: center; }
  .hero h1 { font-size: clamp(2.9rem, 7.4vw, 4.3rem); }
  .hero-intro { max-width: 540px; margin-inline: auto; font-size: 1rem; }
  .hero-actions { justify-content: center; }
  .hero-actions .button { font-size: .87rem; padding-inline: 1.3rem; }
  .hero-product { max-width: 465px; justify-self: center; padding-top: .3rem; }
  .manifesto { padding-block: 2.5rem 4.5rem; }
  .mission-copy { font-size: 1.55rem; }
  .tracking-section { padding-block: 0 4rem; }
  .tracking-grid { margin-top: 2.2rem; gap: .8rem; }
  .feature-card { padding: 1.2rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: .86rem; }
  .companion { grid-template-columns: minmax(0,1fr); padding: 2.5rem; gap: 2rem; }
  .companion h3, .companion p:not(.eyebrow):not(.sample-note) { max-width: 590px; }
  .system-preview { width: 100%; max-width: 430px; justify-self: center; }
  .community-section { padding-block: 4rem; }
  .community-layout { grid-template-columns: minmax(0,1fr); gap: 2.5rem; }
  .community-copy { max-width: 630px; }
  .community-copy > p:not(.eyebrow) { max-width: none; }
  .conversation { width: 100%; max-width: 520px; justify-self: center; }
  .recipe-section { grid-template-columns: minmax(0,1fr); gap: 2.5rem; padding-block: 4rem; }
  .recipe-visual { height: 440px; width: 100%; }
  .recipe-copy { max-width: 650px; }
  .recipe-example { max-width: 550px; }
  .shopping-section { grid-template-columns: minmax(0,1fr); gap: 2rem; padding-bottom: 4rem; }
  .shopping-preview { width: 100%; max-width: 500px; justify-self: center; }
  .shopping-copy > p:not(.eyebrow) { max-width: 620px; }
  .faq-section { grid-template-columns: minmax(0,1fr); gap: 2rem; padding-block: 0 4rem; }
  .faq-heading { position: static; }
  .contact-section { padding-bottom: 2.8rem; }
  .contact-inner { padding-block: 3rem; }
  .footer-top p { display: none; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .legal-main { padding-block: 2rem 4rem; }
  .not-found { padding-block: 3.5rem 4rem; }
}
@media (max-width: 580px) {
  .wrap, .site-footer { width: calc(100% - 2.2rem); }
  .hero { padding-top: 2.5rem; gap: 2.8rem; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 3.7rem); letter-spacing: -.05em; }
  .hero-intro { font-size: .96rem; margin-top: 1.4rem; }
  .hero-eyebrow { margin-bottom: 1.25rem; }
  .hero-actions { margin-top: 1.6rem; }
  .hero-product { padding-inline: .5rem; }
  .app-preview { border-radius: 2.4rem; }
  .mission-copy { font-size: 1.3rem; line-height: 1.7; }
  h2 { font-size: clamp(2rem, 7.5vw, 2.7rem); }
  .tracking-grid { grid-template-columns: minmax(0,1fr); gap: .7rem; }
  .feature-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem; }
  .feature-icon { flex: none; margin-bottom: 0; }
  .feature-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
  .feature-card p { font-size: .91rem; }
  .companion { padding: 1.7rem; border-radius: 1.5rem; gap: 1.5rem; }
  .companion h3 { font-size: 2rem; }
  .companion p:not(.eyebrow):not(.sample-note) { font-size: .92rem; }
  .community-section { padding-block: 3rem; }
  .conversation { padding: 1.3rem; border-radius: 1.4rem; }
  .conversation-title { font-size: .88rem; }
  .conversation-message { gap: .5rem; }
  .conversation-message p { padding: .8rem .9rem; font-size: .86rem; }
  .conversation-message.offset { margin-left: .65rem; }
  .recipe-section { padding-block: 3rem; gap: 2rem; }
  .recipe-visual { height: 390px; border-radius: 1.5rem; }
  .recipe-example { padding: 1.2rem; }
  .shopping-preview { padding: .7rem; border-radius: 1.6rem; }
  .shopping-list { padding: 1.4rem; border-radius: 1.15rem; }
  .faq-list details { padding-inline: 1.1rem; }
  .faq-list summary { font-size: .93rem; }
  .contact-inner { padding: 2.7rem 1.2rem; border-radius: 1.5rem; }
  .contact-inner h2 { font-size: 2.45rem; }
  .footer-top { gap: .7rem; padding-bottom: 1.2rem; }
  .footer-top .brand { font-size: 1.05rem; }
  .footer-top > a { font-size: .78rem; }
  .footer-bottom nav { gap: .1rem 1rem; }
  .legal-heading > p:not(.eyebrow) { font-size: 1rem; }
  .legal-body h2 { font-size: 1.28rem; }
  .legal-body p { font-size: .96rem; line-height: 1.9; }
  .legal-draft { padding: 1.1rem; }
  .back-link { margin-bottom: 1.5rem; }
}
@media (max-width: 380px) {
  .wrap, .site-footer { width: calc(100% - 1.8rem); }
  .brand { font-size: 1.04rem; gap: .25rem; }
  .brand-symbol { width: 2.65rem; }
  .brand-symbol img { left: -.95rem; }
  .nav-wrap { gap: .35rem; padding-left: .5rem; }
  .nav-contact { padding-inline: .75rem; font-size: .73rem; }
  .menu-toggle { width: 40px; height: 40px; flex: none; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions .button { padding-inline: 1.1rem; font-size: .83rem; }
  .app-preview { padding: .9rem 1rem 1rem; }
  .app-heading h3 { font-size: 1.35rem; }
  .energy { gap: 1.1rem; }
  .energy-ring { width: 132px; height: 132px; }
  .energy-ring > div { width: 115px; height: 115px; }
  .energy-ring strong { font-size: 2.3rem; }
  .macros { gap: .45rem; }
  .macros span { font-size: .65rem; }
  .macros b { font-size: .81rem; }
  .macros small { font-size: .65rem; }
  .meal-entry { gap: .5rem; }
  .meal-entry img { width: 41px; height: 41px; }
  .meal-entry b { font-size: .76rem; }
  .meal-entry > div span { font-size: .63rem; }
  .post-meta .icon:nth-of-type(2) { margin-left: .15rem; }
  .post-win { padding: 1rem .85rem; gap: .7rem; }
  .post-win strong { font-size: .95rem; }
  .feature-card { padding: 1.1rem; gap: .85rem; }
  .companion { padding: 1.4rem; }
  .mini-widget { padding: 1.2rem; }
  .widget-values strong { font-size: 2.1rem; }
  .live-widget { padding: 1rem; gap: .75rem; }
  .live-widget > div { font-size: .7rem; }
  .live-widget strong { font-size: 1.35rem; }
  .conversation .avatar { width: 30px; height: 30px; }
  .recipe-visual { height: 340px; }
  .ingredient-list { grid-template-columns: minmax(0,1fr); }
  .shopping-list { padding: 1.2rem; }
  .contact-inner h2 { font-size: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, .nav-contact:active, .menu-toggle:active, .shopping-footer button:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-wrap, .js-enhanced .mobile-menu { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #44404d; --line: #89828e; }
  .nav-wrap, .conversation, .feature-card, .shopping-list, .faq-list details, .legal-toc { border-color: #89828e; background: #fff; }
  .eyebrow, .message-name, .preview-caption, .sample-note, .footer-bottom { color: #4e405e; }
  .nav-wrap { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contact-inner .eyebrow { color: #fff; }
}
@media print {
  .site-header, .site-footer, .legal-toc, .skip-link, .back-link { display: none !important; }
  :root { color: #111; background: #fff; font-size: 11pt; }
  .wrap { width: 100%; max-width: none; }
  .legal-main { padding: 0; }
  .legal-layout { display: block; margin-top: 2rem; }
  .legal-body { max-width: none; }
  .legal-body p { color: #111; font-size: 11pt; line-height: 1.6; }
  .legal-body h2 { font-size: 15pt; break-after: avoid; }
  .legal-body section { break-inside: auto; }
  .legal-draft { background: #fff; border: 1px solid #777; }
  .hero-product, .feature-card, .conversation, .recipe-example { break-inside: avoid; }
}
