/* ==========================================================================
   Gurbetci — landing
   Apple-style: solid colours, SF Pro, no decorative gradients or glows.
   ========================================================================== */
:root {
  --bg: #000;
  --surface: #161617;
  --surface-2: #1d1d1f;
  --line: rgba(255, 255, 255, .12);
  --text: #f5f5f7;
  --muted: #86868b;
  --light-bg: #f5f5f7;
  --light-text: #1d1d1f;
  --light-muted: #6e6e73;
  --blue: #0071e3;        /* Apple button blue */
  --blue-link: #2997ff;   /* link blue on dark */
  --imsg: #0a84ff;        /* iMessage bubble */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --radius: 28px;
  --wrap: 1200px;
  --nav-h: 52px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 17px; line-height: 1.47; letter-spacing: -.022em; font-weight: 400;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--blue-link); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(0, 113, 227, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.dim { color: var(--muted); }
.muted { color: var(--muted); }

.eyebrow { margin: 0 0 12px; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.012em; color: var(--muted); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; }
h2 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 24px; line-height: 1.17; letter-spacing: -.022em; }
.lead { margin: 20px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.43; letter-spacing: -.012em; color: var(--muted); max-width: 560px; }
.light .lead { color: var(--light-muted); }

/* ---------- nav over light sections ---------- */
.nav.on-light, .nav.scrolled.on-light { background: rgba(245, 245, 247, .8); color: var(--light-text); border-color: rgba(0, 0, 0, .08); }
.nav.on-light .nav-links { color: rgba(29, 29, 31, .8); }
.nav.on-light .nav-links a:hover { color: #000; }
.nav.on-light .lang-btn { color: rgba(29, 29, 31, .85); }
.nav.on-light .lang-btn:hover, .nav.on-light .lang.open .lang-btn { background: rgba(0, 0, 0, .06); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, color .3s; }
.nav.scrolled { border-color: rgba(255, 255, 255, .08); }
.nav-inner { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.logo-mark { width: 16px; height: 24px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 13px; letter-spacing: -.01em; color: rgba(245, 245, 247, .8); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: -.01em; transition: background .2s; }
.btn-pill:hover { background: #0077ed; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0; color: rgba(245, 245, 247, .85); transition: background .2s; }
.lang-btn:hover, .lang.open .lang-btn { background: rgba(255, 255, 255, .1); }
.lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: rgba(29, 29, 31, .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); color: var(--text);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.lang-menu a small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.lang-menu a:hover { background: rgba(255, 255, 255, .08); }
.lang-menu a[aria-current] { background: rgba(255, 255, 255, .1); }

.burger { display: none; width: 36px; height: 36px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:first-child { top: 14px; } .burger span:last-child { top: 21px; }
.nav.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { display: none; }

/* ==========================================================================
   Store buttons (App Store badge style)
   ========================================================================== */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-row.center { justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 12px;
  background: #000; border: 1px solid #a6a6a6; color: #fff; transition: background .2s, border-color .2s; }
.store-btn:hover { background: #1d1d1f; border-color: #d2d2d7; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: 11px; letter-spacing: 0; }
.store-btn b { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(60px, 10vh, 120px)); text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; will-change: transform, opacity; }
.hero-title { font-size: clamp(56px, 9.5vw, 124px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .w > span { display: inline-block; }
.js .hero-title .w > span { transform: translate3d(0, 105%, 0); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(.1s + var(--i) * .08s); }
.js .hero-title.in .w > span { transform: none; opacity: 1; }
.hero-sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.38; letter-spacing: -.016em; color: var(--muted); }
.hero .store-row { --d: .5s; }
.proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 26px; font-size: 14px; letter-spacing: -.01em; color: var(--muted); }
.proof strong { color: var(--text); font-weight: 600; }
.avatars { display: flex; }
.avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #000; object-fit: cover; }
.avatars img + img { margin-left: -9px; }
.proof .dot { width: 3px; height: 3px; border-radius: 50%; background: #424245; }
.stars { display: inline-flex; align-items: center; gap: 6px; }
.stars svg { width: 15px; height: 15px; color: #f5f5f7; }

.hero-stage { position: relative; margin-top: clamp(40px, 7vh, 80px); perspective: 1600px; }
.hero-device { width: min(1100px, 118vw); margin: 0 auto; transform-origin: 50% 0; will-change: transform;
  -webkit-mask-image: linear-gradient(#000 60%, transparent 98%); mask-image: linear-gradient(#000 60%, transparent 98%); }
.hero-device img { width: 100%; }

/* ==========================================================================
   Statement (scroll-lit words)
   ========================================================================== */
.statement { padding: clamp(60px, 14vh, 180px) 0; }
.statement p { margin: 0 auto; max-width: 980px; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 56px); font-weight: 600; line-height: 1.14; letter-spacing: -.028em; }
.statement .sw { color: #333336; transition: color .35s ease; }
.statement .sw.lit { color: var(--text); }

/* ==========================================================================
   Split sections
   ========================================================================== */
.split { padding: clamp(80px, 12vh, 160px) 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-visual { display: flex; justify-content: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.pills li { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--text); background: var(--surface-2); }

/* translate card */
.tcard { width: min(520px, 100%); padding: 20px; border-radius: 30px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .06); }
.tcard-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 16px; font-weight: 600; font-size: 17px; }
.tcard-head svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; color: var(--muted); }
.tcard-dots { margin-left: auto; display: flex; gap: 5px; }
.tcard-dots b { width: 6px; height: 6px; border-radius: 3px; background: #424245; transition: width .4s var(--ease), background .4s; }
.tcard-dots b.on { width: 18px; background: #f5f5f7; }
.tbubble { position: relative; padding: 16px 74px 18px 18px; border-radius: 20px; background: var(--surface-2); min-height: 114px; }
.tbubble + .tbubble { margin-top: 10px; }
.tlang { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ttext { margin: 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; min-height: 2.6em; }
.ttext .tw { display: inline-block; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.ttext.show .tw { opacity: 1; transform: none; }
.ttext.wait { color: var(--muted); animation: breathe 1.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
.caret-t::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: var(--imsg); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tspeak { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--imsg); color: #fff; }
.tspeak svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tbubble.to.speaking .tspeak { animation: pulse 1.2s var(--ease) 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 132, 255, .5); } 100% { box-shadow: 0 0 0 16px rgba(10, 132, 255, 0); } }

/* round flags (solid stripes) */
.flag { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); overflow: hidden; }
.flag-tr { background: radial-gradient(circle at 60% 50%, #e30a17 0 27%, transparent 28%), radial-gradient(circle at 50% 50%, #fff 0 34%, transparent 35%), #e30a17; }
.flag-de { background: linear-gradient(#000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag-pl { background: linear-gradient(#fff 50%, #dc143c 50%); }
.flag-ru { background: linear-gradient(#fff 33.3%, #0039a6 33.3% 66.6%, #d52b1e 66.6%); }
.flag-eu { background: radial-gradient(circle, transparent 0 33%, #ffcc00 34% 42%, transparent 43%), #003399; }
.flag-en { background: linear-gradient(90deg, transparent 43%, #c8102e 43% 57%, transparent 57%), linear-gradient(transparent 43%, #c8102e 43% 57%, transparent 57%),
  linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%), linear-gradient(transparent 36%, #fff 36% 64%, transparent 64%), #012169; }

/* discover phone */
.phone { width: 330px; max-width: 100%; aspect-ratio: 330 / 680; padding: 10px; border-radius: 56px; background: #1d1d1f;
  box-shadow: 0 0 0 1px #3a3a3c, 0 40px 80px rgba(0, 0, 0, .5); }
.phone-screen { position: relative; height: 100%; border-radius: 47px; overflow: hidden; padding: 14px 16px; background: #000; }
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 2px 10px 0; }
.phone-status i { width: 96px; height: 28px; border-radius: 16px; background: #1d1d1f; }
.phone-status .bars { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, .8); }
.disc-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 4px 14px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.disc-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.disc-prompt { padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.35; min-height: 44px; background: #1c1c1e; border: 1px solid #3a3a3c; }
.disc-prompt .caret { display: inline-block; width: 1.5px; height: 14px; vertical-align: -2px; margin-left: 1px; background: var(--imsg); animation: blink 1s steps(1) infinite; }
.disc-list { list-style: none; margin: 14px 0 0; padding: 0; }
.disc-list li { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; letter-spacing: -.01em; color: rgba(245, 245, 247, .85);
  opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease), background .4s; transition-delay: calc(var(--i) * 70ms); border-radius: 10px; }
.disc-list li > span:nth-child(2) { flex: 1; }
.disc-list li > svg { width: 14px; height: 14px; fill: none; stroke: #636366; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.disc-list .ci { width: 22px; display: grid; place-items: center; }
.disc-list .ci svg { width: 17px; height: 17px; fill: none; stroke: #aeaeb2; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-discover].listed .disc-list li { opacity: 1; transform: none; }
[data-discover].matched .disc-list li.hit { background: var(--imsg); color: #fff; }
[data-discover].matched .disc-list li.hit svg { stroke: #fff; }
html:not(.js) .disc-list li { opacity: 1; transform: none; }

/* ==========================================================================
   Animated scenes (bubbles & mini widgets)
   ========================================================================== */
.scene { position: relative; overflow: hidden; border-radius: 22px; background: var(--light-bg); color: var(--light-text); }
.stage { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  -webkit-mask-image: linear-gradient(transparent, #000 44px); mask-image: linear-gradient(transparent, #000 44px);
  transition: opacity .45s ease; font-size: 15px; line-height: 1.32; letter-spacing: -.016em; }
.stage.fade { opacity: 0; }
.stage > * { flex: none; transition: opacity .45s var(--ease), transform .55s var(--spring); }
.stage > .enter { opacity: 0; transform: translateY(10px) scale(.9); }
.b { max-width: 84%; padding: 8px 13px 9px; border-radius: 19px; overflow-wrap: anywhere; }
.b.in { align-self: flex-start; background: #e9e9eb; color: #000; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.b.out { align-self: flex-end; background: #0a7cff; color: #fff; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.b .who { display: block; font-size: 11.5px; font-weight: 600; color: #8e8e93; margin-bottom: 1px; letter-spacing: -.005em; }
.b .lbl { display: block; font-size: 11px; font-weight: 600; opacity: .6; margin-bottom: 2px; letter-spacing: 0; }
.b.typing-caret::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: blink 1s steps(1) infinite; }
.dots { display: inline-flex; gap: 4px; padding: 4px 1px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 500; color: var(--light-text); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.sys svg { width: 15px; height: 15px; color: #34c759; }

.wcard { align-self: stretch; background: #fff; color: #1d1d1f; border-radius: 18px; padding: 14px 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .04); font-size: 14px; }
.wcard .wt { font-weight: 600; font-size: 15px; }
.wcard .ws { color: #8e8e93; font-size: 12px; }
/* fx */
.fx-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.fx-row + .fx-row { border-top: 1px solid #f0f0f2; }
.fx-row .flag { width: 26px; height: 26px; }
.fx-row b { display: block; font-size: 14px; font-weight: 600; }
.fx-row small { display: block; font-size: 11px; color: #8e8e93; }
.fx-row .v { margin-left: auto; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fx-row.base .v { color: #0a7cff; }
.fx-row.base .v.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #0a7cff; animation: blink 1s steps(1) infinite; }
/* post */
.post-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1d1d1f; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.post-t { min-height: 2.6em; }
.post-f { display: flex; gap: 16px; margin-top: 10px; color: #8e8e93; font-size: 13px; }
.post-f span { display: inline-flex; align-items: center; gap: 5px; }
.post-f svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--spring), color .2s, fill .2s; }
.post-f .liked { color: #ff375f; }
.post-f .liked svg { fill: currentColor; transform: scale(1.25); }
/* route */
.route { position: relative; padding-left: 22px; }
.route::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 2px; background: #d1d1d6; transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform 1s var(--ease); }
.route div { position: relative; padding: 3px 0; font-weight: 600; font-size: 15px; }
.route div::before { content: ""; position: absolute; left: -22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2.5px solid #1d1d1f; background: #fff; box-sizing: border-box; }
.route div:last-child::before { background: #1d1d1f; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { padding: 4px 9px; border-radius: 8px; background: #f2f2f7; font-size: 12px; font-weight: 500; }
/* news */
.news-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.news-l { margin: 0; padding: 0; list-style: none; }
.news-l li { position: relative; padding: 7px 0 7px 14px; min-height: 1.3em; border-top: 1px solid #f0f0f2; font-size: 13.5px; }
.news-l li:empty::before { display: none; }
.news-l li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: #1d1d1f; }
/* qr */
.qr-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge { padding: 3px 8px; border-radius: 6px; background: #e8f8ec; color: #1f8a3b; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 126px; margin: 0 auto; aspect-ratio: 1; }
.qr i { background: #1d1d1f; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--spring); transition-delay: var(--t); }
.qr i.o { background: transparent; }
.qr.on i { opacity: 1; transform: none; }
.timer { height: 4px; border-radius: 2px; background: #e5e5ea; margin-top: 12px; overflow: hidden; }
.timer i { display: block; height: 100%; background: #1d1d1f; transform-origin: left; transition: transform 5s linear; }
.qr-n { margin-top: 6px; text-align: center; }
/* esim */
.es-h { display: flex; align-items: center; gap: 10px; }
.es-h .flag { width: 28px; height: 28px; }
.bar { height: 6px; border-radius: 3px; background: #e5e5ea; margin: 12px 0 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: #0a7cff; transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease); }
.es-s { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #8e8e93; }
.es-s.ok { color: #1f8a3b; font-weight: 600; }
.es-s svg { width: 15px; height: 15px; }
/* listing */
.lst { display: flex; gap: 12px; align-items: center; }
.thumb { width: 58px; height: 58px; border-radius: 12px; background: #f2f2f7; display: grid; place-items: center; }
.thumb svg { width: 26px; height: 26px; fill: none; stroke: #1d1d1f; stroke-width: 1.5; }
.lst .pr { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
/* document */
.paper { position: relative; align-self: stretch; background: #fff; color: #1d1d1f; border-radius: 16px; padding: 18px 18px 14px; overflow: hidden; }
.paper .pf { font-size: 11px; color: #8e8e93; letter-spacing: .02em; text-transform: uppercase; }
.paper .ptl { font-size: 17px; font-weight: 700; margin: 2px 0 12px; letter-spacing: -.02em; }
.paper .ln { height: 7px; border-radius: 4px; background: #e5e5ea; margin: 7px 0; transition: background .5s; }
.paper.read .ln.key { background: #0a7cff; }
.paper .scanbar { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #0a7cff; opacity: 0; }
.paper.scanning .scanbar { opacity: 1; animation: sweep 1.6s var(--ease) forwards; }
@keyframes sweep { from { top: 0; } to { top: 100%; } }

/* dark variant (document scanner section) */
.scene-dark { background: var(--surface); color: var(--text); border: 1px solid rgba(255, 255, 255, .06); }
.scene-dark .b.in { background: #2c2c2e; color: #fff; }
.scene-dark .b .who { color: #98989d; }
.scene-doc { width: min(440px, 100%); height: 580px; border-radius: 34px; }
.scene-doc .stage { padding: 22px; }

/* ==========================================================================
   Light sections
   ========================================================================== */
.light { background: var(--light-bg); color: var(--light-text); }
.light .eyebrow { color: var(--light-muted); }
.features { padding: clamp(90px, 14vh, 170px) 0; }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 7vh, 80px); }
.sec-head .lead { margin-inline: auto; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head.left .lead { margin-inline: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; grid-column: span 2; display: flex; flex-direction: column; }
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile p { margin: 8px 0 0; color: var(--light-muted); font-size: 17px; line-height: 1.42; letter-spacing: -.022em; }
.tile-copy { padding: 30px 30px 0; }
.tile .scene { flex: 1; min-height: 330px; margin: 22px; }

/* ==========================================================================
   Gallery — horizontal pinned scroll
   ========================================================================== */
.gallery { position: relative; background: var(--bg); }
.gallery-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--nav-h); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.gallery-head { margin-bottom: clamp(24px, 4vh, 44px); }
.gallery-track { display: flex; gap: 22px; padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); will-change: transform; }
.shot { margin: 0; flex: none; width: clamp(180px, min(22vw, calc((100svh - 250px) * .462)), 320px); border-radius: 32px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.shot img { width: 100%; }
.gallery-progress { width: min(240px, 60vw); height: 2px; border-radius: 2px; background: #333336; margin: clamp(24px, 4vh, 40px) auto 0; overflow: hidden; }
.gallery-progress i { display: block; height: 100%; width: 100%; background: #f5f5f7; transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   Business
   ========================================================================== */
.business { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 clamp(60px, 10vh, 120px); }
.biz-media { position: absolute; inset: 0; will-change: transform; }
.biz-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.biz-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.biz-copy { position: relative; z-index: 1; }
.biz-copy h2 { max-width: 760px; }
.biz-copy .eyebrow { color: rgba(245, 245, 247, .75); }
.biz-copy .lead { color: rgba(245, 245, 247, .85); }
.biz-free { margin: 14px 0 0; font-size: 17px; color: rgba(245, 245, 247, .7); max-width: 560px; }
.btn-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 500; font-size: 17px; transition: background .2s; }
.btn-cta svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn-cta:hover { background: #0077ed; }
.btn-cta:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: clamp(80px, 12vh, 140px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(48px, 6vw, 80px); font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 17px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(90px, 14vh, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq h2 { font-size: clamp(38px, 4.2vw, 56px); }
.acc-item { border-bottom: 1px solid #d2d2d7; }
.acc-item:first-child { border-top: 1px solid #d2d2d7; }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left;
  font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.02em; color: var(--light-text); }
.acc-q i { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #e8e8ed; transition: background .3s, transform .5s var(--ease); }
.acc-q i::before, .acc-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.8px; margin: -.9px 0 0 -5px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.acc-q i::after { transform: rotate(90deg); }
.acc-q[aria-expanded="true"] i { transform: rotate(180deg); background: var(--light-text); color: #fff; }
.acc-q[aria-expanded="true"] i::after { transform: rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { margin: 0; padding: 0 48px 24px 0; color: var(--light-muted); font-size: 17px; line-height: 1.5; }
.acc-a a { color: #0066cc; }
.acc-item.open .acc-a { grid-template-rows: 1fr; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; padding: clamp(110px, 18vh, 200px) 0; text-align: center; overflow: hidden; }
.cta-inner { position: relative; }
.cta-inner .lead { margin-inline: auto; }
.cta h2 { font-size: clamp(48px, 7.5vw, 96px); letter-spacing: -.035em; line-height: 1.04; }
.cta-logo { width: 70px; height: 104px; margin: 0 auto 34px; overflow: visible; }
.cta-logo circle, .cta-logo path { fill: none; stroke: #f5f5f7; stroke-width: 76; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.cta-logo path { transition-delay: .5s; }
.cta-logo.in circle, .cta-logo.in path, html:not(.js) .cta-logo circle, html:not(.js) .cta-logo path { stroke-dashoffset: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--light-bg); color: var(--light-muted); padding: 56px 0 26px; font-size: 13px; letter-spacing: -.01em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--light-text); margin-bottom: 12px; }
.footer-brand p { margin: 6px 0; max-width: 320px; }
.footer .muted { color: #86868b; }
.footer h4 { margin: 0 0 12px; color: var(--light-text); font-size: 13px; font-weight: 600; }
.footer-grid > div > a { display: block; padding: 4px 0; }
.footer-grid > div > a:hover { color: var(--light-text); text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #e8e8ed; color: var(--light-text); transition: background .2s; }
.socials a:hover { background: #dcdce1; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #d2d2d7; font-size: 12px; color: #86868b; }

/* ==========================================================================
   Legal
   ========================================================================== */
.legal { padding: calc(var(--nav-h) + 72px) 0 120px; }
.legal-wrap { max-width: 800px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-link); font-size: 15px; margin-bottom: 34px; }
.legal-back:hover { text-decoration: underline; }
.legal-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal h1 { font-size: clamp(40px, 6vw, 56px); letter-spacing: -.03em; }
.legal-owner { margin: 18px 0 0; color: var(--muted); }
.legal-owner a, .legal-note a { color: var(--blue-link); }
.legal-note { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--surface); font-size: 14px; color: var(--muted); }
.legal-sec { padding: 32px 0; border-bottom: 1px solid #333336; }
.legal-sec:first-of-type { margin-top: 30px; border-top: 1px solid #333336; }
.legal-sec h2 { font-size: 22px; letter-spacing: -.02em; }
.legal-sec p, .legal-sec li { color: #d2d2d7; font-size: 17px; line-height: 1.6; }
.legal-sec p { margin: 12px 0 0; }
.legal-sec ul { margin: 12px 0 0; padding-left: 22px; }
.legal-sec li + li { margin-top: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.half { grid-column: span 1; }
  .tile.wide { grid-column: span 2; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 820px) {
  .burger { display: block; }
  .btn-pill { display: none; }
  .mnav { display: flex; flex-direction: column; position: fixed; inset: var(--nav-h) 0 auto; height: calc(100dvh - var(--nav-h)); padding: 24px 24px 40px;
    background: #000; color: var(--text); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
  .nav.menu-open, .nav.menu-open.on-light { background: #000; color: var(--text); }
  .mnav > a { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid #333336; }
  .mnav .store-row { margin-top: auto; }

  .split-grid { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .split-copy { text-align: center; }
  .split-copy .lead { margin-inline: auto; }
  .pills { justify-content: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .sec-head.left { text-align: center; }
  .sec-head.left .lead { margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .business { min-height: 88vh; }
}

@media (max-width: 600px) {
  .wrap, .nav-inner { padding-inline: 16px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile, .tile.wide, .tile.half { grid-column: span 1; }
  .tile-copy { padding: 26px 22px 0; }
  .tile .scene { margin: 18px; min-height: 320px; }
  .store-btn { height: 52px; padding: 0 16px 0 14px; }
  .store-btn b { font-size: 18px; }
  .store-row.center .store-btn { flex: 1 1 160px; justify-content: center; max-width: 220px; }
  .proof .dot { display: none; }
  .hero-device { width: 150vw; margin-left: -25vw; }
  .tbubble { padding-right: 64px; }
  .tspeak { width: 40px; height: 40px; }
  .phone { width: 300px; }
  .scene-doc { height: 540px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .acc-a p { padding-right: 0; }
}

/* Mobile/tablet gallery: native swipe instead of pinned scroll */
@media (max-width: 900px), (hover: none) {
  .gallery-sticky { position: relative; height: auto; padding: 90px 0; }
  .gallery { height: auto !important; }
  .gallery-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; transform: none !important; padding-bottom: 10px; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; width: min(68vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-title .w > span { opacity: 1; transform: none; }
  .statement .sw { color: var(--text); }
  .disc-list li { opacity: 1; transform: none; }
}

/* ==========================================================================
   Layout-stable animation slots: every possible text is stacked invisibly,
   so the slot always has the size of its largest state (no page shift).
   ========================================================================== */
.ttext, .disc-prompt { display: grid; }
.ttext > *, .disc-prompt > * { grid-area: 1 / 1; }
.ghost { visibility: hidden; pointer-events: none; }
.ttext { min-height: 0; }
.ttext .live.show .tw { opacity: 1; transform: none; }
.ttext .live.wait { color: var(--muted); animation: breathe 1.2s ease-in-out infinite; }
.tile .scene { flex: none; height: 340px; min-height: 0; }

/* ==========================================================================
   Sub pages
   ========================================================================== */
.more { display: inline-flex; align-items: center; gap: 2px; margin-top: 22px; color: var(--blue-link); font-size: 17px; letter-spacing: -.022em; }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(2px); }
.light .more, .more.dark { color: #0066cc; }
.pills + .more { display: flex; width: fit-content; }
.center { text-align: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-row.center { justify-content: center; }
.btn-row .btn-cta { margin-top: 0; }
.btn-ghost { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(245, 245, 247, .5);
  color: var(--text); font-size: 17px; transition: background .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--text); }

.phero { padding: calc(var(--nav-h) + clamp(70px, 12vh, 140px)) 0 clamp(60px, 10vh, 110px); text-align: center; }
.phero .eyebrow { font-size: 21px; }
.phero-title { font-size: clamp(48px, 8vw, 104px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; }
.phero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.phero-title .w > span { display: inline-block; }
.js .phero-title .w > span { transform: translate3d(0, 105%, 0); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); transition-delay: calc(.1s + var(--i) * .07s); }
.js .phero-title.in .w > span { transform: none; opacity: 1; }
.phero-sub { margin: 24px auto 0; max-width: 680px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -.016em; color: var(--muted); }
.phero .pills, .phero .store-row { justify-content: center; }

.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: clamp(50px, 8vh, 90px); }
.jump a { padding: 9px 18px; border-radius: 999px; background: var(--surface-2); font-size: 15px; transition: background .2s; }
.jump a:hover { background: #2c2c2e; }

.fgroup { padding: clamp(90px, 13vh, 150px) 0; }
.frow { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 5vh, 56px) 0; }
.frow.flip .frow-copy { order: 2; }
.frow h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.08; }
.frow p { margin: 16px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.016em; color: var(--muted); max-width: 480px; }
.light .frow p { color: var(--light-muted); }
.scene-lg { height: 460px; border-radius: 30px; }
.light .scene-lg { background: #fff; }
.light .scene-lg .b.in { background: #e9e9eb; }
.light .scene-lg .wcard { box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 4px 16px rgba(0, 0, 0, .05); }
.scene-mid { height: 480px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 34px 30px 36px; }
.card h3 { margin-top: 20px; }
.card p { margin: 10px 0 0; color: var(--light-muted); font-size: 17px; line-height: 1.45; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--light-bg); display: grid; place-items: center; }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--light-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.privacy, .values, .steps { padding: clamp(90px, 13vh, 150px) 0; }
.privacy .center { margin-top: 36px; }

.bhero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 clamp(70px, 12vh, 130px); }
.bhero-copy { position: relative; z-index: 1; }
.bhero .eyebrow { color: rgba(245, 245, 247, .75); font-size: 21px; }
.bhero .phero-sub { margin-left: 0; color: rgba(245, 245, 247, .85); }
.bhero .phero-title { max-width: 900px; }

.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps-list li { background: #fff; border-radius: var(--radius); padding: 34px 30px 38px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--light-text); color: #fff; font-weight: 600; font-size: 17px; letter-spacing: 0; }
.steps-list h3 { margin-top: 22px; }
.steps-list p { margin: 10px 0 0; color: var(--light-muted); font-size: 17px; line-height: 1.45; }

/* business widgets */
.biz-top { display: flex; align-items: center; gap: 10px; }
.biz-logo { width: 40px; height: 40px; border-radius: 12px; background: #1d1d1f; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13px; letter-spacing: 0; }
.chips .ok { background: #e8f8ec; color: #1f8a3b; }
.biz-btn { display: block; margin-top: 12px; padding: 9px; border-radius: 12px; background: #0a7cff; color: #fff; text-align: center; font-size: 14px; font-weight: 600; }
.promo-img { height: 92px; border-radius: 12px; background: #f2f2f7; display: grid; place-items: center; margin-bottom: 10px; }
.promo-img svg { width: 34px; height: 34px; fill: none; stroke: #8e8e93; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.promo .post-t { min-height: 0; }

.nav-links a[aria-current="page"] { color: #fff; }
.nav.on-light .nav-links a[aria-current="page"] { color: #000; }

@media (max-width: 900px) {
  .frow, .frow.flip { grid-template-columns: 1fr; gap: 28px; }
  .frow.flip .frow-copy { order: 0; }
  .frow-copy { text-align: center; }
  .frow p { margin-inline: auto; }
  .cards3, .steps-list { grid-template-columns: 1fr; }
  .bhero { min-height: 92svh; }
  .bhero .btn-row.center { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .scene-lg { height: 400px; }
  .scene-mid { height: 460px; }
  .tile .scene { height: 320px; }
  .btn-row .btn-cta, .btn-row .btn-ghost { flex: 1 1 auto; justify-content: center; }
}
