/* Sumi marketing site */

:root {
  --bg: #fff;
  --ink: #111;
  --ink-2: #444;
  --mute: #6f6f6f;
  --line: #e7e7e7;
  --line-2: #cfcfcf;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid #1495CC; outline-offset: 3px; }
::selection { background: #dfeefa; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--wide { width: min(1320px, 100% - var(--gutter) * 2); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1 { font-size: clamp(2.8rem, 5.2vw, 4.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; font-variation-settings: "opsz" 32; max-width: 14ch; margin-bottom: 24px; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -.028em; font-variation-settings: "opsz" 32; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--ink-2); max-width: 36rem; margin-bottom: 28px; text-wrap: pretty; }
.sec-head { max-width: 40rem; margin-bottom: 40px; }
.sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; text-wrap: pretty; }
.sec-head a { text-decoration: underline; text-underline-offset: 3px; }

/* Built for Shopify badge, as it appears on the App Store */
.bfs {
  display: inline-flex; align-items: center; gap: 5px; background: #E0F0FF; color: #000;
  font-size: 13px; font-weight: 500; line-height: 19px; padding: 2px 9px; border-radius: 4px; margin-bottom: 24px; cursor: help;
}
.bfs svg { height: 10px; width: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; font-size: .92rem; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .2s, border-color .2s; }
.nav.is-scrolled { background: #fff; border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 22px; font-size: .92rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }

/* The wall: off-white plaster with soft window light, behind the nav, hero and demo */
.top { position: relative; background: linear-gradient(#f6f4f0, #ebe7e0); }
.top > * { position: relative; z-index: 1; }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); }
.proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: .9rem; color: var(--ink-2); }
.proof:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; color: var(--ink); margin-right: -4px; }
.stars svg { width: 15px; height: 15px; fill: currentColor; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.proof-num { color: var(--ink); font-weight: 400; }

/* Demo section */
.demo-sec { padding: 8px 0 clamp(64px, 8vw, 112px); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tabs button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-align: left; background: #fff; transition: border-color .15s, background .15s; }
.tabs button:hover { border-color: var(--line-2); }
.tabs button[aria-selected="true"] { border-color: var(--ink); background: #fafafa; }
.tabs img { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; flex: none; }
.tabs span { display: grid; line-height: 1.25; }
.tabs b { font-size: .9rem; font-weight: 600; }
.tabs small { font-size: .8rem; color: var(--mute); }

/* ── The scene: on desktop the demo is laid onto the screen of a photographed MacBook,
   with the bundle formats beside it as glass cards. The screen rectangle is given as
   percentages of the photo; demo.js sets --k so the 1180px desktop layout scales to fit.
   Below 1000px the photo and Safari chrome disappear and the frame and tabs stack plainly. ── */
[data-demo] { display: grid; gap: 12px; }
.photo, .screen, .osx { display: contents; }
.safari-bar { display: none; }
.tabs { order: -1; }
@media (min-width: 1001px) {
  [data-demo] { display: block; }
  /* The photograph (scene.jpg, square) is anchored to the bottom of the top block and runs up
     behind the hero; on viewports where the hero is taller than the wall above the laptop,
     a wall-coloured gradient continues above it and the photo's top 12% fades in.
     The laptop lid top is 31% down the photo; the demo section is sized so the lid starts
     32px below the hero. The screen rectangle is the display inside the bezel, in % of the photo. */
  .top { margin-top: -60px; padding-top: 60px; background: linear-gradient(to right, #ebe7e1, #e3ded7 50%, #dcd7d0); }
  .hero { z-index: 2; }
  /* scene.jpg is 1600x1920: the photo with 560px of wall synthesised above and the counter cropped,
     so it always reaches the top of the page. The laptop lid starts 55% down it. */
  /* scene.jpg is 1300x1660: the supplied photo cropped (x 400–1700, counter trimmed) with 300px of
     wall synthesised above. The laptop lid starts 63.1% down it. The photo fills the viewport width. */
  .demo-sec { position: static; height: calc(100vw * .4708 + 32px); padding: 0; }
  .photo { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; aspect-ratio: 1300 / 1660; --sl: 9.15%; --st: 63.55%; --sw: 53.46%; --sh: 27.35%; --osx-h: 771px; }
  .photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("assets/scene.jpg") center top / 100% auto no-repeat; }
  /* No 3D keystone here: content under a perspective transform is rasterised at 1x in Safari and looks
     soft on Retina screens. A plain 2D scale (on .osx) is rendered at full device resolution. */
  .screen { display: block; position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh); background: #000; overflow: hidden; border-radius: 9px; }
  .osx { display: flex; flex-direction: column; position: absolute; top: 0; left: 0; width: 1180px; height: var(--osx-h); transform: scale(var(--k, .3)); transform-origin: 0 0; background: #2b2b2e; }
  .osx .store { flex: 1; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .osx .st-sizes + .st-grid { margin-top: 56px; }
  /* A real display never shows pure white or pure black. A faint cream veil and a glass sheen do the job
     of a contrast filter without one: a filter on this ancestor forced the whole screen to re-rasterise
     on every frame of the footer slide, which is why it looked instant. */
  .screen::after { content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none; background: linear-gradient(165deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 45%, rgba(20,16,10,.05) 100%), rgba(255,254,242,.05); }
  /* Safari's current compact toolbar: flat, one row, pill address field */
  .safari-bar { display: none; -webkit-user-select: none; user-select: none; grid-template-columns: auto auto auto 1fr auto; align-items: center; gap: 16px; height: 46px; padding: 0 14px; background: #2b2b2e; border-bottom: 1px solid #1c1c1e; color: #a9a9ae; flex: none; }
  .safari-dots { display: inline-flex; gap: 8px; }
  .safari-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.25); }
  .safari-dots i:nth-child(2) { background: #febc2e; }
  .safari-dots i:nth-child(3) { background: #28c840; }
  .safari-ico, .safari-arrows, .safari-tools { display: inline-flex; gap: 16px; }
  .safari-bar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .safari-arrows svg:last-child { opacity: .35; }
  .safari-url { justify-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 30px; width: min(100%, 420px); border-radius: 10px; background: rgba(255,255,255,.1); font-size: 13px; color: #f2f2f4; }
  .safari-url svg { width: 12px; height: 12px; color: #a9a9ae; }

  /* Glass cards, like windows in visionOS: clear, blurred, lit from the top edge */
  .tabs { order: 0; position: absolute; z-index: 2; left: 67%; top: var(--st); height: var(--sh); width: min(300px, 23%); display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; margin: 0; }
  .scene .tabs { display: flex; }
  .tabs button {
    position: relative; overflow: hidden; gap: 12px; padding: 12px 14px; border-radius: 18px; color: #121212;
    background: rgba(255,255,255,0);
    border: 1px solid rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(4px) saturate(1.1); backdrop-filter: blur(4px) saturate(1.1);
    /* liquid glass: a bright rim where light catches the top edge, a soft inner glow along the bottom */
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 22px 44px -22px rgba(40,30,20,.26);
    transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
  }
  .tabs button::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 26%); }
  .tabs button:hover { transform: translateY(-1px); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }
  /* the active format: a solid white card with a check, so it reads at a glance; the others sit back */
  .tabs button { color: rgba(18,18,18,.78); }
  .tabs button[aria-selected="true"] { color: #121212; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(4px) saturate(1.1) brightness(1.03); backdrop-filter: blur(4px) saturate(1.1) brightness(1.03); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.1), inset 1px 0 0 rgba(255,255,255,.25), 0 24px 48px -18px rgba(40,30,20,.36); }
  .tabs button[aria-selected="true"]::after { content: ""; flex: none; margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: #121212 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3.5 8.5l3 3 6-6%27/%3E%3C/svg%3E") center / 11px no-repeat; }
  .tabs img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
  .tabs button[aria-selected="true"] small { color: rgba(18,18,18,.6); }
  .tabs b { font-size: .86rem; }
  .tabs small { font-size: .76rem; color: rgba(18,18,18,.62); }
}

/* ── The storefront frame: styles lifted from the Sumi demo store ──
   Three fixed frames, like real windows: laptop (16:10), tablet portrait and phone.
   Nothing inside scrolls; the frame clips. */
.store {
  -webkit-user-select: none; user-select: none;
  --s-bg: #FFFEF2; --s-fg: #333; --s-mute: #8a8a8a; --s-ph: rgba(132,132,132,.1); --s-dis: #d9d9d9; --s-line: rgba(51,51,51,.15);
  position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10;
  background: var(--s-bg); color: var(--s-fg); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(0,0,0,.35);
}
.store-ann { flex: none; background: #333; color: #fff; font-size: 12px; text-align: center; padding: 8px; }
.store-head { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px 28px; }
.store-left { display: flex; align-items: center; gap: 14px; }
.store-menu { display: none; }
.store-logo { justify-self: start; font-family: "Iowan Old Style", "Palatino", Georgia, serif; font-size: 22px; letter-spacing: .01em; line-height: 1; }
.store-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 13px; }
.store-loc { display: inline-flex; align-items: center; gap: 4px; }
.store-ico { width: 18px; height: 18px; fill: none; stroke: #333; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.store-ico--sm { width: 13px; height: 13px; }
.store-bag { position: relative; display: inline-flex; }
.store-bag b { position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #333; color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.store-bag b[hidden] { display: none; }
.store-nav { display: flex; justify-content: center; gap: 22px; font-size: 14px; font-weight: 500; }
.store-page { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.st-shell { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.st-body { flex: 1; min-height: 0; overflow: hidden; padding: 24px 36px 0; }
.st-body--center { display: flex; align-items: center; justify-content: center; padding-bottom: 32px; }

/* Product grid */
.st-grid { display: grid; gap: 32px 20px; }
.st-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.st-grid--m { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.st-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.st-img { width: 100%; aspect-ratio: 1; margin-bottom: 10px; }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-name { font-size: 13px; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.st-price { font-size: 13px; font-weight: 500; line-height: 1.2; margin-top: 4px; }
.st-price s, .st-slot-price s, .st-total s, .st-foot-price s { opacity: .55; font-weight: 400; }
.st-ctl { margin-top: 14px; min-height: 40px; display: flex; align-items: center; }
.st-plus { width: 52px; height: 40px; border: 1px solid #333; display: grid; place-items: center; }
.st-plus svg, .st-qbtn svg { width: 20px; height: 20px; fill: currentColor; }
.st-plus:disabled { opacity: .3; cursor: not-allowed; }
.st-qty { display: inline-flex; align-items: center; gap: 2px; }
.st-qbtn { width: 36px; height: 40px; display: grid; place-items: center; }
.st-qbtn:disabled { opacity: .3; cursor: not-allowed; }
.st-qnum { min-width: 20px; text-align: center; font-size: 16px; }

/* Titles, rules, sizes, tiers */
.st-title { font-size: 28px; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.st-title--center { text-align: center; }
.st-desc { font-size: 16px; margin-top: 10px; }
.st-desc--center { text-align: center; margin-top: 10px; }
.st-title--center + .st-desc--center + .st-sizes, .st-title--center + .st-sizes, .st-title--center + .st-desc--center + .st-tiers { justify-content: center; }
.st-title--center + .st-desc--center + .st-tiers, .st-tiers + .st-grid, .st-desc--center + .st-grid { margin-top: 32px; }
.st-title--center + .st-desc--center + .st-sizes, .st-title--center + .st-sizes { margin-top: 26px; }
.st-sizes + .st-grid { margin-top: 40px; }
.st-sizes { display: flex; gap: 14px; margin-top: 18px; }
.st-sizes button { position: relative; padding: 9px 24px; border: 1px solid #333; font-size: 15px; line-height: 1; }
.st-sizes button[aria-checked="true"] { background: #000; color: #fff; }
.st-save { position: absolute; z-index: 1; top: -14px; right: -8px; background: #F6D9DF; color: #7A2E3B; font-size: 9px; line-height: 1.1; padding: 3px 5px; text-align: center; }
.st-tiers { display: flex; margin-top: 20px; }
.st-tier { padding: 0 16px; border-left: 1px solid var(--s-line); }
.st-tier:first-child { border-left: 0; padding-left: 0; }
.st-tier p:first-child { font-size: 15px; font-weight: 500; }
.st-tier p + p { font-size: 14px; margin-top: 2px; }
.st-rule { text-align: center; font-size: 14px; margin-top: 14px; }
.st-disc { margin-top: 20px; }
.st-disc p { font-size: 13px; margin-bottom: 8px; }
.st-prog { position: relative; height: 3px; background: rgba(51,51,51,.15); margin: 0 4px 6px 0; }
.st-prog i { position: absolute; inset: 0 auto 0 0; background: #333; transition: width .3s; }
.st-prog b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--s-bg); border: 2px solid rgba(51,51,51,.25); }
.st-prog b.is-hit { background: #333; border-color: #333; }
.st-total { display: flex; justify-content: space-between; font-size: 15px; margin-top: 16px; }
.st-cart, .st-main { width: 100%; margin-top: 16px; background: #333; color: #FFFEF2; font-size: 16px; padding: 16px 24px; line-height: 1.6; text-align: center; transition: background .15s; }
.st-cart:hover:not(:disabled), .st-main:hover:not(:disabled) { background: #000; }
.st-cart:disabled, .st-main:disabled { opacity: .33; cursor: not-allowed; }
.st-cart.is-done, .st-main.is-done { background: #2E7D4F; color: #fff; opacity: 1; }
.st-cart, .st-main { position: relative; }
.st-cart.is-loading, .st-main.is-loading { opacity: 1; cursor: wait; }
.st-hide { visibility: hidden; }
.st-spin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: st-spin .7s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }

/* Desktop sidebar layout */
.st-sb { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; margin-top: 16px; }
.st-panel { border: 1.5px solid rgba(51,51,51,.7); padding: 20px 24px; }
.st-slots { display: grid; gap: 4px; margin-top: 24px; }
.st-slot { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px; min-height: 60px; }
.st-slot img { width: 60px; height: 60px; object-fit: cover; }
.st-slot-info { display: grid; line-height: 1.25; }
.st-slot-name { font-size: 15px; }
.st-slot-price { font-size: 14px; margin-top: 2px; }
.st-slot-q { font-size: 15px; padding-right: 4px; }
/* Disabled and placeholder states are the ink colour at low opacity, so the store's own background shows through */
.st-ph { width: 60px; height: 60px; background: var(--s-fg); opacity: .05; }
.st-ph-text { color: var(--s-fg); opacity: .35; font-size: 15px; }

/* Multi-step */
.st-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; max-width: 920px; width: 100%; }
.st-intro img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.st-steplist { margin: 28px 0 36px; display: grid; gap: 4px; font-size: 16px; }
.st-steplist li { display: flex; gap: 14px; }
.st-steplist span { color: var(--s-mute); min-width: 10px; }
.st-intro .st-main { width: auto; min-width: 110px; margin: 0; }
.st-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 30px; }
.st-back { font-size: 15px; justify-self: start; }
.st-back:hover { text-decoration: underline; }
.st-viz { display: flex; align-items: center; }
.st-viz i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #999; display: grid; place-items: center; font-style: normal; font-size: 12px; color: #666; }
.st-viz i.now { background: #333; color: #fff; border-color: #333; }
.st-viz i.done { border-color: #333; color: #333; }
.st-viz em { width: 90px; height: 1px; background: #bbb; }
.st-skip { font-size: 15px; }
.st-skip:hover { text-decoration: underline; }

/* The bundle footer (tablet, and multi-step everywhere): slides up once something is in the bundle */
/* Overlays the page like the real sticky footer: takes no space until it slides up on the first add */
.st-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; will-change: transform, opacity; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 24px; background: var(--s-bg); box-shadow: rgba(50,50,50,.1) 0 0 6px; transform: translateY(100%); opacity: 0; transition: transform .4s, opacity .3s; }
.st-foot.is-up { transform: none; opacity: 1; }
.st-foot.is-entering, .st-mfoot.is-entering { transform: translateY(100%) !important; opacity: 0 !important; transition: none !important; }
.st-foot-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.st-pap { display: flex; align-items: center; gap: 16px; padding: 8px; border: 1px solid transparent; border-radius: 4px; min-height: 78px; text-align: left; transition: border-color .15s; }
.st-pap:hover { border-color: #000; }
.st-thumbs { display: flex; gap: 2px; }
.st-thumb { position: relative; width: 60px; height: 60px; display: block; }
.st-thumb img { width: 60px; height: 60px; object-fit: cover; }
.st-thumb b { position: absolute; top: 4px; right: 4px; padding: 3px 5px; font-size: 12px; line-height: 1; font-weight: 500; background: #fff; border-radius: 99px; }
.st-thumb--ph { background: var(--s-fg); opacity: .05; }
.st-foot-price { display: grid; line-height: 1.15; font-size: 16px; padding-right: 8px; }
.st-foot-price s { font-size: 14px; }
.st-foot-price b { font-weight: 400; }
.st-foot .st-disc { margin: 0; }
.st-foot .st-disc p { font-size: 14px; margin-bottom: 4px; }
.st-foot .st-prog { width: 220px; }
.st-foot-right { display: flex; align-items: center; gap: 18px; }
.st-foot-form { display: flex; align-items: center; gap: 18px; }
.st-foot-form .st-rule { margin: 0; }
.st-foot .st-main { width: auto; min-width: 110px; margin: 0; }

/* The bundle modal: centred dialog on desktop and tablet, bottom sheet on phones */
.st-overlay { position: absolute; inset: 0; z-index: 8; background: rgba(0,0,0,.4); }
.st-sheet { position: absolute; z-index: 9; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100% - 48px)); max-height: 90%; background: var(--s-bg); display: flex; flex-direction: column; animation: st-in .25s ease-out; }
@keyframes st-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 24px)); } }
.st-sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px 16px 4px 24px; flex: none; }
.st-sheet-head .st-title { font-size: 24px; }
.st-sheet-head .st-desc { margin-top: 6px; font-size: 15px; }
.st-x { width: 40px; height: 40px; display: grid; place-items: center; flex: none; margin: -8px -8px 0 auto; }
.st-x svg { width: 18px; height: 18px; stroke: #333; stroke-width: 2; fill: none; stroke-linecap: round; }
.st-sheet-list { overflow: hidden; padding: 12px 24px 0; display: grid; gap: 8px; }
.st-qc { display: inline-flex; align-items: center; border: 1px solid var(--s-line); }
.st-sheet-foot { padding: 16px 24px 24px; display: grid; gap: 16px; flex: none; }
.st-sheet-foot .st-total { margin: 0; }
.st-sheet-foot .st-cart, .st-sheet-foot .st-main { margin: 0; }

/* Product section: a plain list */
.product, .how, .reviews, .pricing, .faq { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feat dt { font-weight: 600; margin-bottom: 6px; letter-spacing: -.01em; }
.feat-ico { display: block; width: 24px; height: 24px; margin-bottom: 14px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feat dd { color: var(--ink-2); font-size: .97rem; text-wrap: pretty; }

/* How */
.how-grid, .pricing-grid, .faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-grid .sec-head, .pricing-grid .sec-head, .faq-grid .sec-head { margin-bottom: 0; }
.steps { counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font-size: .9rem; color: var(--mute); font-variant-numeric: tabular-nums; padding-top: 4px; }
.steps h3, .steps p { grid-column: 2; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); max-width: 34rem; text-wrap: pretty; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quotes figure { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 10px; padding: 28px; background: #fff; }
.q-stars { display: flex; gap: 2px; margin-bottom: 18px; color: var(--ink); }
.q-stars svg { width: 14px; height: 14px; fill: currentColor; }
.quotes blockquote { font-size: 1.02rem; line-height: 1.5; letter-spacing: -.005em; text-wrap: pretty; }
.quotes figcaption { margin-top: auto; padding-top: 24px; display: grid; font-size: .9rem; line-height: 1.35; }
.quotes figcaption b { font-weight: 600; }
.quotes figcaption span { color: var(--mute); }
.reviews-more { margin-top: 28px; font-size: .95rem; }
.reviews-more a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.reviews-more a:hover { color: var(--ink); }

/* Pricing */
.price { border: 1px solid var(--line-2); border-radius: 10px; padding: clamp(24px, 3vw, 36px); max-width: 520px; }
.price-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; font-weight: 500; }
.price-amt { font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price-amt small { font-size: .95rem; font-weight: 400; color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.price ul { display: grid; gap: 10px; margin-bottom: 24px; font-size: .95rem; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price .ico { margin-top: 4px; stroke-width: 2; }

/* FAQ */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--mute); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { padding: 0 0 20px; color: var(--ink-2); max-width: 40rem; text-wrap: pretty; }

/* Final */
.final { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.final h2 { max-width: 18ch; margin-bottom: 28px; font-size: clamp(2rem, 4vw, 3.2rem); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: .88rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.foot-brand img { border-radius: 5px; }
.foot-links { display: flex; gap: 20px; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { color: var(--mute); font-size: .8rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
/* Tablet: the layout is drawn at 1080px and scaled to the frame (demo.js sets --kt) */
@media (min-width: 651px) and (max-width: 1000px) {
  /* an iPad-style space grey bezel around the frame */
  [data-demo] { grid-template-columns: minmax(0, 1fr); }
  .screen { display: block; position: relative; min-width: 0; overflow: hidden; padding: 16px; border-radius: 30px; background: linear-gradient(160deg, #3a3b3f, #27282b); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #1d1e21, 0 30px 60px -30px rgba(0,0,0,.5); }
  .store { border: 0; border-radius: 14px; box-shadow: none; }
  .store-page { position: relative; overflow: hidden; }
  /* the header scales with the same factor; the negative margin removes its unscaled layout height */
  .store-head { width: 1080px; transform: scale(var(--kt, 1)); transform-origin: 0 0; margin-bottom: calc((var(--kt, 1) - 1) * 50px); }
  .store-ann { width: 1080px; transform: scale(var(--kt, 1)); transform-origin: 0 0; margin-bottom: calc((var(--kt, 1) - 1) * 34px); }
  .st-shell { position: absolute; top: 0; left: 0; width: 1080px; height: calc(100% / var(--kt, 1)); transform: scale(var(--kt, 1)); transform-origin: 0 0; }
  /* tighter vertical rhythm so two rows and the footer fit */
  .st-body { padding-top: 12px; }
  .st-tier { text-align: center; }
  .st-grid { gap: 14px 16px; }
  .st-sizes + .st-grid, .st-desc--center + .st-grid { margin-top: 64px; }
  .st-tiers + .st-grid { margin-top: 36px; }
  .st-title--center + .st-desc--center + .st-tiers { margin-top: 20px; }
  .st-desc--center { margin-top: 6px; }
  .st-img { margin-bottom: 6px; }
  .st-ctl { margin-top: 6px; }
}

/* Smaller desktop viewports: a tighter 1100px crop of the same photo (scene-small.jpg, 1100x1660)
   makes the laptop larger, and the cards pin to the right edge */
@media (min-width: 1001px) and (max-width: 1200px) {
  .demo-sec { height: calc(100vw * .5564 + 32px); }
  .photo { aspect-ratio: 1100 / 1660; --sl: 7.18%; --sw: 63.18%; }
  .photo::before { background-image: url("assets/scene-small.jpg"); }
  .tabs { left: auto; right: 3%; }
}

@media (max-width: 1000px) {
  /* Smaller desktop: landscape frame with the bottom footer layout */
  .store { aspect-ratio: 4 / 3; }
  .st-body { padding: 32px 24px 0; }
  .st-foot { padding: 8px 16px; }
  .st-intro { gap: 32px; }
  .feat { grid-template-columns: 1fr 1fr; }
  .how-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .tabs { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; gap: 12px; }
  .st-viz em { width: 48px; }
}
/* Phone frame: Sumi's real mobile UI — footer that slides up after the first add, bottom-sheet modal */
@media (max-width: 650px) {
  /* an iPhone-style space grey bezel */
  .screen { display: block; position: relative; min-width: 0; overflow: hidden; padding: 11px; border-radius: 48px; background: linear-gradient(160deg, #3a3b3f, #27282b); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 3.5px #1d1e21, 0 30px 60px -30px rgba(0,0,0,.5); }
  .store { aspect-ratio: 375 / 812; border: 0; border-radius: 38px; box-shadow: none; }
  .store-head { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .store-menu { display: block; }
  .store-nav, .store-loc, .store-user { display: none; }
  .st-body--m { padding: 24px 12px 0; }
  .st-m-intro img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 24px; }
  .st-m-intro .st-steplist { justify-items: center; margin: 24px 0 0; }
  .st-grid--m .st-ctl { min-height: 44px; }
  .st-grid--m .st-plus { width: 60px; height: 44px; }
  .st-grid--m .st-qbtn { height: 44px; }
  .st-title { font-size: 26px; }
  .st-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
  .st-sizes button { padding: 12px 4px; font-size: 14px; white-space: nowrap; text-align: center; }
  .st-tiers { justify-content: center; margin-top: 24px; }
  .st-tier { padding: 0 12px; text-align: center; }
  .st-tier:first-child { padding-left: 0; }
  .st-nav { margin-bottom: 24px; }

  .st-mfoot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; will-change: transform, opacity; background: var(--s-bg); padding: 12px; box-shadow: rgba(50,50,50,.1) 0 0 6px; transform: translateY(100%); opacity: 0; transition: transform .4s, opacity .3s; }
  .st-mfoot.is-up { transform: none; opacity: 1; }
  .st-mfoot .st-rule { margin: 0 0 8px; }
  .st-mfoot .st-disc { margin: 0 0 8px; }
  .st-mfoot .st-disc p { font-size: 14px; }
  .st-mfoot .st-main { margin-top: 0; }
  .st-view { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #333; color: var(--s-bg); font-size: 16px; line-height: 1.6; padding: 16px; text-align: center; transition: background .15s; }
  .st-view:hover { background: #000; }
  .st-view-ql, .st-view-p { min-width: 6ch; display: flex; }
  .st-view-ql { justify-content: flex-start; margin-left: -4px; }
  .st-view-q { background: rgba(255,255,255,.2); padding: 8px 11px; }
  .st-view-p { flex-direction: column; align-items: center; line-height: 1.2; margin-right: -4px; }
  .st-view-p s { opacity: .8; font-weight: 400; }
  .st-view-p b { font-weight: 400; }
  .st-mfoot--two { display: flex; gap: 8px; }
  .st-mfoot--two .st-view, .st-mfoot--two .st-main { flex: 1; min-width: 0; margin: 0; justify-content: center; padding: 16px; }
  .st-view--grey { background: rgba(0,0,0,.07); color: #060606; }
  .st-view--grey:hover { background: rgba(0,0,0,.11); }

  .st-sheet { left: 0; right: 0; bottom: 0; top: auto; transform: none; width: auto; max-height: 88%; animation: st-up .3s ease-out; }
  @keyframes st-up { from { transform: translateY(100%); } }
  .st-sheet-head { height: 48px; padding: 0 8px; align-items: center; }
  .st-x { margin: 0 0 0 auto; }
  .st-sheet-list { padding: 0 16px; }
  .st-sheet-foot { padding: 16px; }
}

@media (max-width: 600px) {
  .btn-lg { height: 46px; }
  .cta-row .btn { flex: 1 1 auto; }
  .tabs { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; gap: 24px; }
  .foot-legal { margin-left: 0; }
}
