/* Holdumo web — one stylesheet for every page.
   Scrolling is filming: a glass camera bar on top, a glass dock with the Hold ring and the shot strip below.
   Glass is used only on things that float like camera controls; content sits on solid darkroom surfaces. */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2-variations"), url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  color-scheme: dark;
  --ink: #17110d;        /* darkroom */
  --ink-2: #221a15;
  --ink-3: #2e241d;
  --paper: #f3e9da;      /* print paper */
  --muted: #b2a493;
  --hold: #ffd54a;       /* the Hold ring */
  --rec: #ec4034;        /* the record button */
  --line: rgba(243, 233, 218, 0.09);
  --surface: #171311;
  --surface-2: #1f1a16;
  --lift: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.5), 0 18px 40px -20px rgba(0,0,0,.85);
  --glass-bg: rgba(255,255,255,.08);
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.12);
  --glass-blur: blur(20px) saturate(1.5);
  --r-card: 18px;
  --r-btn: 12px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --dock-h: 64px;
  --font: "Bricolage", "Apple SD Gothic Neo", "Hiragino Sans", "Pretendard", "Noto Sans KR", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}
:lang(ja) { --font: "Bricolage", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; }
:lang(ko) { --font: "Bricolage", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
:lang(zh-Hant) { --font: "Bricolage", "PingFang TC", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif; }

/* Show only the chosen language (only the all-language 404 page needs it; the other pages are built
   one language each). Every lang attribute inside body marks a translation. Without JS: English. */
html[data-lang="en"] body [lang]:not([lang="en"]),
html[data-lang="ja"] body [lang]:not([lang="ja"]),
html[data-lang="ko"] body [lang]:not([lang="ko"]),
html[data-lang="zh-Hant"] body [lang]:not([lang="zh-Hant"]),
html[data-lang="es"] body [lang]:not([lang="es"]) { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 40px + env(safe-area-inset-bottom));
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
:lang(ja) :is(h1, h2, h3, .hero-lede) { word-break: auto-phrase; }
/* Film grain over everything, very quiet. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 70;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--hold); }
:focus-visible { outline: 2px solid var(--hold); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
:lang(ko) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3), :lang(zh-Hant) :is(h1, h2, h3) { letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 90; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.copy { margin-top: 10px; }
.nb { display: inline-block; }

/* ---- Glass (camera controls only) ------------------------------------- */
.cam-bar, .cam-dock {
  background: var(--glass-bg);
  box-shadow: var(--glass-edge), 0 10px 30px -10px rgba(0,0,0,.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

/* ---- Camera bar --------------------------------------------------------- */
.cam-bar {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 24px));
  display: flex; align-items: center; gap: 16px;
  padding: 8px 10px 8px 14px; border-radius: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.rec-time { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--muted); }
.rec-time::before { content: "REC"; }
.rec-led { order: -1; width: 8px; height: 8px; border-radius: 50%; background: rgba(243,233,218,.35); transition: background .3s; }
.is-filming .rec-time { color: var(--paper); }
.is-filming .rec-led { background: var(--rec); box-shadow: 0 0 0 3px rgba(236,64,52,.25); animation: rec-blink 1.6s ease-in-out infinite; }
@keyframes rec-blink { 50% { opacity: .35; } }

/* ---- Segmented control (language, ratio, plan) ------------------------- */
.seg {
  position: relative; display: inline-flex; flex-wrap: wrap; padding: 3px; border-radius: 11px;
  background: rgba(0,0,0,.22); box-shadow: inset 0 1px 2px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
}
.seg-thumb { position: absolute; top: 3px; left: 0; width: 0; height: 0; border-radius: 8px; background: var(--paper); box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 10px -2px rgba(0,0,0,.5); transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease); pointer-events: none; }
.seg :is(a, button) {
  position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: .8125rem; font-weight: 600;
  color: var(--muted); padding: 6px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; line-height: 1.3;
  font-variant-numeric: tabular-nums; transition: color .3s;
}
.seg :is(a, button):hover { color: var(--paper); }
/* Without JS (no thumb position yet) the current item is a solid chip. */
.seg :is([aria-current], .on) { color: var(--ink); background: var(--paper); }
html.js .seg.is-ready :is([aria-current], .on) { background: none; }
html.js .seg.is-ready :is([aria-current], .on):hover { color: var(--ink); }

/* ---- Dock: Hold ring + shot strip -------------------------------------- */
.cam-dock {
  position: fixed; z-index: 50; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(760px, calc(100% - 24px)); height: var(--dock-h);
  display: flex; align-items: center; gap: 12px; padding: 0 10px; border-radius: 20px;
  transform: translateX(-50%); transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.hold-ring { flex: none; width: 44px; height: 44px; transform: rotate(-90deg); }
.hold-track { fill: none; stroke: rgba(243,233,218,.16); stroke-width: 4; }
.hold-fill { fill: none; stroke: var(--hold); stroke-width: 4; stroke-linecap: round; }
.shot-strip {
  position: relative; flex: 1; min-width: 0; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain;
}
.shot-strip::-webkit-scrollbar { display: none; }
.shot-strip li { flex: 1 0 auto; }
.shot-slot {
  position: relative; display: grid; place-items: center; min-width: 36px; height: 44px; padding: 0 8px;
  border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.25); color: var(--muted);
  font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
  transition: color .3s, background .3s;
}
.shot-slot:hover { color: var(--paper); }
.shot-slot > span:not(.sr) { position: relative; z-index: 1; }
.shot-slot .scene { opacity: .28; transition: opacity .4s; }
.shot-slot.is-done, .shot-slot.is-current { color: var(--paper); }
.shot-slot.is-done { background: rgba(243,233,218,.12); }
.shot-slot.is-done .scene { opacity: 1; }
.shot-slot.is-current .scene { opacity: .7; }
.shot-slot.is-current { box-shadow: inset 0 0 0 2px var(--hold); }
.shot-slot::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--fill, 0) * 100%); background: var(--hold); }
.shot-slot.is-done::after { width: 100%; background: rgba(255,213,74,.5); }
/* Home has no dock, so it needs no room for one. */
body.page-home { padding-bottom: env(safe-area-inset-bottom); }
.page-lost .shot-strip { display: none; }
.page-lost .cam-dock { width: auto; }

/* ---- Surfaces ---------------------------------------------------------- */
.surface, .steps li, .summary, .contact, .promise ul, .plan { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--lift); }

/* Content rises in once as it scrolls into view; only when JS can bring it back. */
html.js [data-reveal]:not(.in) { opacity: 0; translate: 0 18px; }
[data-reveal] { transition: opacity .9s var(--ease), translate .9s var(--ease); }

/* ---- Scene + looks ----------------------------------------------------- */
.scene {
  position: absolute; inset: 0; display: block;
  background: #1f3f55 url("img/scene-beach.jpg") 58% 50% / cover no-repeat;
  transition: filter 0.35s ease;
}
[data-look="linger"] .scene, .scene[data-look="linger"] { filter: sepia(0.16) saturate(0.9) contrast(0.93) brightness(1.06); }
[data-look="sunfold"] .scene, .scene[data-look="sunfold"] { filter: sepia(0.55) saturate(1.45) hue-rotate(-14deg) contrast(1.08) brightness(1.02); }
[data-look="tidelight"] .scene, .scene[data-look="tidelight"] { filter: saturate(1.3) hue-rotate(8deg) brightness(1.06) contrast(1.02); }
[data-look="bluepause"] .scene, .scene[data-look="bluepause"] { filter: saturate(0.6) hue-rotate(18deg) brightness(0.86) contrast(0.95); }
[data-look="daytrace"] .scene, .scene[data-look="daytrace"] { filter: sepia(0.38) saturate(0.75) contrast(0.8) brightness(1.12) hue-rotate(-22deg); }
[data-look="verse"] .scene, .scene[data-look="verse"] { filter: grayscale(1) contrast(1.15) brightness(1.03); }

/* ---- Buttons ----------------------------------------------------------- */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: var(--r-btn);
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.2;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.7);
}
.store small { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.7; }
.store:hover { color: var(--ink); }

/* ---- Hero: hold-to-film demo ------------------------------------------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(110px, 12vw, 150px); }
.hero-bg { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; overflow: hidden; }
.hero-shot { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.2) brightness(.5); scale: 1.12; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-shot.is-on { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,17,13,.35), rgba(23,17,13,.1) 40%, var(--ink) 98%); }
.hero h1 { font-size: clamp(3.25rem, 8.4vw, 7.25rem); font-weight: 760; letter-spacing: -0.045em; line-height: 0.92; }
.hero .slogan, :lang(ko) .hero .slogan, :lang(ja) .hero .slogan, :lang(zh-Hant) .hero .slogan { font-family: "Bricolage", system-ui, sans-serif; letter-spacing: -0.045em; line-height: 0.92; }
.hero-lede { margin-top: 24px; max-width: 30ch; font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: rgba(243,233,218,.8); line-height: 1.5; }
.hero-lede strong { color: var(--paper); font-weight: 600; }
.hero .store { margin-top: 32px; }

.demo { position: relative; }
.clip, .shot-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.finder { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.95); }
.finder-hud { position: absolute; inset: 0; display: flex; justify-content: flex-end; align-items: flex-start; padding: 12px 14px; font-size: 0.8125rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.finder-hud > span {
  padding: 3px 9px; border-radius: 999px; background: var(--glass-bg); box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}
.finder-time::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); margin-right: 6px; vertical-align: 1px; }
.is-recording .finder-time::before { background: var(--rec); }
.finder::after { content: ""; position: absolute; inset: 10px; border-radius: 10px; pointer-events: none; border: 1px solid transparent; transition: border-color 0.2s; }
.is-recording .finder::after { border-color: rgba(255, 213, 74, 0.8); }

.controls { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.rec {
  position: relative; flex: none; width: 92px; height: 92px; border: 0; padding: 0; border-radius: 50%;
  background: transparent; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.rec svg { width: 100%; height: 100%; overflow: visible; }
.rec-track { fill: none; stroke: rgba(243, 233, 218, 0.16); stroke-width: 7; }
.rec-ring-fill { fill: none; stroke: var(--hold); stroke-width: 7; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.rec-dot { fill: url(#recGrad); transform-origin: 50% 50%; transition: transform 0.18s cubic-bezier(.3,.7,.3,1.3); }
.is-recording .rec-dot { transform: scale(0.86); }
.rec:focus-visible { outline-offset: 6px; border-radius: 50%; }
.controls-copy { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.controls-copy b { display: block; color: var(--paper); font-size: 1.0625rem; font-weight: 600; }
.demo [data-when] { display: none; }
.demo[data-moments="0"] [data-when="0"], .demo[data-moments="1"] [data-when="1"], .demo[data-moments="2"] [data-when="1"], .demo[data-moments="many"] [data-when="many"] { display: block; }

.strip-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 52px; }
.strip { display: flex; gap: 4px; flex: 1; margin: 0; padding: 4px; list-style: none; border-radius: 12px; background: rgba(0,0,0,.3); min-height: 52px; }
.strip:empty::before { content: ""; flex: 1; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(243,233,218,.05) 10px 12px); }
.shot { position: relative; flex-basis: 0; min-width: 34px; height: 44px; border-radius: 8px; overflow: hidden; }
.shot-len { position: absolute; z-index: 1; right: 4px; bottom: 2px; font-size: 0.6875rem; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7); font-variant-numeric: tabular-nums; }
.strip-clear { flex: none; border: 0; background: rgba(243,233,218,.08); color: var(--muted); font: inherit; font-size: 0.8125rem; padding: 7px 12px; border-radius: 10px; cursor: pointer; }
.strip-clear:hover { color: var(--paper); background: rgba(243,233,218,.14); }
.demo[data-moments="0"] .strip-clear { visibility: hidden; }

/* ---- Sections ---------------------------------------------------------- */
.section { padding-top: clamp(96px, 13vw, 168px); }
.section-head { max-width: 22ch; font-size: clamp(2.125rem, 5vw, 3.5rem); }
:lang(ko) .section-head, :lang(ja) .section-head, :lang(zh-Hant) .section-head { max-width: 18em; font-size: clamp(1.875rem, 4.2vw, 3rem); }
.section-lede { margin-top: 20px; max-width: 52ch; color: var(--muted); font-size: 1.125rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { padding: 26px; }
.steps li::before { content: ""; display: block; width: 38px; height: 38px; margin-bottom: 20px; background: var(--hold); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.steps li:nth-child(1) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='none' stroke='%23000' stroke-width='3'/%3E%3Ccircle cx='20' cy='20' r='10'/%3E%3C/svg%3E"); }
.steps li:nth-child(1)::before { background: var(--rec); }
.steps li:nth-child(2) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='10' y='4' width='20' height='3' rx='1.5' opacity='.5'/%3E%3Crect x='6' y='10' width='28' height='3' rx='1.5' opacity='.75'/%3E%3Crect x='3' y='16' width='34' height='20' rx='5'/%3E%3C/svg%3E"); }
.steps li:nth-child(3) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='4.5' y='8.5' width='31' height='23' rx='4.5' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M17 14.5v11l9-5.5z'/%3E%3C/svg%3E"); }
.steps li:nth-child(3)::before { background: var(--paper); }
.steps h3 { font-size: 1.375rem; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; color: var(--muted); max-width: 34ch; }

.wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ratio-seg { margin-top: 28px; }
.ratio-stage { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 340px; min-width: 0; }
.ratio-frame { position: relative; width: 540px; height: 304px; max-width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--lift); transition: width .6s var(--ease), height .6s var(--ease); }
.ratio-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1; padding: 2px 8px; border-radius: 6px; color: #fff;
  font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--glass-bg); box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}

.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 52px 0 0; padding: 0; list-style: none; }
.look-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; box-shadow: var(--lift); transition: transform .5s var(--ease); }
.look:hover .look-frame { transform: translateY(-3px); }
.look h3 { margin-top: 14px; font-size: 1.375rem; letter-spacing: -0.015em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.look h3 small { font-size: 0.9375rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.look p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; max-width: 36ch; }
.looks-more { margin-top: 32px; color: var(--muted); max-width: 60ch; }
.pro { font-weight: 700; color: var(--hold); }

.promise { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.promise ul { margin: 0; padding: 8px 0; list-style: none; }
.promise li { display: flex; gap: 14px; align-items: center; padding: 14px 22px; font-size: 1.0625rem; }
.promise li + li { border-top: 1px solid var(--line); }
.promise li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--hold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%2317110d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
html.js .promise ul[data-reveal]:not(.in) li::before { transform: scale(0); }
.promise ul li:nth-child(2)::before { transition-delay: .12s; }
.promise ul li:nth-child(3)::before { transition-delay: .24s; }
.promise ul li:nth-child(4)::before { transition-delay: .36s; }
.promise .more { display: inline-block; margin-top: 24px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); margin-top: 48px; }
.plan { position: relative; padding: clamp(24px, 3vw, 36px); }
.plan h3 { font-size: 1.75rem; }
.plan > p { margin-top: 8px; color: var(--muted); }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); }
.plan-pro { background: var(--surface-2); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.finale-scene .plan-pro {
  background: var(--glass-bg); box-shadow: var(--glass-edge), 0 20px 50px -20px rgba(0,0,0,.6);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.plan-pro::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.1), transparent 60%); }
.plan-pro:hover::after { opacity: 1; }
.finale-scene .plan-pro > p, .finale-scene .plan-pro .price span { color: rgba(243,233,218,.78); }
.finale-scene .plan-pro li, .finale-scene .plan-pro .price { border-top-color: rgba(255,255,255,.12); }
.price-seg { margin-top: 24px; }
.prices.is-switch .price { display: none; border-top: 0; justify-content: flex-start; padding: 0; }
.prices.is-switch .price.is-on { display: flex; }
.prices.is-switch .price b { order: 0; font-size: 2.75rem; letter-spacing: -0.03em; line-height: 1; }
.prices.is-switch :is(b, span) { transition: opacity .16s, translate .16s var(--ease); }
.prices.is-swapping :is(b, span) { opacity: 0; translate: 0 6px; }
.plan-pro h3 { color: var(--hold); }
.prices { margin-top: 22px; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.price b { order: 2; font-size: 1.25rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price span { font-size: 0.9375rem; color: var(--muted); }
.fine { margin-top: 18px; font-size: 0.875rem; color: var(--muted); }

/* ---- The end: plans and the merge share one blurred scene -------------- */
.finale-scene { position: relative; isolation: isolate; overflow-x: clip; margin-top: clamp(40px, 6vw, 80px); }
.page-home .foot { margin-top: 0; }
.finale-scene > .section { padding-top: clamp(80px, 10vw, 140px); }
.finale-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.finale-bg .scene { filter: blur(26px) saturate(1.4) brightness(.5); transform: scale(1.15); }
.finale-bg::before, .finale-bg::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; z-index: 1; }
.finale-bg::before { top: 0; background: linear-gradient(var(--ink), transparent); }
.finale-bg::after { bottom: 0; background: linear-gradient(transparent, var(--ink)); }

/* ---- Document pages (terms, privacy, support) --------------------------- */
.doc { max-width: 760px; padding-top: clamp(110px, 12vw, 140px); }
.doc h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.035em; }
.doc .updated { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; }
.summary { margin-top: 32px; padding: 22px 26px; }
.summary h2 { font-size: 1.0625rem; letter-spacing: -0.005em; }
.summary ul { margin: 10px 0 0; padding-left: 1.2em; }
.summary li { margin: 5px 0; }
.summary li::marker, .prose li::marker { color: var(--muted); }
.prose { margin-top: 40px; line-height: 1.75; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.015em; margin-top: 52px; line-height: 1.3; }
.prose h3 { font-size: 1.125rem; letter-spacing: -0.005em; margin-top: 26px; line-height: 1.3; }
.prose p, .prose ul, .prose ol { margin-top: 12px; max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose code { font-size: 0.92em; background: var(--ink-3); padding: 1px 6px; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.9688rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.contact { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 24px; }
.contact p { flex: 1 1 260px; color: var(--muted); }
.contact p b { display: block; color: var(--paper); font-size: 1.125rem; }
.mail { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-btn); background: var(--hold); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 16px -8px rgba(255,213,74,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mail:hover { color: var(--ink); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 26px -10px rgba(255,213,74,.7); }
.mail:active { transform: scale(.97); }
.faq { margin-top: 44px; interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.0625rem; transition: color .25s; }
.faq summary:hover { color: var(--hold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -0.75em; font-size: 1.5rem; font-weight: 300; line-height: 1.5; color: var(--muted); transition: transform .45s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq .answer p + p, .faq .answer ol, .faq .answer ul { margin-top: 10px; }
.faq .answer ol, .faq .answer ul { padding-left: 1.3em; }

.lost { min-height: 60vh; display: grid; align-content: center; gap: 18px; padding-top: 110px; }
.lost h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.lost p { color: var(--muted); max-width: 40ch; }

/* ---- Footer ------------------------------------------------------------ */
.foot { border-top: 1px solid var(--line); margin-top: clamp(64px, 10vw, 120px); padding: 36px 0 24px; color: var(--muted); font-size: 0.9375rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--paper); }
.foot nav a:hover { color: var(--hold); }

/* ---- No backdrop-filter: solid panels so text stays readable ------------ */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cam-bar, .cam-dock { background: #1f1a16; }
  .finder-hud > span { background: rgba(23,17,13,.82); }
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 880px) {
  .hero, .wide, .promise { grid-template-columns: minmax(0, 1fr); }
  .hero-lede { max-width: 36ch; }
  .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratio-stage { height: 260px; }
}
@media (max-width: 640px) {
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .cam-bar { gap: 10px; }
  .brand span, .rec-time::before { display: none; }
  .seg :is(a, button) { padding: 6px 9px; }
  .rec { width: 80px; height: 80px; }
  .finder { border-radius: 14px; }
  .shot-strip { gap: 3px; }
  .looks { gap: 14px 12px; }
  .look h3 { font-size: 1.125rem; }
  .look p { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shot { transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
  .shot-strip { scroll-behavior: auto; }
  .is-filming .rec-led { animation: none; }
}
