:root {
  color-scheme: dark;
  --ink: #f7f6f3;
  --paper: #141416;
  --surface: #212126;
  --muted: #bab8c0;
  --line: #35333d;
  --lime: #d7f75c;
  --lilac: #c8b7ff;
  color: var(--ink);
  background: var(--paper);
  font-family: Geist, Inter, system-ui, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; }

.frame {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 780;
  letter-spacing: -.085em;
  line-height: 1;
}

.wordmark span { color: var(--lime); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}

.site-header nav a { padding-block: 12px; }
.site-header nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  padding-block: clamp(36px, 6vw, 70px) 68px;
}

.eyebrow {
  color: var(--lime);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1, h2 {
  font-weight: 740;
  letter-spacing: -.063em;
  line-height: 1.04;
}

h1 {
  margin-block: 18px 20px;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
}

h1 em { color: var(--lime); font-style: normal; }

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.23rem);
  line-height: 1.57;
}

.cta {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  min-height: 52px;
  max-width: 100%;
  padding: 13px 21px;
  background: var(--lime);
  color: #17190e;
  cursor: pointer;
  font: inherit;
  font-weight: 740;
}

.cta:hover { background: #e8ff9f; }
.hero-copy .cta { margin-top: 24px; }

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(18px, 3.2vw, 34px) 14px 17px;
  border: 1px solid #484055;
  border-radius: 28px;
  background: radial-gradient(ellipse at 24% 18%, #6b568c, #342844 65%, #272132);
}

.hero-visual figcaption { color: #f1e9fa; font-size: .84rem; }

.phone {
  display: grid;
  gap: 10px;
  width: min(100%, 318px);
  padding: 15px 13px 10px;
  background: #161619;
  border: 5px solid #0c0c0d;
  border-radius: 33px;
  box-shadow: 0 0 0 1px #796e85, 0 16px 40px #110d17a8;
}

.phone-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 8px 4px;
  color: var(--muted);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
.phone-top .wordmark { font-size: 1.15rem; }

.phone-heading, .app-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px 10px;
  flex-wrap: wrap;
}

.phone-heading { padding: 2px 4px 1px; }
.screen-title { font-size: 1.4rem; font-weight: 750; letter-spacing: -.042em; }
.screen-muted { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.pill {
  border-radius: 20px;
  padding: 5px 8px;
  background: #2d3220;
  color: var(--lime);
  font-size: .75rem;
  font-weight: 650;
}

.app-card { border: 1px solid #34333a; border-radius: 15px; background: #232328; padding: 11px 12px; }
.app-card-heading { margin-bottom: 4px; font-size: .92rem; }
.app-card-heading > span { color: var(--muted); font-size: .79rem; }
.chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 3px; }
.chart-value { display: grid; grid-template-rows: auto 44px auto; justify-items: center; gap: 3px; }
.chart-value b { font-size: .86rem; }
.chart-value i { align-self: end; width: min(100%, 37px); height: 91.3%; background: #77707f; border-radius: 4px 4px 1px 1px; }
.chart-value:nth-child(2) i { height: 95.7%; }
.chart-value:last-child i { height: 100%; background: var(--lime); }
.chart-value:last-child b { color: var(--lime); }
.chart-value span { font-size: .75rem; color: var(--muted); }

.recommendation {
  background: #19191e;
  border-radius: 9px;
  padding: 8px 9px;
  margin-top: 7px;
  font-size: .83rem;
  line-height: 1.35;
}

.recommendation span { display: block; margin-bottom: 2px; color: var(--lilac); font-size: .77rem; font-weight: 680; }

.app-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  padding: 7px 0 2px;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
}

.app-nav .current { color: var(--lime); font-weight: 700; }

.workflow { border-top: 1px solid var(--line); padding-block: 54px 48px; }
h2 { font-size: clamp(2rem, 4.2vw, 3.45rem); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }

.feature {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 30px);
}

.feature h3 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); letter-spacing: -.035em; }
.feature > p {
  margin-top: 6px;
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.55;
}

.feature-example {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 235px;
  margin-top: 19px;
  padding: clamp(10px, 2vw, 19px);
  border-radius: 12px;
  background: #332e40;
}

.feature:nth-child(2) .feature-example { background: #303625; }
.feature-example .app-card { width: min(100%, 305px); }
.example-title { font-size: 1.05rem; font-weight: 720; }
.training-example .example-title { margin-top: 3px; }
.training-example table { width: 100%; margin-top: 9px; border-spacing: 0; font-size: .82rem; text-align: left; }
.training-example th, .training-example td { padding: 7px 3px; }
.training-example thead { color: var(--muted); }
.training-example th { font-weight: 650; }
.training-example tbody :is(td, th) { border-top: 1px solid #404049; }
.training-example td:nth-child(2) { color: var(--muted); }
.training-example td:last-child { color: var(--lime); font-weight: 730; }
.meal-example { padding: 0; overflow: hidden; }
.meal-example img { display: block; width: 100%; height: 116px; object-fit: cover; }
.meal-details { padding: 9px 11px 10px; }
.meal-values { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; color: var(--lime); font-size: .86rem; }

.pricing { padding-bottom: 44px; }
.price-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid #4c425e;
  border-radius: 22px;
  background: #272133;
}
.price-panel h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
.pricing-action { text-align: center; }

.site-footer {
  min-height: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: .85rem;
}
.site-footer .wordmark { font-size: 1.45rem; }

dialog {
  max-width: min(440px, 90vw);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 27px;
}
dialog h2 { font-size: 2rem; }
dialog p { margin-block: 12px 19px; color: var(--muted); line-height: 1.5; }
dialog::backdrop { background: #000b; }

@media (max-width: 760px) {
  .frame { width: calc(100% - 36px); }
  .site-header { min-height: 62px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 32px 40px; gap: 25px; }
  h1 { font-size: clamp(2.35rem, 9.8vw, 4.25rem); margin-block: 12px 14px; }
  .hero-visual { min-width: 0; }
  .workflow { padding-block: 36px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .price-panel { flex-direction: column; align-items: flex-start; }
  .pricing-action { text-align: left; }
  .pricing { padding-bottom: 30px; }
}

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