/* Lookhunt website
   Tokens: one accent (Lookhunt violet), cool neutrals, light + dark via prefers-color-scheme.
   Shape rule: controls and chips are full pills, media and panels use --r-lg (28px),
   large showcase panels use --r-xl (36px), phone frames use their own device radius. */

/* ---------- fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/familjen-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/familjen-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/familjen-grotesk-latin-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url(../fonts/familjen-grotesk-latin-ext-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #f6f5fa;
  --surface: #fdfdff;
  --surface-2: #eeebf8;
  --ink: #16151b;
  --ink-2: #47444f;
  --ink-3: #66626f;
  --line: rgb(22 21 27 / 0.1);
  --accent: #6a46f5;
  --accent-ink: #5333d8;
  --accent-soft: #ebe6ff;
  --on-accent: #fdfdff;
  --scrim: rgb(14 12 22 / 0.72);
  --shadow: 0 30px 70px -30px rgb(58 35 150 / 0.35), 0 10px 24px -12px rgb(30 20 70 / 0.18);
  --shadow-sm: 0 12px 30px -16px rgb(58 35 150 / 0.35);

  --font-display: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-xl: 36px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e13;
    --surface: #17161d;
    --surface-2: #1e1b29;
    --ink: #f2f1f6;
    --ink-2: #bdb9c9;
    --ink-3: #9893a7;
    --line: rgb(255 255 255 / 0.1);
    --accent: #7656ff;
    --accent-ink: #ad9bff;
    --accent-soft: rgb(118 86 255 / 0.16);
    --on-accent: #fdfdff;
    --shadow: 0 30px 70px -30px rgb(0 0 0 / 0.7), 0 10px 24px -12px rgb(0 0 0 / 0.5);
    --shadow-sm: 0 12px 30px -16px rgb(0 0 0 / 0.6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; letter-spacing: -0.03em; line-height: 1.04; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
h1 em, h2 em { font-weight: 600; padding-bottom: 0.06em; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; margin-top: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-ink); }
@media (prefers-color-scheme: dark) { .btn--accent:hover { background: #6342f0; } }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.95rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 12px 4px;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateY(3px); }

.store-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform 0.25s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge:active { transform: scale(0.97); }
.store-badge img { height: 54px; width: auto; }
.store-badge .badge-light { display: none; }
@media (prefers-color-scheme: dark) {
  .store-badge .badge-dark { display: none; }
  .store-badge .badge-light { display: block; }
}
.store-badge--onphoto .badge-dark { display: none; }
.store-badge--onphoto .badge-light { display: block; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav .btn { margin-left: 10px; }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}
#top-sentinel { position: absolute; top: 0; height: 24px; width: 1px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; min-height: min(calc(100dvh - var(--header-h) - 48px), 860px); }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 5.1rem); line-height: 1; letter-spacing: -0.04em; }
.hero h1 em { color: var(--accent-ink); }
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36ch; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-copy { text-align: left; }
  .hero-visual { width: min(100%, 400px); }
}

/* before / after */
.ba {
  --pos: 50%;
  position: relative; margin: 0; aspect-ratio: 2 / 3; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--surface-2); touch-action: pan-y; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before img { filter: saturate(0.85); }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-after::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 10 60 / 0.0) 55%, rgb(20 10 60 / 0.35)); pointer-events: none; }
.piece {
  position: absolute; border: 2.5px solid var(--accent); border-radius: 14px;
  background: rgb(106 70 245 / 0.10); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35) inset;
}
.piece span {
  position: absolute; left: -2.5px; top: -14px; transform: translateY(-50%);
  padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff;
  font: 600 0.72rem/1.2 var(--font-body); white-space: nowrap; box-shadow: 0 6px 16px -6px rgb(40 20 120 / 0.6);
}
.piece--right span { left: auto; right: -2.5px; }
.piece--below span { top: auto; bottom: -14px; transform: translateY(50%); }
.ba-found {
  position: absolute; right: 14px; top: 54px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgb(253 253 255 / 0.92); color: #16151b; font-weight: 600; font-size: 0.78rem; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgb(20 10 60 / 0.6);
}
.ba-found .icon { color: var(--accent); }
.ba-tag {
  position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  background: rgb(22 21 27 / 0.62); color: #fdfdff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity 0.3s var(--ease);
}
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; background: var(--accent); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fdfdff; box-shadow: 0 0 18px rgb(0 0 0 / 0.25); }
.ba-knob {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
  background: #fdfdff; color: var(--accent); box-shadow: 0 10px 30px -8px rgb(20 10 60 / 0.55);
  transition: transform 0.3s var(--ease);
}
.ba-knob .icon { width: 24px; height: 24px; }
.ba:hover .ba-knob, .ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba { cursor: ew-resize; }
/* keyboard / screen reader control; pointer dragging is handled on the figure */
.ba-range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--accent); outline-offset: 4px; }

.proof-card {
  position: absolute; z-index: 5; right: -16%; bottom: -6%; width: 60%;
  border-radius: 20px; overflow: hidden; background: #fdfdff;
  box-shadow: var(--shadow); transform: translateY(16px) rotate(-3deg); opacity: 0;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.proof-card.is-shown { opacity: 1; transform: translateY(0) rotate(-3deg); }
.proof-card img { width: 100%; }
@media (max-width: 1100px) { .proof-card { right: -6%; } }
@media (max-width: 900px) { .hero-visual { margin-bottom: 28px; } .proof-card { right: -3%; bottom: -7%; width: 58%; } }

/* hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- story: without / with ---------- */
.story-head { max-width: 760px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.story-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 10 / 11; isolation: isolate; color: #fdfdff; }
.story-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.story-panel:hover img { transform: scale(1.03); }
.story-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 8 18 / 0) 35%, rgb(10 8 18 / 0.86) 100%); }
.story-panel .story-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); }
.story-panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.story-panel p { margin-top: 10px; color: rgb(253 253 255 / 0.86); max-width: 40ch; }
.story-panel .story-label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; background: rgb(253 253 255 / 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.story-panel--with .story-label { background: var(--accent); }
.story-panel--without img { filter: saturate(0.7); }
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-panel { aspect-ratio: 4 / 4.6; }
}

/* ---------- moments rail ---------- */
.moments { background: var(--surface-2); }
.moments-head { max-width: 900px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 20px;
  margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.moment { scroll-snap-align: start; margin: 0; }
.moment-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.moment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.moment:hover .moment-img img { transform: scale(1.04); }
.moment figcaption { padding: 18px 4px 0; }
.moment figcaption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.moment figcaption span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 1000px) { .rail { grid-auto-columns: 72%; } }
@media (max-width: 520px) { .rail { grid-auto-columns: 82%; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } }

/* ---------- how it works (sticky phone) ---------- */
.how-grid { display: grid; grid-template-columns: 1fr minmax(300px, 0.9fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: 0.38; transition: opacity 0.5s var(--ease); }
.step:first-child { min-height: 46vh; justify-content: flex-start; }
.step.is-active { opacity: 1; }
.step-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 20px; }
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.step p { margin-top: 12px; color: var(--ink-2); max-width: 42ch; font-size: 1.1rem; }
.step-shot { display: none; }
.phone-stage { position: sticky; top: calc(var(--header-h) + 4vh); height: min(84vh, 760px); display: grid; place-items: center; border-radius: var(--r-xl); background: radial-gradient(120% 80% at 50% 0%, var(--accent-soft), transparent 70%), var(--surface-2); }
.phone {
  position: relative; width: min(300px, 74%); aspect-ratio: 1206 / 2622; border-radius: 46px; padding: 9px;
  background: #121116; box-shadow: var(--shadow), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone-screen img, .phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-screen img { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transform: scale(1.02); }
.phone-screen img.is-active { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .phone-stage { display: none; }
  .step, .step:first-child { min-height: 0; opacity: 1; padding-block: 0 48px; }
  .step-shot { display: block; margin-top: 24px; width: min(240px, 66%); }
  .step-shot .phone { width: 100%; }
}

/* ---------- features bento ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto auto; gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(40px, 5vw, 64px); }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line) inset; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; isolation: isolate; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.tile p { margin-top: 10px; color: var(--ink-2); max-width: 38ch; }
.tile--pieces { grid-column: 1; grid-row: 1 / span 2; padding: 0; color: #fdfdff; min-height: 560px; justify-content: flex-end; }
.tile--pieces img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile--pieces::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 8 18 / 0) 40%, rgb(10 8 18 / 0.82)); }
.tile--pieces .tile-copy { padding: clamp(22px, 2.4vw, 32px); }
.tile--pieces p { color: rgb(253 253 255 / 0.86); }
.tile--prices { grid-column: 2; grid-row: 1; background: var(--accent); color: var(--on-accent); box-shadow: none; }
.tile--prices p { color: rgb(253 253 255 / 0.86); }
.tile--prices .tile-icon { background: rgb(253 253 255 / 0.16); color: #fdfdff; }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: auto; }
.tile-icon .icon { width: 24px; height: 24px; }
.tile--prices h3, .tile--countries h3 { margin-top: 48px; }
.tile--favorites { grid-column: 3; grid-row: 1 / span 2; padding-bottom: 0; background: var(--surface-2); box-shadow: none; }
.tile--favorites .fav-shot { margin-top: 28px; margin-inline: auto; width: min(260px, 88%); border-radius: 34px 34px 0 0; overflow: hidden; border: 8px solid #121116; border-bottom: 0; box-shadow: var(--shadow); }
.tile--countries { grid-column: 2; grid-row: 2; }
.tile--countries .big { font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 0.9; letter-spacing: -0.05em; color: var(--accent-ink); }
.tile--countries h3 { margin-top: 12px; }
.tile--ipad { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 32px; background: var(--surface-2); box-shadow: none; padding-right: 0; padding-block: 0; }
.tile--ipad .tile-copy { padding-block: 40px; }
.ipad-shot { align-self: end; margin-top: 40px; margin-right: -2px; border: 10px solid #121116; border-right: 0; border-bottom: 0; border-radius: 30px 0 0 0; overflow: hidden; box-shadow: var(--shadow); max-height: 400px; }
.ipad-shot img { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { list-style: none; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.chips { padding: 0; margin-bottom: 0; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--pieces { grid-column: 1 / -1; grid-row: 1; min-height: 460px; }
  .tile--prices { grid-column: 1; grid-row: 2; }
  .tile--countries { grid-column: 1; grid-row: 3; }
  .tile--favorites { grid-column: 2; grid-row: 2 / span 2; }
  .tile--ipad { grid-column: 1 / -1; grid-row: 4; grid-template-columns: 1fr; padding: 0; }
  .tile--ipad .tile-copy { padding: 28px 28px 0; }
  .ipad-shot { margin-left: 28px; margin-top: 8px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--pieces, .tile--prices, .tile--countries, .tile--favorites, .tile--ipad { grid-column: 1; grid-row: auto; }
  .tile--prices h3, .tile--countries h3 { margin-top: 32px; }
}

/* ---------- video showcase ---------- */
.showcase {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fdfdff;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: clamp(32px, 6vw, 80px); min-height: 720px;
}
.showcase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.showcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 8 18 / 0.88) 0%, rgb(10 8 18 / 0.55) 55%, rgb(10 8 18 / 0.2) 100%); }
.showcase h2 { max-width: 14ch; }
.showcase p { margin-top: 18px; max-width: 40ch; color: rgb(253 253 255 / 0.84); font-size: 1.15rem; }
.video-card { justify-self: center; width: min(320px, 82%); aspect-ratio: 600 / 1300; border-radius: var(--r-lg); overflow: hidden; background: #eeebf8; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgb(253 253 255 / 0.35); background: rgb(253 253 255 / 0.08); color: #fdfdff; font: 600 0.95rem/1 var(--font-body); cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.video-toggle:hover { background: rgb(253 253 255 / 0.16); }
.video-toggle:active { transform: scale(0.97); }
.video-toggle .when-paused { display: none; }
.video-toggle[aria-pressed="false"] .when-paused { display: inline-flex; }
.video-toggle[aria-pressed="false"] .when-playing { display: none; }
.video-toggle span { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .showcase::after { background: linear-gradient(180deg, rgb(10 8 18 / 0.85) 0%, rgb(10 8 18 / 0.6) 100%); }
}

/* ---------- looks marquee ---------- */
.looks { overflow: hidden; }
.looks-head { max-width: 680px; }
.marquee { margin-top: clamp(36px, 5vw, 56px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; }
.marquee-track img { width: clamp(180px, 18vw, 240px); aspect-ratio: 2 / 3; object-fit: cover; border-radius: 24px; background: var(--surface-2); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
}

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside p { margin-top: 16px; color: var(--ink-2); }
.faq-aside a { color: var(--accent-ink); font-weight: 600; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; color: var(--accent-ink); transition: transform 0.35s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-list .answer { padding-right: 0; }
}

/* ---------- final cta ---------- */
.final {
  position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fdfdff;
  min-height: 560px; display: flex; align-items: flex-end; padding: clamp(32px, 6vw, 80px);
}
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 8 18 / 0.85) 0%, rgb(10 8 18 / 0.35) 55%, rgb(10 8 18 / 0.1) 100%); }
.final h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 15ch; }
.final p { margin-top: 16px; font-size: 1.15rem; color: rgb(253 253 255 / 0.86); max-width: 44ch; }
.final .store-badge { margin-top: 32px; }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 40px; color: var(--ink-2); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-grid p { margin-top: 12px; max-width: 36ch; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-3); }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(40px, 7vw, 88px) 96px; }
.legal-wrap { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal .updated { margin-top: 12px; color: var(--ink-3); }
.legal h2 { font-size: 1.6rem; margin-top: 52px; letter-spacing: -0.02em; }
.legal h3 { font-size: 1.15rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 14px; }
.legal ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal li { margin-top: 8px; }
.legal li strong, .legal p strong { color: var(--ink); }
.legal a { color: var(--accent-ink); }
.legal .note { margin-top: 24px; padding: 20px 22px; border-radius: 20px; background: var(--surface-2); color: var(--ink-2); }
.legal .note p:first-child { margin-top: 0; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 4px 0; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal td:first-child { color: var(--ink); font-weight: 600; }
}

/* ---------- 404 ---------- */
.notfound { min-height: calc(100dvh - var(--header-h) - 160px); display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.notfound p { margin-top: 14px; color: var(--ink-2); }
.notfound .btn { margin-top: 28px; }
