/* Gridium – gridium-photo.com (2026 redesign)
   One stylesheet for all pages. Bilingual: elements carry .de / .en and the
   inactive language is hidden via html[lang]. Light and dark via light-dark(). */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: "Inter";
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  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;
  /* Brand – the app icon's violet, lilac and the collage tiles */
  --violet-950: #120842;
  --violet-900: #1E0D78;
  --violet-800: #2A11A6;
  --violet-700: #3B1FC4;
  --violet-600: #4B22D8;
  --violet-500: #7433F2;
  --lilac: #C9B8FF;
  --lilac-50: #F4F1FF;
  --sun: #FFE45C;
  --lemon: #FFF275;
  --coral: #FF7A6B;
  --sky: #5AA9FF;

  --bg:        light-dark(#F6F5FF, #0B0920);
  --bg-alt:    light-dark(#EEECFF, #120F2E);
  --surface:   light-dark(#FFFFFF, #191540);
  --surface-2: light-dark(#F7F6FF, #211C52);
  --text:      light-dark(#15123B, #F4F2FF);
  --muted:     light-dark(#57537E, #B3AEDB);
  --line:      light-dark(rgb(59 31 196 / .12), rgb(255 255 255 / .1));
  --accent:    light-dark(#4B22D8, #BCA9FF);
  --accent-ink:light-dark(#FFFFFF, #120842);
  --accent-bg: light-dark(#4B22D8, #C9B8FF);
  --focus:     light-dark(#4B22D8, #FFE45C);
  --grad-text: linear-gradient(100deg, light-dark(#7433F2, #D7CBFF), light-dark(#3B1FC4, #9DB2FF));

  --shadow-card: 0 1px 2px rgb(21 18 59 / .05), 0 22px 50px -30px rgb(59 31 196 / .35);
  --shadow-device: drop-shadow(0 30px 40px rgb(18 8 66 / .28)) drop-shadow(0 8px 14px rgb(18 8 66 / .12));

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 64px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

html[lang="en"] .de, html[lang="de"] .en { display: none !important; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--accent-bg); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent-bg); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgb(75 34 216 / .7); }
.btn-ghost { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); }
.btn-ghost:hover { background: rgb(255 255 255 / .2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.store-badge { display: inline-block; border-radius: 12px; line-height: 0; transition: transform .2s var(--ease); }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { height: 54px; width: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 60px); }
.section-head p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }


/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  --hdr-fg: var(--text);
  background: light-dark(rgb(246 245 255 / .78), rgb(11 9 32 / .72));
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 -1px 0 var(--line);
  color: var(--hdr-fg);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-over { --hdr-fg: #fff; background: rgb(30 13 120 / .28); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .12); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: inherit; text-decoration: none; font-size: 15px; font-weight: 600; opacity: .82; }
.main-nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.main-nav + .header-tools { margin-left: 8px; }
.hero, .duo, .cta, .page-hero, .lightbox, .site-header.is-over { --focus: var(--sun); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.lang-switch button, .lang-switch a { display: inline-grid; place-items: center; min-width: 36px; height: 30px; border: 0; border-radius: 999px; background: none; color: inherit; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; opacity: .7; }
.lang-switch a[aria-current="page"] { opacity: 1; background: var(--accent-bg); color: var(--accent-ink); }
.site-header.is-over .lang-switch a[aria-current="page"] { background: #fff; color: var(--violet-700); }
.lang-switch button[aria-pressed="true"] { opacity: 1; background: var(--accent-bg); color: var(--accent-ink); }
.site-header.is-over .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--violet-700); }
.header-cta { min-height: 38px; padding: 0 16px; font-size: 15px; }
.site-header.is-over .header-cta { background: #fff; color: var(--violet-700); box-shadow: none; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: none; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }
.mobile-nav { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; border: 0; padding: 20px var(--gutter); background: var(--bg); color: var(--text); }
.mobile-nav::backdrop { background: transparent; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.mobile-nav ul { margin: 28px 0; padding: 0; list-style: none; }
.mobile-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.mobile-nav .menu-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.mobile-nav .menu-close svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 520px) { .header-cta { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  margin-top: calc(-1 * var(--hdr-h)); padding: calc(var(--hdr-h) + clamp(40px, 7vw, 88px)) 0 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgb(116 51 242 / .55), transparent 70%),
    radial-gradient(50% 45% at 10% 90%, rgb(90 169 255 / .28), transparent 70%),
    linear-gradient(160deg, #3B1FC4 0%, #2A11A6 45%, #160A57 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 9vw, 120px); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2);
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--violet-900); font-size: 12px; letter-spacing: .02em; }
.pill:hover { background: rgb(255 255 255 / .18); }
.hero h1 { margin-top: 24px; font-size: clamp(44px, 6.2vw, 84px); letter-spacing: -.045em; }
.hero h1 .sun { color: var(--sun); }
.hero-lede { margin-top: 22px; max-width: 34em; font-size: clamp(18px, 1.7vw, 21px); color: rgb(255 255 255 / .82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgb(255 255 255 / .78); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--sun); }
.hero-visual { position: relative; align-self: end; min-height: 100%; }
.hero-stage { position: relative; width: min(100%, 640px); margin-left: auto; aspect-ratio: 640 / 600; }
.hero-stage .ipad { position: absolute; left: 0; bottom: -18%; width: 72%; filter: var(--shadow-device); }
.hero-stage .iphone { position: absolute; right: 2%; bottom: 4%; width: 33%; filter: var(--shadow-device); }
.hero-stage img { width: 100%; }

/* Floating polaroids from the app icon */
.polaroids { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.polaroids i {
  position: absolute; width: var(--s, 90px); aspect-ratio: 432 / 512; border-radius: 10%;
  background: var(--c, #F7F6FF); opacity: var(--o, .14); transform: rotate(var(--r, -8deg));
  animation: drift var(--d, 14s) ease-in-out infinite alternate;
}
@keyframes drift { to { transform: rotate(calc(var(--r, -8deg) * -1)) translateY(-18px); } }
@media (prefers-reduced-motion: reduce) { .polaroids i { animation: none; } }
.is-paused .polaroids i { animation-play-state: paused !important; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); box-shadow: inset 0 -1px 0 var(--line); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 0; padding: 22px 0; list-style: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust svg { width: 20px; height: 20px; color: var(--accent); }

/* ---------- Freie Fläche ---------- */
.freeform { background:
  radial-gradient(50% 40% at 100% 0%, light-dark(rgb(255 228 92 / .22), rgb(255 228 92 / .07)), transparent 70%),
  radial-gradient(50% 40% at 0% 100%, light-dark(rgb(201 184 255 / .45), rgb(116 51 242 / .14)), transparent 70%),
  var(--bg); }
.phone-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 40px); align-items: start; max-width: 1000px; margin-inline: auto; }
.phone-row figure { margin: 0; }
.phone-row figure:nth-child(2) { margin-top: clamp(28px, 6vw, 72px); }
.phone-row img { width: 100%; filter: var(--shadow-device); }
.phone-row figcaption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
.phone-row figcaption strong { display: block; color: var(--text); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.feature {
  padding: 26px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}
.feature .ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); color: #fff; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; letter-spacing: -.02em; }
.feature p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* ---------- iPhone Duo ---------- */
.duo { position: relative; color: #fff; background:
  radial-gradient(45% 55% at 50% 0%, rgb(116 51 242 / .45), transparent 70%),
  linear-gradient(180deg, #120842, #0A0624); overflow: hidden; }
.duo .kicker { color: var(--sun); }
.duo .section-head p { color: rgb(255 255 255 / .78); }
.duo .grad { background: linear-gradient(100deg, #FFF275, #FFC86B); -webkit-background-clip: text; background-clip: text; }
.posture-tabs { display: flex; justify-content: center; margin-bottom: clamp(28px, 4vw, 44px); }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; gap: 4px; padding: 5px; border-radius: 26px; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.segmented button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: rgb(255 255 255 / .78); font-size: 15px; font-weight: 600; cursor: pointer; }
.segmented button svg { width: 20px; height: 20px; }
.segmented button[aria-selected="true"] { background: #fff; color: var(--violet-900); }
.duo-stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: clamp(320px, 52vw, 600px); }
.duo-stage figure { grid-area: 1 / 1; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.duo-stage figure[hidden] { display: flex !important; opacity: 0; transform: scale(.97); pointer-events: none; visibility: hidden; }
.duo-stage figure { width: 100%; min-height: 0; }
.duo-stage img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .45)); }
.duo-caption { max-width: 640px; margin: 26px auto 0; text-align: center; color: rgb(255 255 255 / .82); min-height: 3.2em; }
.duo-caption strong { color: #fff; }
.duo-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.duo-point { padding: 24px; border-radius: var(--r-md); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.duo-point h3 { font-size: 18px; letter-spacing: -.015em; }
.duo-point p { margin-top: 8px; font-size: 15.5px; color: rgb(255 255 255 / .74); }
.duo-point .ico { width: 36px; height: 36px; margin-bottom: 14px; color: var(--sun); }

/* ---------- Templates ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent-bg); color: var(--accent-ink); box-shadow: none; }
.tpl-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1020px) { .tpl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.tpl { padding: 14px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
.tpl-box { display: grid; place-items: center; aspect-ratio: 1; }
.mini { position: relative; background: #fff; border-radius: 8px; box-shadow: 0 6px 16px -8px rgb(59 31 196 / .5); }
.mini i { position: absolute; border-radius: 4px; }
.tpl .tpl-name { margin-top: 12px; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.tpl p + p { font-size: 13px; color: var(--muted); }
.js .tpl-grid[data-collapsed] li:nth-child(n+13) { display: none; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.btn-soft { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}
.card h3 { font-size: clamp(21px, 2vw, 26px); }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card .num { display: block; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 12px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; }
.card-brand { color: #fff; background: linear-gradient(150deg, var(--violet-500), var(--violet-700) 55%, var(--violet-900)); box-shadow: 0 30px 60px -36px rgb(59 31 196 / .9); }
.card-brand p { color: rgb(255 255 255 / .82); }
.card-sun { background: linear-gradient(150deg, #FFF275, #FFE45C 60%, #FFC86B); color: #2A1A00; }
.card-sun p { color: rgb(42 26 0 / .74); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: color-mix(in srgb, currentColor 9%, transparent); }
.swatches { display: flex; gap: 8px; margin-top: 18px; }
.swatches span { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .6); }

/* ---------- Tour ---------- */
.tour { background: var(--bg-alt); }
.tour-tabs { display: flex; justify-content: center; margin-bottom: 36px; }
.tour .segmented { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tour .segmented button { color: var(--muted); }
.tour .segmented button[aria-selected="true"] { background: var(--accent-bg); color: var(--accent-ink); }
/* Full-bleed strip: scrolls edge to edge, first/last shot aligned with the content column. */
.strip { position: relative; --inset: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; gap: clamp(16px, 2.4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset); padding: 12px var(--inset) 28px; margin-inline: calc(50% - 50vw); scrollbar-width: none; overscroll-behavior-x: contain; }
.strip figure { scroll-snap-align: start; }
.strip::-webkit-scrollbar { display: none; }
.strip[hidden] { display: none; }
.strip figure { flex: none; margin: 0; }
.strip button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 24px; }
.strip img { height: clamp(380px, 52vw, 560px); width: auto; filter: drop-shadow(0 22px 26px rgb(18 8 66 / .22)); }
.strip.wide img { height: clamp(260px, 40vw, 480px); }
.strip figcaption { margin-top: 12px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }
.strip-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.round-btn svg { width: 20px; height: 20px; }
.round-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%; background: rgb(8 6 28 / .92); color: #fff; }
.lightbox::backdrop { background: rgb(8 6 28 / .6); }
.lightbox-inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 16px; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; }
.lightbox img { justify-self: center; align-self: center; max-height: calc(100dvh - 150px); max-width: 100%; width: auto; object-fit: contain; }
.lightbox .round-btn { background: rgb(255 255 255 / .12); box-shadow: none; color: #fff; }
.lightbox-nav { display: flex; justify-content: center; gap: 12px; }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.privacy-item { padding: 24px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.privacy-item svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.privacy-item h3 { font-size: 18px; letter-spacing: -.015em; }
.privacy-item p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.privacy-more { margin-top: 24px; text-align: center; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(80px, 11vw, 140px);
  background: radial-gradient(55% 60% at 50% 100%, rgb(116 51 242 / .7), transparent 70%), linear-gradient(170deg, #3B1FC4, #160A57); }
.cta .app-icon { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 26px; box-shadow: 0 24px 50px -18px rgb(0 0 0 / .6); }
.cta h2 { font-size: clamp(38px, 6vw, 72px); }
.cta p { margin: 18px auto 0; max-width: 34em; color: rgb(255 255 255 / .82); font-size: 19px; }
.cta .hero-actions { justify-content: center; }
.cta .small { margin-top: 18px; font-size: 14px; color: rgb(255 255 255 / .62); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; background: var(--bg); box-shadow: inset 0 1px 0 var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 26em; }
.footer-h { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom .lang-switch { color: var(--text); }
.text-btn { padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.text-btn:hover { color: var(--text); }

/* ---------- Legal / 404 pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--hdr-h)); padding: calc(var(--hdr-h) + 64px) 0 56px; color: #fff;
  background: radial-gradient(60% 60% at 90% 0%, rgb(116 51 242 / .55), transparent 70%), linear-gradient(160deg, #3B1FC4, #160A57); }
.page-hero .kicker { color: var(--sun); }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); }
.page-hero .lede { margin-top: 14px; color: rgb(255 255 255 / .8); }
.measure { max-width: 780px; }
.legal-body { padding-block: 56px 96px; }
.legal-section + .legal-section { margin-top: 44px; }
.legal-section h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 14px; }
.legal-section h3 { font-size: 19px; margin: 22px 0 8px; letter-spacing: -.01em; }
.legal-section p, .legal-section address, .legal-section li { color: var(--text); font-style: normal; }
.legal-section p + p { margin-top: 12px; }
.legal-section address { margin: 10px 0; line-height: 1.7; }
.inline-link { font-weight: 600; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-stage { margin: 40px auto 0; width: min(100%, 560px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2, .span-3 { grid-column: span 1; }
  .bento .wide-sm { grid-column: span 2; }
  .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .phone-row { grid-template-columns: minmax(0, 300px); justify-content: center; gap: 44px; }
  .phone-row figure:nth-child(2) { margin-top: 0; }
  .feature-grid, .duo-points, .privacy-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .wide-sm { grid-column: span 1; }
  .segmented button { padding: 0 12px; font-size: 14px; }
  .segmented button svg { display: none; }
  .duo-stage { height: clamp(240px, 72vw, 420px); }
}

@media print {
  .site-header, .mobile-nav, .polaroids, .lightbox { display: none !important; }
  .hero, .duo, .cta, .page-hero { color: #000; background: none; }
}

/* Toggle labels (motion pause, show all templates) */
:root:not(.is-paused) .m-off, .is-paused .m-on { display: none !important; }
[aria-expanded="false"] .more-off, [aria-expanded="true"] .more-on { display: none !important; }

/* Narrow phones: one footer column; calmer motion when reduced motion is asked for */
@media (max-width: 400px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .store-badge, .duo-stage figure { transition: none; }
  .btn:hover, .store-badge:hover { transform: none; }
}
.section-tight { padding-top: 0; }
.page-404-action { margin-top: 28px; }
