/* Habitloop. Black and bone; one ember, kept for the buzz. Big pictures, little text, nothing that explains itself twice. */
:root {
  --ink: #0a0b0b; --panel: #141615; --panel2: #1c1e1d; --line: #2a2d2b; --bone: #f2efe8; --sand: #e4dfd4; --mute: #9da09a; --ember: #ff5b2e; --steady: #9fdcc0; --paper-ink: #151615; --soft: #c9c8c2;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif; --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 3.4vw, 48px); --r: 22px; --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; font-weight: 450; letter-spacing: -.022em; }
h1 { font-size: clamp(46px, 6.6vw, 104px); line-height: 1; }
h2 { font-size: clamp(34px, 4.6vw, 70px); line-height: 1.04; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
sup { font-size: .62em; line-height: 0; color: inherit; opacity: .8; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; max-width: 30em; }
.fine { font-size: 13px; color: var(--mute); line-height: 1.5; }
.ctr { text-align: center; }
.mute { color: var(--mute); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; background: var(--bone); color: #0a0b0b; font: 600 15px/1 var(--body); text-decoration: none; border-radius: 999px; transition: background .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn.dark { background: #0a0b0b; color: var(--bone); }
.btn.dark:hover { background: #26282a; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: default; }

/* The logo: type plus two bars. */
.mark { display: inline-block; width: 15px; height: 11px; vertical-align: -1px; background: linear-gradient(currentColor 0 0) top / 100% 3px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 3px no-repeat; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 17px/1 var(--display); font-stretch: 118%; letter-spacing: .07em; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 26px; padding: 12px var(--gut); background: rgba(10,11,11,.82); backdrop-filter: blur(16px); }
.links { display: flex; gap: 26px; font-size: 14.5px; }
.links a { text-decoration: none; color: var(--soft); transition: color .2s; }
.links a:hover, .links a[aria-current] { color: var(--bone); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--soft); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-btn b { position: absolute; top: 1px; right: -1px; display: none; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: var(--ember); color: #0a0b0b; font-size: 11px; font-weight: 700; }
.cart-btn.has b { display: inline-grid; }
.menu-btn { display: none; width: 38px; height: 38px; }
.menu-btn i { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--bone); }

/* The product page's own bar, like a second nav once you are past the first screen. */
.subnav { position: fixed; top: 0; left: 0; right: 0; z-index: 49; display: flex; justify-content: space-between; align-items: center; padding: 10px var(--gut); background: rgba(10,11,11,.78); backdrop-filter: blur(16px); transform: translateY(-105%); transition: transform .35s var(--ease); font: 500 15px/1 var(--display); }
.subnav.on { transform: none; }

/* Motion: everything is readable at rest; with JS it arrives softly. */
.js .rv { opacity: 0; transform: translateY(26px); filter: blur(7px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.pic { overflow: hidden; border-radius: var(--r); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.js .pic.rv img { transform: scale(1.07); transition: transform 1.8s var(--ease); }
.js .pic.rv.in img { transform: none; }

/* Home hero */
.hero { position: relative; min-height: calc(100svh - 62px); display: flex; align-items: center; overflow: hidden; background: #e7e2d8; color: var(--paper-ink); padding: clamp(32px, 6vw, 80px) var(--gut); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: heroIn 1.8s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.05); } to { transform: none; } }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; max-width: 26em; }
.hero.dark-img { color: var(--paper-ink); }

.say { padding: clamp(90px, 13vw, 200px) var(--gut); text-align: center; }
.say h2 { max-width: 15em; margin: 0 auto; }
.say h2 span { color: var(--mute); display: block; }

/* How it works: the sensing stage */
.story { position: relative; height: 480vh; background: #040505; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#senseGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story-text { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(500px, 37vw); z-index: 3; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .55s var(--ease); }
.steps li.on { opacity: 1; transform: none; }
.steps h3 { font-size: clamp(34px, 3.7vw, 58px); line-height: 1.05; letter-spacing: -.02em; font-weight: 450; margin-bottom: 14px; }
.steps p { color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); }
.sense-hud { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hud-a { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.hud-a.on { opacity: 1; }
.hud-tag { position: absolute; white-space: nowrap; color: var(--ember); font: 500 clamp(24px, 2.6vw, 38px)/1 var(--display); left: 34px; top: -20px; }
.bz { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ember); opacity: 0; }
#hudBuzz.on .bz { animation: ring 1s ease-out infinite; }
#hudBuzz.on .b2 { animation-delay: .22s; }
@keyframes ring { 0% { opacity: .95; transform: scale(.5); } 100% { opacity: 0; transform: scale(6); } }

/* The buzz */
.buzzband { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(60px, 8vw, 110px) var(--gut); background: var(--ember); color: #0a0b0b; }
.buzzband h2 { font-size: clamp(40px, 5.6vw, 84px); }
.buzz-copy p { font-size: 18px; max-width: 24em; }
.buzzband .fine { color: #3a1307; margin-top: 8px; font-size: 14px; }
.buzz-btn { position: relative; width: 148px; height: 148px; border-radius: 50%; background: #0a0b0b; color: var(--bone); font: 500 15px/1.1 var(--display); transition: transform .15s; }
.buzz-btn:hover { transform: scale(1.04); }
.buzz-btn.go { animation: buzz .34s linear; }
.buzz-btn span { position: relative; display: block; padding: 0 16px; }
@keyframes buzz { 0%,100% { translate: 0 0; } 12% { translate: -3px 1px; } 25% { translate: 3px -1px; } 37% { translate: -3px -1px; } 50% { translate: 2px 1px; } 62% { translate: -2px 0; } 75% { translate: 3px 1px; } 87% { translate: -2px -1px; } }
.pulse { position: absolute; left: 50%; top: 50%; width: 148px; height: 148px; margin: -74px; border-radius: 50%; box-shadow: 0 0 0 2px #0a0b0b; opacity: 0; pointer-events: none; }
.buzz-btn.go .pulse { animation: ring2 .8s ease-out; }
.buzz-btn.go .p2 { animation-delay: .14s; }
@keyframes ring2 { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

.sec { padding: clamp(70px, 9vw, 140px) var(--gut); }
.sec-h { text-align: center; max-width: 880px; margin: 0 auto clamp(36px, 4.5vw, 64px); }
.sec-h p { margin: 18px auto 0; color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); max-width: 32em; }
.bone { background: var(--bone); color: var(--paper-ink); color-scheme: light; }
.bone .sec-h p, .bone .mute { color: #5b5d55; }

/* Result */
.result { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.compare { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; width: 100%; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .top { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: var(--bone); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: -19px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--bone); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cap { position: absolute; bottom: 16px; font: 500 14px/1 var(--display); background: rgba(0,0,0,.6); color: var(--bone); padding: 8px 12px; border-radius: 99px; pointer-events: none; backdrop-filter: blur(6px); }
.cap.l { left: 16px; } .cap.r { right: 16px; }
.result-side h2 { margin-bottom: 18px; }
.result-side > p { color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); margin-bottom: 30px; max-width: 26em; }
.facts { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts b { display: block; font: 450 clamp(30px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.facts span { color: var(--mute); font-size: 14px; display: block; line-height: 1.3; }

/* Triggers */
.trig { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.t-card { background: var(--panel); border-radius: var(--r); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px; min-height: 340px; overflow: hidden; position: relative; }
.t-card h3 { font-size: clamp(20px, 1.9vw, 26px); }
.t-card p { color: var(--mute); font-size: 15px; }
.t-a { grid-column: span 7; } .t-b { grid-column: span 5; } .t-c { grid-column: span 5; } .t-d { grid-column: span 7; }
.t-photo { padding: 0; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-float { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 320px; background: rgba(12,13,13,.74); backdrop-filter: blur(14px); border-radius: 16px; padding: 16px 18px; }
.t-float small { display: block; color: var(--mute); font-size: 12.5px; }
.t-float b { display: block; font: 450 34px/1.1 var(--display); letter-spacing: -.02em; }
.chart { width: 100%; height: auto; margin-top: auto; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 130px; margin-top: auto; }
.bars i { flex: 1; background: #303331; border-radius: 4px 4px 1px 1px; }
.bars i.hot { background: var(--ember); }
.hours { display: flex; justify-content: space-between; color: var(--mute); font-size: 12px; }
.lines { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 13px; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; font-size: 14px; }
.lines i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--bone) var(--v), #2c2f2d var(--v)); }

/* Image carousel: pictures first, a line of text under them. */
.reel { position: relative; padding: clamp(30px, 5vw, 80px) 0; }
.reel-track { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut); scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track figure { margin: 0; flex: 0 0 clamp(280px, 42vw, 680px); scroll-snap-align: start; }
.reel-track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.reel-track figcaption { padding-top: 9px; font-size: 13.5px; color: var(--mute); }
.reel-nav { display: flex; justify-content: flex-end; gap: 8px; padding: 18px var(--gut) 0; }
.reel-nav button { width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 18px; transition: background .2s, color .2s; }
.reel-nav button:hover { background: var(--bone); color: #0a0b0b; }
.bone .reel-nav button { box-shadow: inset 0 0 0 1.5px #bdb8ac; }
.bone .reel-nav button:hover { background: #0a0b0b; color: var(--bone); }

/* Habit cards */
.habit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.habit-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5.4; text-decoration: none; color: #fff; }
.habit-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.habit-card:hover img { transform: scale(1.04); }
.habit-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; font: 450 clamp(22px, 2.2vw, 32px)/1.08 var(--display); letter-spacing: -.02em; text-shadow: 0 1px 24px rgba(0,0,0,.5); }
.habit-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.habit-card span { z-index: 1; }

.closer { padding: clamp(90px, 13vw, 190px) var(--gut); text-align: center; display: grid; justify-items: center; gap: 30px; background: #000; }
.closer h2 { font-size: clamp(48px, 8.4vw, 130px); line-height: .98; }

/* Footnotes and footer */
.notes { padding: 34px var(--gut) 40px; }
.notes ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--mute); line-height: 1.5; max-width: 1040px; }
.bone .notes ol, .notes.bone ol { color: #5b5d55; }
.foot { background: #111312; border-radius: var(--r) var(--r) 0 0; padding: 48px var(--gut) 30px; display: grid; gap: 34px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 34px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: clamp(30px, 6vw, 80px); }
.foot-cols h3 { font-size: 13px; color: var(--mute); margin-bottom: 10px; font-family: var(--body); letter-spacing: 0; }
.foot-cols a { display: block; text-decoration: none; font-size: 14.5px; padding: 3px 0; color: var(--soft); }
.foot-cols a:hover { color: var(--bone); }

/* Story page */
.st-hero { position: relative; height: 200vh; background: #171819; }
.st-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.st-sticky > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); }
.st-title { position: relative; z-index: 2; text-align: center; opacity: var(--o1, 1); filter: blur(var(--b1, 0)); }
.st-title small { display: block; font: 450 clamp(18px, 2vw, 28px)/1 var(--display); margin-bottom: 10px; }
.st-title h1 { font-size: clamp(60px, 10vw, 170px); }
.st-title .btn { margin-top: 34px; }
.st-line { position: absolute; z-index: 2; left: var(--gut); top: 50%; transform: translateY(-50%); max-width: 520px; opacity: var(--o2, 0); filter: blur(var(--b2, 8px)); }
.st-line p { font: 450 clamp(24px, 2.7vw, 40px)/1.2 var(--display); letter-spacing: -.015em; }
.zero { position: relative; height: 320vh; background: var(--bone); color: var(--paper-ink); }
.zero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
#zeroGL { position: absolute; inset: 0; width: 100%; height: 100%; }
.zero-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: var(--o, 0); pointer-events: none; }
.zero-word { font-size: clamp(104px, 19vw, 300px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.zero-o { display: inline-block; width: .74em; height: 0; margin-left: .04em; }
.zero-sub { font: 450 clamp(26px, 3.4vw, 52px)/1.1 var(--display); letter-spacing: -.02em; margin-top: .3em; opacity: var(--o2, 0); }
.arm { background: var(--bone); overflow: hidden; }
.arm img { display: block; width: min(560px, 74vw); margin: 0 auto; transform: translateY(var(--y, 0)); }
.cards-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; }
.cards-2 .pic { aspect-ratio: 1 / 1.14; }
.cards-2 > div:last-child .pic { aspect-ratio: 1; margin-bottom: 26px; }
.cards-2 .txt { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; max-width: 22em; padding: 0 8px; }
.wide-pic { aspect-ratio: 16 / 8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats > div { padding: 16px 12px; border-left: 1px solid #c8c3b6; }
.stats > div:first-child { border-left: 0; }
.stats svg { width: 26px; height: 26px; margin: 0 auto 14px; display: block; }
.stats b { display: block; font: 450 clamp(46px, 6vw, 90px)/1 var(--display); letter-spacing: -.03em; }
.stats span { display: block; margin-top: 10px; font-size: 14.5px; color: #5b5d55; }
.fullbig { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: #111; }
.fullbig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fullbig div { position: relative; }
.fullbig b { display: block; font: 450 clamp(80px, 13vw, 210px)/1 var(--display); letter-spacing: -.04em; }
.fullbig span { font-size: clamp(18px, 1.6vw, 24px); }
.overlay-card { position: relative; border-radius: var(--r); overflow: hidden; min-height: 78vh; display: grid; place-items: center; text-align: center; color: #fff; }
.overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.overlay-card div { position: relative; z-index: 1; padding: 20px; }
.overlay-card p { margin-top: 14px; font-size: 18px; }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.pills button { padding: 11px 19px; border-radius: 99px; font-size: 14.5px; background: #fff; color: var(--paper-ink); box-shadow: inset 0 0 0 1px #d6d1c4; transition: background .2s, color .2s; display: inline-flex; gap: 8px; align-items: center; }
.pills button[aria-selected="true"] { background: #0a0b0b; color: var(--bone); box-shadow: none; }
.tiles { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut); margin: 0 calc(var(--gut) * -1); scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: 0 0 clamp(250px, 23vw, 340px); scroll-snap-align: start; }
.tile-f { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; position: relative; background: #1a1c1b; color: var(--bone); padding: 18px; display: flex; flex-direction: column; }
.tile-f > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-f small { color: var(--mute); font-size: 13px; }
.tile-f strong { font: 450 56px/1.05 var(--display); letter-spacing: -.03em; margin-top: 4px; }
.tile-f em { font-style: normal; color: var(--steady); font-size: 14px; }
.tile-f .bars { height: 40%; }
.tile-f .chart { margin-top: auto; }
.tile h3 { margin: 14px 2px 6px; font-size: 18px; }
.tile p { margin: 0 2px; font-size: 14.5px; color: #5b5d55; line-height: 1.4; }

/* Specs: a quieter grey room. */
.specs { background: #dad6cc; color: var(--paper-ink); border-radius: var(--r); padding: clamp(24px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(24px, 4vw, 60px); color-scheme: light; }
.specs-l img { width: 100%; border-radius: 16px; }
.specs-in { background: #efebe2; border-radius: 16px; padding: 18px 20px; margin-top: 14px; font-size: 14.5px; }
.specs-in ul, .spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.specs h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 28px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px clamp(24px, 4vw, 60px); }
.spec h3, .specs-in h3 { display: flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--body); letter-spacing: 0; margin-bottom: 10px; }
.spec h3 svg, .specs-in h3 svg { width: 19px; height: 19px; flex: none; }
.spec li { font-size: 14px; color: #3d3f39; line-height: 1.42; }

.finish { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut); margin: 0 calc(var(--gut) * -1); scroll-snap-type: x proximity; }
.finish::-webkit-scrollbar { display: none; }
.finish a { flex: 0 0 clamp(260px, 26vw, 400px); scroll-snap-align: start; text-decoration: none; text-align: center; padding: 18px 18px 26px; border-radius: var(--r); transition: background .25s; }
.finish a:hover { background: #e3ddd0; }
.finish img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; width: 100%; margin-bottom: 16px; }
.finish b { font: 500 19px/1.2 var(--display); display: block; }
.finish span { color: #5b5d55; font-size: 15px; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(16px, 2vw, 28px); padding: 14px var(--gut) 50px; align-items: start; }
.gal { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s; }
.gal img.on { opacity: 1; }
.gal-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.gal-dots button { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.55); padding: 0; transition: width .3s, background .3s; }
.gal-dots button.on { width: 26px; background: #fff; }
.gal-ar { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(10,11,11,.45); color: #fff; z-index: 2; backdrop-filter: blur(6px); }
.gal-ar.p { left: 14px; } .gal-ar.n { right: 14px; }
.buy { position: sticky; top: 76px; display: grid; gap: 14px; }
.buy-c { background: var(--panel); border-radius: 18px; padding: 20px; }
.buy-c h1 { font-size: 28px; line-height: 1.1; }
.buy-c > p { color: var(--mute); font-size: 15px; margin-top: 4px; }
.swatches { display: flex; gap: 10px; margin-top: 16px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); outline-offset: 3px; }
.sw.on { outline: 2px solid var(--bone); }
.price-l { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14.5px; color: var(--soft); }
.buy-c h2 { font-size: 16px; font-family: var(--body); letter-spacing: 0; font-weight: 600; margin-bottom: 10px; }
.opts { display: grid; gap: 8px; }
.opts.tri { grid-template-columns: repeat(3, 1fr); }
.opt { padding: 12px 14px; min-height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; }
.opts.tri .opt { flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.opt small { font-size: 12.5px; color: var(--mute); font-weight: 400; }
.opt.on { box-shadow: inset 0 0 0 2px var(--bone); }
.offer-note { font-size: 14px; color: var(--steady); text-align: center; }
.buybar { position: fixed; left: 50%; bottom: 14px; z-index: 40; width: min(980px, calc(100vw - 28px)); padding: 9px 9px 9px 22px; background: rgba(32,34,33,.86); backdrop-filter: blur(16px); border-radius: 18px; display: flex; justify-content: space-between; align-items: center; font: 500 15px/1 var(--display); transform: translate(-50%, 140%); transition: transform .35s var(--ease); }
.buybar.on { transform: translate(-50%, 0); }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.three .pic { aspect-ratio: 1 / 1.05; margin-bottom: 14px; }
.three p { font-size: 15.5px; color: var(--soft); padding: 0 4px; max-width: 26em; }
.three b { color: var(--bone); font-weight: 600; }
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 80px); align-items: center; max-width: 1180px; margin: 0 auto; }
.side .pic { aspect-ratio: 1 / 1.05; }
.ico-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ico-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.ico-list svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--panel2); flex: none; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { background: var(--panel); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-size: 16px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 22px; color: var(--mute); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 0 20px; color: var(--soft); font-size: 15.5px; }

/* Text and habit pages */
.pg-hero { padding: clamp(70px, 10vw, 150px) var(--gut) clamp(40px, 6vw, 80px); text-align: center; }
.pg-hero h1 { max-width: 13em; margin: 0 auto 18px; }
.pg-hero p { max-width: 30em; margin: 0 auto; color: var(--soft); font-size: clamp(18px, 1.5vw, 22px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 6vw, 96px); align-items: center; padding: clamp(36px, 5vw, 70px) var(--gut); max-width: 1320px; margin: 0 auto; }
.row:nth-child(even) .pic { order: 2; }
.row .pic { aspect-ratio: 4 / 4.6; }
.row h2 { margin-bottom: 16px; }
.row p { color: var(--soft); font-size: clamp(17px, 1.35vw, 20px); max-width: 26em; margin-bottom: 26px; }
.row .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.prose { max-width: 720px; margin: 0 auto; padding: 60px var(--gut) 100px; }
.prose h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 26px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--soft); margin-bottom: 12px; }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1180px; margin: 0 auto; }
.ledger > div { background: var(--panel); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.ledger .l2 { background: var(--bone); color: var(--paper-ink); }
.ledger h2 { font-size: clamp(28px, 3vw, 44px); }
.scores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 10px; font-size: 13px; color: #55574f; }
.scores b { display: block; font: 450 clamp(30px, 3vw, 46px)/1 var(--display); color: var(--paper-ink); }
.pledges { list-style: none; margin: 40px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; }
.pledges li { color: var(--soft); font-size: 16px; }
.pledges b { display: block; font: 500 20px/1.2 var(--display); color: var(--bone); margin-bottom: 6px; }

/* On-device AI: one long scroll */
.od { position: relative; height: 900vh; background: #040505; }
.od-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#odGL { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.od-text { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(480px, 34vw); margin: 0; padding: 60px 0 0; list-style: none; display: grid; align-content: center; z-index: 3; }
.od-text li { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.od-text li.on { opacity: 1; transform: none; filter: none; }
.od-text h1, .od-text h2 { font-size: clamp(34px, 3.8vw, 60px); line-height: 1.05; }
.od-text p { margin-top: 12px; color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); }
.od-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.od-bin { position: absolute; left: 0; top: 0; text-align: center; opacity: 0; white-space: nowrap; }
.od-bin b { display: block; font: 450 clamp(18px, 2.6vw, 38px)/1.05 var(--display); letter-spacing: -.02em; }
.od-bin span { font-size: clamp(10px, 1vw, 14px); color: var(--mute); }
.od.flat { height: auto; }
.od.flat .od-pin { position: static; height: auto; padding: 90px var(--gut); }
.od.flat .od-text { position: static; width: auto; padding: 0; gap: 22px; text-align: center; }
.od.flat .od-text li { grid-area: auto; opacity: 1; transform: none; filter: none; }

/* Guide */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - 62px); }
.guide-pic { position: relative; }
.guide-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-c { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 96px); gap: 18px; }
.guide-c ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--soft); }
.guide-c li::before { content: ""; display: inline-block; width: 12px; height: 8px; margin-right: 10px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }

/* Cart */
.drawer-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 61; background: var(--panel); transform: translateX(102%); transition: transform .28s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-h h2 { font-size: 22px; }
.x { font-size: 28px; line-height: 1; width: 40px; height: 40px; color: var(--mute); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.item img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; }
.item b { display: block; font-weight: 600; }
.item span { color: var(--mute); font-size: 13.5px; }
.item .rm { color: var(--mute); text-decoration: underline; font-size: 13px; padding: 4px 0; }
.empty { color: var(--mute); padding: 24px 0; }
.drawer-f { padding: 18px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tot { display: flex; justify-content: space-between; font-size: 19px; font-weight: 600; }
.tot.off { font-size: 14.5px; font-weight: 400; color: var(--steady); }

/* Dialogs */
dialog { color: var(--bone); border: 0; padding: 0; }
.dlg { width: min(460px, calc(100vw - 32px)); padding: 30px 28px 26px; background: var(--panel2); border-radius: 22px; }
dialog::backdrop { background: rgba(14,15,15,.55); backdrop-filter: blur(10px) grayscale(.7); -webkit-backdrop-filter: blur(10px) grayscale(.7); }
.dlg h2 { font-size: clamp(27px, 3.4vw, 34px); margin-bottom: 12px; padding-right: 24px; }
.dlg .x { position: absolute; top: 10px; right: 12px; font-size: 26px; z-index: 3; color: inherit; }
.form { display: grid; gap: 10px; }
.form label { font-size: 14.5px; color: var(--soft); }
.form input, .form select { width: 100%; min-height: 50px; padding: 0 14px; background: var(--panel); color: var(--bone); border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.form input:focus, .form select:focus { border-color: var(--bone); outline: none; }
.err { color: var(--ember); }
.offer { width: min(860px, calc(100vw - 32px)); background: var(--panel2); border-radius: 24px; overflow: hidden; }
.offer-in { display: grid; grid-template-columns: 1fr 1fr; }
.offer-pic { position: relative; min-height: 480px; }
.offer-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-c { padding: 34px 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.offer-c .logo { margin-bottom: 14px; }
.offer-c h2 { font-size: clamp(32px, 3.8vw, 44px); margin-bottom: 6px; }
.offer .x { color: #fff; position: absolute; right: 10px; top: 10px; }
dialog .x:focus-visible { outline: none; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 460px; display: grid; gap: 12px; padding: 16px 18px; background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.consent div { display: flex; gap: 10px; }

@media (max-width: 960px) {
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(10,11,11,.96); padding: 8px var(--gut) 16px; }
  .links.open { display: flex; }
  .links a { padding: 11px 0; font-size: 17px; }
  .menu-btn { display: block; order: -1; margin-left: -8px; }
  .nav { gap: 8px; }
  .hero { align-items: flex-start; padding-top: 44px; min-height: calc(100svh - 62px); }
  .hero-img { top: auto; bottom: 0; height: 56%; object-position: 72% 40%; animation: none; }
  .hero-copy { padding-bottom: 54vh; }
  .story { height: 420vh; }
  #senseGL { height: 62%; }
  .story-text { left: 18px; right: 18px; width: auto; top: auto; bottom: 0; padding: 0 0 26px; min-height: 38%; justify-content: flex-start; }
  .steps h3 { font-size: 30px; margin-bottom: 8px; } .steps p { font-size: 16px; }
  .buzzband { grid-template-columns: minmax(0, 1fr) auto; } .buzzband h2 { grid-column: 1 / -1; }
  .result, .side, .row, .ledger, .guide, .pdp, .specs, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .row:nth-child(even) .pic { order: 0; }
  .trig > * { grid-column: 1 / -1; }
  .habit-grid { grid-template-columns: 1fr 1fr; }
  .buy { position: static; }
  .gal { aspect-ratio: 1; }
  .three { grid-template-columns: minmax(0, 1fr); }
  .pledges { grid-template-columns: 1fr; }
  .od { height: 760vh; }
  .od-text { left: 18px; right: 18px; width: auto; top: auto; bottom: 0; padding: 0 0 30px; min-height: 24%; align-content: start; }
  .od-text h1, .od-text h2 { font-size: 29px; }
  .guide-pic { min-height: 56vw; }
  .offer-in { grid-template-columns: 1fr; }
  .offer-pic { min-height: 170px; }
  .offer-c { padding: 22px 22px 22px; }
  .offer-c .logo { margin-bottom: 4px; }
  .st-line { left: var(--gut); right: var(--gut); top: auto; bottom: 16vh; transform: none; }
  .overlay-card { min-height: 60vh; }
  .wide-pic { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .spec-grid, .ico-list { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .scores { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-left: 0; border-top: 1px solid #c8c3b6; padding: 22px 12px; }
  .stats > div:first-child { border-top: 0; }
  .nav-r .btn.small { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
