:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #dbe5f1;
  --surface: #f8fafc;
  --pale-blue: #eff6ff;
  --green: #10b981;
  --white: #fff;
  --shadow: 0 24px 64px rgba(30, 64, 175, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 229, 241, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 850; letter-spacing: -.025em; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, var(--blue-dark));
  box-shadow: 0 9px 22px rgba(37, 99, 235, .24);
}
.site-nav { display: flex; align-items: center; gap: 28px; color: #475569; font-size: 14px; font-weight: 750; }
.site-nav a { transition: color .2s, background .2s, transform .2s; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-login { padding-left: 10px; }
.site-nav .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 11px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .2);
}
.site-nav .nav-cta:hover { color: #fff; background: var(--blue-dark); transform: translateY(-1px); }
.mobile-header-actions { display: none; align-items: center; gap: 9px; }
.mobile-signup { display: inline-flex; min-height: 44px; align-items: center; padding: 0 15px; border-radius: 10px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 800; }
.menu-toggle { display: grid; width: 44px; height: 44px; padding: 10px; place-content: center; gap: 5px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { padding: 112px 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.section-title { max-width: 650px; }
.section-title.centered { margin: 0 auto 52px; text-align: center; }
.section-title.wide-title { max-width: 780px; }
.section-title h2,
.feature-copy h2,
.ai-copy h2,
.final-cta h2 { margin: 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.3; letter-spacing: -.045em; }
.section-title > p:last-child { margin: 18px 0 0; color: var(--muted); }

.hero { position: relative; overflow: hidden; padding: 104px 0 116px; background: linear-gradient(155deg, #fff 18%, #f5f9ff 88%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .93fr 1.07fr; gap: 72px; align-items: center; }
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-one { top: -240px; left: -150px; width: 590px; height: 590px; background: radial-gradient(circle, rgba(191, 219, 254, .65), rgba(239, 246, 255, 0) 69%); }
.hero-glow-two { right: -190px; bottom: -310px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(147, 197, 253, .3), rgba(239, 246, 255, 0) 70%); }
.hero h1 { margin: 0; max-width: 690px; font-size: clamp(45px, 4.7vw, 62px); line-height: 1.25; letter-spacing: -.058em; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 17px; font-weight: 520; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 30px; padding: 0 28px; border-radius: 12px; font-size: 15px; font-weight: 850; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 15px 32px rgba(37, 99, 235, .24); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 36px rgba(37, 99, 235, .28); }
.hero-cta { margin-top: 34px; }
.benefit-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 25px 0 0; padding: 0; color: #64748b; font-size: 12px; font-weight: 750; list-style: none; }
.benefit-list li::before { display: inline-grid; width: 18px; height: 18px; margin-right: 6px; place-items: center; border-radius: 50%; color: var(--green); background: #e8f8f3; content: "✓"; font-size: 10px; }

.hero-product { position: relative; min-width: 0; }
.product-window { overflow: hidden; border: 1px solid rgba(191, 205, 223, .9); border-radius: 25px; background: rgba(255, 255, 255, .98); box-shadow: 0 34px 80px rgba(30, 64, 175, .15); }
.product-window-bar { position: relative; display: flex; height: 38px; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid #e7edf5; background: #f8fafc; }
.window-dot { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.product-screen-label { position: absolute; right: 15px; color: #94a3b8; font-size: 9px; font-weight: 750; }
.product-content { padding: 23px; }
.product-heading, .ui-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.product-heading > div, .ui-card-head > div { display: grid; }
.product-heading small, .ui-card-head small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.product-heading strong, .ui-card-head strong { font-size: 16px; }
.product-heading > span, .ui-card-head > span { padding: 6px 9px; border-radius: 7px; color: #64748b; background: #f1f5f9; font-size: 9px; font-weight: 750; }
.hero-metrics { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; margin-top: 17px; }
.hero-metric { display: grid; align-content: center; min-height: 105px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fafcff; }
.hero-metric > span { color: #64748b; font-size: 9px; font-weight: 750; }
.hero-metric strong { margin-top: 3px; font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
.hero-metric strong small { font-size: 9px; letter-spacing: 0; }
.hero-metric em { margin-top: 5px; color: #94a3b8; font-size: 8px; font-style: normal; }
.hero-metric.primary-metric { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--blue), #1745a8); box-shadow: 0 12px 28px rgba(37, 99, 235, .2); }
.hero-metric.primary-metric > span, .hero-metric.primary-metric em { color: #dbeafe; }
.hero-chart-card { margin-top: 10px; padding: 14px 15px 5px; border: 1px solid var(--line); border-radius: 14px; }
.chart-title-row { display: flex; align-items: center; justify-content: space-between; }
.chart-title-row > div:first-child { display: grid; }
.chart-title-row strong { font-size: 10px; }
.chart-title-row > div:first-child span { color: #94a3b8; font-size: 7px; }
.chart-legend { display: flex; gap: 12px; color: #64748b; font-size: 7px; }
.chart-legend span::before { display: inline-block; width: 12px; height: 2px; margin: 0 4px 2px 0; background: var(--blue); content: ""; }
.chart-legend span:last-child::before { background: var(--green); }
.hero-chart-card svg { width: 100%; height: auto; }
.chart-grid line { stroke: #e7edf5; stroke-width: 1; }
.chart-area { fill: url(#heroArea); }
.chart-weight, .chart-average { fill: none; stroke-linecap: round; }
.chart-weight { stroke: var(--blue); stroke-width: 4; }
.chart-average { stroke: var(--green); stroke-width: 3; }
.hero-workout-summary { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid #d8e6ff; border-radius: 13px; background: #f8fbff; }
.workout-check { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--blue); background: #e8f0ff; font-size: 12px; font-weight: 900; }
.hero-workout-summary > div { display: grid; min-width: 0; }
.hero-workout-summary small { color: #64748b; font-size: 8px; }
.hero-workout-summary strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.summary-status { margin-left: auto; color: var(--green); font-size: 9px; font-weight: 800; }

.problems { background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.problem-grid article { min-height: 210px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.line-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #bfdbfe; border-radius: 14px; color: var(--blue); background: #fff; font-size: 15px; font-weight: 900; }
.problem-grid h3 { margin: 36px 0 0; font-size: 17px; line-height: 1.65; }

.mechanism { border-top: 1px solid #edf2f7; background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.step-card { position: relative; min-height: 285px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.step-card.featured-step { border-color: #bfdbfe; box-shadow: 0 18px 44px rgba(37, 99, 235, .11); }
.step-number { position: absolute; top: 30px; right: 30px; color: #cbd5e1; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.step-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; color: var(--blue); background: var(--pale-blue); }
.step-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin: 26px 0 8px; font-size: 21px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }
.step-arrow { display: grid; width: 58px; place-items: center; color: #94a3b8; font-size: 23px; }

.analysis-feature { background: #fff; }
.feature-split { display: grid; grid-template-columns: 1.12fr .88fr; gap: 88px; align-items: center; }
.feature-copy h2 { font-size: clamp(35px, 4vw, 50px); }
.feature-copy > p:not(.eyebrow):not(.data-note) { margin: 24px 0 0; color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; font-size: 14px; font-weight: 750; }
.check-list li::before { position: absolute; left: 0; top: 2px; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--pale-blue); content: "✓"; font-size: 11px; }
.data-note { margin: 24px 0 0; padding: 13px 15px; border-radius: 10px; color: #64748b; background: var(--surface); font-size: 12px; }
.ui-card { padding: 24px; border: 1px solid #d7e2ef; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.analysis-summary-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 10px; margin-top: 18px; }
.analysis-summary-grid article { display: grid; align-content: center; min-height: 120px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.analysis-summary-grid article > span { color: var(--muted); font-size: 9px; font-weight: 750; }
.analysis-summary-grid article > strong { margin-top: 5px; font-size: 18px; }
.analysis-summary-grid article > strong small { font-size: 9px; }
.analysis-summary-grid article > small { color: #94a3b8; font-size: 8px; }
.analysis-summary-grid .analysis-tdee { color: #fff; border: 0; background: linear-gradient(135deg, var(--blue), #153e99); }
.analysis-summary-grid .analysis-tdee > span { color: #dbeafe; }
.analysis-summary-grid .analysis-tdee > strong { font-size: 27px; }
.analysis-summary-grid .analysis-tdee em { width: max-content; margin-top: 7px; padding: 3px 7px; border-radius: 5px; color: #fff; background: rgba(255, 255, 255, .15); font-size: 8px; font-style: normal; }
.analysis-chart { position: relative; margin-top: 10px; padding: 16px 15px 5px; border: 1px solid var(--line); border-radius: 15px; }
.analysis-chart-label { display: flex; align-items: baseline; gap: 7px; }
.analysis-chart-label strong { font-size: 18px; }
.analysis-chart-label span { color: var(--green); font-size: 9px; font-weight: 750; }
.analysis-chart svg { width: 100%; height: auto; margin-top: 4px; }
.calorie-targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.calorie-targets article { display: grid; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.calorie-targets span { color: var(--muted); font-size: 8px; }
.calorie-targets strong { font-size: 11px; }
.calorie-targets small { color: #94a3b8; font-size: 7px; }
.calorie-targets .selected-target { border-color: #93c5fd; background: var(--pale-blue); }

.workout-feature { background: var(--surface); }
.workout-split { grid-template-columns: .84fr 1.16fr; }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 22px; margin-top: 28px; color: var(--blue); font-size: 14px; font-weight: 850; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.phone-frame { max-width: 620px; margin-left: auto; padding: 23px; border: 1px solid #d7e2ef; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-head > div { display: grid; }
.phone-head small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.phone-head strong { font-size: 18px; }
.phone-head > span { padding: 5px 10px; border-radius: 30px; color: #08785a; background: #e4f8f1; font-size: 9px; font-weight: 800; }
.exercise-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.exercise-card + .exercise-card { margin-top: 8px; }
.exercise-card.open { border-color: #bfdbfe; }
.exercise-head { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; }
.exercise-head > div { display: grid; }
.exercise-head small { color: var(--muted); font-size: 8px; }
.exercise-head strong { font-size: 14px; }
.exercise-head > span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: var(--blue); background: var(--pale-blue); font-size: 12px; }
.set-table { display: grid; grid-template-columns: 36px 1fr 1fr 36px; gap: 7px; align-items: center; padding: 0 16px 15px; }
.set-table > span { color: #64748b; font-size: 7px; }
.set-table > strong { font-size: 10px; }
.set-table em { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--surface); font-size: 10px; font-style: normal; }
.set-table button { width: 31px; height: 31px; padding: 0; border: 1px solid #bfdbfe; border-radius: 8px; color: var(--blue); background: var(--pale-blue); }
.previous-record { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1px 8px; padding: 12px 16px; border-top: 1px solid #dbeafe; background: #f7fbff; }
.previous-record span { color: #64748b; font-size: 8px; }
.previous-record strong { grid-column: 1; font-size: 10px; }
.previous-record button { grid-column: 2; grid-row: 1 / 3; min-height: 32px; padding: 0 10px; border: 1px solid #bfdbfe; border-radius: 8px; color: var(--blue); background: #fff; font-size: 9px; font-weight: 800; }
.exercise-card.collapsed .exercise-head { min-height: 60px; }
.autosave-status { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; color: #64748b; font-size: 9px; }
.autosave-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e8f8f3; }

.goals { background: #fff; }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.goal-grid article { position: relative; min-height: 310px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.goal-grid article::after { position: absolute; right: -42px; bottom: -52px; width: 155px; height: 155px; border-radius: 50%; background: radial-gradient(circle, rgba(191, 219, 254, .55), rgba(239, 246, 255, 0) 70%); content: ""; }
.goal-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; color: var(--blue); background: #fff; box-shadow: 0 9px 22px rgba(15, 23, 42, .06); font-size: 22px; font-weight: 800; }
.goal-grid h3 { margin: 28px 0 10px; font-size: 23px; }
.goal-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.goal-grid small { position: absolute; left: 34px; bottom: 28px; color: #94a3b8; font-size: 9px; font-weight: 900; letter-spacing: .14em; }

.ai-coming { padding-top: 20px; background: #fff; }
.ai-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 68px; border: 1px solid #dbeafe; border-radius: 28px; background: linear-gradient(135deg, #eff6ff, #f8fbff 62%, #fff); }
.ai-label-row { display: flex; align-items: center; gap: 12px; }
.ai-label-row .eyebrow { margin: 0; }
.ai-label-row > span { padding: 5px 9px; border: 1px solid #bfdbfe; border-radius: 30px; color: var(--blue); background: #fff; font-size: 10px; font-weight: 850; }
.ai-copy h2 { margin-top: 17px; font-size: clamp(33px, 3.7vw, 48px); }
.ai-copy > p:last-child { margin: 23px 0 0; color: var(--muted); }
.ai-list { display: grid; gap: 10px; }
.ai-list article { display: flex; gap: 17px; align-items: center; padding: 18px; border: 1px solid #dbeafe; border-radius: 16px; background: rgba(255, 255, 255, .82); }
.ai-list article > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--blue); background: var(--pale-blue); font-size: 10px; font-weight: 900; }
.ai-list article > div { display: grid; }
.ai-list strong { font-size: 14px; }
.ai-list p { margin: 1px 0 0; color: var(--muted); font-size: 11px; }

.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; cursor: pointer; font-size: 16px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--blue); background: var(--pale-blue); font-size: 18px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -4px 50px 24px 0; color: var(--muted); font-size: 14px; }

.final-cta { padding: 94px 0; color: #fff; background: radial-gradient(circle at 11% 18%, rgba(59, 130, 246, .46), transparent 30%), var(--navy); }
.final-cta .eyebrow { color: #93c5fd; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.final-cta h2 { font-size: clamp(38px, 4.3vw, 54px); }
.final-cta-inner > div > p:last-child { max-width: 650px; margin: 19px 0 0; color: #cbd5e1; }
.button-light { flex: 0 0 auto; color: var(--blue-dark); background: #fff; box-shadow: 0 18px 42px rgba(0, 0, 0, .22); }
.button-light:hover { background: #f8fafc; }

.site-footer { padding: 40px 0; color: #94a3b8; background: #080f1e; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 50px; align-items: center; }
.footer-brand { color: #fff; }
.footer-brand-block p { margin: 8px 0 0; font-size: 11px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; font-size: 12px; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner > small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, .15); font-size: 10px; }

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 800px; }
  .hero-product { max-width: 820px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-split { gap: 48px; }
  .ai-panel { gap: 45px; padding: 50px; }
  .faq-layout { gap: 60px; }
}

@media (max-width: 820px) {
  .site-nav { position: absolute; top: 64px; right: 15px; left: 15px; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 20px 48px rgba(15, 23, 42, .16); }
  .site-nav.is-open { display: grid; }
  .site-nav a { display: flex; min-height: 48px; align-items: center; padding: 0 13px; border-radius: 9px; }
  .site-nav .nav-login { padding-left: 13px; }
  .site-nav .nav-cta { margin-top: 5px; justify-content: center; }
  .mobile-header-actions { display: flex; }
  .header-inner { min-height: 64px; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .step-arrow { width: auto; height: 44px; transform: rotate(90deg); }
  .feature-split { grid-template-columns: 1fr; gap: 46px; }
  .analysis-split .analysis-ui { order: 2; }
  .analysis-split .feature-copy { order: 1; }
  .workout-split .feature-copy { order: 1; }
  .workout-split .workout-ui { order: 2; }
  .phone-frame { max-width: none; margin: 0; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-grid article { min-height: 260px; }
  .ai-panel { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .button-light { width: 100%; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 68px 0; }
  .section-title.centered { margin-bottom: 36px; text-align: left; }
  .section-title h2,
  .feature-copy h2,
  .ai-copy h2,
  .final-cta h2 { font-size: clamp(32px, 9vw, 40px); line-height: 1.36; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { gap: 43px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 42px); line-height: 1.32; letter-spacing: -.05em; }
  .hero-description { margin-top: 22px; font-size: 16px; }
  .hero-cta { width: 100%; margin-top: 28px; }
  .benefit-list { display: grid; gap: 8px; }
  .product-window { border-radius: 19px; }
  .product-content { padding: 14px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metric { min-height: 92px; }
  .hero-chart-card { padding-inline: 10px; }
  .product-heading > span { display: none; }
  .problem-grid { grid-template-columns: 1fr; gap: 10px; }
  .problem-grid article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; min-height: auto; align-items: center; padding: 22px; }
  .problem-grid h3 { margin: 0; font-size: 16px; }
  .step-card { min-height: auto; padding: 28px; }
  .analysis-summary-grid { grid-template-columns: 1fr; }
  .calorie-targets { grid-template-columns: 1fr; }
  .calorie-targets article { grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
  .set-table { grid-template-columns: 28px 1fr 1fr 34px; padding-inline: 12px; }
  .phone-frame { padding: 15px; border-radius: 19px; }
  .ai-coming { padding-top: 0; }
  .ai-panel { width: calc(100% - 30px); padding: 30px 22px; border-radius: 22px; }
  .faq-list summary { min-height: 70px; font-size: 15px; }
  .faq-list details p { margin-right: 0; }
  .final-cta { padding: 72px 0; }
  .final-cta-inner { gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { justify-content: flex-start; }
  .footer-inner > small { grid-column: 1; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 33px; height: 33px; }
  .mobile-signup { padding-inline: 11px; font-size: 12px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 35px; }
  .hero-metric strong { font-size: 21px; }
  .chart-legend { display: none; }
  .hero-workout-summary strong { max-width: 170px; }
  .section-title h2,
  .feature-copy h2,
  .ai-copy h2,
  .final-cta h2 { font-size: 32px; }
  .ui-card { padding: 14px; border-radius: 19px; }
  .analysis-summary-grid .analysis-tdee > strong { font-size: 24px; }
  .phone-frame { padding: 12px; }
  .set-table { gap: 5px; }
  .set-table em { padding-inline: 7px; }
  .previous-record strong { font-size: 9px; }
  .ai-panel { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
