/* EZYCEE site: clean, product-first. Brand font Avenir (bold caps for the EZYCEE wordmark), white and light-grey sections, one black section for the apps. */
/* Figtree variable font (300–900), self-hosted from Google Fonts. Licence: /fonts/Figtree-OFL.txt */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --sub-size: clamp(19px, 2.4vw, 24px); /* subtitles */
  --muted: #6e6e73;
  --line: #d2d2d7;
  /* Brand green = the logo dot. Text on a green background is always white (owner rule). Links on light: a deeper shade of it (5:1). */
  --brand: #30d158;
  --brand-deep: #1a7f37;
  --link: var(--brand-deep);
  --buy: var(--brand);
  --buy-hover: #2bbf50;
  --buy-ink: #ffffff;
  --dark: #000000;
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a1a6;
  --dark-link: var(--brand);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Brand font: Avenir, built into Apple devices. Everywhere else: Figtree (self-hosted, OFL), the owner's chosen stand-in. */
  --font: "Avenir Next", "Avenir", "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(48, 209, 88, 0.7); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.small { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 22px; border-radius: 980px; background: var(--buy); color: var(--buy-ink); font: 700 17px/1 var(--font); letter-spacing: 0; border: 0; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--buy-hover); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-sm { min-height: 28px; padding: 5px 14px; font-size: 13px; }
/* Header pills: Studio sits beside Buy, same shape, a deeper green (white text on green, owner rule). */
.gnav-row .btn-sm { font-size: 14px; padding: 6px 16px; min-height: 32px; text-transform: uppercase; letter-spacing: .06em; }
.btn-studio { background: var(--brand-deep); }
.btn-studio:hover { background: #156b2e; }
.btn-lg { min-height: 50px; padding: 14px 30px; font-size: 18px; }
.btn-ghost, .btn.secondary { background: transparent; color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-ghost:hover, .btn.secondary:hover { background: var(--buy); color: var(--buy-ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.link-more { font-size: 17px; color: var(--link); white-space: nowrap; }
.link-more::after { content: " ›"; }
.link-play::after { content: " ▶"; font-size: .7em; vertical-align: 1px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.ctas.center { justify-content: center; }

/* ---------- global nav */
.gnav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.gnav-row { width: min(1080px, 100% - 32px); margin-inline: auto; height: 48px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-family: "Avenir Next", "Avenir", var(--font); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.logo:hover { text-decoration: none; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(48, 209, 88, .18); }
.gnav-links { display: flex; gap: 26px; margin-left: auto; }
.gnav-links a, .gnav-menu a { color: var(--ink); opacity: .85; }
.gnav-links a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gnav-links a:hover, .gnav-links a[aria-current] { opacity: 1; text-decoration: none; }
.gnav-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; padding: 8px; cursor: pointer; }
.gnav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.gnav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.gnav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.gnav-menu { padding: 8px 24px 24px; display: grid; gap: 4px; }
.gnav-menu a { font-size: 24px; font-weight: 600; padding: 8px 0; opacity: 1; }
@media (max-width: 760px) {
  .gnav-links { display: none; }
  .gnav-row { gap: 12px; }
  .gnav-row .btn-studio { margin-left: auto; }
  .gnav-toggle { display: block; }
}
@media (min-width: 761px) { .gnav-menu { display: none !important; } }
@media (max-width: 380px) { .gnav-row { gap: 8px; } .logo { font-size: 18px; gap: 6px; } .logo-dot { width: 10px; height: 10px; } .gnav-row .btn-sm { padding: 5px 11px; font-size: 13px; letter-spacing: .04em; } .gnav-toggle { width: 32px; padding: 7px; } }

/* ---------- sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-dark { background: var(--dark); color: var(--dark-ink); }
.sec-dark .link-more, .sec-dark a:not(.btn) { color: var(--dark-link); }
.sec-dark .h-sub, .sec-dark .lead, .sec-dark .small { color: var(--dark-muted); }
.page { padding: 72px 0 96px; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.h-hero { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; letter-spacing: -0.012em; font-weight: 700; }
.h-sec { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.07; letter-spacing: -0.008em; font-weight: 700; }
.h-sub { font-size: var(--sub-size); line-height: 1.35; text-wrap: balance; color: var(--muted); margin: 16px auto 0; max-width: 680px; letter-spacing: 0; }
.life-sec .h-sub { max-width: none; } /* "EZYCEE fits functionally around the house, and looks good too!" on one line where it fits */
.lead { font-size: 21px; line-height: 1.4; color: var(--muted); margin-top: 16px; }
.page h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin-bottom: 8px; }
.page h2 { font-size: 24px; margin: 32px 0 8px; }
.page p, .page li { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 22px; }
.card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px 28px; }
.card h2 { margin-top: 0; }
.note { margin-top: 16px; color: var(--muted); }
.note.draft { background: #fff4e5; color: #7a4a00; padding: 12px 16px; border-radius: 12px; }

/* ---------- device (screen mock in a Bone frame, like the real T-43 front) */
.device { position: relative; width: 100%; max-width: 272px; margin-inline: auto; padding: 15% 6.5% 8%; background: linear-gradient(160deg, #f1ece0, #e2dccd 70%); border-radius: 8% / 5%; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -1px 0 rgba(0, 0, 0, .06) inset, 0 30px 60px -24px rgba(60, 50, 30, .38), 0 10px 22px -12px rgba(60, 50, 30, .3); }
.device::before { content: "EZYCEE"; position: absolute; top: 4.2%; left: 0; right: 0; text-align: center; font: 700 clamp(9px, 1.2vw, 15px)/1 var(--font); letter-spacing: .22em; color: #d4cdbb; text-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 -1px 0 rgba(0, 0, 0, .08); }
.device img { width: 100%; aspect-ratio: 272 / 480; border-radius: 2.5%; background: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.device-xl { max-width: 330px; }
.device-sm { max-width: 190px; }
.device-sm::before { font-size: 8px; }

/* ---------- hero: Charcoal renders driven by scroll (site.js): a frame-sequence canvas, else cross-faded stills */
:root { --render-bg: #f6f4f0; } /* the hero's sticky frame sits under the 49px .gnav */
.hero-scroll { position: relative; background: var(--render-bg); text-align: center; }
.hero-sticky { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding-top: 64px; }
.hero-text { display: grid; }
.hero-text > * { grid-area: 1 / 1; }
/* All copy wraps naturally (one line is fine). Headings balance their lines and body copy avoids a lone last word. */
.ln { display: inline; }
.ln-own { display: block; } /* a sentence on its own line */
h1, h2, h3, .h-hero, .h-hero-2, .h-sec { text-wrap: balance; }
p { text-wrap: pretty; } /* .h-sub keeps balance */
.hero-cap { display: none; align-self: center; padding: 0 16px; }
.h-hero-2 { font-size: clamp(36px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.01em; font-weight: 700; }
.hero-shots { position: relative; width: min(760px, 92vw); aspect-ratio: 1; margin: 8px auto 0; }
.hero-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); }
.hero-shots img + img { opacity: 0; }
.hero-shots-mock { aspect-ratio: auto; padding: 32px 0 64px; }
.hero-seq { display: none; position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, #000 84%, transparent 100%); }
.hero-scroll[data-seq-on] .hero-seq { display: block; }
.hero-scroll[data-seq-on] [data-shot] { visibility: hidden; }
/* Scroll mode: on when site.js adds data-active (JS on, motion allowed, 2+ renders). */
.hero-scroll[data-active] { height: calc(100svh + (var(--n) - 1) * 80svh); }
.hero-scroll[data-active] .hero-sticky { position: sticky; top: 49px; height: calc(100svh - 49px); padding: max(24px, 5svh) 0 2svh; overflow: hidden; grid-template-rows: auto minmax(0, 1fr); }
/* The render's top tenth is empty backdrop, so it may rise behind the copy: bigger device, nothing covered. */
.hero-scroll[data-active] .hero-shots { contain: size; width: auto; height: 112%; max-width: 112vw; margin: 0 auto; justify-self: center; align-self: end; }
.hero-scroll[data-active] .hero-text { position: relative; z-index: 1; }
.hero-scroll[data-active] .hero-cap { display: block; }
.hero-scroll[data-active] [data-cap], .hero-scroll[data-active] [data-shot] { opacity: var(--o, 0); transform: translate3d(0, var(--y, 0px), 0) scale(var(--s, 1)); will-change: opacity, transform; }
.hero-scroll[data-active] [data-cap] { pointer-events: none; }
.hero-scroll[data-active] [data-cap][data-on] { pointer-events: auto; }
/* Phones and narrow screens: tighter copy, captions at the top, and site.js grows the render
   (--hero-grow, from the bottom) once the headline gives way to the shorter captions. */
@media (max-width: 899px), (max-aspect-ratio: 5/4) {
  .hero-scroll[data-active] .h-hero { font-size: clamp(38px, 10.5vw, 64px); }
  .hero-scroll[data-active] .hero-copy .h-sub { font-size: min(17px, 4.9vw); margin-top: 10px; }
  .hero-scroll[data-active] .hero-copy .ctas { margin-top: 16px; gap: 8px 20px; }
  .hero-scroll[data-active] .hero-copy .btn-lg { min-height: 44px; padding: 10px 24px; font-size: 17px; }
  .hero-scroll[data-active] .hero-copy .link-more { font-size: 16px; }
  .hero-scroll[data-active] .hero-cap { align-self: start; }
  .hero-scroll[data-active] .h-hero-2 { font-size: clamp(22px, 7vw, 48px); } /* longest line: "the included EZYDOCK" */
  .hero-scroll[data-active] .hero-cap .h-sub { font-size: min(17px, 4.9vw); margin-top: 8px; }
  .hero-scroll[data-active] .hero-shots { max-width: 180vw; justify-self: start; margin: 0 0 0 50%; translate: -50% 0; transform-origin: 50% 100%; transform: scale(var(--hero-grow, 1)); will-change: transform; }
}
/* Wide screens: copy on the left, the render as tall as the screen on the right. */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .hero-scroll[data-active] { text-align: left; }
  .hero-scroll[data-active] .hero-sticky { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); align-items: center; padding: 0; }
  .hero-scroll[data-active] .hero-text { padding-left: max(16px, 100% - 540px); } /* lines up with the logo: % is of this half-width column, so 100% - 540px = (page - 1080px) / 2, as .gnav-row, without the scrollbar */
  .hero-scroll[data-active] .hero-text .wrap { width: auto; margin: 0; }
  .hero-scroll[data-active] .hero-cap { padding: 0; }
  .hero-scroll[data-active] .ctas.center { justify-content: flex-start; }
  .hero-scroll[data-active] .h-hero { font-size: clamp(48px, 4.8vw, 80px); }
  .hero-scroll[data-active] .h-hero-2 { font-size: min(3.9vw, 50px); } /* fits the longest line in the half-width column */
  .hero-scroll[data-active] .hero-shots { height: calc(100svh - 49px); max-width: none; justify-self: start; align-self: center; margin-left: -4vw; }
}

/* ---------- carousel */
.carousel { margin-top: 56px; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 0 24px; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: minmax(200px, 330px) minmax(0, 420px); justify-content: center; align-items: center; gap: 64px; padding: 0 24px; }
.car-slide .device { opacity: .35; transform: scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.car-slide.is-active .device { opacity: 1; transform: none; }
.car-copy { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) .1s, transform .6s var(--ease) .1s; }
.car-slide.is-active .car-copy { opacity: 1; transform: none; }
.app-name { color: var(--c, inherit); font-weight: 700; letter-spacing: 0.02em; }
.car-copy .app-name { font-size: 17px; }
.car-tag { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.008em; margin-top: 10px; }
.car-body { color: var(--dark-muted); font-size: 19px; margin: 14px 0 18px; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.car-btn:hover { background: rgba(255, 255, 255, .22); }
.car-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 70vw; }
.car-dots button { width: 8px; height: 8px; padding: 0; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .4s var(--ease), background .4s; }
.car-dots button[aria-selected="true"] { width: 28px; background: var(--c); }
@media (max-width: 720px) {
  .car-slide { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 0 32px; }
  .car-slide .device { max-width: 230px; }
  .car-btn { display: none; }
}

/* ---------- video and reviews */
.sec-video { padding: 0 0 96px; background: var(--dark); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { display: grid; place-content: center; text-align: center; color: var(--dark-ink); gap: 6px; background: radial-gradient(circle at 50% 40%, #1c1c1e, #000); }
.video-empty span { font-size: 28px; font-weight: 700; }
.video-empty span::before { content: "▶"; display: block; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: rgba(255, 255, 255, .14); line-height: 72px; font-size: 24px; }
.video-empty small { color: var(--dark-muted); font-size: 15px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.review { margin: 0; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.review figcaption span { display: block; }
.review-empty blockquote { color: var(--muted); }

/* ---------- buy */
.buy-card { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--bg); border-radius: 28px; padding: 56px; }
.buy-visual { background: radial-gradient(circle at 50% 45%, #e6f9eb, transparent 70%); padding: 24px 0; }
.buy-name { font-size: 28px; }
.buy-price { font-size: 48px; font-weight: 700; letter-spacing: -0.005em; margin-top: 4px; }
.buy-sub { color: var(--muted); }
.buy-points { margin: 20px 0 24px; display: grid; gap: 6px; }
.buy-points li::before { content: "✓"; color: var(--brand-deep); font-weight: 700; margin-right: 10px; }
.buy-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.buy-form .btn { flex: 1; min-width: 160px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 980px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--ink); cursor: pointer; }
.qty input { width: 36px; border: 0; text-align: center; font: 600 17px var(--font); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.status { flex-basis: 100%; font-size: 14px; color: var(--muted); min-height: 1.2em; }
.status.error { color: #d70015; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.buy-badge { display: block; width: fit-content; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); background: #e6f9eb; border-radius: 6px; padding: 4px 8px; margin-bottom: 6px; }
.buy-price s { font-size: 24px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.buy-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; flex-basis: 100%; }
.buy-form legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.buy-form legend .small { font-weight: 400; margin-left: 6px; }
.sets { display: flex; flex-wrap: wrap; gap: 8px; }
.set { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 980px; font-size: 14px; cursor: pointer; background: var(--bg); }
.set input, .sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.set:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.set:has(input:focus-visible), .sw:has(input:focus-visible) { outline: 3px solid rgba(48, 209, 88, .6); outline-offset: 2px; }
.set-dots { display: inline-flex; }
.set-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,.18); margin-left: -4px; }
.set-dots i:first-child { margin-left: 0; }
.parts { display: grid; gap: 10px; margin-top: 14px; }
.parts[hidden] { display: none; }
.custom-picks { display: grid; gap: 10px; }
.part { display: flex; align-items: center; gap: 10px; }
.part-name { width: 76px; font-size: 14px; color: var(--muted); }
.sw { position: relative; cursor: pointer; }
.sw > span:not(.sr) { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,.2); }
.sw:has(input:checked) > span:not(.sr) { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.addon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.addon:last-child { border-bottom: 1px solid var(--line); }
.addon label { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; min-width: 0; }
.addon input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand-deep); flex: none; }
.addon-text { flex: 1; min-width: 0; }
.addon-text b { white-space: nowrap; }
.addon-price { color: var(--muted); white-space: nowrap; }
.buy-card .buy-visual { align-self: start; position: sticky; top: 80px; }
@media (max-width: 820px) { .buy-card .buy-visual { position: static; } }
.addon select, .buy-form select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex-basis: 100%; }
.buy-row .btn { flex: 1; min-width: 160px; }
.pv { width: 100%; max-width: 360px; display: block; margin: 0 auto; color: var(--ink); }
.pv [data-part] { transition: fill .35s ease; }
.pv-caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.acc-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.acc-card { background: var(--bg); border-radius: 24px; padding: 32px; }
.acc-card h3 { font-size: 22px; }
.acc-zh { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.acc-card > p { margin-top: 6px; }
.acc-price { font-size: 28px; font-weight: 700; margin: 12px 0 16px !important; }
.acc-card .part { margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) { .pv [data-part] { transition: none; } }
.box-title { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 32px; }
.in-box { margin-top: 10px; display: grid; gap: 6px; font-size: 15px; }
.in-box li { padding-left: 18px; position: relative; }
.in-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.made-in { margin-top: 24px; font-size: 14px; font-weight: 600; }
.made-in::before { content: "🇸🇬 "; }
@media (max-width: 820px) { .buy-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; } .buy-visual .device { max-width: 200px; } }
/* With the three-colour shot: the photo across the top, the product info below it. */
.buy-card.has-hero { grid-template-columns: minmax(0, 1fr); padding: 0 0 56px; overflow: hidden; gap: 40px; }
.buy-card.has-hero .buy-info { width: min(640px, 100% - 48px); margin: 0 auto; }
.buy-hero { margin: 0; background: #f2f0ec; }
.buy-hero img { display: block; width: 100%; height: auto; }
.buy-card.has-hero .parts:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.custom-pv { background: radial-gradient(circle at 50% 50%, #f2f0ec, transparent 72%); border-radius: 20px; }
.custom-pv .pv, .custom-pv .pv-img { width: 100%; max-width: 320px; height: auto; display: block; margin: 0 auto; }
@media (max-width: 560px) { .buy-card.has-hero .parts:not([hidden]) { grid-template-columns: 1fr; } .custom-pv .pv, .custom-pv .pv-img { max-width: 260px; } }

/* ---------- studio */
.studio-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
/* Studio steps: one sentence per line (owner). Two columns: the size scales so the longest sentence fits its column. */
@media (min-width: 861px) { #studio .h-sub { max-width: none; font-size: min(var(--sub-size), 1.95vw); } }
.win { border-radius: 14px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f0f0f2; font-size: 12px; color: var(--muted); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d1d1d6; }
.win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin: 0 auto; background: #fff; padding: 3px 40px; border-radius: 6px; }
.win-body { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px; background: var(--bg-alt); }
.win-side { display: grid; gap: 8px; align-content: start; }
.win-h { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.win-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 12px; font-weight: 700; color: var(--c); letter-spacing: .03em; }
.win-row::after { content: ""; width: 30px; height: 18px; border-radius: 9px; background: radial-gradient(circle at 9px 50%, #fff 7px, transparent 7.5px) #d9d9de; }
.win-row.on::after { background: radial-gradient(circle at 21px 50%, #fff 7px, transparent 7.5px) #30d158; }
.win-btn { margin-top: 6px; background: var(--buy); color: var(--buy-ink); border-radius: 980px; text-align: center; padding: 9px; font-size: 12px; font-weight: 600; }
@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .win-body { grid-template-columns: 1fr; } .win-prev { display: none; } }
/* The rendered device: the body PNG on top, the screen showing through its transparent opening. */
.win-prev:has(.rdev) { overflow: hidden; align-self: center; }
.rdev { position: relative; width: 300px; aspect-ratio: 800 / 1000; margin: -36px -64px -16px; }
.rdev > * { position: absolute; }
.rdev-hole { background: #000; }
.rdev-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rdev-body { inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .rdev { width: 260px; margin: -30px -56px -14px; } }

/* ---------- apps grid and tiles */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 56px; }
.apps-grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.apps-grid li a { display: block; text-align: center; background: var(--bg); border-radius: var(--radius); padding: 28px 20px 24px; color: var(--ink); height: 100%; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sec .apps-grid li a { background: var(--bg-alt); }
.sec-alt .apps-grid li a { background: var(--bg); }
.apps-grid li a:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25); }
.apps-grid .device { max-width: 170px; }
.apps-grid .app-name { font-size: 17px; margin-top: 20px; }
.apps-grid p { color: var(--muted); font-size: 15px; margin: 6px 0 10px; min-height: 2.8em; }
.apps-grid .link-more { font-size: 15px; }
.app-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.app-tiles a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px; background: rgba(127, 127, 127, .12); color: inherit; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.app-tiles a:hover { text-decoration: none; background: rgba(127, 127, 127, .22); }
.app-tiles li[aria-current] a { box-shadow: inset 0 0 0 1.5px var(--c); }
.tile-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ---------- app page */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }
.app-hero { padding-top: 40px; }
.app-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.app-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.012em; font-weight: 700; }
.app-hero .eyebrow { color: var(--c); letter-spacing: .04em; }
.app-hero-visual { position: relative; }
.app-hero-visual::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 40%, transparent), transparent); filter: blur(30px); }
@media (max-width: 820px) { .app-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; } .app-hero .ctas { justify-content: center; } .app-hero-visual .device { max-width: 250px; } }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 48px 0; }
.features li { background: var(--bg); border-radius: var(--radius); padding: 28px; }
.sec:not(.sec-alt) .features li { background: var(--bg-alt); }
.features h3 { font-size: 21px; margin-bottom: 8px; }
.features h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--c, var(--buy)); margin-bottom: 16px; }
.features p { color: var(--muted); }
.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 24px; }
.uses li { padding: 12px 20px; border-radius: 980px; background: var(--bg-alt); font-weight: 600; }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 64px 0 16px; text-align: center; }
.steps .device { max-width: 210px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin: 24px 0 12px; }
.steps h2 { font-size: 24px; }
.steps p { color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- faq */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); animation: open .4s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- footer */
.foot { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 24px 0 40px; }
.foot a { color: #424245; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 24px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.foot-cta a.btn { color: var(--buy-ink); }
.foot-grid { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.foot h2 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.foot ul { display: grid; gap: 8px; }
.foot-apps .app-tiles { display: flex; justify-content: flex-start; margin: 0; gap: 6px; }
.foot-apps .app-tiles a { padding: 5px 10px; font-size: 11px; background: rgba(0, 0, 0, .05); color: #424245; }
.foot-legal { padding-top: 20px; display: grid; gap: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-apps { grid-column: 1 / -1; order: 2; } .foot-cta { flex-direction: column; align-items: flex-start; } }

/* ---------- motion */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
.sec-dark .app-tiles a { color: var(--dark-ink); }
.gnav-menu[hidden] { display: none; }

/* ---------- lifestyle (marketing renders): use cases */
.life-sec { overflow: hidden; }
/* "Placed easily anywhere": three columns, each image with its caption below; one column on phones. */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.scene figure { margin: 0; }
.scene figcaption { padding: 20px 4px 0; }
.scene figcaption h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -0.008em; }
.scene figcaption p { color: var(--muted); margin: 6px 0 10px; }
@media (max-width: 820px) { .scenes { grid-template-columns: 1fr; gap: 44px; max-width: 520px; } }
.life-img, .scene-img { overflow: hidden; border-radius: 24px; background: #2a2622; aspect-ratio: 1; }
.life-img img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }
.scene-img img { display: block; width: 100%; height: 100%; object-fit: cover; } /* whole frame: the device sits near the edge */
.life-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.life-split .life-img { margin: 0; }
.uses-left { justify-content: flex-start; }
@media (max-width: 820px) { .life-split { grid-template-columns: 1fr; gap: 32px; } }
@media (prefers-reduced-motion: reduce) { .life-img img { transform: none; } }
