:root {
  --ink: #061b2d;
  --navy: #071d2f;
  --muted: #526779;
  --line: rgba(12, 72, 111, .13);
  --blue: #0e80d8;
  --cyan: #39c4f2;
  --soft: #f4fbff;
  --white: #fff;
  --shadow: 0 24px 70px rgba(14, 75, 111, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video, iframe { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; min-height: 76px; padding: 8px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 0; background: #fff; }
.brand { position: relative; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand img { width: 200px; height: 58px; object-fit: contain; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(14px, 1.75vw, 28px); }
.desktop-nav a { color: #334c60; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover { color: var(--blue); }
.mobile-nav-toggle, .mobile-site-nav { display: none; }
.site-footer a { color: #334c60; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border: 0; border-radius: 15px; color: #fff; background: linear-gradient(110deg, #24b7ee, #0878d4); box-shadow: 0 12px 28px rgba(8, 126, 215, .24); font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(8, 126, 215, .3); }
.button-small { min-height: 46px; padding-inline: 19px; font-size: 13px; border-radius: 14px; }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px rgba(29, 91, 128, .08); }

.hero { position: relative; overflow: hidden; min-height: 846px; padding: 74px 0 54px; background: radial-gradient(circle at 72% 24%, rgba(53,180,244,.22), transparent 27%), radial-gradient(circle at 14% 8%, rgba(113,203,255,.15), transparent 24%), linear-gradient(#fff 0%, #f7fcff 74%, #eef8ff 100%); }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .42; background-image: linear-gradient(rgba(32,139,201,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(32,139,201,.11) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(90deg, rgba(0,0,0,.42), #000 68%, transparent); pointer-events: none; }
.hero::after { position: absolute; right: -95px; top: 55px; width: 470px; aspect-ratio: 1; border: 35px solid rgba(47,167,229,.055); border-radius: 50%; content: ""; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.083fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 18px; color: #0781d7; font-size: 12px; font-weight: 900; letter-spacing: .14em; line-height: 1.45; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1 { max-width: 780px; font-size: clamp(44px, 4.4vw, 57.5px); font-weight: 900; line-height: 1.02; }
h1 span, .problem-section h2 span { color: var(--blue); }
.hero-lede { max-width: 650px; margin: 26px 0 28px; color: #466075; font-size: 17px; line-height: 1.75; }
.hero-actions { display: grid; grid-template-columns: 1fr .7fr; gap: 12px; max-width: 660px; }
.included { margin: 18px 0; color: #718391; font-size: 13px; }
.app-download-block { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 660px; margin: 0 0 18px; padding: 13px 14px; border: 1px solid #cfe7f8; border-radius: 16px; background: rgba(255,255,255,.76); box-shadow: 0 12px 28px rgba(15,103,186,.08); }
.app-download-copy { display: grid; gap: 3px; min-width: 0; color: #0a2940; }
.app-download-copy strong { font-size: 13px; line-height: 1.25; }
.app-download-copy span { color: #60778a; font-size: 11px; line-height: 1.35; }
.app-download-badges { display: flex; flex: 0 0 auto; gap: 8px; }
.store-badge { display: flex; align-items: center; gap: 9px; min-width: 139px; min-height: 45px; padding: 6px 11px; border: 1px solid #c8d9e6; border-radius: 10px; background: #fff; color: #0b1d2c; text-decoration: none; box-shadow: 0 5px 13px rgba(15,63,99,.11); transition: transform .18s ease, box-shadow .18s ease; }
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 9px 20px rgba(15,63,99,.18); }
.store-badge svg { width: 27px; height: 27px; flex: 0 0 auto; }
.store-badge-apple svg { box-sizing: border-box; padding: 5px; border-radius: 7px; background: linear-gradient(145deg,#24b8ff,#0878f9 58%,#6558f5); fill: #fff; }
.store-badge .play-icon { filter: drop-shadow(0 1px 2px rgba(0,0,0,.12)); }
.store-badge .play-green { fill: #00d07b; }
.store-badge .play-blue { fill: #00a8ff; }
.store-badge .play-yellow { fill: #ffc43d; }
.store-badge .play-red { fill: #ff4b55; }
.store-badge span { display: grid; line-height: 1; }
.store-badge small { margin-bottom: 3px; color: #5d7180; font-size: 7px; letter-spacing: .02em; }
.store-badge strong { font-size: 13px; white-space: nowrap; }
.proof-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.proof-list li { color: #2c4a60; font-size: 13px; font-weight: 800; }
.proof-list li::before, .check-list li::before, .price-card li::before { margin-right: 7px; color: #19a9e3; content: "✓"; }

.hero-visual { position: relative; min-width: 0; }
.hero-carousel { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 12px; position: relative; height: 610px; padding-bottom: 0; }
.hero-device-glow { position: absolute; top: 80px; left: 50%; width: 500px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(55,188,242,.24), rgba(55,188,242,0) 68%); transform: translateX(-50%); filter: blur(12px); }
.hero-device-stage { position: relative; inset: auto; min-height: 0; pointer-events: none; }
.platform-device { position: absolute; z-index: 2; overflow: hidden; background: #fff; box-shadow: 0 42px 80px rgba(11,29,48,.25), inset 0 0 0 1px rgba(255,255,255,.62), 0 0 0 2px rgba(53,180,244,.18); transition: width .24s ease, border-radius .24s ease, transform .24s ease; }
.hero-device-stage .platform-device { top: 50%; left: 50%; --hero-device-y: 0px; --hero-device-rotation: 0deg; transform: translate(-50%, calc(-50% + var(--hero-device-y))) rotate(var(--hero-device-rotation)); }
.hero-device-stage .platform-device-phone, .hero-device-stage .platform-device-app-phone { --hero-device-y: -100px; --hero-device-rotation: 0deg; }
.hero-device-stage .platform-device-platform { --hero-device-y: -94px; }
.platform-device-image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.platform-device-platform { width: min(560px, 100%); overflow: visible; background: transparent; box-shadow: none; }
.platform-device-platform .platform-device-image { z-index: 1; object-fit: contain; filter: drop-shadow(0 24px 38px rgba(11,29,48,.16)); }
.platform-device-image-work-anywhere { clip-path: none; }
.platform-laptop-screen { position: absolute; z-index: 2; top: 6.84%; left: 7.29%; width: 67.19%; height: 73.24%; overflow: hidden; background: #fff; }
.platform-laptop-screen-image { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.platform-device-phone, .platform-device-app-phone { width: 260px; border: 8px solid #07111c; border-radius: 46px; }
.platform-device-app-phone .platform-device-image, .platform-device-image-targets-mode, .platform-device-image-auto-split, .platform-device-image-macro-adjustments, .platform-device-image-meal-options { object-fit: fill; background: transparent; }
.platform-device-phone::before, .platform-device-app-phone::before { position: absolute; z-index: 3; top: -1px; left: 50%; width: 82px; height: 20px; border-radius: 0 0 14px 14px; background: #07111c; content: ""; transform: translateX(-50%); }
.platform-device-transition.is-entering { z-index: 3; animation: hero-device-enter .42s cubic-bezier(.22,1,.36,1) both; }
.platform-device-transition.is-leaving { z-index: 2; animation: hero-device-leave .42s ease both; }
@keyframes hero-device-enter { from { opacity: 0; transform: translate(-50%, calc(-50% + var(--hero-device-y) + 16px)) rotate(var(--hero-device-rotation)); } to { opacity: 1; transform: translate(-50%, calc(-50% + var(--hero-device-y))) rotate(var(--hero-device-rotation)) scale(1); } }
@keyframes hero-device-leave { from { opacity: 1; transform: translate(-50%, calc(-50% + var(--hero-device-y))) rotate(var(--hero-device-rotation)) scale(1); } to { opacity: 0; transform: translate(-50%, calc(-50% + var(--hero-device-y) - 10px)) rotate(var(--hero-device-rotation)); } }
.platform-caption-stage { position: relative; inset: auto; width: 360px; justify-self: center; transform: none; }
.platform-caption { position: relative; display: grid; gap: 5px; padding: 15px 18px; border: 2px solid rgba(53,180,244,.72); border-radius: 17px; background: rgba(255,255,255,.93); box-shadow: 0 0 0 4px rgba(53,180,244,.08), 0 14px 40px rgba(11,29,48,.08); transition: opacity .18s ease, transform .3s ease; }
.platform-caption span { color: #6d7f8e; font-size: 10px; }
.platform-caption strong { color: #0963aa; font-size: 15px; line-height: 1.3; }
.platform-caption p { margin: 0; color: #607487; font-size: 10px; line-height: 1.5; }
.platform-controls { position: relative; inset: auto; display: flex; gap: 5px; justify-content: center; transform: none; }
@media (min-width: 781px) {
  .hero-carousel:has(.platform-device-platform) .platform-controls { top: -130px; }
  .hero-carousel:has(.platform-device-platform) .platform-caption-stage { top: -130px; }
}
.platform-control { min-width: 0; height: 34px; padding: 0 7px; border: 1px solid #dceaf5; border-radius: 999px; color: #53697b; background: rgba(255,255,255,.86); font: 800 8.5px/1 Inter, Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease; }
.platform-control:hover { color: var(--blue); border-color: #83d2f6; }
.platform-control.is-active { color: #0871c6; border-color: #35b4f4; background: #eefaff; box-shadow: inset 0 0 0 1px rgba(53,180,244,.08); }

.walkthrough-section { padding: 92px 0; background: #fff; }
.walkthrough-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: center; }
.section-copy h2, .section-heading h2, .feature-copy h2, .final-cta h2 { font-size: clamp(36px, 4vw, 58px); font-weight: 900; line-height: 1.04; }
.section-copy > p:last-of-type, .section-heading > p:last-child, .feature-copy > p { color: var(--muted); line-height: 1.75; }
.workflow-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.workflow-points span { padding: 9px 12px; border: 1px solid rgba(22,137,205,.17); border-radius: 999px; color: #275873; background: var(--soft); font-size: 11px; font-weight: 800; }
.demo-player { min-width: 0; }
.demo-controls { display: grid; grid-template-columns: repeat(3, 1fr); width: min(520px, 100%); margin: 0 auto 14px; padding: 5px; border: 1px solid rgba(18,126,190,.16); border-radius: 15px; background: #eef8ff; box-shadow: 0 10px 26px rgba(13,88,132,.08); }
.demo-control { display: grid; place-content: center; gap: 3px; min-height: 52px; padding: 6px 18px; border: 0; border-radius: 11px; color: #526b7e; background: transparent; font: 800 12px/1 Inter, Arial, sans-serif; cursor: pointer; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.demo-control-audience { color: #1689cd; font-size: 9px; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.demo-control-version { line-height: 1.1; }
.demo-control:hover { color: var(--blue); }
.demo-control.is-active { color: #0871c6; background: #fff; box-shadow: 0 6px 18px rgba(9,102,161,.13), inset 0 0 0 1px rgba(53,180,244,.25); }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 8px solid #fff; border-radius: 24px; background: #03111c; box-shadow: 0 28px 75px rgba(4,47,76,.22), 0 0 0 1px rgba(10,96,151,.15); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame.is-mobile { width: min(330px, 100%); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 28px; }
.demo-poster { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; color: #fff; background: #03111c; cursor: pointer; }
.demo-poster[hidden] { display: none; }
.demo-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,16,31,.72) 0, transparent 18%, transparent 74%, rgba(0,12,25,.18) 100%); pointer-events: none; }
.demo-poster-title { position: absolute; z-index: 1; top: 14px; left: 14px; right: 14px; color: #fff; font: 800 15px/1.25 Inter, Arial, sans-serif; text-align: left; text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.demo-poster-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 70px; height: 50px; border-radius: 14px; background: #f03; box-shadow: 0 10px 28px rgba(0,0,0,.32); transform: translate(-50%, -50%); }
.demo-poster-play::after { content: ""; position: absolute; top: 50%; left: 52%; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 18px solid #fff; transform: translate(-50%, -50%); }

/* Match the /start demo posters exactly; the poster is replaced by YouTube
   only after the visitor presses play. */
.demo-controls { width: min(100%, 520px); margin-bottom: 30px; padding: 6px; border-color: #b4e0fb; border-radius: 17px; }
.demo-control { min-width: 0; padding-inline: 4px; color: #476983; font-size: clamp(.58rem, 1vw, .72rem); white-space: normal; }
.demo-control.is-active { color: #0873c5; box-shadow: 0 4px 10px rgba(25,116,176,.12); }
.video-frame { border: 1px solid #c5e1f2; border-radius: 24px; background: #071827; box-shadow: 0 25px 60px rgba(8,54,89,.18); }
.demo-poster { background: #0878bd; }
.demo-poster::after, .demo-poster-title { display: none; }
.demo-poster-play { width: 74px; height: 54px; border-radius: 15px; }

.problem-section { padding: 100px 0; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(17,135,212,.18), transparent 30%), var(--navy); }
.problem-section h2 { max-width: 820px; font-size: clamp(42px, 5vw, 70px); font-weight: 900; line-height: 1.02; }
.problem-section .section-lede { max-width: 980px; margin: 28px 0 44px; color: #b3c2ce; font-size: 16px; line-height: 1.8; }
.comparison-grid { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 20px; align-items: stretch; }
.comparison-grid article { padding: 28px; border: 1px solid rgba(150,205,236,.17); border-radius: 22px; background: rgba(255,255,255,.035); }
.comparison-label { color: #3ec4f4; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.comparison-grid ol { display: grid; gap: 16px; margin: 24px 0 0; padding-left: 22px; color: #c1cdd6; line-height: 1.5; }
.comparison-arrow { display: grid; place-items: center; color: #35bdeb; font-size: 34px; }
.comparison-positive h3 { margin: 24px 0 12px; font-size: 25px; line-height: 1.18; }
.comparison-positive > p { color: #b9c8d2; line-height: 1.6; }
.aligned { display: inline-block; margin-top: 28px; padding: 10px 14px; border-radius: 999px; color: #8ce3ff; background: rgba(35,180,235,.11); font-size: 12px; font-weight: 800; }

.product-section, .flexibility-section, .testimonial-section, .faq-section { padding-block: 108px; }
.section-heading { max-width: 820px; margin: 0 auto 50px; text-align: center; }
.section-heading > p:last-child { max-width: 720px; margin: 18px auto 0; }
.feature-showcase { overflow: hidden; padding: 10px; border: 1px solid rgba(21,130,193,.16); border-radius: 28px; background: linear-gradient(180deg, #edf9ff 0%, #f8fcff 45%, #fff 100%); box-shadow: 0 24px 65px rgba(15,87,127,.1); }
.feature-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feature-tab { display: grid; min-height: 72px; align-content: center; gap: 4px; padding: 13px 18px; border: 0; border-radius: 16px; color: #466982; background: transparent; text-align: left; cursor: pointer; transition: background .18s ease, box-shadow .18s ease, color .18s ease; }
.feature-tab:hover { color: var(--blue); background: rgba(255,255,255,.5); }
.feature-tab.is-active { color: #086bc0; background: #fff; box-shadow: 0 13px 32px rgba(33,119,171,.08); }
.feature-tab span { font-size: 16px; font-weight: 900; letter-spacing: -.03em; }
.feature-tab small { font-size: 11px; line-height: 1.35; }
.feature-panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; min-height: 690px; padding: 48px 42px 30px; border-radius: 22px; background: #fff; }
.feature-panel .feature-copy { max-width: 460px; justify-self: center; }
.feature-panel .feature-copy > p { margin-top: 20px; }
.feature-title-accent { color: var(--blue); }
.feature-video-shell { position: relative; display: grid; justify-items: center; align-content: center; min-height: 610px; }
/* The homepage uses the exact dynamic /start workflow pattern. Keep the
   state on the panel itself: a descendant :has selector and a 1101px cutoff
   caused Macro Adjustments to fall back to the old right-phone layout. */
@media (min-width: 781px) {
  [data-workflow-showcase] .feature-panel.feature-panel-adjustments .feature-copy { order: 2; }
  [data-workflow-showcase] .feature-panel.feature-panel-adjustments .feature-video-shell { order: 1; }
}
.feature-video-phone { width: min(320px, 100%); overflow: hidden; aspect-ratio: 276 / 479; border: 8px solid #071d2f; border-radius: 42px; background: #071d2f; box-shadow: 0 28px 64px rgba(10,47,73,.22), 0 0 0 1px rgba(89,193,240,.24); }
.feature-video { width: 100%; height: 100%; object-fit: cover; }
.feature-video-callout { width: min(300px, 100%); margin-top: -6px; padding: 14px 16px; border: 1px solid rgba(45,169,226,.45); border-radius: 16px; color: #0b67aa; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(22,97,141,.1); }
.feature-video-callout span, .flex-card > div > span { display: block; margin-bottom: 5px; color: var(--blue); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.feature-video-callout strong { font-size: 13px; line-height: 1.35; }

/* Keep the homepage workflow module identical to the live /start component.
   Scope this to the module so Smart Meal Flexibility is unchanged. */
[data-workflow-showcase] { padding: 0; border: 1px solid #dceaf5; border-radius: 30px; background: rgba(255,255,255,.92); box-shadow: 0 20px 60px rgba(10,69,124,.12); }
[data-workflow-showcase] .feature-tabs { gap: 0; padding: 10px; border-bottom: 1px solid #dceaf5; background: #eff8ff; }
[data-workflow-showcase] .feature-tab { min-height: 0; gap: 2px; padding: 15px 18px; border-radius: 15px; color: #5b6f84; }
[data-workflow-showcase] .feature-tab.is-active { color: #075ba5; box-shadow: 0 8px 24px rgba(8,113,198,.11); }
[data-workflow-showcase] .feature-tab span { font-size: inherit; }
[data-workflow-showcase] .feature-tab small { font-size: .7rem; }
[data-workflow-showcase] .feature-panel { min-height: 650px; grid-template-columns: .72fr 1.28fr; gap: 48px; padding: 48px; border-radius: 0; background: transparent; }
[data-workflow-showcase] .feature-copy { max-width: none; justify-self: stretch; }
[data-workflow-showcase] .feature-copy h3 { font-size: clamp(2rem,3.3vw,3.3rem); letter-spacing: -.06em; line-height: 1.05; }
[data-workflow-showcase] .feature-copy > p { margin-top: 22px; }
[data-workflow-showcase] .step-list { gap: 13px; margin-top: 28px; }
[data-workflow-showcase] .step-list li { grid-template-columns: 38px 1fr; gap: 13px; padding: 14px; border: 1px solid #dceaf5; border-radius: 16px; }
[data-workflow-showcase] .feature-video-shell { min-height: 690px; place-items: center; align-content: center; gap: 16px; }
[data-workflow-showcase] .feature-video-phone { position: relative; width: min(308px,100%); aspect-ratio: 1080 / 2276; border: 8px solid #071523; border-radius: 44px; background: #071523; box-shadow: 0 24px 48px rgba(11,29,48,.18); }
[data-workflow-showcase] .feature-video { object-fit: contain; }
[data-workflow-showcase] .feature-video-callout { display: grid; gap: 3px; width: min(272px,100%); margin-top: 0; padding: 10px 13px; border: 1px solid rgba(107,191,255,.72); border-radius: 14px; box-shadow: 0 12px 24px rgba(11,29,48,.08); }

@media (max-width:1100px) { [data-workflow-showcase] .feature-panel { grid-template-columns: 1fr; } }
@media (max-width:780px) {
  [data-workflow-showcase] .feature-tabs { gap: 7px; }
  [data-workflow-showcase] .feature-tab { padding: 12px; text-align: center; }
  [data-workflow-showcase] .feature-tab small { display: none; }
  [data-workflow-showcase] .feature-panel { min-height: 0; padding: 28px 18px 24px; }
  [data-workflow-showcase] .feature-video-shell { min-height: 600px; }
  [data-workflow-showcase] .feature-video-phone { width: min(266px,100%); }
}
.precision-grid, .client-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 58px; align-items: center; }
.feature-copy h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 900; line-height: 1.05; }
.feature-copy > p { margin: 18px 0 0; }
.numbered-list { display: grid; gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.numbered-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.numbered-list li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #087dcf; background: #e1f6ff; font-size: 12px; font-weight: 900; }
.numbered-list strong { display: block; margin-top: 2px; font-size: 15px; }
.numbered-list p { margin: 5px 0 0; color: #647789; font-size: 13px; line-height: 1.55; }
.feature-media video { width: 100%; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 45px rgba(8,67,102,.15); }
.control-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.control-strip span { padding: 12px 8px; color: #6a7d8d; background: #fff; font-size: 9px; line-height: 1.5; text-align: center; }
.control-strip strong { color: #204b65; font-size: 10px; }

.precision-section, .client-section, .pricing-section { padding-block: 108px; background: var(--soft); }
.precision-grid { grid-template-columns: 1fr 1fr; }
.image-card { overflow: hidden; max-height: 620px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; object-fit: contain; }
.check-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; color: #2d4b5e; font-weight: 700; line-height: 1.5; }

.flexibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flex-card { display: grid; grid-template-columns: 1fr .72fr; gap: 20px; align-items: center; min-height: 350px; overflow: hidden; padding: 30px 0 30px 30px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(135deg, #fff, #edfaff); box-shadow: 0 20px 54px rgba(12,78,116,.1); }
.flex-card h3 { font-size: 27px; line-height: 1.05; }
.flex-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.flex-card img { width: 100%; max-height: 260px; object-fit: contain; object-position: right center; }

.client-grid { grid-template-columns: .9fr 1.1fr; }
.compact { gap: 16px; }
.client-visual { overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, #dff6ff, #fff); box-shadow: var(--shadow); }
.client-visual img { width: 100%; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-grid article { display: flex; min-height: 430px; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 46px rgba(12,75,111,.08); }
.testimonial-grid article > p { margin: 0; color: #3e5668; font-size: 14px; line-height: 1.78; }
.testimonial-grid footer { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.testimonial-grid footer img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-grid footer strong, .testimonial-grid footer span { display: block; }
.testimonial-grid footer span { margin-top: 3px; color: #728594; font-size: 11px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 54px rgba(10,77,116,.08); }
.price-card.featured { border: 2px solid #1b9fe2; transform: translateY(-10px); box-shadow: 0 28px 60px rgba(7,128,201,.17); }
.popular { position: absolute; top: 0; left: 50%; padding: 7px 14px; border-radius: 0 0 12px 12px; color: #fff; background: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .08em; transform: translateX(-50%); }
.price-card h3 { font-size: 22px; }
.price-card > p { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 5px; margin: 16px 0 20px; }
.price strong { font-size: 40px; letter-spacing: -.05em; }
.price span { color: #728594; font-size: 12px; }
.price-card ul { display: grid; gap: 9px; flex: 1; margin: 0 0 20px; padding: 0; list-style: none; }
.price-card li { color: #385264; font-size: 12px; line-height: 1.35; }
.price-card small { margin-top: 12px; color: #82919d; font-size: 10px; text-align: center; }
.plan-billing { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 8px; }
.plan-billing-option { position: relative; display: grid; align-content: center; gap: 3px; min-height: 58px; padding: 8px; border: 1px solid #cce5f5; border-radius: 12px; color: #17405d; background: #fff; text-decoration: none; }
.plan-billing-option strong { font-size: 11px; }
.plan-billing-option span { color: #52728b; font-size: 10px; line-height: 1.2; }
.plan-billing-option.is-annual { border-color: #1b9fe2; background: #f2faff; box-shadow: 0 5px 16px rgba(18,145,217,.11); }
.plan-billing-option.is-annual span { color: #092c47; font-size: clamp(18px, 1.45vw, 24px); font-weight: 900; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.plan-billing-badge { position: absolute; top: -9px; right: 8px; padding: 3px 6px; border-radius: 999px; color: #fff; background: #087eca; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.plan-billing-note { min-height: 16px; margin: 0 0 16px; color: #1677ba; font-size: 10px; font-weight: 800; line-height: 1.35; }
.price-card .button { min-height: 46px; padding-inline: 12px; font-size: 12px; white-space: nowrap; }

.faq-section { max-width: 920px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-list summary { padding: 21px 0; cursor: pointer; font-weight: 800; list-style-position: outside; }

.final-cta { padding: 100px 0; color: #fff; background: radial-gradient(circle at 82% 20%, rgba(44,183,234,.24), transparent 28%), var(--navy); text-align: center; }
.final-cta .shell { max-width: 820px; }
.final-cta p:not(.eyebrow) { max-width: 670px; margin: 22px auto 30px; color: #b8c7d2; line-height: 1.7; }
.landing-page-continuation { width: 100%; height: 8403px; overflow: hidden; background: #fff; }
.landing-page-continuation iframe { display: block; width: 100%; height: 9993px; margin-top: -1590px; border: 0; background: #fff; }
.legacy-page-shell { height: 9660px; overflow: hidden; background: #fff; }
.legacy-page-frame { display: block; width: 100%; height: 10000px; margin-top: -340px; border: 0; background: #fff; }
.legacy-page-shell.is-about { height: 3568px; }
.legacy-page-shell.is-about .legacy-page-frame { margin-top: 0; }
.legacy-page-shell.is-login { height: max(650px, calc(100vh - 76px)); }
.legacy-page-shell.is-login .legacy-page-frame { height: 100%; margin-top: 0; }
.legacy-page-shell.is-testimonials { height: 3955px; }
.legacy-page-shell.is-testimonials .legacy-page-frame { margin-top: -650px; }
.legacy-page-shell.is-contact { height: 1260px; padding-inline: 24px; box-sizing: border-box; background: radial-gradient(circle at 50% 0%, #effaff 0%, #f8fcff 44%, #fff 100%); }
.legacy-page-shell.is-contact .legacy-page-frame { width: 100%; margin-top: -640px; border-radius: 26px; box-shadow: 0 22px 52px rgba(15, 87, 127, .10); }
.legacy-page-shell.is-pricing { height: 3475px; }
.legacy-page-shell.is-pricing .legacy-page-frame { margin-top: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 150px; }
.footer-brand { display: flex; align-items: center; gap: 18px; color: #607484; text-decoration: none; }
.footer-brand img { width: 112px; height: 52px; object-fit: contain; }
.footer-brand span { font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 180px 1fr auto; }
  .desktop-nav { display: none; }
  .site-header .header-trial-button { justify-self: end; }
  .mobile-nav-toggle { display: inline-grid; width: 44px; height: 44px; place-content: center; gap: 4px; padding: 0; border: 1px solid rgba(12,72,111,.14); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
  .mobile-nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
  .mobile-site-nav { position: absolute; top: calc(100% + 8px); right: 15px; left: 15px; z-index: 30; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; padding: 14px; border: 1px solid rgba(12,72,111,.14); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 24px 60px rgba(6,27,45,.16); }
  .mobile-site-nav.is-open { display: grid; }
  .mobile-site-nav > a:not(.button) { padding: 11px 12px; border-radius: 10px; color: #334c60; font-size: 13px; font-weight: 800; text-decoration: none; }
  .mobile-site-nav > a:not(.button):hover { background: #eef8ff; color: var(--blue); }
  .mobile-site-nav .button { grid-column: 1 / -1; min-height: 44px; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 650px); margin-inline: auto; }
  .walkthrough-grid, .feature-panel, .precision-grid, .client-grid { grid-template-columns: 1fr; }
  .walkthrough-grid .section-copy { max-width: 760px; }
  .feature-panel { gap: 36px; min-height: 0; }
  .feature-video-shell { min-height: 0; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-arrow { transform: rotate(90deg); }
  .flexibility-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid article { min-height: 0; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 68px; padding-inline: 15px; }
  .brand img { width: 154px; height: 46px; }
  .site-header .header-trial-button { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { min-height: 0; padding-block: 45px 42px; }
  .hero-grid { gap: 18px; }
  h1 { font-size: clamp(39px, 11.5vw, 58px); }
  .hero-lede { font-size: 15px; }
  .hero-actions { grid-template-columns: 1fr; }
  .app-download-block { align-items: stretch; flex-direction: column; }
  .app-download-copy { text-align: center; }
  .app-download-badges { display: grid; grid-template-columns: 1fr 1fr; }
  .store-badge { justify-content: center; min-width: 0; }
  .proof-list { display: none; }
  .hero-carousel { height: 560px; }
  .platform-device-phone, .platform-device-app-phone { width: 228px; border-width: 7px; border-radius: 38px; }
  .platform-caption-stage { width: min(340px, calc(100% - 24px)); }
  .platform-controls { flex-wrap: wrap; padding-inline: 4px; }
  .platform-control { height: 30px; padding-inline: 8px; font-size: 8.6px; }
  .demo-control { padding-inline: 4px; font-size: 10px; white-space: normal; }
  .walkthrough-section, .problem-section, .workflow-section, .precision-section, .flexibility-section, .client-section, .testimonial-section, .pricing-section, .faq-section, .final-cta { padding-block: 70px; }
  .walkthrough-grid { gap: 30px; }
  .section-copy h2, .section-heading h2, .feature-copy h2, .final-cta h2 { font-size: 37px; }
  .problem-section h2 { font-size: 42px; }
  .feature-tabs, .pricing-grid { grid-template-columns: 1fr; }
  .feature-showcase { padding: 8px; }
  .feature-tab { min-height: 62px; }
  .feature-panel { padding: 35px 20px 25px; }
  .feature-video-phone { width: min(280px, 100%); border-radius: 36px; }
  .landing-page-continuation { height: 9250px; }
  .landing-page-continuation iframe { height: 10840px; margin-top: -1590px; }
  .legacy-page-shell { height: 10600px; }
  .legacy-page-frame { height: 10940px; }
  .legacy-page-shell.is-login { height: max(650px, calc(100vh - 68px)); }
  .legacy-page-shell.is-about { height: 5600px; }
  .legacy-page-shell.is-contact { height: 1280px; padding-inline: 15px; }
  .feature-media { min-width: 0; }
  .control-strip { grid-template-columns: 1fr 1fr; }
  .flex-card { grid-template-columns: 1fr; padding: 24px; }
  .flex-card img { justify-self: center; object-position: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .site-footer { flex-direction: column; gap: 24px; justify-content: center; padding-block: 36px; text-align: center; }
  .footer-brand { flex-direction: column; gap: 6px; }
}

/* Keep the mobile device, caption, and controls in their own rows so the
   carousel cannot rise over the supporting copy above it. */
.hero-carousel { grid-template-rows: 570px auto auto; gap: 14px; height: auto; min-height: 0; padding-bottom: 0; }
.hero-device-stage { min-height: 570px; }
.hero-device-stage .platform-device { --hero-device-y: 0px; }

@media (max-width: 760px) {
  .hero-carousel { grid-template-rows: 520px auto auto; }
  .hero-device-stage { min-height: 520px; }
}
