:root {
  --ink: #081721;
  --ink-2: #132630;
  --ink-3: #334851;
  --paper: #f3f4ef;
  --paper-2: #eaede7;
  --surface: #ffffff;
  --surface-soft: #f8f9f6;
  --green: #14966a;
  --green-dark: #08704f;
  --green-bright: #55e0ae;
  --green-soft: #dff7ed;
  --orange: #f06a3c;
  --violet: #7257e8;
  --blue: #2f80ed;
  --muted: #63747b;
  --line: rgba(8, 23, 33, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 12px 32px rgba(8, 23, 33, 0.08);
  --shadow-md: 0 28px 70px rgba(8, 23, 33, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --page: min(1380px, calc(100% - 64px));
  --font: "Avenir Next", Avenir, "Segoe UI Variable", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
[contenteditable]:focus-visible {
  outline: 3px solid rgba(85, 224, 174, 0.7);
  outline-offset: 3px;
}

::selection {
  background: var(--green-bright);
  color: var(--ink);
}

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(96px, 10vw, 168px);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 720ms cubic-bezier(0.2, 0.68, 0.24, 1), transform 720ms cubic-bezier(0.2, 0.68, 0.24, 1);
}

.js .reveal.revealed {
  opacity: 1;
  transform: none;
}

.js .reveal-delay-1 {
  transition-delay: 100ms;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(243, 244, 239, 0.88);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 251, 247, 0.96);
  box-shadow: 0 8px 30px rgba(8, 23, 33, 0.05);
}

.header-inner {
  width: var(--page);
  min-height: 78px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3.6;
  stroke-linecap: round;
}

.brand-mark circle {
  fill: var(--green);
}

.brand-mark circle:last-child {
  fill: var(--green-dark);
}

.brand-name {
  font-size: 1.3rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1.5px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--green);
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.release-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.release-tag i,
.live-pill i,
.console-status i,
.timeline-top p i,
.workout-foot i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(20, 150, 106, 0.1);
}

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg,
.text-link svg,
.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover svg,
.text-link:hover svg,
.back-to-top:hover svg {
  transform: translateX(4px);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.82rem;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 26px rgba(8, 112, 79, 0.18);
}

.button-primary {
  border-color: var(--green-bright);
  background: var(--green-bright);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(20, 150, 106, 0.16);
}

.button-primary:hover {
  border-color: #72e9bd;
  background: #72e9bd;
  box-shadow: 0 18px 42px rgba(20, 150, 106, 0.24);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile-menu {
  width: 100%;
  min-height: calc(100vh - 77px);
  padding: 34px max(24px, calc((100vw - 1380px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(250, 251, 247, 0.99);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a:not(.button) {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 700;
}

.mobile-menu .button {
  width: 100%;
  margin-top: 28px;
}

/* Shared headings */
.section-heading {
  margin-bottom: clamp(44px, 6vw, 84px);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
}

.section-index {
  padding-top: 0.75em;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.light-index {
  color: var(--green-bright);
}

.section-heading h2,
.audience-heading h2,
.closing-copy h2 {
  max-width: 980px;
  font-size: clamp(2.5rem, 5.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.section-heading > div > p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.centered-heading {
  max-width: 970px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading .section-index {
  padding-top: 0;
  margin-bottom: 24px;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 78px;
  background: var(--paper);
}

.hero-grid {
  min-height: min(880px, 92vh);
  padding-block: clamp(66px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(44px, 5vw, 84px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow span {
  padding: 5px 9px;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 5.8vw, 6.55rem);
  font-weight: 710;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.hero h1 em {
  display: block;
  margin-top: 0.16em;
  color: var(--green);
  font-style: normal;
  font-weight: 520;
}

.hero-lead {
  max-width: 590px;
  margin-top: 34px;
  color: var(--ink-3);
  font-size: clamp(1.03rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 27px;
}

.text-link,
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 760;
}

.hero-proof {
  max-width: 570px;
  margin-top: clamp(52px, 7vw, 92px);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-proof div {
  padding-right: 12px;
}

.hero-proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-proof dt {
  font-size: 1.25rem;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.hero-proof dd {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 42px 90px rgba(8, 23, 33, 0.2);
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.stage-topline {
  height: 38px;
  padding-inline: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.stage-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage-topline i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
}

.stage-version {
  font-variant-numeric: tabular-nums;
}

.stage-media {
  overflow: hidden;
  border-radius: 20px;
  background: #f9f7f4;
}

.stage-media img {
  width: 100%;
  height: auto;
  transition: transform 600ms cubic-bezier(0.2, 0.68, 0.24, 1);
}

.hero-stage:hover .stage-media img {
  transform: scale(1.018);
}

.float-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 23, 33, 0.94);
  color: #fff;
  box-shadow: 0 24px 54px rgba(8, 23, 33, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.float-glucose {
  right: -28px;
  bottom: 112px;
  min-width: 174px;
  padding: 17px 18px;
  border-radius: 16px;
}

.float-label {
  display: block;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.float-glucose strong {
  margin-top: 6px;
  display: block;
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
  line-height: 1;
}

.float-glucose small {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0;
}

.float-trend {
  margin-top: 8px;
  display: block;
  color: var(--green-bright);
  font-size: 0.72rem;
  font-weight: 700;
}

.float-insight {
  bottom: -33px;
  left: 44px;
  min-width: 315px;
  padding: 13px 17px 13px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
}

.insight-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(85, 224, 174, 0.45);
  border-radius: 50%;
  background: rgba(85, 224, 174, 0.09);
  color: var(--green-bright);
  font-size: 0.76rem;
  font-weight: 800;
}

.float-insight strong,
.float-insight small {
  display: block;
}

.float-insight strong {
  font-size: 0.78rem;
}

.float-insight small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.64rem;
}

.signal-rail {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.rail-track {
  width: var(--page);
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rail-track i {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--green-bright);
}

/* Context */
.context-section {
  background: #fbfcf8;
}

.fragmented-vs-unified {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fragmented-side,
.unified-side {
  min-height: 590px;
  padding: clamp(34px, 5vw, 72px);
}

.fragmented-side {
  position: relative;
  background: #eef0eb;
}

.fragmented-side::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.unified-side {
  background: var(--ink);
  color: #fff;
}

.panel-label {
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.unified-side .panel-label {
  color: var(--green-bright);
}

.fragmented-vs-unified h3 {
  margin-top: 22px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.fragment-list {
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.fragment-list li {
  min-height: 96px;
  padding-block: 19px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid var(--line);
  transition: padding-left 180ms ease, background 180ms ease;
}

.fragment-list li:hover {
  padding-left: 8px;
}

.fragment-no {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.fragment-list strong,
.fragment-list small {
  display: block;
}

.fragment-list strong {
  font-size: 0.95rem;
}

.fragment-list small {
  max-width: 295px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

.unified-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-pill {
  min-height: 28px;
  padding-inline: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
}

.live-pill i {
  width: 5px;
  height: 5px;
  box-shadow: none;
  background: var(--green-bright);
}

.event-story {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 86px 22px 1fr;
  gap: 18px;
  align-items: start;
}

.event-time strong,
.event-time span {
  display: block;
}

.event-time strong {
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.event-time span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.event-line {
  position: relative;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.event-line::before {
  position: absolute;
  inset: 5px auto;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.19);
}

.event-line i {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 1px var(--green-bright);
}

.event-chips {
  display: grid;
  gap: 12px;
}

.event-chips span {
  min-height: 47px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.78rem;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.event-chips span:hover {
  transform: translateX(5px);
  border-color: rgba(85, 224, 174, 0.45);
  background: rgba(85, 224, 174, 0.08);
}

.event-chips svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-conclusion {
  grid-column: 3;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.65;
}

.event-conclusion span {
  margin-right: 6px;
  color: var(--green-bright);
  font-weight: 800;
}

/* Demo */
.demo-section {
  background: var(--paper-2);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(580px, 1.25fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: center;
}

.demo-copy h2 {
  margin-top: 24px;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.demo-copy > p:not(.section-index):not(.demo-note) {
  max-width: 520px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.input-modes {
  margin-top: 48px;
  display: grid;
  border-top: 1px solid var(--line);
}

.mode-button {
  min-height: 68px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 690;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, padding-left 180ms ease;
}

.mode-button span {
  color: #93a098;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mode-button:hover,
.mode-button.is-active {
  padding-left: 12px;
  color: var(--green-dark);
}

.mode-button.is-active span {
  color: var(--green);
}

.demo-note {
  margin-top: 24px;
  padding-left: 15px;
  border-left: 2px solid var(--green);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.ai-console {
  overflow: hidden;
  border: 1px solid rgba(8, 23, 33, 0.25);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.console-bar {
  min-height: 66px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  color: #fff;
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 760;
}

.console-mark {
  width: 25px;
  height: 25px;
}

.console-mark path {
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 3.6;
  stroke-linecap: round;
}

.console-mark circle {
  fill: var(--green-bright);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.67rem;
  font-weight: 700;
}

.console-status i {
  width: 5px;
  height: 5px;
  box-shadow: none;
  background: var(--green-bright);
}

.console-content {
  padding: clamp(22px, 4vw, 44px);
}

.capture-box {
  min-height: 145px;
  padding: 21px 22px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  transition: border-color 180ms ease, background 180ms ease;
}

.capture-box:focus-within,
.capture-box:hover {
  border-color: rgba(85, 224, 174, 0.42);
  background: rgba(255, 255, 255, 0.075);
}

.capture-kicker {
  display: block;
  color: var(--green-bright);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capture-box p {
  min-height: 53px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(0.94rem, 1.4vw, 1.1rem);
  font-weight: 570;
  line-height: 1.48;
}

.capture-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.capture-actions button,
.edit-action,
.result-footer button {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.capture-actions button:hover,
.edit-action:hover,
.result-footer button:hover {
  border-color: rgba(85, 224, 174, 0.4);
  background: rgba(85, 224, 174, 0.09);
  color: var(--green-bright);
  transform: translateY(-1px);
}

.capture-actions svg,
.edit-action svg,
.result-footer svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capture-actions .capture-send {
  border-color: var(--green-bright);
  background: var(--green-bright);
  color: var(--ink);
}

.capture-actions .capture-send:hover {
  border-color: #74e9be;
  background: #74e9be;
  color: var(--ink);
}

.quick-prompts {
  margin-top: 16px;
  display: flex;
  gap: 7px;
}

.quick-prompts button {
  min-height: 34px;
  padding-inline: 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.67rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.quick-prompts button:hover,
.quick-prompts button.is-active {
  border-color: rgba(85, 224, 174, 0.45);
  background: rgba(85, 224, 174, 0.1);
  color: var(--green-bright);
}

.processing-flow {
  margin-block: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  gap: 10px;
}

.processing-flow > i {
  height: 1px;
  margin-top: 17px;
  background: rgba(255, 255, 255, 0.16);
}

.flow-step {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.flow-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 800;
}

.flow-step small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
  font-weight: 650;
}

.flow-step.is-done span {
  border-color: rgba(85, 224, 174, 0.35);
  background: rgba(85, 224, 174, 0.08);
  color: var(--green-bright);
}

.flow-step.is-current span {
  border-color: var(--green-bright);
  background: var(--green-bright);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(85, 224, 174, 0.08);
}

.flow-step.is-current small,
.flow-step.is-done small {
  color: rgba(255, 255, 255, 0.78);
}

.ai-console.is-processing .flow-step span {
  animation: console-pulse 560ms ease both;
}

.ai-console.is-processing .flow-step:nth-of-type(2) span {
  animation-delay: 90ms;
}

.ai-console.is-processing .flow-step:nth-of-type(3) span {
  animation-delay: 180ms;
}

.ai-console.is-processing .flow-step:nth-of-type(4) span {
  animation-delay: 270ms;
}

@keyframes console-pulse {
  50% { transform: scale(1.1); border-color: var(--green-bright); }
}

.console-result {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: #11242e;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.console-result.is-hidden {
  opacity: 0.35;
  transform: scale(0.985);
}

.console-result.is-updated {
  border-color: rgba(85, 224, 174, 0.62);
}

.result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.result-head span,
.result-head strong {
  display: block;
}

.result-head span {
  color: var(--green-bright);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.result-head strong {
  margin-top: 5px;
  color: #fff;
  font-size: 1rem;
}

.edit-action {
  min-width: auto;
  min-height: 36px;
  padding-inline: 11px;
  gap: 6px;
  font-size: 0.67rem;
  font-weight: 720;
}

.raw-entry {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--green-bright);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
}

.raw-entry[contenteditable="true"] {
  border: 1px solid rgba(85, 224, 174, 0.6);
  border-left-width: 2px;
  border-radius: 6px;
  color: #fff;
}

.result-metrics {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.11);
}

.result-metrics span {
  min-height: 69px;
  padding: 14px 12px;
}

.result-metrics span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.result-metrics small,
.result-metrics strong {
  display: block;
}

.result-metrics small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.61rem;
}

.result-metrics strong {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.73rem;
}

.result-footer {
  min-height: 49px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.result-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

.result-footer > span svg {
  color: var(--green-bright);
}

.result-footer button {
  min-width: auto;
  min-height: 32px;
  padding-inline: 9px;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.63rem;
  font-weight: 700;
}

/* Timeline */
.timeline-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.timeline-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - min(690px, 50vw));
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 345px 0 rgba(255, 255, 255, 0.04), 690px 0 rgba(255, 255, 255, 0.04), 1035px 0 rgba(255, 255, 255, 0.04), 1380px 0 rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.timeline-section .section-heading {
  position: relative;
}

.timeline-section .section-heading > div > p {
  color: rgba(255, 255, 255, 0.58);
}

.timeline-console {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fbfcf9;
  color: var(--ink);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.28);
}

.timeline-top {
  min-height: 154px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.chart-caption {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.timeline-top > div:first-child > strong {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.07em;
  line-height: 1;
}

.timeline-top strong small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0;
}

.timeline-top strong em {
  color: var(--violet);
  font-size: 1.6rem;
  font-style: normal;
  letter-spacing: 0;
}

.timeline-top p {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.timeline-top p i {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.range-tabs {
  padding: 4px;
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f0f2ee;
}

.range-tabs button {
  min-width: 61px;
  min-height: 38px;
  padding-inline: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 740;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.range-tabs button:hover,
.range-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(8, 23, 33, 0.08);
}

.chart-wrap {
  position: relative;
  margin: 25px 34px 0;
  padding: 4px 0 33px 43px;
  user-select: none;
  touch-action: pan-y;
}

.glucose-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.target-band {
  fill: rgba(85, 224, 174, 0.09);
}

.chart-grid line {
  stroke: rgba(8, 23, 33, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.chart-area {
  fill: url(#area-fill);
}

.chart-line {
  fill: none;
  stroke: var(--violet);
  stroke-width: 5;
  stroke-linecap: round;
  transition: d 420ms ease;
}

.chart-points circle {
  fill: #fff;
  stroke: var(--violet);
  stroke-width: 3;
}

.event-marker {
  cursor: pointer;
}

.event-marker line {
  stroke: rgba(8, 23, 33, 0.19);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}

.event-marker circle {
  stroke: #fff;
  stroke-width: 4;
  transition: r 160ms ease;
}

.event-marker:hover circle,
.event-marker:focus circle {
  r: 13px;
}

.meal-marker circle {
  fill: var(--green);
}

.medicine-marker circle {
  fill: var(--blue);
}

.workout-marker circle {
  fill: var(--orange);
}

.scrub-line {
  stroke: rgba(8, 23, 33, 0.36);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  pointer-events: none;
}

.scrub-dot {
  fill: var(--violet);
  stroke: #fff;
  stroke-width: 4;
  pointer-events: none;
}

.chart-y-labels {
  position: absolute;
  top: 29px;
  bottom: 65px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #829097;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.chart-x-labels {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 43px;
  display: flex;
  justify-content: space-between;
  color: #829097;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

.chart-tooltip {
  position: absolute;
  z-index: 3;
  top: 22%;
  left: 82%;
  min-width: 118px;
  padding: 9px 11px;
  transform: translate(-50%, -100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 23, 33, 0.18);
  pointer-events: none;
}

.chart-tooltip strong,
.chart-tooltip span {
  display: block;
  font-size: 0.65rem;
}

.chart-tooltip span {
  margin-top: 1px;
  color: var(--green-bright);
  font-weight: 700;
}

.timeline-agenda {
  margin-top: 12px;
  padding: 26px 34px 34px;
  display: grid;
  grid-template-columns: 0.8fr repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.agenda-title {
  padding: 16px 24px 16px 0;
}

.agenda-title span,
.agenda-title small {
  display: block;
}

.agenda-title span {
  font-size: 0.81rem;
  font-weight: 800;
}

.agenda-title small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
}

.agenda-item {
  min-width: 0;
  min-height: 122px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 7px 10px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.agenda-item:hover,
.agenda-item.is-active {
  background: #f0f4ef;
}

.agenda-item:hover {
  transform: translateY(-2px);
}

.agenda-item time {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
}

.agenda-item i {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
}

.dot-meal {
  background: var(--green);
}

.dot-medicine {
  background: var(--blue);
}

.dot-workout {
  background: var(--orange);
}

.dot-insight {
  background: var(--violet);
}

.agenda-item span {
  min-width: 0;
}

.agenda-item strong,
.agenda-item small {
  display: block;
}

.agenda-item strong {
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-item small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-item em {
  grid-column: 2;
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 750;
}

.agenda-insight em {
  background: #eeeaff;
  color: #5942bd;
}

/* Capabilities */
.capabilities-section {
  background: #f7f8f4;
}

.capability-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(8, 23, 33, 0.045);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 150, 106, 0.38);
  box-shadow: 0 24px 54px rgba(8, 23, 33, 0.09);
}

.feature-wide {
  min-height: 520px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  background: #e8f4ee;
}

.feature-number {
  position: absolute;
  top: 28px;
  right: 31px;
  color: rgba(8, 23, 33, 0.18);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.feature-kicker {
  color: var(--green-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature-copy h3 {
  max-width: 610px;
  margin-top: 19px;
  font-size: clamp(1.75rem, 3.3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.capability-feature:not(.feature-wide) .feature-copy h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.65rem);
}

.feature-copy > p:last-child {
  max-width: 600px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.67;
}

.response-module {
  padding: 27px;
  border: 1px solid rgba(8, 23, 33, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(8, 23, 33, 0.1);
  transform: rotate(1.15deg);
  transition: transform 260ms ease;
}

.feature-wide:hover .response-module {
  transform: rotate(0deg) translateY(-4px);
}

.response-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.7rem;
}

.response-head span {
  font-weight: 800;
}

.response-head small {
  color: var(--muted);
}

.response-values {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.2fr;
  gap: 15px;
  align-items: center;
}

.response-values span {
  min-height: 79px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.response-values small,
.response-values strong {
  display: block;
}

.response-values small {
  color: var(--muted);
  font-size: 0.6rem;
}

.response-values strong {
  margin-top: 5px;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.response-values > i svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
}

.response-values .delta {
  border-color: rgba(20, 150, 106, 0.25);
  background: var(--green-soft);
}

.response-values .delta strong {
  color: var(--green-dark);
}

.response-curve {
  margin-top: 25px;
  padding-block: 13px;
  border-block: 1px solid var(--line);
}

.response-curve svg {
  width: 100%;
  height: 80px;
}

.response-curve path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 3;
  stroke-linecap: round;
}

.response-curve circle {
  fill: #fff;
  stroke: var(--violet);
  stroke-width: 2.5;
}

.response-module > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.response-module > p span {
  margin-right: 6px;
  color: var(--green-dark);
  font-weight: 800;
}

.feature-therapy,
.feature-plan {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.therapy-stack {
  margin-top: 42px;
}

.therapy-row {
  width: 100%;
  min-height: 88px;
  padding: 14px 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.therapy-row:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 150, 106, 0.42);
}

.therapy-row.is-taken {
  border-color: rgba(20, 150, 106, 0.28);
  background: var(--green-soft);
}

.therapy-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--green-dark);
}

.therapy-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.therapy-row strong,
.therapy-row small {
  display: block;
}

.therapy-row strong {
  font-size: 0.84rem;
}

.therapy-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.66rem;
}

.therapy-row em {
  min-height: 30px;
  padding-inline: 10px;
  display: inline-flex;
  align-items: center;
  border: 1px dashed #9ba6a2;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 760;
}

.therapy-row.is-taken em {
  border: 1px solid rgba(20, 150, 106, 0.25);
  background: #fff;
  color: var(--green-dark);
}

.undo-toast {
  min-height: 54px;
  margin-top: 10px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
}

.undo-toast[hidden] {
  display: none;
}

.undo-toast span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
}

.undo-toast svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 2;
}

.undo-toast button {
  min-height: 34px;
  padding-inline: 10px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: transparent;
  color: var(--green-bright);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
}

.plan-days {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.plan-days button {
  min-width: 0;
  min-height: 94px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.plan-days button:hover {
  transform: translateY(-2px);
}

.plan-days button.is-active {
  border-color: rgba(20, 150, 106, 0.36);
  background: var(--green-soft);
}

.plan-days span,
.plan-days strong,
.plan-days small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-days span {
  color: var(--muted);
  font-size: 0.6rem;
}

.plan-days strong {
  margin-top: 5px;
  font-size: 0.83rem;
}

.plan-days small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.55rem;
}

.next-meal {
  margin-top: 12px;
  padding: 17px 18px;
  border-left: 3px solid var(--green);
  background: #eff2ed;
}

.next-meal span,
.next-meal strong,
.next-meal small {
  display: block;
}

.next-meal span {
  color: var(--green-dark);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.next-meal strong {
  margin-top: 5px;
  font-size: 0.82rem;
}

.next-meal small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.61rem;
}

.feature-workout {
  min-height: 390px;
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
}

.feature-workout:hover {
  border-color: rgba(85, 224, 174, 0.4);
}

.feature-workout .feature-number {
  color: rgba(255, 255, 255, 0.2);
}

.feature-workout .feature-kicker {
  color: var(--green-bright);
}

.workout-top {
  display: flex;
  justify-content: space-between;
  gap: 34px;
}

.workout-timer {
  min-width: 188px;
  text-align: right;
}

.workout-timer small,
.workout-timer strong,
.workout-timer span {
  display: block;
}

.workout-timer small {
  color: var(--green-bright);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workout-timer strong {
  margin-top: 7px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 1;
}

.workout-timer span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
}

.exercise-list {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-light);
}

.exercise-list > div {
  min-height: 112px;
  padding: 22px 21px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.exercise-list > div + div {
  border-left: 1px solid var(--line-light);
}

.exercise-list span strong,
.exercise-list span small {
  display: block;
}

.exercise-list span strong {
  font-size: 0.8rem;
}

.exercise-list span small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.61rem;
}

.exercise-list b {
  font-size: 1.55rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.exercise-list button {
  min-width: 48px;
  min-height: 42px;
  border: 1px solid rgba(85, 224, 174, 0.4);
  border-radius: 9px;
  background: rgba(85, 224, 174, 0.08);
  color: var(--green-bright);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.exercise-list button:hover {
  transform: translateY(-2px);
  background: var(--green-bright);
  color: var(--ink);
}

.exercise-list b.bump {
  animation: counter-bump 260ms ease;
}

@keyframes counter-bump {
  50% { transform: scale(1.16); color: var(--green-bright); }
}

.workout-foot {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.66rem;
}

.workout-foot i {
  width: 5px;
  height: 5px;
  box-shadow: none;
  background: var(--green-bright);
}

/* Comparison */
.comparison-section {
  background: var(--paper);
}

.comparison-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.comparison-wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-wrap th,
.comparison-wrap td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  text-align: center;
  vertical-align: middle;
}

.comparison-wrap th:first-child,
.comparison-wrap td:first-child {
  border-left: 0;
}

.comparison-wrap tbody tr:last-child th,
.comparison-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-wrap thead th {
  min-height: 88px;
  background: #ecefe9;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.comparison-wrap thead th:first-child,
.comparison-wrap tbody th {
  width: 25%;
  text-align: left;
}

.comparison-wrap tbody th {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 740;
}

.comparison-wrap tbody tr {
  transition: background 160ms ease;
}

.comparison-wrap tbody tr:hover {
  background: #f8faf6;
}

.comparison-wrap .metabolic-col {
  border-left-color: rgba(20, 150, 106, 0.22);
  background: #eaf7f1;
}

.comparison-wrap thead .metabolic-col {
  background: var(--green);
  color: #fff;
}

.metabolic-col span,
.metabolic-col small {
  display: block;
}

.metabolic-col small {
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 0.58rem;
  line-height: 1.3;
}

.comparison-wrap thead .metabolic-col small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.comparison-wrap svg {
  width: 19px;
  height: 19px;
  margin-inline: auto;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-wrap .yes {
  stroke: var(--green);
}

.comparison-wrap .no {
  stroke: #a4ada9;
}

.partial {
  color: var(--muted);
  font-size: 0.67rem;
}

/* Audience */
.audience-section {
  background: #10242d;
  color: #fff;
}

.audience-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
}

.audience-list {
  margin-top: clamp(50px, 8vw, 100px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-light);
}

.audience-list article {
  min-height: 290px;
  padding: 30px 26px 34px;
  transition: background 200ms ease, transform 200ms ease;
}

.audience-list article + article {
  border-left: 1px solid var(--line-light);
}

.audience-list article:hover {
  transform: translateY(-5px);
  background: rgba(85, 224, 174, 0.06);
}

.audience-list article > span {
  color: var(--green-bright);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.audience-list h3 {
  margin-top: 90px;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.audience-list p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* Pricing */
.pricing-section {
  position: relative;
  overflow: hidden;
  background: #f5f6f2;
}

.pricing-section::before {
  position: absolute;
  top: 0;
  right: -7vw;
  width: 34vw;
  height: 1px;
  content: "";
  transform: rotate(-34deg);
  transform-origin: right;
  background: rgba(8, 23, 33, 0.13);
  box-shadow: 0 92px rgba(8, 23, 33, 0.07), 0 184px rgba(8, 23, 33, 0.04);
  pointer-events: none;
}

.pricing-heading {
  position: relative;
}

.pricing-shell {
  position: relative;
  margin-top: clamp(48px, 7vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(8, 23, 33, 0.24);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 0 35px 80px rgba(8, 23, 33, 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.pricing-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 44px 100px rgba(8, 23, 33, 0.21);
}

.pricing-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(300px, 0.72fr);
  color: #fff;
}

.pricing-intro,
.pricing-included,
.pricing-buy {
  min-width: 0;
  padding: clamp(32px, 4.2vw, 58px);
}

.pricing-plan-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-plan-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 6px rgba(85, 224, 174, 0.09);
}

.pricing-intro h3 {
  margin-top: 30px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.pricing-intro > p:not(.pricing-plan-label) {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.65;
}

.billing-switch {
  width: max-content;
  margin-top: 38px;
  padding: 4px;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
}

.billing-switch button {
  min-height: 42px;
  padding-inline: 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.875rem;
  font-weight: 730;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.billing-switch button:hover {
  color: #fff;
}

.billing-switch button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.billing-switch button span {
  margin-left: 5px;
  color: var(--green-dark);
  font-size: 0.7rem;
}

.pricing-included {
  border-left: 1px solid var(--line-light);
}

.pricing-included > p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pricing-included ul {
  margin-top: 28px;
  display: grid;
}

.pricing-included li {
  min-height: 61px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: padding-left 180ms ease, color 180ms ease;
}

.pricing-included li:hover {
  padding-left: 5px;
  color: #fff;
}

.pricing-included li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.pricing-included svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-buy {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  background: var(--green-bright);
  color: var(--ink);
}

.pricing-buy::after {
  position: absolute;
  right: -74px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(8, 23, 33, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(8, 23, 33, 0.035), 0 0 0 56px rgba(8, 23, 33, 0.02);
  pointer-events: none;
}

.pricing-cycle {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-lockup {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.price-lockup.is-changing {
  animation: price-swap 300ms ease;
}

@keyframes price-swap {
  0% { opacity: 0.45; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}

.price-lockup > strong {
  font-size: clamp(4.2rem, 7vw, 7rem);
  font-weight: 790;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.price-lockup > span {
  padding-bottom: 2px;
  display: grid;
  gap: 3px;
}

.price-lockup b,
.price-lockup small {
  display: block;
}

.price-lockup b {
  font-size: 1.3rem;
}

.price-lockup small {
  color: rgba(8, 23, 33, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-buy > p {
  position: relative;
  z-index: 1;
  min-height: 48px;
  margin-top: 27px;
  color: rgba(8, 23, 33, 0.66);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pricing-button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: auto;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 23, 33, 0.18);
}

.pricing-button:hover {
  border-color: #17313b;
  background: #17313b;
}

.pricing-buy > small {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(8, 23, 33, 0.6);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-buy > small svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.founding-bar {
  min-height: 88px;
  padding: 19px clamp(25px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(22px, 4vw, 55px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  color: var(--ink);
}

.founding-bar > span {
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.founding-bar p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.founding-bar p strong {
  margin-right: 4px;
}

.founding-bar em {
  min-height: 31px;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.pricing-fineprint {
  margin-top: 19px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pricing-fineprint p {
  padding: 18px 20px;
  border-left: 2px solid var(--green);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.pricing-fineprint strong {
  color: var(--ink);
}

/* Closing */
.closing-section {
  padding-block: clamp(90px, 11vw, 170px);
  overflow: hidden;
  background: var(--green-bright);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(60px, 10vw, 170px);
  align-items: center;
}

.closing-copy .section-index {
  padding-top: 0;
  color: var(--green-dark);
}

.closing-copy h2 {
  margin-top: 25px;
}

.closing-copy > p:not(.section-index) {
  margin-top: 25px;
  color: rgba(8, 23, 33, 0.67);
  font-size: 1.05rem;
}

.closing-copy .button {
  margin-top: 37px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 15px 36px rgba(8, 23, 33, 0.18);
}

.closing-copy .button:hover {
  background: #17313b;
}

.closing-statement {
  position: relative;
  padding-left: 32px;
  display: grid;
  border-left: 1px solid rgba(8, 23, 33, 0.25);
}

.closing-statement span {
  padding-block: 9px;
  color: rgba(8, 23, 33, 0.2);
  font-size: clamp(2.7rem, 5.2vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.92;
  transition: color 200ms ease, transform 200ms ease;
}

.closing-statement span:last-child,
.closing-statement span:hover {
  transform: translateX(10px);
  color: var(--ink);
}

/* Footer */
.site-footer {
  padding-block: 54px 26px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
}

.footer-brand .brand-mark circle {
  fill: var(--green-bright);
}

.footer-brand .brand-mark circle:last-child {
  fill: var(--green);
}

.footer-brand .brand-mark path {
  stroke: var(--green-bright);
}

.footer-grid > p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
}

.back-to-top {
  font-size: 0.75rem;
}

.back-to-top svg {
  transform: rotate(-90deg);
}

.back-to-top:hover svg {
  transform: rotate(-90deg) translateX(4px);
}

.footer-meta {
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.37);
  font-size: 0.63rem;
}

.footer-meta p {
  max-width: 760px;
}

.footer-meta > span {
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1200px) {
  :root {
    --page: min(calc(100% - 44px), 1120px);
  }

  .desktop-nav {
    gap: 20px;
  }

  .release-tag {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(350px, 0.85fr) minmax(490px, 1.15fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6.7vw, 5.4rem);
  }

  .float-glucose {
    right: -10px;
  }

  .timeline-agenda {
    grid-template-columns: repeat(4, 1fr);
  }

  .agenda-title {
    grid-column: 1 / -1;
    padding-bottom: 20px;
  }

  .agenda-item:first-of-type {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --page: min(calc(100% - 36px), 880px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 80px 112px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 10.5vw, 6.4rem);
  }

  .hero-stage {
    max-width: 870px;
  }

  .float-glucose {
    right: 20px;
  }

  .rail-track {
    min-width: max-content;
    width: auto;
    padding-inline: 28px;
    justify-content: flex-start;
  }

  .fragmented-vs-unified {
    grid-template-columns: 1fr;
  }

  .fragmented-side,
  .unified-side {
    min-height: auto;
  }

  .fragmented-side::after {
    inset: auto 0 0;
    width: auto;
    height: 1px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  .demo-copy .section-index,
  .demo-copy h2 {
    grid-column: 1 / -1;
  }

  .demo-copy > p:not(.section-index):not(.demo-note) {
    grid-column: 1;
  }

  .input-modes {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin-top: 28px;
  }

  .demo-note {
    grid-column: 1;
  }

  .feature-wide {
    grid-template-columns: 1fr;
  }

  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-list article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .audience-list article:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .pricing-main {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  }

  .pricing-intro {
    grid-column: 1;
    grid-row: 1;
  }

  .pricing-included {
    grid-row: 2;
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .pricing-included ul {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 34px;
  }

  .pricing-buy {
    grid-row: 1;
    grid-column: 2;
  }

  .closing-grid {
    grid-template-columns: 1fr 0.7fr;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-grid > p {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .section-pad {
    padding-block: 94px;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .header-actions > .button {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid {
    padding-block: 57px 89px;
    gap: 54px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.9rem);
    line-height: 0.94;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 30px;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    width: max-content;
    padding: 8px 2px;
  }

  .hero-proof {
    margin-top: 52px;
  }

  .hero-proof div + div {
    padding-left: 12px;
  }

  .hero-proof dt {
    font-size: 1.05rem;
  }

  .hero-proof dd {
    font-size: 0.66rem;
  }

  .hero-stage {
    padding: 10px;
    border-radius: 22px;
  }

  .stage-topline {
    height: 31px;
    font-size: 0.58rem;
  }

  .stage-media {
    border-radius: 14px;
  }

  .float-glucose {
    right: 12px;
    bottom: -30px;
    min-width: 145px;
    padding: 13px 14px;
  }

  .float-glucose strong {
    font-size: 1.45rem;
  }

  .float-insight {
    display: none;
  }

  .signal-rail {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .signal-rail::-webkit-scrollbar {
    display: none;
  }

  .rail-track {
    min-height: 58px;
    gap: 15px;
    font-size: 0.61rem;
  }

  .split-heading,
  .audience-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-index {
    padding-top: 0;
  }

  .section-heading h2,
  .audience-heading h2,
  .closing-copy h2 {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
  }

  .section-heading > div > p {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .fragmented-vs-unified {
    border-radius: 20px;
  }

  .fragmented-side,
  .unified-side {
    padding: 30px 24px 38px;
  }

  .fragmented-vs-unified h3 {
    font-size: 2.35rem;
  }

  .fragment-list {
    margin-top: 38px;
  }

  .event-story {
    margin-top: 44px;
    grid-template-columns: 66px 18px 1fr;
    gap: 12px;
  }

  .event-time strong {
    font-size: 1.3rem;
  }

  .event-chips span {
    padding-inline: 10px;
    font-size: 0.69rem;
  }

  .event-conclusion {
    grid-column: 1 / -1;
    margin-left: 96px;
  }

  .demo-copy {
    display: block;
  }

  .demo-copy h2 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }

  .input-modes {
    margin-top: 38px;
  }

  .ai-console {
    border-radius: 20px;
  }

  .console-bar {
    min-height: 58px;
    padding-inline: 17px;
  }

  .console-content {
    padding: 17px;
  }

  .capture-box {
    padding: 17px 16px 12px;
  }

  .processing-flow {
    gap: 5px;
  }

  .flow-step small {
    font-size: 0.54rem;
  }

  .console-result {
    padding: 16px;
  }

  .result-metrics span {
    padding-inline: 7px;
  }

  .timeline-console {
    margin-inline: -3px;
    border-radius: 20px;
  }

  .timeline-top {
    min-height: auto;
    padding: 24px 20px;
    align-items: stretch;
    flex-direction: column;
  }

  .range-tabs {
    width: 100%;
  }

  .range-tabs button {
    min-width: 0;
    flex: 1;
    padding-inline: 6px;
  }

  .chart-wrap {
    margin-inline: 18px;
    padding-left: 29px;
  }

  .chart-y-labels {
    font-size: 0.57rem;
  }

  .chart-x-labels {
    left: 29px;
    font-size: 0.55rem;
  }

  .chart-tooltip {
    min-width: 102px;
  }

  .timeline-agenda {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .agenda-title {
    grid-column: auto;
    padding: 4px 0 18px;
  }

  .agenda-item,
  .agenda-item:first-of-type {
    min-height: 82px;
    padding: 13px 6px;
    grid-template-columns: 56px 9px 1fr auto;
    grid-template-rows: 1fr;
    align-items: center;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .agenda-item time,
  .agenda-item em {
    grid-column: auto;
  }

  .agenda-item i {
    margin-top: 0;
  }

  .agenda-item strong,
  .agenda-item small {
    white-space: normal;
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }

  .feature-wide,
  .feature-workout {
    grid-column: auto;
  }

  .capability-feature,
  .feature-therapy,
  .feature-plan,
  .feature-workout,
  .feature-wide {
    min-height: auto;
  }

  .feature-wide {
    padding-top: 48px;
  }

  .response-module {
    padding: 19px;
    transform: none;
  }

  .response-values {
    grid-template-columns: 1fr auto 1fr;
  }

  .response-values .delta {
    grid-column: 1 / -1;
  }

  .therapy-stack,
  .plan-days {
    margin-top: 32px;
  }

  .workout-top {
    flex-direction: column;
  }

  .workout-timer {
    min-width: 0;
    text-align: left;
  }

  .exercise-list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .exercise-list > div + div {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .comparison-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .comparison-wrap table,
  .comparison-wrap tbody,
  .comparison-wrap tr,
  .comparison-wrap th,
  .comparison-wrap td {
    display: block;
    width: 100%;
  }

  .comparison-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .comparison-wrap tbody {
    display: grid;
    gap: 14px;
  }

  .comparison-wrap tbody tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(8, 23, 33, 0.045);
  }

  .comparison-wrap tbody th,
  .comparison-wrap tbody td {
    min-height: 50px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: right;
  }

  .comparison-wrap tbody th {
    width: 100%;
    display: block;
    background: #e9ece6;
    font-size: 0.82rem;
    text-align: left;
  }

  .comparison-wrap tbody td::before {
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 700;
    text-align: left;
  }

  .comparison-wrap tbody td:nth-of-type(1)::before {
    content: "Dnevnik hrane";
  }

  .comparison-wrap tbody td:nth-of-type(2)::before {
    content: "CGM aplikacija";
  }

  .comparison-wrap tbody td:nth-of-type(3)::before {
    content: "Generični AI";
  }

  .comparison-wrap tbody td:nth-of-type(4)::before {
    content: "Metabolic";
    color: var(--green-dark);
  }

  .comparison-wrap tbody td:last-child {
    border-bottom: 0;
  }

  .comparison-wrap .metabolic-col {
    border-left: 0;
  }

  .comparison-wrap svg {
    margin-inline: 0;
    justify-self: end;
  }

  .metabolic-col small {
    grid-column: 2;
    margin-top: 2px;
    text-align: right;
  }

  .audience-list {
    grid-template-columns: 1fr 1fr;
  }

  .audience-list article {
    min-height: 260px;
    padding-inline: 18px;
  }

  .audience-list h3 {
    margin-top: 66px;
  }

  .pricing-main {
    grid-template-columns: 1fr;
  }

  .pricing-intro,
  .pricing-included,
  .pricing-buy {
    grid-row: auto;
    grid-column: auto;
  }

  .pricing-included,
  .pricing-buy {
    border-top: 1px solid var(--line-light);
  }

  .pricing-included ul {
    grid-template-columns: 1fr;
  }

  .pricing-buy {
    min-height: 500px;
  }

  .founding-bar {
    grid-template-columns: 1fr auto;
  }

  .founding-bar p {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .pricing-fineprint {
    grid-template-columns: 1fr;
  }

  .closing-grid {
    grid-template-columns: 1fr;
  }

  .closing-statement {
    padding: 26px 0 0;
    border-top: 1px solid rgba(8, 23, 33, 0.25);
    border-left: 0;
  }

  .closing-statement span {
    padding-block: 4px;
    font-size: clamp(2.55rem, 14vw, 4.6rem);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  :root {
    --page: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13.5vw, 4rem);
  }

  .eyebrow {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof dd {
    max-width: 78px;
  }

  .fragmented-side,
  .unified-side {
    padding-inline: 20px;
  }

  .event-story {
    grid-template-columns: 56px 14px 1fr;
    gap: 9px;
  }

  .event-conclusion {
    margin-left: 79px;
  }

  .result-head {
    align-items: stretch;
    flex-direction: column;
  }

  .edit-action {
    width: max-content;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .result-metrics span {
    min-height: 55px;
  }

  .result-metrics span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 0;
  }

  .agenda-item,
  .agenda-item:first-of-type {
    grid-template-columns: 49px 8px 1fr;
  }

  .agenda-item em {
    display: none;
  }

  .plan-days {
    grid-template-columns: 1fr;
  }

  .plan-days button {
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: center;
  }

  .plan-days button small {
    grid-column: 1 / -1;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .audience-list article,
  .audience-list article:nth-child(2),
  .audience-list article:nth-child(3),
  .audience-list article:nth-child(4) {
    min-height: 220px;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .audience-list article:first-child {
    border-top: 0;
  }

  .audience-list h3 {
    margin-top: 45px;
  }

  .pricing-shell {
    border-radius: 20px;
  }

  .pricing-intro,
  .pricing-included,
  .pricing-buy {
    padding: 28px 22px;
  }

  .billing-switch {
    width: 100%;
  }

  .billing-switch button {
    min-width: 0;
    flex: 1;
    padding-inline: 9px;
  }

  .pricing-buy {
    min-height: 455px;
  }

  .price-lockup > strong {
    font-size: clamp(4rem, 22vw, 6.2rem);
  }

  .founding-bar {
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .founding-bar p,
  .founding-bar em {
    grid-row: auto;
    grid-column: auto;
  }

  .founding-bar em {
    width: max-content;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    width: max-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
