/* ==========================================================================
   MyLightVault — marketing site
   ========================================================================== */

:root {
  /* MyLightVault brand: #0B0C0F · #121318 · #D8C39A · #F3EEE4 */
  --bg: #0b0c0f;
  --bg-2: #0e0f13;
  --surface: #121318;
  --surface-2: #181a20;
  --line: #24262d;
  --line-soft: #1a1b21;
  --ink: #f3eee4;
  --ink-2: #cbc7bf;
  --muted: #8e9099;
  --faint: #565861;
  --light: #d8c39a;        /* brand gold */
  --light-glow: rgba(216, 195, 154, 0.16);
  --ok: #7dcea0;
  --info: #6cb6ff;
  --bad: #e34850;

  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1600px;
  /* side padding that lines everything up with .wrap, also full-width bars */
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--light); color: #111; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 1px solid var(--light); outline-offset: 3px; border-radius: 4px; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

.h2 {
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 300;
  margin: 0;
  max-width: 16ch;
}
.h2 em { color: var(--ink-2); }

.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; margin: 0; }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn-lg { height: 54px; padding: 0 26px; font-size: 15px; }
.btn-light { background: var(--ink); color: #0b0b0b; }
.btn-light:hover { background: var(--light); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: #3a3d3c; background: rgba(255, 255, 255, 0.05); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--edge);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 12, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line-soft);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; flex: none; display: block; }
.wm { font-family: var(--sans); font-weight: 300; font-size: 14px; letter-spacing: 0.3em; color: var(--ink); white-space: nowrap; margin-right: -0.3em; }
.wm i { font-style: normal; color: var(--light); }
.wm b { font-weight: 500; }
.brand-tagline { text-transform: uppercase; letter-spacing: 0.42em; font-size: 10px !important; }

.nav-links {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
}
.nav-links a {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover, .nav-links a.active { background: var(--surface-2); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--edge) 28px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  isolation: isolate;
}
.hero-light {
  position: absolute;
  z-index: -1;
  width: 900px; height: 900px;
  left: var(--mx, 60%); top: var(--my, 40%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216, 195, 154, 0.13) 0%, rgba(216, 195, 154, 0.04) 35%, transparent 65%);
  pointer-events: none;
  transition: left 0.6s var(--ease), top 0.6s var(--ease);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: calc(100% / 12) 120px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.hero-tag {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  font-size: 12px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--light); box-shadow: 0 0 10px var(--light); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: 6vh 0 0;
  font-weight: 200;
  font-size: clamp(64px, 13.2vw, 228px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}
.hero-title .line { display: block; }
.hero-title .line-indent { padding-left: 14vw; }
.hero-title em { text-transform: none; font-size: 1.04em; letter-spacing: -0.04em; color: var(--light); mix-blend-mode: normal; }

.hero-stack {
  position: absolute;
  z-index: 1;
  top: 50%; left: 54%;
  width: clamp(170px, 19vw, 300px);
  aspect-ratio: 2 / 3;
  transform: translate(-50%, -54%);
}
.hero-stack img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease), opacity 0.9s var(--ease);
  user-select: none;
}
.hero-stack img:nth-child(1) { transform: rotate(-9deg) translate(-14%, 2%); filter: brightness(0.5); }
.hero-stack img:nth-child(2) { transform: rotate(6deg) translate(12%, -3%); filter: brightness(0.65); }
.hero-stack img:nth-child(3) { transform: rotate(-1deg); }
.hero-stack:hover img:nth-child(1) { transform: rotate(-16deg) translate(-36%, 4%); }
.hero-stack:hover img:nth-child(2) { transform: rotate(12deg) translate(34%, -2%); }

.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  margin-top: 40px;
}
.hero-copy { max-width: 44ch; margin: 0; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 18px; background: linear-gradient(var(--ink), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- problem ---------- */
.problem { padding: clamp(100px, 14vw, 180px) 0; border-top: 1px solid var(--line-soft); }
.statement {
  font-size: clamp(28px, 3.9vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0;
  max-width: 24ch;
}
.statement .muted { color: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); }
.stat { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(48px, 6vw, 88px); font-weight: 200; letter-spacing: -0.05em; line-height: 1; }
.stat-num.accent { color: var(--light); text-shadow: 0 0 40px rgba(216, 195, 154, 0.35); }
.stat-label { color: var(--muted); max-width: 30ch; font-size: 15px; }
.footnote { margin: 40px 0 0; font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.04em; }

/* ---------- how ---------- */
.how { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--muted); display: block; margin-bottom: 14px; }
.step h3 { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; margin: 26px 0 10px; }
.step p { color: var(--muted); margin: 0; max-width: 38ch; }

.step-visual {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
}

.up-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 88%; }
.up-grid img, .up-slot { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; }
.up-grid img { filter: grayscale(0.2) brightness(0.85); }
.up-slot { border: 1px dashed #3a3d3c; display: grid; place-items: center; }
.up-slot i { width: 14px; height: 14px; position: relative; }
.up-slot i::before, .up-slot i::after { content: ""; position: absolute; background: var(--muted); }
.up-slot i::before { left: 6.5px; top: 0; width: 1px; height: 14px; }
.up-slot i::after { top: 6.5px; left: 0; height: 1px; width: 14px; }
.up-bar { position: absolute; left: 24px; right: 24px; bottom: 24px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.up-bar span { display: block; height: 100%; width: 0; background: var(--light); box-shadow: 0 0 12px var(--light); }
.step.in .up-bar span { animation: load 2.6s var(--ease) 0.4s forwards; }
@keyframes load { to { width: 78%; } }

.visual-link { gap: 14px; align-content: center; }
.link-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.015);
}
.lock-ico { width: 10px; height: 8px; border-radius: 2px; background: var(--light); position: relative; margin-top: 3px; }
.lock-ico::before { content: ""; position: absolute; left: 2px; top: -5px; width: 6px; height: 6px; border: 1px solid var(--light); border-bottom: 0; border-radius: 4px 4px 0 0; }
.link-mail { width: 78%; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; background: var(--surface); }
.mail-line { height: 6px; border-radius: 6px; background: var(--line); }
.w70 { width: 70%; } .w45 { width: 45%; }
.mail-status { margin-top: 6px; font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.mail-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.mini-phone { width: 42%; aspect-ratio: 9 / 18; border-radius: 22px; border: 1px solid #333; padding: 6px; background: #050505; position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.mini-heart { position: absolute; top: 16px; right: 16px; color: var(--light); font-size: 14px; text-shadow: 0 0 8px rgba(0,0,0,0.6); }
.mini-buy { position: absolute; left: 14px; right: 14px; bottom: 14px; text-align: center; font-size: 10px; padding: 6px; border-radius: 999px; background: rgba(243, 238, 228, 0.92); color: #111; font-weight: 500; }

/* ---------- viewer ---------- */
.viewer-section { padding: clamp(100px, 12vw, 170px) 0; }

.viewer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #070808;
  height: clamp(520px, 62vw, 760px);
  display: grid;
  grid-template-columns: 200px 1fr 70px 110px;
  grid-template-rows: 64px 1fr 48px;
  overflow: hidden;
  outline: none;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.viewer:focus-visible { border-color: #3c3f3e; }

.viewer-top {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-2);
}
.v-studio { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.v-studio b { font-weight: 600; font-size: 11px; letter-spacing: 0.14em; color: var(--ink); }
.v-studio small { font-size: 9px; color: var(--muted); }
.v-menu { font-size: 18px; color: var(--ink); }

.viewer-cats { list-style: none; margin: 0; padding: 0 0 0 28px; align-self: center; display: grid; gap: 6px; }
.viewer-cats button {
  background: none; border: 0; padding: 2px 0;
  font-size: 14px; color: var(--faint);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s;
}
.viewer-cats button span { font-family: var(--mono); font-size: 9px; border: 1px solid currentColor; padding: 0 4px; border-radius: 2px; }
.viewer-cats button:hover { color: var(--ink-2); }
.viewer-cats button.active { color: var(--ink); }
.viewer-cats button.active span { background: var(--ink); color: #000; border-color: var(--ink); }

.viewer-stage {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 36px 48px;
  min-height: 0;
  overflow: hidden;
}
.viewer-stage img {
  position: absolute;
  top: 36px; left: 48px;
  width: calc(100% - 96px);
  height: calc(100% - 76px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), filter 0.45s var(--ease);
}
.viewer-stage img.swap { opacity: 0; transform: scale(0.985); filter: blur(6px); }
.corner { position: absolute; width: 10px; height: 10px; border-color: var(--muted); border-style: solid; border-width: 0; }
.corner.tl { top: 18px; left: 26px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 18px; right: 26px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 18px; left: 26px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 18px; right: 26px; border-bottom-width: 1px; border-right-width: 1px; }
.viewer-caption {
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap;
}
.fav {
  position: absolute; top: 44px; right: 56px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  font-size: 16px; line-height: 1;
  transition: transform 0.3s var(--ease), color 0.3s, background 0.3s;
}
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: #111; background: var(--light); border-color: var(--light); }

.viewer-count {
  align-self: center; justify-self: center;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--ink);
}
.viewer-count i { width: 18px; height: 1px; background: var(--muted); }

.viewer-strip {
  grid-row: 2 / 4; grid-column: 4;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 10px 14px 20px 0;
  display: flex; flex-direction: column; gap: 10px;
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-strip button {
  flex: none;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.5;
}
.viewer-strip button:hover { opacity: 0.85; }
.viewer-strip button.active { border-color: var(--ink); opacity: 1; }
.viewer-strip button.hidden { display: none; }
.viewer-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.viewer-strip .is-fav { position: relative; }
.viewer-strip .is-fav::after { content: "♥"; position: absolute; top: 6px; right: 7px; font-size: 9px; color: var(--light); }

.viewer-bar {
  grid-column: 1 / 4;
  display: flex; align-items: center; gap: 22px;
  padding: 0 28px;
  font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--line-soft);
}
.viewer-bar kbd { font-family: var(--mono); font-size: 10px; border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; margin-right: 3px; color: var(--ink-2); }
.v-fav-count { margin-left: auto; }
.v-fav-count b { color: var(--light); font-weight: 500; }

.viewer-points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.viewer-points li { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; align-content: start; }
.viewer-points b { font-weight: 400; font-size: 16px; }
.viewer-points span { color: var(--muted); font-size: 15px; }

/* ---------- secure ---------- */
.secure { padding: clamp(100px, 12vw, 170px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.secure-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.secure-copy .lead { margin-top: 28px; }
.checks { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 22px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 16px; color: var(--muted); font-size: 15px; }
.checks b { display: block; color: var(--ink); font-weight: 400; font-size: 16px; margin-bottom: 2px; }
.ck { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-top: 1px; }
.ck::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 9px; border: solid var(--light); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.lock-demo { display: grid; justify-items: center; gap: 22px; position: relative; }
.lock-demo::before {
  content: ""; position: absolute; width: 520px; height: 520px; top: 30%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(216, 195, 154, 0.10), transparent 62%);
  pointer-events: none; transition: background 0.6s;
}
.lock-demo.locked::before { background: radial-gradient(circle, rgba(227, 72, 80, 0.14), transparent 62%); }

.phone {
  position: relative;
  width: min(320px, 82vw);
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(145deg, #2a2c2b, #0d0e0e 40%, #1c1e1d);
  box-shadow: 0 0 0 1px #2e3130, 0 50px 100px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #000; display: flex; flex-direction: column; }
.ph-head { display: flex; justify-content: space-between; padding: 62px 20px 12px; font-size: 12px; color: var(--ink-2); }
.phone-screen img { flex: 1; min-height: 0; width: 100%; object-fit: cover; transition: filter 0.3s, opacity 0.3s; }
.ph-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 30px; font-size: 12px; color: var(--ink-2); }
.ph-buy { background: var(--ink); color: #111; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.ph-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.phone.flash .ph-flash { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.9; } 100% { opacity: 0; } }
.ph-locked {
  position: absolute; inset: 0;
  background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease) 0.15s;
}
.ph-locked b { font-weight: 500; font-size: 19px; margin-top: 22px; letter-spacing: -0.01em; color: var(--bad); }
.ph-locked p { font-size: 13px; color: var(--muted); margin: 10px 0 24px; }
.ph-request { font-size: 12px; padding: 10px 18px; border-radius: 999px; border: 1px solid #3a2a2b; color: var(--ink); }
.lock-big { width: 44px; height: 34px; border-radius: 8px; background: var(--bad); position: relative; margin-top: 20px; box-shadow: 0 0 40px rgba(227, 72, 80, 0.45); }
.lock-big::before { content: ""; position: absolute; left: 9px; top: -20px; width: 26px; height: 26px; border: 3px solid var(--bad); border-bottom: 0; border-radius: 14px 14px 0 0; }
.phone.locked .ph-locked { opacity: 1; pointer-events: auto; }
.phone.locked img { filter: blur(30px); opacity: 0; }

.lock-controls { display: flex; gap: 10px; position: relative; }
.lock-controls [hidden] { display: none; }
.lock-log { width: min(360px, 100%); display: grid; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); position: relative; }
.log-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(255,255,255,0.015); animation: rowIn 0.5s var(--ease); }
.log-row i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.log-row i.ok { background: var(--ok); }
.log-row i.bad { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.log-row i.info { background: var(--info); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- galleries carousel ---------- */
.galleries { padding: clamp(100px, 12vw, 160px) 0 0; overflow: hidden; }
.gal-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.gal-head .eyebrow { margin: 0; }
.gal-arrows { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.round:hover { background: var(--ink); color: #000; border-color: var(--ink); }

.gal-track {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 var(--edge) 8px;
  scroll-padding-left: var(--edge);
  cursor: grab;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.gal-card { flex: 0 0 clamp(240px, 24vw, 340px); scroll-snap-align: start; text-align: center; }
.gal-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 4px;
  filter: grayscale(0.15) brightness(0.86);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.gal-card:hover img { filter: none; transform: scale(1.015); }
.gal-card h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin: 18px 0 2px; }
.gal-card span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.gal-foot {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  gap: 24px;
}
/* the top rule spans exactly the content width, like the rest of the site */
.gal-foot.wrap {
  width: auto;
  max-width: none;
  margin-left: var(--edge);
  margin-right: var(--edge);
  padding-left: 0;
  padding-right: 0;
}
.gal-big-num, .gal-big-word { font-size: clamp(64px, 11vw, 170px); line-height: 0.9; font-weight: 200; letter-spacing: -0.05em; text-transform: uppercase; }

/* ---------- studio bento ---------- */
.studio { padding: clamp(100px, 12vw, 170px) 0; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(18, 19, 24, 0.3) 100%);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px;
  transition: border-color 0.4s;
}
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--tx, 50%) var(--ty, 0%), rgba(216, 195, 154, 0.07), transparent 50%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.tile:hover { border-color: #303332; }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; margin: 22px 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; max-width: 40ch; }
.tile-wide { grid-column: span 2; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 36px; }
.tile-wide .tile-text { display: flex; flex-direction: column; justify-content: flex-end; }
.tile-wide h3 { margin-top: 0; }
.tile-big { font-size: clamp(48px, 5vw, 72px); font-weight: 200; letter-spacing: -0.05em; line-height: 1; margin-bottom: auto; color: var(--light); }

.client-list { list-style: none; padding: 0; margin: 0; flex: 1; max-width: 460px; display: grid; gap: 8px; align-content: center; }
.client-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(0, 0, 0, 0.25); font-size: 14px; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 500; color: var(--ink-2); flex: none; }
.cl-name { flex: 1; }
.pill { font-size: 11px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(125, 206, 160, 0.3); }
.pill.info { color: var(--info); border-color: rgba(108, 182, 255, 0.3); }
.pill.bad { color: var(--bad); border-color: rgba(227, 72, 80, 0.35); }
.mini-btn { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #111; font-weight: 500; }

.invoice { margin-bottom: auto; border: 1px solid var(--line); border-radius: 10px; padding: 16px; font-size: 12px; display: grid; gap: 8px; background: rgba(0, 0, 0, 0.3); }
.inv-no { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.inv-row, .inv-total { display: flex; justify-content: space-between; gap: 12px; }
.inv-row i, .inv-total i { font-style: normal; color: var(--muted); }
.inv-row b, .inv-total b { font-weight: 400; }
.inv-total { border-top: 1px solid var(--line); padding-top: 8px; }
.inv-total b { color: var(--light); }

.timeline { margin-bottom: auto; display: grid; gap: 0; position: relative; padding-left: 4px; }
.timeline span { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); padding: 7px 0; position: relative; }
.timeline span:not(:last-child)::after { content: ""; position: absolute; left: 3.5px; top: 22px; width: 1px; height: 18px; background: var(--line); }
.timeline i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.timeline i.ok { background: var(--ok); }
.timeline i.info { background: var(--info); }

.stars { margin-bottom: auto; font-size: 28px; letter-spacing: 6px; color: var(--light); text-shadow: 0 0 24px rgba(216, 195, 154, 0.35); }

/* ---------- quote ---------- */
.quote { padding: clamp(100px, 14vw, 200px) 0; border-top: 1px solid var(--line-soft); text-align: center; }
.quote blockquote { margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: clamp(44px, 7.4vw, 120px); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; }
.quote-after { margin: 34px auto 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); }
.quote-after em { color: var(--light); }

/* ---------- faq ---------- */
.faq { padding: clamp(100px, 12vw, 160px) 0; border-top: 1px solid var(--line-soft); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(17px, 1.5vw, 20px); font-weight: 300;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 200; color: var(--muted); transition: transform 0.4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--light); }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 62ch; }

/* ---------- cta ---------- */
.cta { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line-soft); text-align: center; }
.cta-light { position: absolute; z-index: -1; left: 50%; top: 100%; width: 1200px; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(216, 195, 154, 0.16), transparent 60%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(52px, 9vw, 150px); line-height: 0.92; letter-spacing: -0.055em; font-weight: 200; margin: 0; }
.cta-title em { color: var(--light); }
.cta-form { margin-top: 48px; display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); width: min(560px, 100%); }
.cta-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 15px; padding: 0 20px; outline: none; }
.cta-form input::placeholder { color: var(--faint); }
.cta-form.invalid { border-color: rgba(227, 72, 80, 0.6); }
.cta-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.cta-note.done { color: var(--ok); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-top: 64px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-top .muted { margin: 14px 0 0; }
.footer-links { display: flex; gap: clamp(32px, 6vw, 90px); flex-wrap: wrap; }
.footer-links div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-links b { font-weight: 500; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-links a { color: var(--ink-2); transition: color 0.3s; }
.footer-links a:hover { color: var(--light); }
.footer-word {
  /* sized so the word is exactly as wide as the content (≈10 em incl. spacing) */
  font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 10.02);
  font-weight: 200;
  letter-spacing: 0.3em;
  line-height: 1;
  text-align: center;
  margin: 64px 0 0 0.3em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(243, 238, 228, 0.05) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-word i { font-style: normal; background: linear-gradient(180deg, var(--light) 0%, rgba(216, 195, 154, 0.06) 92%); -webkit-background-clip: text; background-clip: text; }
.footer-word b { font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; font-family: var(--mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: 0.06em; }

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* nav extras */
.nav-links-extra { display: none; }
.nav-minimal { background: transparent; }
.nav-back { font-size: 13px; color: var(--ink-2); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.3s, color 0.3s; }
.nav-back:hover { color: var(--ink); border-color: #3a3d3c; }

/* sub-page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(150px, 18vw, 210px) 0 clamp(70px, 9vw, 120px); border-bottom: 1px solid var(--line-soft); }
.page-hero .hero-light { left: var(--mx, 75%); top: var(--my, 45%); }
.page-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 90px); align-items: end; }
.page-title { font-size: clamp(48px, 8.4vw, 132px); line-height: 0.94; letter-spacing: -0.055em; font-weight: 200; margin: 0 0 28px; max-width: 13ch; }
.page-title em { color: var(--light); }
.page-hero-img { margin: 0; width: clamp(180px, 20vw, 290px); aspect-ratio: 2 / 3; transform: rotate(3deg); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7); user-select: none; }

/* home teasers */
.teasers { padding: clamp(100px, 12vw, 160px) 0 0; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teaser { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.62) grayscale(0.2); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 6, 0.92)); }
.teaser:hover img { transform: scale(1.04); filter: brightness(0.78) grayscale(0); }
.teaser-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 10px; }
.teaser-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light); }
.teaser-body b { font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.12; }
.teaser-go { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 8px; }
.teaser-go i { font-style: normal; transition: transform 0.4s var(--ease); }
.teaser:hover .teaser-go i { transform: translateX(5px); }

/* cta actions */
.cta-actions { margin-top: 48px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* security layers */
.layers-section { padding: clamp(100px, 12vw, 170px) 0; }
.layers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 90px 1fr auto; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background 0.4s; }
.layer:hover { background: linear-gradient(90deg, rgba(216, 195, 154, 0.03), transparent 60%); }
.layer-num { font-size: clamp(36px, 4vw, 56px); font-weight: 200; letter-spacing: -0.05em; line-height: 1; color: var(--faint); transition: color 0.4s; }
.layer:hover .layer-num { color: var(--light); }
.layer h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 300; letter-spacing: -0.02em; margin: 4px 0 10px; }
.layer p { margin: 0; color: var(--muted); max-width: 62ch; }
.layer-tag { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; margin-top: 6px; }

.honest { padding: clamp(100px, 12vw, 160px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.honest-copy { display: grid; gap: 22px; padding-top: 34px; }
.honest-copy p { margin: 0; max-width: 54ch; }

/* about */
.story { padding: clamp(100px, 12vw, 170px) 0; }
.story-grid { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; color: var(--ink-2); }
.story-cols p { margin: 0; }
.principles-section { padding: clamp(100px, 12vw, 160px) 0; border-top: 1px solid var(--line-soft); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, var(--surface), transparent); min-height: 280px; display: flex; flex-direction: column; }
.principle span { font-family: var(--mono); font-size: 12px; color: var(--light); margin-bottom: auto; }
.principle h3 { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; margin: 40px 0 10px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

/* faq page */
.faq-page { border-top: 0; padding-top: clamp(60px, 8vw, 100px); }
.faq-group { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; padding: 0 0 clamp(60px, 7vw, 90px); }
.faq-group-title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.02em; margin: 22px 0 0; }

/* auth pages */
.auth-body .nav { position: absolute; }
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100svh; }
.auth-visual { position: relative; overflow: hidden; border-right: 1px solid var(--line-soft); isolation: isolate; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(0.55); user-select: none; }
.auth-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 12, 15, 0.5), transparent 30%, transparent 55%, rgba(11, 12, 15, 0.95)); }
.auth-visual-copy { position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(32px, 5vw, 64px); padding: 28px; }
.auth-visual-copy p { margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 300; max-width: 15ch; }
.auth-visual-copy em { color: var(--light); }
.auth-visual-copy .corner { border-color: rgba(243, 238, 228, 0.5); }
.auth-visual-copy .corner.tl, .auth-visual-copy .corner.bl { left: 0; }
.auth-visual-copy .corner.tr, .auth-visual-copy .corner.br { right: 0; }
.auth-visual-copy .corner.tl, .auth-visual-copy .corner.tr { top: 0; }
.auth-visual-copy .corner.bl, .auth-visual-copy .corner.br { bottom: 0; }

.auth-panel { display: grid; place-items: center; padding: 110px var(--gutter) 60px; position: relative; overflow: hidden; }
.auth-panel::before { content: ""; position: absolute; width: 600px; height: 600px; top: 40%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(216, 195, 154, 0.06), transparent 60%); pointer-events: none; }
.auth-form, .auth-result { width: min(420px, 100%); position: relative; }
.auth-form[hidden], .auth-result[hidden] { display: none; }
.auth-title { font-size: clamp(40px, 4.4vw, 60px); font-weight: 200; letter-spacing: -0.045em; line-height: 1; margin: 0 0 14px; }
.auth-title em { color: var(--light); }
.auth-sub { color: var(--muted); margin: 0 0 34px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field > span:first-child { font-size: 13px; color: var(--ink-2); }
.field input { width: 100%; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--ink); font: inherit; font-size: 15px; padding: 0 16px; outline: none; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: #303332; }
.field input:focus { border-color: var(--light); background: rgba(255, 255, 255, 0.035); box-shadow: 0 0 0 4px rgba(216, 195, 154, 0.08); }
.field.invalid input { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(227, 72, 80, 0.1); }
.field-pw { position: relative; display: block; }
.field-pw input { padding-right: 74px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.pw-toggle:hover { color: var(--ink); background: var(--surface-2); }
.form-error { margin: 4px 0 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(227, 72, 80, 0.35); background: rgba(227, 72, 80, 0.08); color: #f3a3a8; font-size: 14px; }
.form-error[hidden] { display: none; }
.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn.is-busy .arrow { animation: nudge 0.9s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.auth-alt { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.3s; }
.auth-alt a:hover { border-color: var(--light); }
.auth-result { text-align: center; display: grid; justify-items: center; }
.auth-result .btn-block { margin-top: 14px; }
.result-icon { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); margin-bottom: 26px; position: relative; }
.result-icon::before { content: ""; position: absolute; inset: 18px 21px; border: 1.5px solid var(--light); border-radius: 5px; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); border-top-color: var(--light); margin-bottom: 26px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* store buttons */
.store-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.auth-result .store-buttons { justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: 14px; border: 1px solid var(--line); background: #000; color: var(--ink); transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; min-width: 190px; }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn span { display: grid; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 10px; color: var(--muted); letter-spacing: 0.02em; }
.store-btn b { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
a.store-btn:hover { border-color: #444; transform: translateY(-2px); }
.store-btn.is-mine { border-color: rgba(216, 195, 154, 0.5); box-shadow: 0 0 0 4px rgba(216, 195, 154, 0.06); }
.store-btn.is-soon { opacity: 0.6; cursor: not-allowed; }

/* download page */
.download { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; isolation: isolate; }
.download .cta-light { top: 0; }
.download-inner { width: 100%; max-width: 1100px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.download .page-title { font-size: clamp(44px, 6.4vw, 96px); }
.download .lead { margin-bottom: 30px; }
.download-phone { display: grid; justify-items: center; }
.download-phone .phone { width: min(280px, 70vw); }
.dl-screen { align-items: center; justify-content: center; text-align: center; gap: 6px; background: radial-gradient(circle at 50% 40%, #1b1712, #000 70%); }
.phone-screen .dl-mark { flex: none; width: 120px; height: 120px; object-fit: contain; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(216, 195, 154, 0.25)); }
.dl-screen .wm { font-size: 13px; }
.dl-screen .wm b { font-size: inherit; letter-spacing: inherit; font-weight: 500; }
.dl-screen .dl-lock { background: var(--light); box-shadow: 0 0 50px rgba(216, 195, 154, 0.5); margin: 0 0 26px; }
.dl-screen .dl-lock::before { border-color: var(--light); }
.dl-screen b { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.dl-screen small { color: var(--muted); font-size: 12px; }
.open-app { margin-top: 12px; }
.download-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 12px; color: var(--ink-2); font-size: 15px; }
.download-steps li { display: flex; align-items: center; gap: 14px; }
.download-steps span { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--light); }

/* multi-page responsive */
@media (max-width: 1080px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links-extra { display: block; }
  .page-hero-inner, .honest-grid, .story-grid, .story-cols, .faq-group, .download-inner { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser { aspect-ratio: 4 / 3; }
  .layer { grid-template-columns: 60px 1fr; }
  .layer-tag { grid-column: 2; justify-self: start; margin-top: 0; }
  .honest-copy { padding-top: 0; }
  .faq-group { gap: 10px; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .download-phone { display: none; }
}
@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .store-btn { flex: 1; min-width: 0; }
  .nav-back { font-size: 0; padding: 8px 12px; }
  .nav-back::after { content: "Website"; font-size: 13px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-title .line.reveal { transform: translateY(60px); transition-duration: 1.3s; }
.hero-title .line.reveal.in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .viewer { grid-template-columns: 1fr 64px 96px; }
  .viewer-cats { display: none; }
  .viewer-bar { grid-column: 1 / 3; }
  .viewer-strip { grid-column: 3; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 72px; left: 16px; right: 16px;
    flex-direction: column; gap: 2px;
    border-radius: 18px; padding: 10px;
    background: rgba(14, 15, 19, 0.96);
    backdrop-filter: blur(20px);
    border-color: var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { font-size: 16px; padding: 14px 16px; border-radius: 12px; }
  .nav-toggle { display: block; }
  .nav-login { display: none; }

  .hero-stack { left: 68%; top: 44%; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .section-head.split, .secure-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step-visual { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .viewer-points { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { height: 64px; }
  .nav-links { top: 64px; }
  .nav-actions .btn-light { height: 38px; padding: 0 14px; font-size: 13px; }
  .wm { font-size: 11px; letter-spacing: 0.24em; margin-right: -0.24em; }
  .brand-mark { width: 22px; height: 22px; }

  .hero { padding-top: 104px; }
  .hero-title { font-size: clamp(52px, 17vw, 90px); margin-top: 4vh; }
  .hero-title .line-indent { padding-left: 0; }
  .hero-stack { width: 42vw; left: 70%; top: 50%; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 0 16px; }
  .hero-meta span:first-child { display: none; }

  .viewer { grid-template-columns: 1fr; grid-template-rows: 52px 1fr 40px 92px; height: 600px; }
  .viewer-top { padding: 0 16px; }
  .v-back { font-size: 0; }
  .v-back::before { content: "←"; font-size: 16px; }
  .viewer-stage { padding: 24px 20px 30px; }
  .viewer-stage img { top: 24px; left: 20px; width: calc(100% - 40px); height: calc(100% - 54px); }
  .gal-big-num, .gal-big-word { font-size: 15vw; }
  .corner.tl, .corner.bl { left: 12px; } .corner.tr, .corner.br { right: 12px; }
  .fav { top: 30px; right: 26px; }
  .viewer-caption .exif { display: none; }
  .viewer-count { grid-row: 3; }
  .viewer-strip {
    grid-row: 4; grid-column: 1;
    flex-direction: row; overflow-x: auto; overflow-y: hidden;
    padding: 10px 16px 14px;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .viewer-strip button { width: 54px; }
  .viewer-bar { display: none; }

  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; flex-direction: column-reverse; }
  .tile { min-height: 260px; padding: 22px; }
  .client-list li { font-size: 13px; flex-wrap: wrap; }

  .gal-arrows { display: none; }
  .gal-card { flex-basis: 72vw; }

  .cta-form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .cta-form input { height: 50px; padding: 0 14px; }
  .cta-form .btn { justify-content: center; }

  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Guest code on the download page */
.guest-code{display:inline-flex;flex-direction:column;gap:6px;margin:4px 0 26px;padding:14px 20px;border-radius:14px;background:rgba(216,195,154,.08)}
.guest-code small{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(243,238,228,.5)}
.guest-code strong{font:500 26px/1 'JetBrains Mono',monospace;letter-spacing:.08em;color:#d8c39a}

/* forgotten password */
.forgot-link { margin: -6px 0 18px; text-align: right; font-size: 13px; }
.forgot-link a { color: var(--muted); transition: color 0.3s; }
.forgot-link a:hover { color: var(--light); }

/* privacy / legal pages */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.legal-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 104px; display: grid; gap: 4px; }
.legal-toc a { color: var(--muted); font-size: 14px; padding: 6px 0; transition: color 0.3s; }
.legal-toc a:hover { color: var(--light); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.02em; margin: 48px 0 14px; scroll-margin-top: 104px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-2); line-height: 1.7; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--light); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { display: inline-block; padding: 8px 12px; border-radius: 8px; background: rgba(216, 195, 154, 0.08); color: var(--light) !important; font-size: 14px; }
@media (max-width: 900px) {
  .legal-inner { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
