:root {
  color-scheme: dark;
  --paper: #10151b;
  --ink: #e9eef6;
  --muted: #afbdc9;
  --line: #303943;
  --accent: #9dd7b7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 30px; font-weight: 650; letter-spacing: -1.5px; line-height: 1; }
.brand img { width: 32px; height: 32px; }
.brand-dot { color: var(--accent); margin-left: -7px; }
nav { display: flex; gap: 28px; align-items: center; font-size: 13px; }
nav a { text-decoration: none; }
nav a:hover, .research-link:hover { color: var(--accent); text-decoration: underline; }
.sign-in { margin-left: 16px; }
.sign-in span { margin-left: 6px; }
.skip { position: absolute; top: -100px; padding: 12px; background: var(--ink); color: var(--paper); z-index: 5; }
.skip:focus { top: 8px; left: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(58px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -.05em; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { font-size: 34px; }
h3 { font-size: clamp(29px, 2.65vw, 38px); }
.hero { padding-block: 60px 60px; }
.eyebrow { font-size: 12px; color: var(--accent); margin: 0 0 22px; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px 64px; align-items: center; }
.hero-grid h1 { grid-column: 1 / -1; }
.hero-route { width: 100%; height: auto; display: block; align-self: center; }
.hero-copy { justify-self: end; }
.hero-copy { max-width: 390px; }
.intro { font-size: 18px; line-height: 1.6; margin: 0 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 18px; background: var(--accent); color: #101b16; border-radius: 3px; text-decoration: none; font-weight: 600; font-size: 14px; }
.button:hover { background: #b9e5cc; }
.research-link { display: block; width: fit-content; font-size: 13px; margin-top: 20px; color: var(--muted); }
.research-link span { margin-left: 10px; }
.approach { padding-bottom: 62px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; gap: 24px; }
.section-heading h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.story-pair { display: grid; grid-template-columns: .9fr 1.1fr; gap: 84px; padding-block: 56px 84px; align-items: start; }
.story-pair .story { display: flex; flex-direction: column; gap: 28px; }
.story-pair .story-copy { max-width: 380px; }
.story-pair .story-copy h3 { font-size: 42px; }
.story-pair #activity { padding-top: 116px; }
.story-pair #activity .app-example { order: -1; }
.story-pair .app-example { max-width: none; }
.story-pair .story-copy p { max-width: none; }
.trend-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 62px; align-items: center; padding: 58px 48px; background: #17212a; color: #e9eef6; }
.trend-feature .app-example { grid-column: 1; grid-row: 1; justify-self: start; }
.trend-feature .story-copy { grid-column: 2; grid-row: 1; }
.trend-feature h3 { font-size: 44px; color: #9dd7b7; }
.trend-feature .story-copy p, .trend-feature figcaption { color: #afbdc9; }
.trend-feature .excerpt-link { border-radius: 0; }
.story-copy p { color: var(--muted); max-width: 320px; font-size: 16px; margin: 20px 0 0; }
.app-example { margin: 0; width: 100%; max-width: 520px; justify-self: end; }
.excerpt-link { display: block; background: #10151b; border-radius: 6px; overflow: hidden; }
.excerpt-link img { display: block; width: 100%; height: auto; }
figcaption { color: var(--muted); font-size: 11px; margin-top: 12px; }
.research { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; padding-block: 84px 20px; }
.research h2 { font-size: 46px; max-width: 330px; }
.research > div > p { color: var(--muted); font-size: 15px; max-width: 350px; margin: 20px 0 0; }
.research-sources { list-style: none; padding: 0; margin: 0; }
.research-sources li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.research-sources li:first-child { padding-top: 0; }
.research-sources li > span { display: block; font-size: 10px; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.research-sources a { font-size: 15px; }
.research-sources p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.faq { max-width: 780px; display: block; padding-block: 48px 72px; border-top: 1px solid var(--line); }
.faq h2 { font-size: 42px; margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding-block: 17px; display: flex; justify-content: space-between; gap: 20px; font-size: 15px; list-style: none; }
details:first-child summary { padding-top: 0; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--accent); }
details[open] summary span { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px; background: #1c2d28; align-items: center; margin-bottom: 54px; }
.join h2 { font-size: 62px; max-width: 300px; }
.join-intro { color: var(--muted); font-size: 16px; max-width: 440px; margin: 0 0 22px; }
.beta-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { color: var(--accent); }
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #46564f; border-radius: 3px; background: #14211d; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5; }
.field textarea { resize: vertical; min-height: 74px; }
.field input::placeholder, .field textarea::placeholder { color: #8b9a91; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.beta-submit { border: 0; width: fit-content; cursor: pointer; font: inherit; font-size: 14px; }
.beta-submit:disabled { cursor: wait; opacity: .72; }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--accent); }
.field.check label { font-weight: 400; font-size: 14px; }
.field.check label span { color: var(--accent); }
.form-status { min-height: 1.5em; margin: -10px 0 0; color: #ffd0c4; font-size: 13px; }
.beta-success { padding: 24px; border: 1px solid #466052; background: #14211d; }
.beta-success h3 { color: var(--accent); font-size: 30px; }
.beta-success p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.small { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.small a { color: var(--ink); }
.footer { display: flex; gap: 28px; align-items: center; border-top: 1px solid var(--line); padding-block: 26px; font-size: 12px; }
.footer .brand { font-size: 24px; margin-right: auto; }
.footer .brand img { width: 25px; height: 25px; }
.footer > a:not(.brand) { white-space: nowrap; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .hero-grid { gap: 40px; }
  .story-pair { gap: 40px; }
  .trend-feature { padding: 38px 28px; gap: 32px; }
  .trend-feature h3 { font-size: 36px; }
  .research, .join { gap: 48px; }
  nav { gap: 20px; }
  .sign-in { margin-left: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 40px); }
  .header { padding-block: 20px; }
  .brand { font-size: 27px; }
  .brand img { width: 28px; height: 28px; }
  nav { gap: 18px; font-size: 12px; }
  nav a:first-child, nav a:nth-child(3) { display: none; }
  .hero { padding-block: 40px 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  h1 { font-size: clamp(40px, 10.5vw, 66px); }
  .hero-grid h1 { grid-column: auto; }
  .hero-route { width: 100%; max-width: 390px; margin-block: -12px; }
  .hero-copy { justify-self: start; }
  .intro { font-size: 17px; }
  .section-heading { align-items: start; }
  .section-heading p { text-align: right; max-width: 135px; }
  .story-pair { grid-template-columns: 1fr; gap: 44px; padding-block: 36px 44px; }
  .story-pair .story { gap: 24px; }
  .story-pair .story-copy h3 { font-size: 34px; }
  .story-pair #activity { padding-top: 0; }
  .story-pair #activity .app-example { order: 0; }
  .trend-feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .trend-feature .story-copy, .trend-feature .app-example { grid-column: auto; grid-row: auto; }
  .trend-feature .story-copy { order: -1; }
  .story-copy p { max-width: none; margin-top: 14px; }
  .app-example { justify-self: start; }
  .research, .join { grid-template-columns: 1fr; gap: 28px; }
  .research h2 { font-size: 38px; }
  .research { padding-top: 40px; }
  .approach { padding-bottom: 40px; }
  .faq { padding-block: 36px 40px; }
  .join { padding: 28px 24px; margin-bottom: 36px; }
  .join h2 { font-size: 46px; }
  .footer { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Native, static excerpts from the dark Gutr app. */
.meal-demo, .day-demo { width: 100%; max-width: 520px; margin-inline: auto; padding: clamp(20px, 4vw, 34px); color: #e9eef6; background: #141c23; border: 1px solid #303943; border-radius: 8px; }
.demo-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #303943; color: #afbdc9; font-size: 11px; font-weight: 650; letter-spacing: .07em; }
.demo-topline b { padding: 3px 6px; margin-right: 5px; color: #101b16; background: #9dd7b7; border-radius: 2px; font-size: 8px; }
.meal-demo-title { margin-top: 22px; }
.meal-demo-title h4 { margin: 0; font: 400 clamp(24px, 3vw, 34px)/1.08 var(--serif); letter-spacing: -.035em; }
.meal-demo-title p { margin: 8px 0 0; color: #afbdc9; font-size: 12px; }
.meal-energy { display: flex; align-items: baseline; gap: 7px; margin-top: 20px; }
.meal-energy strong { font: 400 38px/1 var(--serif); letter-spacing: -.04em; }
.meal-energy span { color: #afbdc9; font-size: 12px; }
.meal-macros { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 14px 0; border-block: 1px solid #303943; }
.meal-macros div { min-width: 0; }
.meal-macros dt { color: #afbdc9; font-size: 10px; }
.meal-macros dd { margin: 3px 0 0; font-size: 15px; font-weight: 650; white-space: nowrap; }
.meal-macros dd span { margin-left: 2px; color: #afbdc9; font-size: 10px; font-weight: 400; }
.meal-items { margin-top: 16px; }
.demo-label { margin: 0 0 7px; color: #afbdc9; font-size: 9px; font-weight: 650; letter-spacing: .1em; }
.meal-items > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-block: 10px; border-top: 1px solid #303943; }
.meal-items p { min-width: 0; margin: 0; line-height: 1.35; }
.meal-items p strong { display: block; font-size: 14px; font-weight: 550; }
.meal-items p small, .meal-items b small { display: block; color: #afbdc9; font-size: 12px; font-weight: 400; }
.meal-items > div > b { font-size: 12px; text-align: right; }
.day-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 22px; align-items: center; padding-block: 28px; }
.calorie-ring { position: relative; display: grid; place-items: center; width: 100%; max-width: 184px; aspect-ratio: 1; }
.calorie-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.day-demo .ring-track { fill: none; stroke: #242c36; stroke-width: 13; }
.day-demo .ring-progress { fill: none; stroke: #66d5ad; stroke-width: 19; stroke-dasharray: 100; stroke-dashoffset: 76; stroke-linecap: round; }
.calorie-ring strong { font: 600 clamp(32px, 4vw, 52px)/1 var(--serif); letter-spacing: -.04em; }
.calorie-ring strong span { font-size: .65em; }
.day-macros { display: grid; gap: 22px; margin: 0; }
.day-macros > div { display: flex; flex-wrap: wrap; gap: 5px; align-items: baseline; }
.day-macros dt { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.day-macros dd { margin: 0; font-size: 14px; font-weight: 650; white-space: nowrap; }
.demo-protein dt { color: #d2aae6; }
.demo-carbs dt { color: #ebb785; }
.macro-track { flex-basis: 100%; display: block; height: 20px; margin-bottom: 4px; overflow: hidden; background: #242c36; border-radius: 20px; }
.macro-track span { display: block; height: 100%; border-radius: inherit; }
.protein-progress { width: 23.87%; background: #aa73c4; }
.carbs-progress { width: 28.72%; background: #d39260; }
.day-workouts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid #303943; }
.day-workouts p { margin: 0; }
.day-workouts strong { display: block; font-size: 14px; font-weight: 650; }
.day-workouts span { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
@media (max-width: 400px) {
  .meal-demo, .day-demo { padding: 20px 16px; }
  .meal-macros { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .day-summary { gap: 16px; }
  .macro-track { height: 16px; }
  .day-macros dt { font-size: 11px; }
  .day-macros dd { font-size: 13px; }
}

.trend-demo { padding: clamp(16px, 3vw, 28px); background: #192028; border: 1px solid #303943; border-radius: 8px; }
.trend-stat { margin: 22px 0 12px; display: grid; gap: 6px; }
.trend-stat > span { font-size: 12px; color: var(--muted); }
.trend-stat strong { font-size: 38px; font-weight: 650; line-height: 1.2; font-variant-numeric: tabular-nums; }
.trend-stat small { font-size: 16px; font-weight: 400; color: var(--muted); }
.trend-chart { display: block; width: 100%; height: auto; overflow: visible; }
.trend-grid line { stroke: #303943; stroke-width: 1; }
.trend-grid text { fill: #afbdc9; font: 14px var(--sans); }
.trend-dots circle { fill: #95a3b5; opacity: .7; }
.trend-average { fill: none; stroke: #92b5df; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.trend-legend span { display: flex; align-items: center; gap: 8px; }
.trend-legend i { display: block; }
.average-key { width: 20px; height: 3px; background: #92b5df; }
.weigh-in-key { width: 7px; height: 7px; border-radius: 50%; background: #95a3b5; }
@media (max-width: 400px) { .trend-grid text { font-size: 17px; } }

.founder-note { max-width: 780px; padding-top: 36px; margin-bottom: 64px; border-top: 1px solid var(--line); }
.founder-note h2 { font-size: 36px; margin-bottom: 24px; }
.founder-note p { max-width: 640px; margin: 0 0 18px; color: var(--muted); }
.founder-note .founder-signature { margin: 24px 0 0; color: var(--accent); }
@media (max-width: 640px) { .founder-note { margin-bottom: 40px; } .founder-note h2 { font-size: 32px; } }
