/* Home page, Nov 24 makeover. Standalone: the home page loads only this file (other pages keep site.css). */
:root {
  --ink: #1d1d1f;
  --ink2: #6e6e73;
  --ink3: #86868b;
  --bg: #fff;
  --alt: #f5f5f7;
  --line: #d2d2d7;
  --dark: #000;
  --dark2: #161617;
  --on-dark: #f5f5f7;
  --on-dark2: #a1a1a6;
  --eat: #f26a2e;
  --lift: #3d6bf2;
  --sleep: #9a5bf2;
  --sedona: #c2562b;
  --link: #2f5fe8;
  --link-dark: #6b8ff7;
  --wrap: 1120px;
  --narrow: 980px;
  --pad: clamp(96px, 12vw, 168px);
  --r: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01'; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3, p, ul, figure { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.narrow { width: min(var(--narrow), 100% - 48px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--lift); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.eyebrow { display: block; font: 600 clamp(17px, 1.6vw, 21px)/1.2 'Inter', sans-serif; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--ink2); }
.eyebrow.eat { color: var(--eat); } .eyebrow.lift { color: var(--lift); } .eyebrow.sleep { color: var(--sleep); }
.h2 {
  font: 700 clamp(40px, 6.2vw, 80px)/1.04 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 { font: 700 clamp(26px, 2.6vw, 32px)/1.12 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.025em; text-wrap: balance; }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink2); letter-spacing: -0.015em; text-wrap: pretty; font-weight: 500; }
.lede b { color: var(--ink); }
.head { text-align: center; max-width: 860px; margin: 0 auto clamp(56px, 7vw, 88px); }
.head .lede { margin: 20px auto 0; max-width: 680px; }
.head.left { text-align: left; margin-left: 0; }
.head.left .lede { margin-left: 0; }
.grad { background: linear-gradient(90deg, var(--eat), #e6497a 35%, var(--lift) 70%, var(--sleep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--link); text-decoration: none; font-weight: 500; font-size: 17px; }
.more::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-left: 2px; transition: transform 0.25s var(--ease); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover::after { transform: translateX(2px) rotate(45deg); }
.dk .more { color: var(--link-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  border: 0; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn:hover { background: #333336; }
.btn:active { transform: scale(0.97); }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn.small { min-height: 34px; padding: 0 15px; font-size: 14px; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #e8e8ed; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.dk .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.dk .btn.line:hover { background: #fff; color: #000; }
.btn .apl { margin-top: -3px; }
.ctas { display: flex; gap: 14px 22px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); transition: box-shadow 0.3s; }
.nav.lined { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav .links { display: flex; gap: 4px; margin: 0 auto; }
.nav .links a { text-decoration: none; font-size: 13.5px; color: #424245; padding: 8px 11px; border-radius: 8px; transition: color 0.2s; }
.nav .links a:hover { color: var(--ink); }
.nav .actions { display: flex; align-items: center; gap: 14px; }
.nav .signin { font-size: 13.5px; text-decoration: none; color: #424245; padding: 8px 4px; }
.nav .signin:hover { color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: -8px; top: 50px; width: 240px; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 18px; padding: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05); display: grid; }
.menu nav a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; }
.menu nav a:hover { background: var(--alt); }
@media (max-width: 900px) {
  .nav .links, .nav .signin { display: none; }
  .menu { display: block; }
  .nav .actions { margin-left: auto; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--pad) 0; position: relative; overflow: clip; }
.sec.alt { background: var(--alt); }
.sec.dk { background: var(--dark); color: var(--on-dark); }
.dk .lede { color: var(--on-dark2); }
.dk .lede b { color: #fff; }

/* ---------- Device ---------- */
.dev {
  --w: 300px; width: var(--w); position: relative; flex: none;
  padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.16);
  background: #0c0c0d;
  box-shadow:
    inset 0 0 0 calc(var(--w) * 0.004) #3a3a3c,
    0 0 0 calc(var(--w) * 0.006) #b9b9be,
    0 0 0 calc(var(--w) * 0.009) #e3e3e6,
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.2) calc(var(--w) * -0.08) rgba(0, 0, 0, 0.32),
    0 calc(var(--w) * 0.03) calc(var(--w) * 0.06) rgba(0, 0, 0, 0.08);
}
.dev img { width: 100%; aspect-ratio: 310 / 674; object-fit: cover; object-position: top; border-radius: calc(var(--w) * 0.13); background: #f2f2f2; }
.dev::after { content: ''; position: absolute; left: 50%; top: calc(var(--w) * 0.058); width: 28%; height: calc(var(--w) * 0.082); transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
.dk .dev { box-shadow: inset 0 0 0 calc(var(--w) * 0.004) #3a3a3c, 0 0 0 calc(var(--w) * 0.006) #6e6e73, 0 0 0 calc(var(--w) * 0.009) #2c2c2e, 0 calc(var(--w) * 0.12) calc(var(--w) * 0.24) calc(var(--w) * -0.06) rgba(0, 0, 0, 0.7); }
.dev .stack { position: relative; }
.dev .stack img + img { position: absolute; inset: 0; }
.dev .stack img { transition: opacity 0.5s var(--ease); }
.dev .stack img:not(.on) { opacity: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: clip; position: relative; }
.hero::before { content: ''; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, var(--alt)); pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--alt); font-size: 14px; font-weight: 500; color: #424245; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.18); }
.wordmark {
  font: 700 clamp(56px, 13.4vw, 168px)/0.92 'Inter', sans-serif; letter-spacing: -0.038em; text-transform: lowercase; color: #141414;
  margin: 26px 0 0; white-space: nowrap;
}
.wordmark .w { white-space: nowrap; }
.wordmark .dot { display: inline-block; width: 0.1955em; height: 0.1955em; margin-left: 0.026em; vertical-align: baseline; }
.wordmark .dot.eat { background: #f26a2e; } .wordmark .dot.lift { background: #3d6bf2; } .wordmark .dot.sleep { background: #9a5bf2; }
.claim { font: 600 clamp(22px, 2.6vw, 32px)/1.2 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.025em; margin: 26px auto 0; text-wrap: balance; }
.hero .lede { max-width: 600px; margin: 12px auto 0; }
.hero .ctas { margin-top: 34px; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--ink3); }
.stage { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; height: clamp(440px, 52vw, 660px); max-width: 1100px; }
.stage .dev { position: absolute; left: 50%; top: 0; transform-origin: 50% 100%; }
.stage .c { --w: clamp(250px, 25vw, 320px); transform: translateX(-50%); z-index: 3; }
.stage .l, .stage .r { --w: clamp(220px, 22vw, 282px); top: 9%; z-index: 2; transition: transform 1.2s var(--ease); }
.stage .l { transform: translateX(-138%) rotate(-4deg); }
.stage .r { transform: translateX(38%) rotate(4deg); }
.js .stage:not(.in) .l { transform: translateX(-80%) rotate(0); }
.js .stage:not(.in) .r { transform: translateX(-20%) rotate(0); }
.call {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04); text-align: left; white-space: nowrap;
  transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s;
}
.js .stage:not(.in) .call { opacity: 0; transform: translateY(14px); }
.call .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.call b { display: block; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
.call small { display: block; font-size: 12.5px; color: var(--ink2); line-height: 1.3; }
.call.c1 { left: 1%; top: 60%; } .call.c2 { right: 0; top: 30%; } .call.c3 { left: 3%; top: 2%; }
.ic.eat { background: var(--eat); } .ic.lift { background: var(--lift); } .ic.sleep { background: var(--sleep); }

/* ---------- Log story ---------- */
.story { display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: 64px; align-items: start; }
.steps { display: grid; }
.step { all: unset; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; min-height: 64vh; cursor: pointer; opacity: 0.28; transition: opacity 0.5s var(--ease); }
.step.on { opacity: 1; }
.step .n { display: flex; align-items: center; gap: 14px; font: 700 clamp(44px, 5.4vw, 72px)/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.04em; }
.step .n i { font: 600 15px/1 'Inter', sans-serif; letter-spacing: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; flex: none; }
.step p { margin-top: 16px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: var(--ink2); max-width: 440px; font-weight: 500; letter-spacing: -0.015em; }
.step:focus-visible { outline: 2px solid var(--lift); outline-offset: 6px; border-radius: 12px; }
.stage2 { position: sticky; top: calc(50vh - 340px); display: grid; justify-items: center; padding: 20px 0; }
.stage2 .dev { --w: 340px; }
.stage2 .cap { margin-top: 26px; font-size: 14px; color: var(--ink3); display: flex; gap: 8px; }
.stage2 .cap i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 0.3s, width 0.3s; }
.stage2 .cap i.on { background: var(--ink); width: 22px; border-radius: 4px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--bg); border-radius: var(--r); padding: clamp(28px, 3vw, 40px); position: relative; overflow: hidden; }
.sec:not(.alt) .tile { background: var(--alt); }
.dk .tile { background: var(--dark2); }
.tile .h3 + p, .tile h3 + p { margin-top: 10px; }
.tile p { color: var(--ink2); font-size: 17px; line-height: 1.47; }
.tile p b { color: var(--ink); }
.dk .tile p { color: var(--on-dark2); }
.dk .tile p b { color: #fff; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: span 4; } .span6 { grid-column: span 6; }
.tile.hero-tile { grid-row: span 2; display: flex; flex-direction: column; padding-bottom: 0; min-height: 640px; }
.tile.hero-tile .dev { --w: 270px; margin: 40px auto -110px; }
.big-num { font: 700 clamp(48px, 5vw, 64px)/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.04em; margin-bottom: 18px; }
.big-num.eat { color: var(--eat); } .big-num.lift { color: var(--lift); } .big-num.sleep { color: var(--sleep); }
.glyph { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.glyph.eat { background: var(--eat); } .glyph.lift { background: var(--lift); } .glyph.sleep { background: var(--sleep); } .glyph.ink { background: var(--ink); }
.dk .glyph.ink { background: #fff; color: #000; }
.src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.src span { font-size: 14px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: var(--alt); color: #424245; }
.sec.alt .src span { background: var(--alt); }
.tile .src span { background: rgba(0, 0, 0, 0.05); }
.nutri { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 18px; margin-top: 20px; justify-content: start; }
.nutri div { font-size: 14px; color: var(--ink2); }
.nutri b { display: block; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(24px, (100vw - var(--wrap)) / 2) 4px; margin: 0 calc(50% - 50vw); scroll-padding-inline: max(24px, (100vw - var(--wrap)) / 2); overscroll-behavior-x: contain; }
.gal::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; background: var(--alt); border-radius: var(--r); padding: 36px 36px 0; height: 640px; display: flex; flex-direction: column; overflow: hidden; position: relative;
}
.card p { color: var(--ink2); margin-top: 10px; font-size: 17px; }
.card .dev { --w: 270px; margin: auto auto -150px; }
.ask { display: inline-block; align-self: flex-start; margin-top: 18px; padding: 10px 16px; border-radius: 16px 16px 16px 5px; background: var(--lift); color: #fff; font-weight: 500; font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; color: #424245; }
.chips svg { vertical-align: -4px; margin-right: 5px; }
.galnav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.galnav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, opacity 0.2s; }
.galnav button:hover { background: #dcdce1; }
.galnav button:disabled { opacity: 0.4; cursor: default; }

/* ---------- Sleep (dark) ---------- */
.sleep-stage { display: grid; justify-items: center; position: relative; }
.sleep-stage::before { content: ''; position: absolute; width: 760px; height: 760px; max-width: 140vw; top: 8%; left: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(154, 91, 242, 0.55), rgba(61, 107, 242, 0.18) 55%, transparent); filter: blur(20px); pointer-events: none; }
.sleep-stage .dev { --w: clamp(270px, 28vw, 340px); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: clamp(64px, 8vw, 96px); }
.cols3 h3 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.cols3 p { color: var(--on-dark2); font-size: 17px; }
.cols3 .k { display: block; width: 40px; height: 3px; border-radius: 2px; margin-bottom: 20px; background: var(--sleep); }
.sec:not(.dk) .cols3 p { color: var(--ink2); }

/* ---------- Looks ---------- */
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.look { display: grid; justify-items: center; text-align: center; }
.look .q { font-weight: 600; font-size: 16px; padding: 10px 16px; border-radius: 16px 16px 16px 5px; color: #fff; margin-bottom: 26px; letter-spacing: -0.01em; }
.look .q.eat { background: var(--eat); } .look .q.lift { background: var(--lift); } .look .q.sleep { background: var(--sleep); } .look .q.sedona { background: var(--sedona); }
.look .dev { --w: clamp(180px, 18vw, 230px); transition: transform 0.5s var(--ease); }
.look:hover .dev { transform: translateY(-8px); }
.look h3 { margin-top: 30px; font-size: 21px; letter-spacing: -0.02em; }
.look p { color: var(--ink2); margin-top: 4px; }
.foot-note { text-align: center; margin-top: 56px; color: var(--ink2); }

/* ---------- Devices ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 44px 32px; background: var(--bg); border-radius: var(--r); margin-bottom: 20px; }
.brand-i { display: grid; justify-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--ink2); width: 92px; text-align: center; }
.brand-i .bi { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 6px 16px -8px rgba(0, 0, 0, 0.2); overflow: hidden; }

/* ---------- Friends ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.feat { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 0; }
.feat li { padding: 22px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink2); }
.feat li:last-child { border-bottom: 1px solid var(--line); }
.feat li b { display: block; color: var(--ink); font-size: 19px; letter-spacing: -0.015em; margin-bottom: 4px; }
.dk .feat li { border-color: #333336; color: var(--on-dark2); }
.dk .feat li b { color: #fff; }
.pair { position: relative; height: 680px; }
.pair .dev { position: absolute; --w: clamp(240px, 24vw, 300px); }
.pair .dev:first-child { left: 0; top: 0; z-index: 2; }
.pair .dev:last-child { right: 0; top: 70px; }

/* ---------- Hosts ---------- */
.host-card { max-width: 760px; margin: 0 auto 20px; border-radius: var(--r); background: linear-gradient(160deg, #1f1f22, #121214); padding: 32px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.hc-top { display: flex; align-items: center; gap: 14px; }
.hc-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--eat), #c2562b); flex: none; }
.hc-top b { display: block; font-size: 19px; }
.hc-top small { color: var(--on-dark2); font-size: 14px; }
.hc-ex { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-dark2); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #3a3a3c; }
.hc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #2c2c2e; }
.hc-stats .num { font: 700 clamp(30px, 3.6vw, 40px)/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.03em; }
.hc-stats .num small { font-size: 0.5em; color: var(--on-dark2); font-weight: 600; }
.hc-stats p { color: var(--on-dark2); font-size: 14px; margin-top: 6px; }
.pathchip { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: 44px; color: var(--on-dark2); flex-wrap: wrap; }
.pathchip b { color: #fff; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: var(--dark2); box-shadow: inset 0 0 0 1px #2c2c2e; }

/* ---------- Coach ---------- */
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 6px; background: linear-gradient(90deg, var(--eat), var(--sleep)); color: #fff; vertical-align: 3px; margin-left: 8px; }
.split .dev.solo { --w: clamp(280px, 30vw, 360px); margin: 0 auto; }

/* ---------- Pricing ---------- */
.billing { display: flex; width: max-content; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: var(--alt); }
.billing button { border: 0; background: transparent; padding: 0 20px; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.billing button[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.save { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--eat); color: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { border-radius: var(--r); padding: 40px; background: var(--alt); display: flex; flex-direction: column; position: relative; }
.plan.pro { background: var(--dark); color: #fff; }
.plan h3 { font-size: 21px; letter-spacing: -0.02em; }
.plan .price { font: 700 56px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.04em; margin-top: 18px; }
.plan .price small { font: 500 17px 'Inter', sans-serif; letter-spacing: -0.01em; color: var(--ink2); }
.plan.pro .price small, .plan.pro .alt { color: var(--on-dark2); }
.plan .alt { color: var(--ink2); margin-top: 8px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 28px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 12px; font-size: 16px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 3px; color: #2fbf71; }
.plan .beta { font-size: 14px; color: var(--ink2); margin-top: auto; margin-bottom: 16px; }
.plan.pro .beta { color: var(--on-dark2); }
.plan .btn { width: 100%; }
.plan .btn.line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.best { position: absolute; top: 40px; right: 40px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--eat), var(--sleep)); color: #fff; }
.trust { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; }
.trust svg { color: #2fbf71; }
.small-print { max-width: 760px; margin: 20px auto 0; text-align: center; font-size: 12.5px; line-height: 1.55; color: var(--ink3); }
.small-print a { color: var(--ink2); }

/* ---------- Web ---------- */
.screens { position: relative; max-width: 1040px; margin: 0 auto; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.browser .bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f2f2f4; border-bottom: 1px solid #e5e5ea; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d8dc; }
.browser .bar span { margin: 0 auto; font-size: 12.5px; color: var(--ink2); background: #fff; padding: 4px 40px; border-radius: 7px; }
.screens .dev { position: absolute; --w: clamp(150px, 19vw, 220px); right: -3%; bottom: -12%; }
.web-ctas { margin-top: 34px; }

/* ---------- Privacy ---------- */
.priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq-side .h2 { font-size: clamp(40px, 5vw, 64px); }
.faq-side .more { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink2); border-width: 0 1.8px 1.8px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink2); font-size: 17px; }

/* ---------- Final ---------- */
.final { text-align: center; padding: var(--pad) 0; background: var(--dark); color: #fff; position: relative; overflow: clip; }
.final::before { content: ''; position: absolute; width: 900px; height: 600px; max-width: 160vw; left: 50%; top: -10%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(242, 106, 46, 0.35), rgba(61, 107, 242, 0.25) 50%, rgba(154, 91, 242, 0.12) 75%, transparent); filter: blur(30px); pointer-events: none; }
.final > .wrap { position: relative; }
.final .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 34px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.final .lede { margin: 18px auto 0; }
.final .ctas { margin-top: 36px; }
.qr-inline { display: inline-flex; align-items: center; gap: 18px; margin-top: 36px; padding: 14px 22px 14px 14px; border-radius: 20px; background: var(--dark2); box-shadow: inset 0 0 0 1px #2c2c2e; text-align: left; color: var(--on-dark2); font-size: 15px; max-width: 360px; }
.qr-inline img { width: 92px; height: 92px; background: #fff; border-radius: 12px; padding: 6px; }
.final .fine { margin-top: 28px; color: var(--on-dark2); font-size: 15px; }

/* ---------- Footer ---------- */
footer.site { background: var(--alt); padding: 40px 0 48px; font-size: 13px; color: var(--ink2); }
footer.site .top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
footer.site .row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer.site .row a { text-decoration: none; color: #424245; padding: 6px 0; }
footer.site .row a:hover { text-decoration: underline; }
footer.site .brand { color: var(--ink); font-size: 15px; }
footer.site .legal { margin-top: 20px; line-height: 1.6; font-size: 12px; color: var(--ink3); }
footer.site .legal a { color: var(--ink2); }

/* ---------- Sticky CTA (phones) ---------- */
.sticky-cta { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 40; display: none; box-shadow: 0 14px 40px -8px rgba(0, 0, 0, 0.45); transition: transform 0.4s var(--ease); }
.sticky-cta.on { transform: translate(-50%, 0); }

/* ---------- QR pop ---------- */
.qr-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 16px; animation: fade 0.25s ease; }
.qr-card { background: #fff; color: var(--ink); border-radius: 28px; padding: 40px 32px 32px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35); position: relative; animation: pop 0.35s var(--ease); }
.qr-card h2 { font: 700 26px/1.15 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.03em; margin: 0 0 8px; }
.qr-card p { color: var(--ink2); }
.qr-card img { width: 200px; height: 200px; margin: 24px auto; }
.qr-card .small { font-size: 14px; }
.qr-card .link { color: var(--link); }
.qr-card .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--alt); font-size: 22px; line-height: 1; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(8px); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .stage:not(.in) .l, .js .stage:not(.in) .r, .js .stage:not(.in) .call { opacity: 1; transform: none; transition: none; }
  .stage .l { transform: translateX(-138%) rotate(-4deg); } .stage .r { transform: translateX(38%) rotate(4deg); }
}
.dots { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .span2, .bento .span3, .bento .span4 { grid-column: span 1; }
  .bento .span6, .tile.hero-tile { grid-column: span 2; }
  .tile.hero-tile { grid-row: auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; padding-bottom: 0; }
  .tile.hero-tile .dev { grid-row: span 3; grid-column: 2; margin: 0 auto -120px; --w: 260px; }
  .looks { grid-template-columns: repeat(2, 1fr); row-gap: 64px; }
  .call.c3 { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap, .narrow { width: calc(100% - 44px); }
  .head { text-align: left; margin-bottom: 44px; }
  .head .lede { margin-left: 0; }
  .ctas { justify-content: flex-start; }
  .hero { text-align: center; }
  .hero .ctas { justify-content: center; flex-direction: column; gap: 14px; }
  .hero .ctas .btn { width: min(320px, 100%); }
  .stage { height: 500px; margin-top: 52px; }
  .stage .c { --w: 236px; }
  .stage .l, .stage .r { --w: 200px; top: 11%; }
  .stage .l { transform: translateX(-118%) rotate(-4deg); }
  .stage .r { transform: translateX(18%) rotate(4deg); }
  .call { display: none; }
  /* Log: tabs on top, the phone under them */
  .story { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; background: var(--alt); border-radius: 999px; }
  .step { min-height: 44px; opacity: 1; border-radius: 999px; align-items: center; transition: background 0.3s, box-shadow 0.3s; }
  .step .n { font: 600 15px/1 'Inter', sans-serif; letter-spacing: -0.01em; color: var(--ink2); }
  .step .n i { display: none; }
  .step.on { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
  .step.on .n { color: var(--ink); }
  .step p { display: none; }
  .story-text { display: block !important; font-size: 19px; line-height: 1.4; color: var(--ink2); font-weight: 500; min-height: 54px; text-align: center; }
  .stage2 { position: static; padding: 0; }
  .stage2 .dev { --w: min(290px, 78vw); }
  /* Bento stacks */
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento > * { grid-column: auto !important; }
  .tile.hero-tile { display: flex; }
  .tile.hero-tile .dev { --w: min(260px, 74vw); margin: 32px auto -110px; }
  .tile { padding: 28px; }
  /* Gallery */
  .card { height: 560px; padding: 30px 28px 0; }
  .card .dev { --w: 240px; margin-bottom: -140px; }
  .galnav { display: none; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 0.3s, width 0.3s; }
  .dots i.on { background: var(--ink); width: 22px; border-radius: 4px; }
  /* Sleep */
  .cols3 { grid-template-columns: 1fr; gap: 32px; }
  /* Looks: sideways */
  .looks { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62vw; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -22px; padding: 4px 22px 16px; scroll-padding-inline: 22px; }
  .looks::-webkit-scrollbar { display: none; }
  .look { scroll-snap-align: start; }
  .look .dev { --w: 54vw; }
  .look .q { font-size: 14.5px; }
  .foot-note { text-align: left; margin-top: 28px; }
  .brands { gap: 22px 8px; padding: 28px 12px; }
  .brand-i { width: 84px; }
  .brand-i .bi { width: 56px; height: 56px; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .pair { height: 500px; max-width: 420px; margin: 0 auto; width: 100%; }
  .pair .dev { --w: min(210px, 54vw); }
  .pair .dev:last-child { top: 50px; }
  .host-card { padding: 22px; }
  .hc-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hc-ex { display: none; }
  .pathchip { justify-content: flex-start; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 30px 26px; }
  .best { top: 30px; right: 26px; }
  .screens .dev { display: none; }
  .web-ctas { justify-content: flex-start; }
  .priv { grid-template-columns: 1fr; gap: 14px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { font-size: 17px; padding: 20px 40px 20px 0; }
  .final .ctas { justify-content: center; }
  .qr-inline { display: none; }
  .sticky-cta { display: inline-flex; }
  footer.site .top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .stage { height: 440px; }
  .stage .c { --w: 210px; }
  .stage .l, .stage .r { --w: 176px; }
  .wordmark { font-size: 15.2vw; }
}
.story-text { display: none; }

/* ---------- Round 2 fixes ---------- */
.sec.dk .tile { background: var(--dark2); }
.final .more { color: var(--link-dark); }
.bento .tile { display: flex; flex-direction: column; min-height: 270px; }
.bento .tile .glyph { margin-bottom: auto; }
.bento .tile .glyph + .h3 { margin-top: 40px; }
.priv .tile .glyph { margin-bottom: 40px; }
.stage2 .dev { --w: min(340px, calc((100vh - 150px) / 2.25)); }
.stage2 { top: max(70px, calc(50vh - 400px)); }
.tile.usual { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 0; }
.tile.usual .glyph { margin-bottom: 40px; }
.usuals { background: var(--bg); border-radius: 20px; padding: 8px 18px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.18); }
.usuals .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink3); padding: 10px 0 4px; text-transform: uppercase; }
.usuals .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #ececf0; font-size: 15.5px; }
.usuals .row:first-of-type { border-top: 0; }
.usuals .row span { flex: 1; font-weight: 500; }
.usuals .row b { font-variant-numeric: tabular-nums; }
.usuals .row i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--lift); background: rgba(61, 107, 242, 0.1); padding: 5px 11px; border-radius: 999px; }
@media (max-width: 860px) {
  .bento .tile { min-height: 0; }
  .bento .tile .glyph { margin-bottom: 22px; }
  .bento .tile .glyph + .h3 { margin-top: 0; }
  .tile.hero-tile { display: block; }
  .tile.usual { grid-template-columns: 1fr; gap: 24px; }
  .tile.usual .glyph { margin-bottom: 22px; }
  .stage .l { transform: translateX(calc(-50% - 150px)) rotate(-5deg); }
  .stage .r { transform: translateX(calc(-50% + 150px)) rotate(5deg); }
  .js .stage:not(.in) .l, .js .stage:not(.in) .r { transform: translateX(-50%); }
  .stage .c { --w: 244px; }
  .stage .l, .stage .r { --w: 206px; top: 7%; }
  .screens .dev { display: block; position: relative; right: auto; bottom: auto; margin: -70px 16px 0 auto; --w: 150px; }
}

/* ---------- Round 3 ---------- */
.hero { padding-top: clamp(40px, 5vw, 64px); }
.wordmark { font-size: clamp(56px, 13.4vw, 136px); margin-top: 22px; }
.claim { margin-top: 22px; }
.hero .ctas { margin-top: 28px; }
.stage { margin-top: clamp(44px, 5vw, 64px); }
.tile.hero-tile { min-height: 580px; }
.nav.dark { background: rgba(22, 22, 23, 0.72); }
.nav.dark .brand, .nav.dark .links a, .nav.dark .signin, .nav.dark .menu summary { color: #e8e8ed; }
.nav.dark .links a:hover, .nav.dark .signin:hover { color: #fff; }
.nav.dark .btn.small { background: #fff; color: #000; }
.nav.dark.lined { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.nav, .nav .brand, .nav .links a, .nav .signin, .nav .btn.small { transition: background 0.35s, color 0.35s, box-shadow 0.35s; }

/* ---------- Round 4: outside critique ---------- */
:root { --pad: clamp(80px, 10vw, 140px); --ink3: #6e6e73; }
/* Device: real status bar so the island never covers the app */
.dev { padding: calc(var(--w) * 0.024); background: linear-gradient(145deg, #2b2b2e, #0a0a0b 40%, #1c1c1e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 calc(var(--w) * 0.007) #8e8e93,
    0 calc(var(--w) * 0.12) calc(var(--w) * 0.2) calc(var(--w) * -0.08) rgba(0, 0, 0, 0.3), 0 calc(var(--w) * 0.03) calc(var(--w) * 0.06) rgba(0, 0, 0, 0.08); }
.dk .dev { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 calc(var(--w) * 0.007) #48484a, 0 calc(var(--w) * 0.12) calc(var(--w) * 0.24) calc(var(--w) * -0.06) rgba(0, 0, 0, 0.7); }
.scr { position: relative; border-radius: calc(var(--w) * 0.137); overflow: hidden; background: var(--top, #f6f5f1); }
.scr img { border-radius: 0; }
.sb { height: calc(var(--w) * 0.115); display: flex; align-items: center; justify-content: space-between; padding: calc(var(--w) * 0.012) calc(var(--w) * 0.09) 0 calc(var(--w) * 0.1); color: var(--sbi, #000); font: 600 calc(var(--w) * 0.047)/1 'Inter', system-ui, sans-serif; letter-spacing: -0.01em; }
.sb svg { width: calc(var(--w) * 0.2); height: auto; }
.dev::after { top: calc(var(--w) * 0.048); height: calc(var(--w) * 0.08); width: 29%; }
.dev .stack .scr { transition: opacity 0.5s var(--ease); }
.dev .stack .scr + .scr { position: absolute; inset: 0; }
.dev .stack .scr:not(.on) { opacity: 0; }
.dev .stack img { transition: none; }
.dev .stack img:not(.on) { opacity: 1; }
/* Type: lighter, roomier */
.h2 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; font-size: clamp(40px, 5.6vw, 72px); }
.h3 { font-weight: 600; letter-spacing: -0.018em; }
.lede { font-weight: 400; }
.claim { font-size: clamp(22px, 2.3vw, 28px); }
.hero .lede { font-size: clamp(18px, 1.7vw, 21px); margin-top: 10px; color: var(--ink2); }
.step .n { font-weight: 600; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; }
.step p { font-weight: 400; }
.story { align-items: center; }
.step { min-height: 56vh; }
/* Icons: no coloured squares (brand rule) */
.glyph { width: auto; height: auto; background: none !important; border-radius: 0; margin-bottom: 20px; display: block; }
.glyph svg { width: 34px; height: 34px; }
.glyph.eat { color: var(--eat); } .glyph.lift { color: var(--lift); } .glyph.sleep { color: var(--sleep); } .glyph.ink { color: var(--ink); }
.dk .glyph.ink { color: #fff; }
.bento .tile { min-height: 0; justify-content: flex-start; }
.bento .tile .glyph { margin-bottom: 20px; }
.bento .tile .glyph + .h3 { margin-top: 0; }
.priv .tile .glyph { margin-bottom: 20px; }
.tile.hero-tile { min-height: 520px; }
.call .ic { width: 34px; height: 34px; background: none !important; border-radius: 0; }
.call .ic.eat { color: var(--eat); } .call .ic.lift { color: var(--lift); } .call .ic.sleep { color: var(--sleep); }
.call { box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05); padding: 12px 18px 12px 14px; }
.call.c3 { left: -1%; top: -3%; } .call.c1 { left: -2%; top: 64%; } .call.c2 { right: -2%; top: 36%; }
/* Colour only where it means Eat, Lift, Sleep */
.tag { background: var(--ink); }
.plan.pro .best { background: #fff; color: #000; }
.hc-av { background: var(--eat); }
.save { background: none; color: var(--eat); padding: 0; font-weight: 700; }
.look .q { background: #fff !important; color: var(--ink); box-shadow: 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.look .q::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.look .q.eat::before { background: var(--eat); } .look .q.lift::before { background: var(--lift); } .look .q.sleep::before { background: var(--sleep); } .look .q.sedona::before { background: var(--sedona); }
.look:hover .dev { transform: none; }
.look { align-content: start; }
/* Same-colour neighbours read as one chapter */
.sec.alt + .sec.alt, .sec:not(.alt):not(.dk) + .sec:not(.alt):not(.dk) { padding-top: calc(var(--pad) * 0.45); }
.sec.alt .card { background: #fff; }
.sec.alt .tile { background: #fff; }
.sec:not(.alt):not(.dk) .brands { background: var(--alt); }
.galnav { margin-top: 20px; }
/* Friends pair */
.pair .dev:first-child { left: 4%; }
.pair .dev:last-child { right: -2%; top: 90px; transform: scale(0.9); transform-origin: top right; }
/* Contrast */
.hero .fine, .small-print { color: #6e6e73; }
.nav .brand img { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
@media (max-width: 860px) {
  .story-text { text-align: left; }
  .stage2 { margin-bottom: 8px; }
  .step { min-height: 44px; }
  .step .n { font: 600 15px/1 'Inter', sans-serif; }
  .menu nav { position: fixed; inset: 52px 0 0; width: auto; border-radius: 0; background: #fff; padding: 20px 22px; box-shadow: none; align-content: start; overflow-y: auto; }
  .menu nav a { font: 600 26px/1.2 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.02em; padding: 12px 0; border-radius: 0; }
  .menu nav a:hover { background: none; }
  .menu[open] nav a { animation: menuIn 0.4s var(--ease) both; }
  .menu[open] nav a:nth-child(2) { animation-delay: 30ms; } .menu[open] nav a:nth-child(3) { animation-delay: 60ms; } .menu[open] nav a:nth-child(4) { animation-delay: 90ms; } .menu[open] nav a:nth-child(5) { animation-delay: 120ms; } .menu[open] nav a:nth-child(6) { animation-delay: 150ms; } .menu[open] nav a:nth-child(7) { animation-delay: 180ms; } .menu[open] nav a:nth-child(n+8) { animation-delay: 210ms; }
  .nav.dark .menu nav { background: rgba(255, 255, 255, 0.98); }
  .nav.dark .menu nav a { color: var(--ink); }
  .pair .dev:first-child { left: 0; }
  .pair .dev:last-child { right: 0; top: 60px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .menu[open] nav a { animation: none; } }
@media (max-width: 860px) {
  .menu nav { top: 52px; bottom: auto; left: 0; right: 0; height: calc(100vh - 52px); height: calc(100dvh - 52px); }
}

/* ---------- Round 5: Ryan's notes ---------- */
/* Log: tabs in a row, one phone under them */
.story { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0; }
.steps { display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; background: #e8e8ed; border-radius: 999px; width: min(540px, 100%); }
.sec:not(.alt) .steps { background: var(--alt); }
.step { min-height: 52px !important; opacity: 1; border-radius: 999px; align-items: center; justify-content: center; flex-direction: row; transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s; }
.step .n { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 'Inter', sans-serif !important; letter-spacing: -0.01em; color: var(--ink2); }
.step .n svg { width: 20px; height: 20px; }
.step:hover .n { color: var(--ink); }
.step.on { background: #fff; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }
.step.on .n { color: var(--ink); }
.step p { display: none; }
.story-text { display: block !important; text-align: center !important; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.4; color: var(--ink2); margin: 26px auto 0; min-height: 1.4em; max-width: 520px; }
.stage2 { position: static !important; margin-top: 44px; padding: 0; }
.stage2 .dev { --w: clamp(250px, 26vw, 320px); }
.stage2 .cap { display: none; }
/* Eat: feature rows beside the phone */
.eat-split { align-items: center; }
.rows { list-style: none; padding: 0; margin: 40px 0 0; display: grid; }
.rows li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows .glyph { margin: 0 !important; }
.rows .glyph svg { width: 28px; height: 28px; }
.rows h3 { font-size: 18px; letter-spacing: -0.015em; font-weight: 600; }
.rows p { color: var(--ink2); font-size: 16px; margin-top: 3px; }
.credit { margin-top: 20px; font-size: 13px; color: var(--ink3); }
.eat-dev { display: grid; justify-items: center; }
.eat-dev .dev { --w: clamp(280px, 28vw, 340px); }
/* Footer: columns */
footer.site { padding: 56px 0 40px; }
.fcols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.fbrand p { margin-top: 12px; color: var(--ink2); font-size: 13px; max-width: 220px; line-height: 1.5; }
.fcols nav { display: grid; align-content: start; gap: 2px; }
.fcols h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: 0; }
.fcols nav a { text-decoration: none; color: #424245; font-size: 13px; padding: 5px 0; }
.fcols nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .story { justify-items: stretch; }
  .steps { width: 100%; }
  .step { min-height: 46px !important; }
  .step .n { font-size: 15px !important; gap: 6px; }
  .step .n svg { width: 18px; height: 18px; }
  .story-text { text-align: left !important; margin-top: 20px; font-size: 18px; }
  .stage2 { margin-top: 28px; justify-self: center; }
  .stage2 .dev { --w: min(280px, 74vw); }
  .eat-split > div:last-child { order: 0; }
  .eat-dev { margin-top: 8px; }
  .eat-dev .dev { --w: min(290px, 76vw); }
  .rows { margin-top: 28px; }
  .fcols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .fbrand { grid-column: 1 / -1; }
}
/* Lift: plain text lists instead of pills */
.card .chips { gap: 6px 0; margin-top: 16px; }
.card .chips span { background: none !important; padding: 0; border-radius: 0; font-size: 14.5px; color: var(--ink2); display: inline-flex; align-items: center; }
.card .chips span:not(:last-child)::after { content: '·'; margin: 0 9px; color: var(--ink3); }
.card .chips svg { margin-right: 5px; }
