/* ==========================================================================
   optometristul.ro — design system
   Light, minimal, premium. Motion follows: transform/opacity only,
   strong ease-out curves, short UI durations, reduced-motion respected.
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  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 Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2");
  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 Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  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;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-sunk: #efefec;
  --ink: #0b0d12;
  --ink-2: #3a3f4b;
  --muted: #6b7080;
  --line: #e7e7e3;
  --line-strong: #d6d6d1;
  --cobalt: #2446f0;
  --cobalt-soft: #eef1ff;
  --retina: #ff5a36;
  --ok: #12a150;

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(11, 13, 18, .06), 0 1px 1px rgba(11, 13, 18, .04);
  --shadow: 0 1px 2px rgba(11, 13, 18, .05), 0 8px 24px -8px rgba(11, 13, 18, .12);
  --shadow-l: 0 2px 4px rgba(11, 13, 18, .04), 0 24px 60px -20px rgba(11, 13, 18, .25);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button, input, textarea, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn, .lang, .menu-btn, summary { -webkit-user-select: none; user-select: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.display {
  font-family: var(--display);
  font-size: clamp(40px, 6.6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; max-width: 40ch; }
.muted { color: var(--muted); }
.accent { color: var(--cobalt); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 560; font-size: 16px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  box-shadow: var(--shadow-s);
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--blue { --btn-bg: var(--cobalt); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: #1c2029; }
  .btn--blue:hover { --btn-bg: #1737d6; }
  .btn--ghost:hover { --btn-bg: var(--bg-soft); }
  .btn:hover svg.arrow { transform: translateX(3px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 560; color: var(--cobalt); }
.link-arrow svg { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(3px); } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 550;
  background: var(--bg-soft); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill--live::before, .pill--soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.pill--live::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 161, 80, .15); }
.pill--soon::before { background: var(--retina); box-shadow: 0 0 0 3px rgba(255, 90, 54, .15); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 250ms ease, box-shadow 250ms ease, backdrop-filter 250ms ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header { view-transition-name: site-header; padding-top: env(safe-area-inset-top); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.03em; font-size: 18px; }
.logo__mark { width: 28px; height: 28px; }
.logo__tld { color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  transition: background-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { background: var(--bg-soft); color: var(--ink); } }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px var(--line); margin-inline: 6px;
}
.lang a {
  font-family: var(--mono); font-size: 12px; padding: 4px 9px !important; border-radius: 999px;
  color: var(--muted) !important; background: none !important;
}
.lang a[aria-current="true"] { background: #fff !important; color: var(--ink) !important; box-shadow: var(--shadow-s); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn span { position: relative; width: 18px; height: 1.5px; background: var(--ink); transition: transform 250ms var(--ease-out), background-color 150ms ease; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 250ms var(--ease-out);
}
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(0, 0, 0, .2);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 250ms var(--ease-out);
  }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: rgba(255, 255, 255, .96); }
  .nav a:not(.btn) { padding: 12px 8px; font-size: 17px; }
  .nav .btn { margin-top: 10px; }
  .lang { align-self: flex-start; margin: 8px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--soft { background: var(--bg-soft); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 9vw, 110px)); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ink-2); }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 20%, rgba(36, 70, 240, .08), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(255, 90, 54, .05), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  opacity: .55;
}

/* "Come into focus" — text sharpens once on page load, like a lens settling. */
.focus-in {
  animation: focusIn 1100ms var(--ease-out) both;
  animation-delay: var(--d, 0ms);
}
@keyframes focusIn {
  from { filter: blur(10px); opacity: 0; transform: translateY(10px); }
  to { filter: blur(0); opacity: 1; transform: none; }
}

/* ---------- Phone mockups ---------- */
.stage { position: relative; height: clamp(440px, 52vw, 580px); }
.stage .phone { position: absolute; top: 50%; left: 50%; }
.stage .phone:nth-child(1) { transform: translate(-112%, -46%) rotate(-7deg) scale(.86); z-index: 1; }
.stage .phone:nth-child(2) { transform: translate(-50%, -52%); z-index: 3; }
.stage .phone:nth-child(3) { transform: translate(12%, -46%) rotate(7deg) scale(.86); z-index: 2; }
.stage .phone { animation: phoneIn 1000ms var(--ease-out) both; animation-delay: calc(250ms + var(--i, 0) * 90ms); }
@keyframes phoneIn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.phone {
  --w: 248px;
  width: var(--w); aspect-ratio: 9 / 19.2;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(145deg, #f4f4f2, #d9d9d4);
  box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(11, 13, 18, .08);
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 32px; overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 13, 18, .1);
  font-size: 11px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.phone__screen::before { /* camera */
  content: ""; position: absolute; top: 9px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #111; z-index: 5;
}
.phone--solo { --w: 280px; margin-inline: auto; }

.ui-status { display: flex; justify-content: space-between; padding: 8px 18px 0; font-size: 9.5px; font-weight: 600; color: var(--ink); height: 26px; }
.ui-status i { display: inline-block; width: 22px; height: 8px; border-radius: 3px; border: 1px solid currentColor; opacity: .7; }
.ui-body { flex: 1; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.ui-title { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.ui-sub { color: var(--muted); font-size: 10.5px; }
.ui-card { border-radius: 14px; background: var(--bg-soft); padding: 12px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ui-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 650; color: #fff; flex: none; }
.ui-btn { height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 12px; }
.ui-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.ui-bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--cobalt); opacity: .9; transform-origin: bottom; }
.ui-mono { font-family: var(--mono); }

/* ---------- App cards ---------- */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.app-card {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  border-radius: var(--radius-l);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}
.app-card__visual {
  position: relative; height: 300px; overflow: hidden;
  background: var(--tint, var(--bg-soft));
  display: grid; place-items: center;
}
.app-card__visual .phone { --w: 200px; position: absolute; top: 36px; transition: transform 400ms var(--ease-out); }
.app-card__body { padding: 26px 28px 28px; display: grid; gap: 12px; align-content: start; }
.app-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-s); }
.app-card__icon svg { width: 22px; height: 22px; }
.app-card p { color: var(--ink-2); }
.app-card .link-arrow { margin-top: 6px; }
.app-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) {
  .app-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
  .app-card:hover .app-card__visual .phone { transform: translateY(-8px); }
  .app-card:hover .link-arrow svg { transform: translateX(3px); }
}
.app-card--future { background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); border: 1px dashed var(--line-strong); }
.app-card--future .app-card__visual { background: transparent; }
.future-grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 12px; }
.future-grid span { width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.future-grid span:nth-child(5) { background: var(--cobalt); box-shadow: 0 8px 20px -6px rgba(36, 70, 240, .5); display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 300; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.principle { background: var(--bg); padding: 30px 26px 32px; display: grid; gap: 12px; align-content: start; }
.principle__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; margin-bottom: 8px; }
.principle__icon svg { width: 20px; height: 20px; }
.principle p { color: var(--muted); font-size: 15.5px; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story__quote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.025em; font-weight: 520; text-wrap: pretty; }
.story__quote em { font-style: normal; color: var(--cobalt); }
.story__sig { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.story__sig .ui-avatar { width: 44px; height: 44px; font-size: 15px; background: var(--ink); color: #fff; }
.story__sig b { display: block; font-weight: 600; }
.story__sig span { color: var(--muted); font-size: 14.5px; }

/* Snellen chart — lens comparison */
.compare {
  position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius-l); overflow: hidden;
  background: #fbfbf9; box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  user-select: none; touch-action: pan-y; cursor: ew-resize;
  --pos: 50%;
}
.compare__layer { position: absolute; inset: 0; display: grid; place-items: center; }
.compare__layer--blur .snellen { filter: blur(3.2px); opacity: .85; }
.compare__layer--sharp { clip-path: inset(0 0 0 var(--pos)); background: #fff; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--cobalt); pointer-events: none;
}
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--cobalt), var(--shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232446f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 18px; background-repeat: no-repeat; background-position: center;
}
.compare__label {
  position: absolute; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted);
}
.compare__label--l { left: 16px; }
.compare__label--r { right: 16px; color: var(--cobalt); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.snellen { text-align: center; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: .28em; color: var(--ink); line-height: 1.12; }
.snellen div:nth-child(1) { font-size: clamp(56px, 7vw, 80px); }
.snellen div:nth-child(2) { font-size: clamp(36px, 4.5vw, 52px); }
.snellen div:nth-child(3) { font-size: clamp(26px, 3.2vw, 36px); }
.snellen div:nth-child(4) { font-size: clamp(19px, 2.3vw, 26px); }
.snellen div:nth-child(5) { font-size: clamp(14px, 1.6vw, 18px); }
.snellen div:nth-child(6) { font-size: clamp(10px, 1.1vw, 12px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius-l); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.step__n { font-family: var(--mono); font-size: 12px; color: var(--cobalt); letter-spacing: .08em; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 18px; font-weight: 560; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: transform 250ms var(--ease-out), background-color 200ms ease;
}
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform 250ms var(--ease-out); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--bg-soft); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq__a { padding: 0 4px 24px; color: var(--ink-2); max-width: 64ch; }
.faq details[open] .faq__a { animation: faqIn 300ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { background: var(--bg-soft); } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l); padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 90% 0%, rgba(36, 70, 240, .55), transparent 70%), radial-gradient(400px 220px at 0% 100%, rgba(255, 90, 54, .18), transparent 70%);
}
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .7); margin-top: 14px; max-width: 46ch; }
.cta .btn { --btn-bg: #fff; --btn-fg: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cta .btn:hover { --btn-bg: #e9ebf5; } }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 40px; border-top: 1px solid var(--line); margin-top: clamp(80px, 11vw, 140px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--ink-2); font-size: 15px; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--cobalt); } }
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 34ch; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Product page ---------- */
.p-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.p-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.p-hero__copy { display: grid; gap: 22px; justify-items: start; }
.p-hero__id { display: flex; align-items: center; gap: 14px; }
.p-hero__id .app-card__icon { width: 56px; height: 56px; border-radius: 16px; }
.p-hero__id .app-card__icon svg { width: 28px; height: 28px; }
.p-hero__visual { position: relative; display: grid; place-items: center; padding-block: 16px; }
.p-hero__visual::before { content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; border-radius: 50%; background: var(--tint); filter: blur(10px); z-index: -1; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .breadcrumb a:hover { color: var(--ink); } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius-l); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.feature .principle__icon { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.spec-list { border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 550; text-align: right; }
.for-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.for-list li:first-child { border-top: 1px solid var(--line); }
.for-list svg { width: 20px; height: 20px; color: var(--cobalt); flex: none; margin-top: 3px; }

.buy-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius-l); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 16px; }
.buy-box .price { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; }
.buy-box small { color: var(--muted); font-size: 13.5px; }
.buy-box .btn { width: 100%; }

.other-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-app { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease, transform 200ms var(--ease-out); }
.mini-app .app-card__icon { width: 40px; height: 40px; border-radius: 11px; }
.mini-app .app-card__icon svg { width: 20px; height: 20px; }
.mini-app b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.mini-app span { color: var(--muted); font-size: 14px; }
.mini-app:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .mini-app:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 720px; margin-inline: auto; padding-top: calc(var(--header-h) + 64px); }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.prose .note { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: #fff7f4; box-shadow: inset 0 0 0 1px #ffd9cf; font-size: 15px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.ui-bars span { transform: scaleY(1); }
.js .reveal .ui-bars span, .js .app-card .ui-bars span { transform: scaleY(.2); transition: transform 900ms var(--ease-out); transition-delay: calc(300ms + var(--b, 0) * 60ms); }
.js .is-in .ui-bars span, .js .is-in.app-card .ui-bars span { transform: scaleY(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .other-apps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero__grid, .p-hero__grid, .story, .specs { grid-template-columns: 1fr; }
  .stage { height: 460px; }
  .apps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .buy-box { position: static; }
}
@media (max-width: 560px) {
  .stage { height: 400px; }
  .phone { --w: 210px; }
  .stage .phone:nth-child(1) { transform: translate(-100%, -46%) rotate(-7deg) scale(.8); }
  .stage .phone:nth-child(3) { transform: translate(0%, -46%) rotate(7deg) scale(.8); }
  .principles, .features, .other-apps { grid-template-columns: 1fr; }
  .app-card__visual { height: 260px; }
  .app-card__visual .phone { --w: 180px; }
  .app-card__body { padding: 22px; }
  .hero__ctas .btn { flex: 1; }
}

/* ---------- Reduced motion: keep fades, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .focus-in { animation: fadeOnly 400ms ease both; }
  .stage .phone { animation: fadeOnly 400ms ease both; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .js .reveal .ui-bars span, .js .app-card .ui-bars span { transform: none; transition: none; }
  .app-card, .app-card__visual .phone, .btn, .mini-app { transition: none; }
  .faq details[open] .faq__a { animation: fadeOnly 200ms ease; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   v2 — premium upgrade
   ========================================================================== */
.header { height: calc(var(--header-h) + env(safe-area-inset-top)); }
.display .accent { color: var(--cobalt); }
.story__quote { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Hero lens: a faint eye chart comes into focus under the cursor ---------- */
.hero { isolation: isolate; }
.lens-field {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  --mx: 50%; --my: 40%; --r: 0px;
}
.lens-field__chart {
  position: absolute; inset: -20px 0; display: grid; align-content: center; justify-items: center; gap: 1.1em;
  font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; color: var(--ink);
  font-size: clamp(26px, 2.6vw, 40px); letter-spacing: 1.1em; line-height: 1; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lens-field__chart--blur { filter: blur(3px); opacity: .055; }
.lens-field__chart--sharp {
  opacity: .5; color: var(--cobalt);
  clip-path: circle(var(--r) at var(--mx) var(--my));
  will-change: clip-path;
}
.lens-field__ring {
  position: absolute; left: 0; top: 0; width: 220px; height: 220px; margin: -110px 0 0 -110px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(36, 70, 240, .22), 0 18px 40px -24px rgba(36, 70, 240, .35);
  transform: translate(var(--mx), var(--my)) scale(.9); opacity: 0;
  transition: opacity 250ms ease;
}
.lens-field.is-active .lens-field__ring { opacity: 1; }
@media not ((hover: hover) and (pointer: fine)) { .lens-field__chart--sharp, .lens-field__ring { display: none; } }

/* ---------- Bento (principles) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.bento__tile {
  background: var(--bg); border-radius: var(--radius-l); padding: 28px; display: grid; gap: 10px; align-content: start;
  box-shadow: inset 0 0 0 1px var(--line);
}
.bento__tile p { color: var(--muted); font-size: 15.5px; }
.bento__tile .principle__icon { margin-bottom: 8px; }
.bento__tile--wide { grid-column: span 2; }
.bento__tile--hero {
  grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; box-shadow: none;
  align-content: space-between; position: relative; overflow: hidden; padding: 32px;
}
.bento__tile--hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 300px at 100% 0%, rgba(36, 70, 240, .55), transparent 70%);
}
.bento__tile--hero > * { position: relative; }
.bento__tile--hero p { color: rgba(255, 255, 255, .68); }
.bento__tile--hero .principle__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.bento__stat { display: flex; align-items: flex-end; gap: 18px; margin: 28px 0; }
.bento__stat b { font-family: var(--display); font-size: clamp(96px, 12vw, 168px); line-height: .8; letter-spacing: -0.05em; font-weight: 700; }
.bento__stat span { color: rgba(255, 255, 255, .7); max-width: 20ch; font-size: 15px; padding-bottom: 8px; }
@media (max-width: 1020px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__tile--wide, .bento__tile--hero { grid-column: auto; grid-row: auto; } }

/* ---------- Compare: letters scale with the box ---------- */
.compare { container-type: inline-size; }
.compare .snellen div:nth-child(1) { font-size: 17cqw; }
.compare .snellen div:nth-child(2) { font-size: 11cqw; }
.compare .snellen div:nth-child(3) { font-size: 7.6cqw; }
.compare .snellen div:nth-child(4) { font-size: 5.6cqw; }
.compare .snellen div:nth-child(5) { font-size: 4.1cqw; }
.compare .snellen div:nth-child(6) { font-size: 2.9cqw; }
.compare__layer--blur .snellen { filter: blur(0.9cqw); }
.nf-chart { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: clamp(72px, 14vw, 140px); letter-spacing: .3em; line-height: 1; padding-left: .3em; }

/* ---------- Product scroll story ---------- */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.scrolly__stage { position: relative; }
.scrolly__sticky { position: sticky; top: calc(50vh - 290px); display: grid; justify-items: center; gap: 22px; padding-block: 8px; }
.phone__screen--stack { position: relative; }
.phone__screen--stack .screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff;
  opacity: 0; transform: scale(.985); filter: blur(4px);
  transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out), filter 420ms var(--ease-out);
}
.phone__screen--stack .screen.is-active { opacity: 1; transform: none; filter: blur(0); z-index: 1; }
.scrolly__dots { display: flex; gap: 8px; }
.scrolly__dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); transition: width 300ms var(--ease-out), background-color 200ms ease; }
.scrolly__dots span.is-active { width: 22px; background: var(--ink); }
.chapter { min-height: 72vh; display: grid; align-content: center; gap: 14px; opacity: .28; transition: opacity 400ms ease; }
.chapter.is-active { opacity: 1; }
.chapter__phone { display: none; }
.chapter__n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.chapter__title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; max-width: 16ch; }
.chapter__text { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 36ch; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.extras__title { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.extra { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.extra .principle__icon { margin: 0; flex: none; }
.extra b { display: block; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.extra span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__stage { display: none; }
  .chapter { min-height: 0; opacity: 1; padding-block: 24px 40px; }
  .chapter__phone { display: block; margin-bottom: 20px; padding: 32px 0; border-radius: var(--radius-l); background: var(--bg-soft); }
  .chapter__phone .phone { --w: 230px; margin-inline: auto; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (min-width: 861px) { .scrolly__sticky { top: calc(var(--header-h) + 16px); } .scrolly__sticky .phone { --w: 240px; } }

/* ---------- Forms ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { display: grid; gap: 14px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 550; }
.field input, .field textarea, .inline-field input {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 150ms ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .inline-field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--cobalt); }
.form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--retina); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); max-width: 42ch; }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.form__error { font-size: 14px; color: #c73d1c; }
.inline-field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 150ms ease; }
.inline-field:focus-within { box-shadow: inset 0 0 0 2px var(--cobalt); }
.inline-field input { box-shadow: none !important; background: none; padding: 0 12px; min-width: 0; }
.inline-field .btn { height: 42px; flex: none; }
.btn__label { transition: filter 200ms ease, opacity 200ms ease; }
.form.is-sending .btn__label { filter: blur(2px); opacity: .6; }
.form.is-sending .btn { pointer-events: none; }
.form-done { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #edf8f2; box-shadow: inset 0 0 0 1px #c6ecd6; }
.form-done[hidden] { display: none; }
.form-done b { display: block; font-weight: 600; }
.form-done span:not(.form-done__check) { font-size: 14px; color: var(--ink-2); }
.form-done__check { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.form-done__check svg { width: 18px; height: 18px; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; }
.form.is-done > :not(.form-done):not(input) { display: none; }
.form.is-done .form-done { animation: doneIn 500ms var(--ease-out) both; }
.form.is-done .form-done__check svg { animation: drawCheck 450ms 180ms var(--ease-out) forwards; }
@keyframes doneIn { from { opacity: 0; transform: translateY(6px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* Contact form inside the dark CTA band */
.cta { grid-template-columns: .9fr 1.1fr; align-items: start; }
.cta__mail { display: inline-block; margin-top: 22px; color: #fff; font-weight: 550; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.cta .form { background: #fff; color: var(--ink); padding: 24px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.cta .form .form__note, .cta .form p { color: var(--muted); margin: 0; max-width: 42ch; }
.cta .form .form__error { color: #c73d1c; }
.cta .form .btn { --btn-bg: var(--ink); --btn-fg: #fff; }
@media (hover: hover) and (pointer: fine) { .cta .form .btn:hover { --btn-bg: #1c2029; } }
.cta .form .form-done span { color: var(--ink-2); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } .cta .form { padding: 20px; } }

/* Waitlist in the buy box */
.buy-box .form .btn { width: auto; }
.buy-box .price { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- App card tilt (decorative, desktop only) ---------- */
.app-card__visual .phone { transform: translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.app-card__visual { perspective: 900px; }
@media (hover: hover) and (pointer: fine) { .app-card:hover .app-card__visual .phone { transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } }

/* ---------- ANPC ---------- */
.footer__anpc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.anpc {
  display: inline-grid; grid-template-columns: auto; width: 250px; height: 50px; padding: 0 14px; align-content: center;
  border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 200ms ease;
}
.anpc__code { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--cobalt); }
.anpc__label { font-size: 12.5px; color: var(--ink-2); line-height: 1.25; }
@media (hover: hover) and (pointer: fine) { .anpc:hover { box-shadow: inset 0 0 0 1px var(--ink); } }

/* ---------- Cross-page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 380ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
::view-transition-old(root) { animation: vtOut 180ms ease both; }
::view-transition-new(root) { animation: vtIn 320ms cubic-bezier(0.23, 1, 0.32, 1) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .lens-field__chart--sharp, .lens-field__ring { display: none; }
  .phone__screen--stack .screen { transform: none; filter: none; transition: opacity 200ms ease; }
  .chapter { transition: none; }
  .app-card__visual .phone { transform: none !important; }
  .form.is-done .form-done, .form.is-done .form-done__check svg { animation: none; stroke-dashoffset: 0; }
  ::view-transition-group(*), ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
.mini-app .app-card__icon, .app-card__top .app-card__icon { color: #fff; }
.bento__stat b { font-family: var(--font); font-weight: 600; letter-spacing: -0.06em; }
.bento__tile--hero > div:last-child { display: grid; gap: 8px; }
@media (max-width: 860px) { .p-hero__visual { display: none; } .p-hero { padding-bottom: 24px; } }

/* ==========================================================================
   v3 — typography: Instrument Serif (display) + Hanken Grotesk (text) + Geist Mono (labels)
   ========================================================================== */
.display, .h2, .chapter__title, .story__quote, .buy-box .price { font-family: var(--display); font-weight: 400; }
.display { font-size: clamp(48px, 7.6vw, 104px); line-height: .98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.015em; }
.chapter__title { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.015em; }
.story__quote { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.2; letter-spacing: -0.01em; }
.buy-box .price { font-size: 32px; letter-spacing: -0.01em; }
.display .accent, .h2 .accent, .story__quote em, .chapter__title em { font-style: italic; }
.story__quote em { font-style: italic; }
.h3 { font-weight: 600; letter-spacing: -0.015em; }
.btn { font-weight: 600; letter-spacing: -0.005em; }
.logo { font-weight: 700; letter-spacing: -0.035em; }
.eyebrow, .footer h4, .step__n, .chapter__n, .extras__title, .compare__label, .lang a, .anpc__code { letter-spacing: .12em; font-weight: 450; }
.eyebrow { font-size: 11.5px; }
.bento__stat b { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; }
.lead { color: var(--ink-2); }

/* ---------- v3 — refined loupe: real magnification, glass, reticle ---------- */
.lens-field__chart--sharp { clip-path: none; will-change: auto; opacity: 1; color: var(--cobalt); }
.lens-field__mag {
  position: absolute; inset: 0;
  clip-path: circle(var(--r) at var(--mx) var(--my));
  will-change: clip-path;
}
.lens-field__mag .lens-field__chart--sharp {
  transform-origin: var(--mx) var(--my);
  transform: scale(1.4);
  opacity: .62;
}
.lens-field__ring {
  width: 240px; height: 240px; margin: -120px 0 0 -120px;
  color: rgba(36, 70, 240, .55);
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 70% 78%, rgba(36, 70, 240, .06), rgba(36, 70, 240, 0) 45%);
  box-shadow:
    inset 0 0 0 1px rgba(36, 70, 240, .28),
    inset 0 0 0 7px rgba(255, 255, 255, .45),
    inset 0 0 0 8px rgba(11, 13, 18, .06),
    inset 0 10px 24px -12px rgba(255, 255, 255, .9),
    inset 0 -14px 30px -18px rgba(36, 70, 240, .25),
    0 1px 2px rgba(11, 13, 18, .06),
    0 30px 60px -30px rgba(36, 70, 240, .45);
}
.lens-field__ring::before { /* reticle ticks, like a focimeter */
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 100% / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 50% / 9px 1px no-repeat;
}
.lens-field__ring::after { /* tiny center cross */
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat;
  opacity: .5;
}
.lens-field__tag {
  position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; white-space: nowrap;
  padding: 4px 9px; border-radius: 999px; color: var(--cobalt);
  background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(36, 70, 240, .18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lens-field.is-live .lens-field__ring { opacity: 1; }
@media not ((hover: hover) and (pointer: fine)) {
  .lens-field__chart--sharp, .lens-field__ring { display: block; }
  .lens-field__ring { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .lens-field__tag { display: none; }
  .lens-field__mag .lens-field__chart--sharp { opacity: .38; }
}
@media (prefers-reduced-motion: reduce) { .lens-field__mag, .lens-field__ring { display: none !important; } }

/* v3 type tuning */
.display { font-size: clamp(52px, 7.4vw, 100px); }
.lang a { letter-spacing: .06em; }
@media (max-width: 560px) { .display { font-size: 52px; } .h2 { font-size: 40px; } }

/* v3 — FAQ opens with a smooth height animation where supported (Chrome 131+), instant elsewhere */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 380ms var(--ease-out), content-visibility 380ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } }
.faq summary { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--cobalt); } }

/* v4 — smaller loupe */
.lens-field__ring { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
.lens-field__ring::before { inset: 10px; }
.lens-field__tag { font-size: 10px; margin-top: 8px; }
@media not ((hover: hover) and (pointer: fine)) {
  .lens-field__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
}

/* ==========================================================================
   v5 — premium plan: logo, showcase hero, product rows, creator, depth
   ========================================================================== */
:root {
  --shadow: 0 1px 2px rgba(11, 13, 18, .04), 0 12px 32px -12px rgba(11, 13, 18, .10);
  --shadow-l: 0 2px 6px rgba(11, 13, 18, .03), 0 40px 80px -32px rgba(11, 13, 18, .22);
  --emerald: #0e9f6e;
}
.logo__mark { color: var(--ink); }
.nav { gap: 6px; }
.nav a:not(.btn) { padding: 8px 14px; }

/* Type scale per plan: hero 72–88, sections 48–56, cards 24–32 */
.display { font-size: clamp(48px, 6.2vw, 88px); line-height: .98; }
.h2 { font-size: clamp(36px, 4.4vw, 56px); }
@media (max-width: 560px) { .display { font-size: 50px; } .h2 { font-size: 38px; } }

/* ---------- Hero showcase: tablet + phone ---------- */
.showcase { position: relative; height: clamp(460px, 44vw, 580px); }
.device { position: absolute; background: linear-gradient(150deg, #f7f7f5, #dcdcd7); box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(255,255,255,.85), 0 0 0 1px rgba(11,13,18,.08); }
.device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,13,18,.1); display: flex; flex-direction: column; font-size: 11px; line-height: 1.35; }
.device__screen > img, .device__screen > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.device--tablet { width: min(78%, 400px); aspect-ratio: 3 / 4; border-radius: 34px; padding: 14px; right: 2%; top: 50%; translate: 0 -50%; }
.device--tablet .device__screen { border-radius: 22px; }
.device--phone { width: clamp(150px, 15vw, 196px); aspect-ratio: 9 / 19.2; border-radius: 32px; padding: 7px; left: 4%; bottom: 2%; z-index: 2; }
.device--phone .device__screen { border-radius: 26px; }
.device--phone .device__screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #111; z-index: 5; }
.device--phone .ui-body { padding: 10px 12px 12px; gap: 8px; font-size: 10px; }
.device--phone .ui-title { font-size: 15px; }
.showcase .device { animation: phoneIn 1000ms var(--ease-out) both; }
.showcase .device--tablet { animation-delay: 250ms; }
.showcase .device--phone { animation-delay: 400ms; }

.kiosk { flex: 1; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 18px; padding: 22px 24px 24px; background: linear-gradient(180deg, #fff, #fbfbfa); }
.kiosk__top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.kiosk__brand { width: 18px; height: 18px; border-radius: 6px; background: #ff5a36; }
.kiosk__q { align-self: end; font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.01em; color: var(--ink); text-align: center; text-wrap: balance; }
.kiosk__rates { display: flex; justify-content: center; gap: 10px; }
.k-rate { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 15px; color: var(--muted); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.k-rate.is-on { background: #ff5a36; color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 90, 54, .8); transform: scale(1.08); }
.kiosk__btn { height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.kiosk__foot { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 11.5px; }
.kiosk__foot .ui-avatar { width: 22px; height: 22px; font-size: 9px; }

@media (max-width: 860px) {
  .showcase { height: 520px; margin-top: 8px; }
  .device--tablet { width: min(76%, 360px); right: 0; }
  .device--phone { width: 150px; left: 0; }
}
@media (max-width: 560px) {
  .showcase { height: 440px; }
  .device--tablet { width: 78%; padding: 10px; border-radius: 26px; }
  .device--tablet .device__screen { border-radius: 17px; }
  .kiosk { padding: 16px; gap: 12px; }
  .kiosk__q { font-size: 22px; }
  .k-rate { width: 32px; height: 32px; font-size: 12px; }
  .kiosk__rates { gap: 6px; }
  .kiosk__btn { height: 38px; font-size: 12px; }
  .device--phone { width: 128px; border-radius: 26px; padding: 6px; }
  .device--phone .device__screen { border-radius: 21px; font-size: 9px; }
  .device--phone .ui-body { padding: 8px 9px; gap: 6px; }
  .device--phone .ui-title { font-size: 13px; }
  .device--phone .ui-mono[style] { font-size: 18px !important; }
  .device--phone .ui-btn { height: 30px; font-size: 10px; }
}

/* ---------- Product rows ---------- */
.products { display: grid; gap: clamp(20px, 3vw, 32px); }
.product {
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  padding: clamp(14px, 1.6vw, 20px); border-radius: calc(var(--radius-l) + 8px);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 300ms ease;
}
.product--flip .product__visual { order: 2; }
.product__visual {
  position: relative; display: grid; place-items: end center; height: clamp(360px, 36vw, 460px);
  border-radius: var(--radius-l); overflow: hidden; background: var(--tint, var(--bg-soft)); perspective: 900px;
}
.product__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(255,255,255,.7), transparent 70%); }
.product__visual .phone { --w: clamp(220px, 21vw, 264px); position: relative; margin-bottom: -18%; transition: transform 400ms var(--ease-out); transform: translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.product__body { display: grid; gap: 14px; justify-items: start; padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.product--flip .product__body { padding: 8px 0 8px clamp(4px, 2vw, 24px); }
.product__name { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; letter-spacing: -.015em; margin-top: 6px; }
.product__tag { color: var(--muted); font-size: 17px; margin-top: -6px; }
.product__desc { color: var(--ink-2); max-width: 46ch; }
.product__list { display: grid; gap: 10px; margin: 4px 0 8px; }
.product__list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.product__list svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; color: var(--emerald); background: rgba(14, 159, 110, .1); }
@media (hover: hover) and (pointer: fine) {
  .product:hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); }
  .product:hover .product__visual .phone { transform: translateY(-10px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
}
.product-next {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  padding: 22px 26px; border-radius: var(--radius-l); border: 1px dashed var(--line-strong); background: var(--bg-soft);
}
.product-next b { display: block; font-weight: 600; letter-spacing: -.01em; }
.product-next span { color: var(--muted); font-size: 15px; }
.future-grid--sm { grid-template-columns: repeat(3, 28px); gap: 6px; }
.future-grid--sm span { width: 28px; height: 28px; border-radius: 9px; }
.future-grid--sm span:nth-child(2) { background: var(--cobalt); color: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 6px 14px -6px rgba(36,70,240,.6); }
@media (max-width: 860px) {
  .product, .product--flip { grid-template-columns: 1fr; }
  .product--flip .product__visual { order: 0; }
  .product__body, .product--flip .product__body { padding: 4px 10px 14px; }
  .product-next { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .product__visual { height: 320px; } .product__visual .phone { --w: 210px; } }

/* ---------- Creator ---------- */
.creator { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.creator__photo { margin: 0; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(36, 70, 240, .22), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(14, 159, 110, .12), transparent 60%),
    linear-gradient(160deg, #f3f4f8, #e6e8ef);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  display: grid; place-items: center;
}
.portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__mono { font-family: var(--display); font-size: clamp(96px, 11vw, 150px); line-height: 1; letter-spacing: -.02em; color: rgba(11, 13, 18, .82); }
.portrait__cap { position: absolute; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); color: var(--ink-2); }
.creator__copy { display: grid; gap: 20px; justify-items: start; }
.creator__quote { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.creator__quote em { font-style: italic; font-family: var(--display); font-size: 1.2em; color: var(--cobalt); }
.creator .story__sig { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: 100%; margin-top: 12px; border-radius: var(--radius); overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.stat { background: var(--bg); padding: 20px 20px 22px; display: grid; gap: 6px; align-content: start; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 3.6vw, 48px); line-height: 1; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 860px) {
  .creator { grid-template-columns: 1fr; }
  .creator__photo { max-width: 420px; }
}
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat { grid-template-columns: 96px 1fr; align-items: center; } }

/* ---------- Depth: glow sections, hairline separators ---------- */
.section--glow { position: relative; background: radial-gradient(900px 420px at 15% 0%, rgba(36, 70, 240, .06), transparent 70%), radial-gradient(700px 360px at 100% 100%, rgba(14, 159, 110, .05), transparent 70%); }
.section--soft { position: relative; }
.section--soft::before, .section--glow::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(760px, 80%); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.bento__tile { box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(11,13,18,.03); transition: box-shadow 300ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bento__tile:not(.bento__tile--hero):hover { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow); transform: translateY(-2px); } }
.pill--live::before { background: var(--emerald); }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.footer__contact { margin-top: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.footer__contact a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .showcase .device { animation: fadeOnly 400ms ease both; }
  .product__visual .phone { transform: none !important; transition: none; }
}
/* v5 fix: keep the entrance animation's `translate` free for motion */
.device--tablet { top: 50%; translate: none; transform: translateY(-50%); }
.device--phone { bottom: 6%; left: 2%; }
@media (max-width: 860px) { .device--phone { bottom: 4%; } }
/* v5 fix: devices side by side with a slight overlap, so no kiosk content is hidden */
.showcase { height: clamp(480px, 42vw, 580px); }
.device--tablet { right: 0; width: min(71%, 392px); }
.device--phone { left: 0; bottom: 4%; width: clamp(140px, 13vw, 176px); }
@media (max-width: 860px) {
  .showcase { height: 500px; max-width: 520px; margin-inline: auto; width: 100%; }
  .device--tablet { width: 72%; }
  .device--phone { width: 30%; bottom: 3%; }
}
@media (max-width: 560px) {
  .showcase { height: 380px; }
  .device--tablet { width: 72%; }
  .device--phone { width: 31%; }
  .kiosk__q { font-size: 19px; }
  .k-rate { width: 26px; height: 26px; font-size: 10.5px; }
  .kiosk__rates { gap: 5px; }
  .kiosk__top { font-size: 9px; }
  .kiosk__foot { font-size: 9.5px; }
}
@media (max-width: 560px) { .device--phone .ui-mono[style] { font-size: 14px !important; } .device--phone .ui-card { padding: 8px; } }

/* ---------- Product gallery (drawn screens now; real screenshots drop into .phone__screen as <img>) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; display: grid; gap: 18px; justify-items: center; padding: 32px 20px 24px; border-radius: var(--radius-l); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.shot .phone { --w: min(240px, 100%); }
.shot .phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { display: flex; align-items: baseline; gap: 10px; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.shot__n { font-family: var(--mono); font-size: 11px; font-weight: 450; color: var(--cobalt); letter-spacing: .1em; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
}
/* While the gallery still shows drawn screens, mobile already sees them inside each chapter — skip the repeat. Remove .is-drawn once real screenshots are in. */
@media (max-width: 860px) { #gallery.is-drawn { display: none; } }
/* screenshots: size the screen to the image, the frame follows (no cropping) */
.phone--shot, .device--shot { aspect-ratio: auto; height: auto; }
.phone--shot .phone__screen, .device--shot .device__screen { height: auto; aspect-ratio: 900 / 1560; }
.device--shot { padding: 7px; }

/* ---------- Real screenshots (900×1560, status bar trimmed) ---------- */
.phone--shot .phone__screen::before, .device--shot .device__screen::before { display: none; }
.phone--shot .phone__screen { background: #0b1220; }
.phone__screen > img, .phone__screen .screen > img, .device__screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone__screen--shot .screen { filter: none; }
/* On mobile each chapter already shows its screen, so the gallery would repeat them. */
@media (max-width: 860px) { #gallery { display: none; } }
/* v7: screenshots are now 900×2000 (9:20) — back to the original tall frames */
.phone--shot { aspect-ratio: 9 / 19.2; height: auto; }
.device--shot { aspect-ratio: 9 / 19.2; height: auto; padding: 7px; }
.phone--shot .phone__screen, .device--shot .device__screen { height: 100%; aspect-ratio: auto; }

/* ---------- Real app icons ---------- */
.app-card__icon--img { background: none !important; padding: 0; overflow: hidden; box-shadow: 0 1px 2px rgba(11,13,18,.08), 0 6px 16px -8px rgba(11,13,18,.35); border-radius: 22.5%; }
.app-card__icon--img img { width: 100%; height: 100%; display: block; }
.p-hero__id .app-card__icon--img { width: 64px; height: 64px; border-radius: 22.5%; }
.anpc-sal { display: inline-block; line-height: 0; border-radius: 6px; transition: opacity 200ms ease; }
.anpc-sal img { width: 201px; height: 50px; }
@media (hover: hover) and (pointer: fine) { .anpc-sal:hover { opacity: .85; } }
