/* HeyLink.me PRO features landing.
   Brand tokens mirror heylink.me/app/static/src/scss/v2/varibles.scss */

:root {
  --primary: #3a3aa8;
  --turquoise: #02d6d5;
  --coral: #ef6959;
  --blue: #009bff;
  --ink: #1f3447;
  --slate: #6d60ee;
  --rose: #ff546b;
  --bg: #fafafc;
  --tint: #f2f3fb;
  --footer-bg: #f5f5f5;
  --muted: #52627a;
  --line: #e4e6f1;
  --night: #100f36;
  --night-2: #1b1a55;
  --ok: #0f9f8f;
  --grad: linear-gradient(90deg, var(--primary), var(--turquoise));
  --grad-warm: linear-gradient(90deg, #ff862e, #f90d2b);
  --radius: 8px;
  --radius-lg: 20px;
  --hdr-h: 72px;
  --shadow: 0 30px 60px -20px rgba(31, 52, 71, .25), 0 10px 20px -10px rgba(31, 52, 71, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --z-ghost: 30;
  --z-chapters: 40;
  --z-header: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 64px); }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--xs { width: 12px; height: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 22px;
  border-radius: var(--radius); border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 30px -10px rgba(239, 105, 89, .7); }
.btn--primary:hover { background: var(--blue); box-shadow: 0 12px 30px -10px rgba(0, 155, 255, .7); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn .i { transition: transform .2s var(--ease); }
/* Final CTA: warm pill with a spinning gradient ring, a matching blurred halo and a periodic shine.
   The button is its own stacking context, so both layers live in pseudo-elements:
   halo (::before, z -2) under ring + fill + shine (::after, z -1) under the label. */
@property --ring { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.btn--glow {
  position: relative; isolation: isolate; gap: 14px; min-height: 64px; padding: 12px 14px 12px 34px;
  border-radius: 999px; background: none; color: #fff; font-size: 18px; letter-spacing: -.01em;
  box-shadow: 0 18px 40px -14px rgba(239, 105, 89, .75);
}
.btn--glow::before {
  content: ''; position: absolute; inset: -8px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--ring), #ff862e, #ff546b, #6d60ee, #02d6d5, #ff862e);
  filter: blur(20px); opacity: .5; transition: opacity .3s, inset .3s var(--ease);
  animation: ring-spin 4s linear infinite;
}
.btn--glow::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border: 2px solid transparent; border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%) padding-box no-repeat,
    linear-gradient(135deg, #ff862e, #ef6959 48%, #ff546b) padding-box,
    conic-gradient(from var(--ring), #ffd29a, #ff546b, #6d60ee, #02d6d5, #ffd29a) border-box;
  background-size: 250% 100%, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: ring-spin 4s linear infinite, glow-sweep 3.6s var(--ease) infinite;
}
.btn--glow:hover::before { opacity: .85; inset: -12px; }
.btn__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: #ef6959; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35); transition: transform .3s var(--ease);
}
.btn--glow:hover .btn__arrow { transform: translateX(4px); }
.btn--glow:hover .btn__arrow .i { transform: none; }
[dir="rtl"] .btn--glow { padding: 12px 34px 12px 14px; }
[dir="rtl"] .btn--glow:hover .btn__arrow { transform: translateX(-4px); }
[dir="rtl"] .btn__arrow use[href="#i-arrow"] { transform: scaleX(-1); transform-origin: center; }
@keyframes ring-spin { to { --ring: 360deg; } }
@keyframes glow-sweep { 0%, 55% { background-position: 150% 0, 0 0, 0 0; } 100% { background-position: -50% 0, 0 0, 0 0; } }
.final .hero__ctas { align-items: center; gap: 18px; }
.final .btn--glass { min-height: 64px; padding: 12px 32px; border-radius: 999px; font-size: 18px; }
.btn:hover .i { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--primary); text-decoration: none; }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow--light { color: #fff; margin-top: 18px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec--dark .grad-text, .hero .grad-text, .final .grad-text { background-image: linear-gradient(90deg, #8f8fff, var(--turquoise)); }
.grad-text--warm, .sec--dark .grad-text--warm, .final .grad-text--warm { background-image: linear-gradient(90deg, #ffa24d, #ff546b); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(58, 58, 168, .08); color: var(--primary);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow b { color: var(--coral); }
.eyebrow--light { background: rgba(255, 255, 255, .12); color: #fff; }
.eyebrow--light b { color: var(--turquoise); }

.badge-pro { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; }

/* ---------- logo ----------
   Official HeyLink.me mark (4 link pieces) with a living gradient, a snap-together
   intro and a hover "unlink / relink" micro-interaction. */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 12px rgba(72, 214, 213, .45)); transition: filter .4s; }
.logo__mark svg { width: 100%; height: 100%; overflow: visible; }
.logo__mark path { fill: url(#g-logo); transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); animation: piece-in 1s var(--ease) both; }
.logo__mark path:nth-child(1) { --dx: 5px; --dy: -5px; animation-delay: .05s; }
.logo__mark path:nth-child(2) { --dx: -5px; --dy: 5px; animation-delay: .15s; }
.logo__mark path:nth-child(3) { --dx: 5px; --dy: 5px; animation-delay: .25s; }
.logo__mark path:nth-child(4) { --dx: -5px; --dy: -5px; animation-delay: .35s; }
@keyframes piece-in { from { opacity: 0; transform: translate(calc(var(--dx) * 3), calc(var(--dy) * 3)) scale(.5) rotate(-20deg); } }
.logo:hover .logo__mark { filter: drop-shadow(0 0 18px rgba(109, 96, 238, .7)); }
.logo:hover .logo__mark path { transform: translate(var(--dx), var(--dy)); }
.logo:active .logo__mark path { transform: none; transition-duration: .15s; }
.logo__word { font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.logo__word em { font-style: normal; background: linear-gradient(90deg, #48d6d5, #8f8fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__pro { position: relative; padding: 4px 8px; border: 1.5px solid transparent; border-radius: 999px; background: linear-gradient(#1b1a55, #1b1a55) padding-box, linear-gradient(90deg, #48d6d5, #6d60ee, #ff6b8b) border-box; font-size: 10px; font-weight: 800; letter-spacing: .14em; line-height: 1; overflow: hidden; }
.logo__pro::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: pro-shine 4.5s 1.2s infinite; }
@keyframes pro-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.logo--dark { color: var(--ink); }
.logo--dark .logo__mark { filter: none; }
.logo--dark .logo__word em { background-image: var(--grad); }
.logo--dark .logo__pro { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #48d6d5, #6d60ee, #ff6b8b) border-box; color: var(--primary); }
.logo--lg .logo__mark { width: 42px; height: 42px; }
.logo--lg .logo__word { font-size: 26px; }
@media (max-width: 640px) {
  .logo { gap: 8px; }
  .logo__mark { width: 28px; height: 28px; }
  .logo__word { font-size: 18px; }
}
@media (max-width: 380px) { .hdr .logo__pro { display: none; } }

/* ---------- header ----------
   Dark glass that blends into the hero: transparent over the hero mesh,
   frosted night-blue once the page scrolls. */
.hdr { position: fixed; inset: 0 0 auto; z-index: var(--z-header); color: #fff; background: transparent; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s; }
.hdr.is-scrolled, .hdr.is-menu { background: rgba(16, 15, 54, .94); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .6); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.hdr__nav { display: flex; align-items: center; gap: 16px; height: var(--hdr-h); }
.hdr__nav.container { max-width: 1360px; } /* room for longer translated nav labels */
.hdr__items .hdr__link { padding: 8px 12px; }
.hdr__items { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hdr__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; background: none; color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; border-radius: 999px; transition: color .2s, background-color .2s; }
.hdr__link:hover, .hdr__dd.is-open .hdr__dd-btn { color: #48d6d5; background: rgba(255, 255, 255, .06); }
.hdr__right { display: flex; align-items: center; gap: 6px; }
.hdr__right > .hdr__link { padding: 8px 12px; }
.hdr__dd { position: relative; }
.hdr__dd-btn .i { transition: transform .2s; }
.hdr__dd.is-open .hdr__dd-btn .i { transform: rotate(180deg); }
.hdr__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 660px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px;
  background: rgba(22, 21, 70, .92); color: #fff; border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.hdr__panel::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; } /* hover bridge */
.hdr__panel--narrow { width: 380px; grid-template-columns: 1fr; }
.hdr__dd.is-open .hdr__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr__panel a { display: flex; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.hdr__panel a:hover { background: rgba(255, 255, 255, .08); }
.hdr__panel a:hover b { color: #48d6d5; }
.hdr__panel img { width: 36px; height: 36px; flex: none; padding: 4px; border-radius: 10px; background: #fff; }
.hdr__panel b { display: block; font-size: 14px; transition: color .2s; }
.hdr__panel small { display: block; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .62); }
.hdr__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08) url('../img/header/ic_burger.svg') center / 20px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); cursor: pointer; }
.hdr__burger[aria-expanded="true"] { background-image: url('../img/header/ic_close.svg'); }
.mnav { max-height: calc(100svh - var(--hdr-h)); overflow-y: auto; padding: 8px 24px 24px; }
.mnav > a, .mnav summary { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; }
.mnav details a { display: block; padding: 10px 16px; color: rgba(255, 255, 255, .8); text-decoration: none; }
.mnav__ctas { display: grid; gap: 10px; margin-top: 20px; }
.mnav__ctas .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- language menu (header dropdown, cloned into the footer by app.js) ---------- */
.lang, .lang__btn { flex: none; }
.lang__btn { gap: 6px; padding: 8px 10px; }
.hdr__right > .btn { white-space: nowrap; }
/* Translated CTAs are longer; on narrow phones the hero CTA and the menu carry the upgrade link. */
@media (max-width: 480px) { .hdr__right > .btn { display: none; } }
.lang__flag { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25); }
.hdr .lang__name { display: none; }
.hdr__panel.lang__panel {
  left: auto; inset-inline-end: 0; width: 640px; max-height: calc(100vh - var(--hdr-h) - 24px); overflow-y: auto; overscroll-behavior: contain;
  grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 10px; transform: translateY(8px);
}
.hdr__dd.is-open .hdr__panel.lang__panel { transform: none; }
.lang__panel a { align-items: center; gap: 10px; padding: 9px 10px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.lang__panel img { width: 22px; height: 22px; padding: 0; border-radius: 50%; background: none; }
.lang__panel a.is-active { background: rgba(72, 214, 213, .14); color: #48d6d5; }
.lang__panel a.is-active::after {
  content: ''; flex: none; width: 16px; height: 16px; margin-inline-start: auto; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ftr__lang .lang__btn {
  display: inline-flex; align-items: center; padding: 6px 12px 6px 8px; border: 1px solid rgba(31, 52, 71, .16); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer;
}
.ftr__lang .lang__flag { box-shadow: 0 0 0 1px rgba(31, 52, 71, .12); }
.lang--up .hdr__panel.lang__panel { top: auto; bottom: calc(100% + 10px); inset-inline-end: auto; inset-inline-start: 0; }
.lang--up .hdr__panel::before { inset: auto 0 -10px; height: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr-h) + 64px) 0 96px; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero__mesh { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .75; will-change: transform; }
.blob--a { width: 620px; height: 620px; left: -160px; top: -120px; background: var(--primary); }
.blob--b { width: 520px; height: 520px; right: -120px; top: 60px; background: var(--turquoise); opacity: .45; }
.blob--c { width: 420px; height: 420px; left: 40%; bottom: -220px; background: var(--coral); opacity: .45; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__title { margin: 22px 0 22px; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.hero__title .word { display: inline-block; }
.hero__sub { max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__ctas--center { justify-content: center; }
.hero__price { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero__price b { color: #fff; }

.hero__stage { position: relative; display: grid; place-items: center; height: 600px; perspective: 1200px; }
.stage__phone { position: relative; z-index: 2; transform-style: preserve-3d; will-change: transform; }
.stage__card { position: absolute; width: 200px; will-change: transform; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); opacity: .9; }
.stage__card img { width: 100%; height: auto; }
.stage__card--l { left: 0; top: 22%; transform: rotate(-9deg); }
.stage__card--r { right: 0; top: 12%; transform: rotate(8deg); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px -20px rgba(0, 0, 0, .6); font-size: 14px; font-weight: 700; white-space: nowrap; will-change: transform; }
.chip .i { color: var(--turquoise); }
.chip--1 { left: 4%; top: 12%; }
.chip--2 { right: 2%; top: 8%; }
.chip--3 { left: 0; bottom: 22%; }
.chip--4 { right: 0; bottom: 30%; }
.chip--5 { left: 34%; bottom: 2%; }
.chip--5 .i { color: #7dffb0; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 28px; height: 44px; margin-left: -14px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- phone ---------- */
.phone { position: relative; width: 290px; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 46px; background: #0c0b22; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), var(--shadow); }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; z-index: 5; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #0c0b22; }
.phone > * { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; }
.phone > img { object-fit: cover; object-position: top; }
.phone--hero { width: 300px; aspect-ratio: 300 / 456; }
.phone--hero::before { top: 16px; width: 76px; height: 20px; margin-left: -38px; }

/* ---------- marquee ---------- */
.marquee { padding: 28px 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__row { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row + .marquee__row { margin-top: 12px; }
.marquee__track { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: marquee 50s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee__track span { flex: none; padding: 10px 18px; border-radius: 999px; background: var(--tint); font-size: 15px; font-weight: 600; white-space: nowrap; }
.marquee__track span:nth-child(3n+1) { background: rgba(2, 214, 213, .12); }
.marquee__track span:nth-child(3n+2) { background: rgba(58, 58, 168, .08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- chapter nav ---------- */
.chapters { position: sticky; top: var(--hdr-h); z-index: var(--z-chapters); background: rgba(250, 250, 252, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.chapters__inner { display: flex; gap: 4px; max-width: 1200px; margin: 0 auto; padding: 10px 24px; overflow-x: auto; scrollbar-width: none; }
.chapters__inner::-webkit-scrollbar { display: none; }
/* auto margins centre the pills when they fit, without clipping the start when they overflow */
.chapters__inner > :first-child { margin-left: auto; }
.chapters__inner > :last-child { margin-right: auto; }
.chapters a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.chapters a:hover { color: var(--primary); }
.chapters a.is-active { background: var(--primary); color: #fff; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 128px 0; }
.sec--tight { padding-top: 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: radial-gradient(1200px 600px at 80% 0%, var(--night-2), var(--night)); color: #fff; overflow: hidden; }
.sec__head { max-width: 760px; margin-bottom: 56px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__title { margin: 18px 0 18px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.sec__lead { font-size: 18px; color: var(--muted); }
.sec--dark .sec__lead { color: rgba(255, 255, 255, .75); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split--rev .split__copy { order: 2; }
.split__visual { display: flex; justify-content: center; }
.ticks { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks .i { margin-top: 2px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(2, 214, 213, .16); color: var(--ok); stroke-width: 3; }
.ticks--light li { color: rgba(255, 255, 255, .9); }
.ticks--light .i { color: var(--turquoise); }
.strike { position: relative; color: var(--muted); }
.strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 55%; height: .09em; background: var(--coral); transform: scaleX(var(--strike, 1)); transform-origin: left; transition: transform .8s var(--ease) .3s; }
html.js .strike:not(.is-in)::after { --strike: 0; }

/* ---------- reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------- AI demo ---------- */
.browser { width: 100%; max-width: 560px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; --ai-a: #3a3aa8; --ai-b: #02d6d5; }
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #f1f2f8; border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { display: flex; align-items: center; gap: 6px; flex: 1; padding: 6px 12px; border-radius: 8px; background: #fff; font-size: 13px; color: var(--muted); }
.browser__body { padding: 20px; }
.ai-prompt { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 8px 8px 14px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--line); font-size: 14px; }
.ai-prompt__icon { color: var(--slate); }
.ai-prompt__text { flex: 0 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ai-prompt__btn { margin-left: auto; padding: 8px 14px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; transition: transform .2s; }
.browser.is-clicking .ai-prompt__btn { transform: scale(.92); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; background: currentColor; animation: blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }
.ai-canvas { display: grid; gap: 12px; margin-top: 16px; min-height: 300px; }
.ai-block { position: relative; border-radius: 14px; background: transparent; overflow: hidden; outline: 1.5px dashed #d5d8e8; outline-offset: -1.5px; transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s; }
.ai-block > * { opacity: 0; transition: opacity .4s .15s; }
.browser.is-generating .ai-block { background: #f2f3f8; outline-color: transparent; }
.browser.is-generating .ai-block::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.ai-block.is-shown { outline-color: transparent; animation: block-in .5s var(--ease); }
@keyframes block-in { from { transform: translateY(10px) scale(.98); opacity: .4; } }
.ai-block.is-shown::after { display: none; }
.ai-block.is-shown > * { opacity: 1; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.ai-hero { display: grid; gap: 6px; justify-items: start; min-height: 132px; padding: 20px; }
.ai-hero.is-shown { background: linear-gradient(135deg, var(--ai-a), var(--ai-b)); color: #fff; }
.ai-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ai-title { font-size: 22px; line-height: 1.15; }
.ai-sub { font-size: 13px; opacity: .9; }
.ai-btn { margin-top: 6px; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--ai-a); font-size: 12px; font-weight: 700; }
.ai-btn--dark { margin: 0; background: var(--ai-a); color: #fff; }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ai-card { display: grid; gap: 4px; min-height: 96px; padding: 14px; }
.ai-card.is-shown { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ai-card i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--ai-a), var(--ai-b)); }
.ai-card b { font-size: 13px; line-height: 1.2; }
.ai-card span { font-size: 11px; color: var(--muted); }
.ai-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 16px; }
.ai-cta.is-shown { background: color-mix(in srgb, var(--ai-b) 14%, #fff); }
.ai-cta b { font-size: 14px; }

/* ---------- playground ---------- */
.playground { position: relative; display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.pg-panel { display: grid; gap: 22px; }
.pg-panel__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pg-panel__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.pg-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pg-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-swatch { width: 44px; height: 44px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--a), var(--b)); cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .2s var(--ease), box-shadow .2s; }
.pg-swatch:hover { transform: translateY(-2px); }
.pg-swatch.is-active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.pg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-opt { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--tint); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.pg-opt:hover { background: #e4e6f7; }
.pg-opt.is-active { background: var(--primary); color: #fff; }
.pg-swatch.is-pressed, .pg-opt.is-pressed, .pg-toggle.is-pressed { transform: scale(.92); }
.pg-toggles { display: grid; gap: 12px; }
.pg-toggle { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .2s; }
.pg-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-switch { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: #cfd3e3; transition: background-color .2s; }
.pg-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.pg-toggle input:checked + .pg-switch { background: var(--turquoise); }
.pg-toggle input:checked + .pg-switch::after { transform: translateX(18px); }
.pg-toggle input:focus-visible + .pg-switch { outline: 3px solid var(--blue); outline-offset: 2px; }
.pg-hint { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(109, 96, 238, .08); color: var(--slate); font-size: 13px; font-weight: 600; }
.pg-stage { position: relative; display: flex; justify-content: center; padding: 24px 0; border-radius: 22px; background: radial-gradient(circle at 50% 40%, rgba(2, 214, 213, .12), transparent 60%), radial-gradient(#dfe2f0 1px, transparent 1px) 0 0 / 18px 18px; }
.phone--live { width: 300px; }

.ghost-cursor { position: absolute; left: 0; top: 0; z-index: var(--z-ghost); width: 28px; height: 28px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.ghost-cursor svg { width: 28px; height: 28px; fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3)); }
.ghost-cursor::after { content: ''; position: absolute; left: -8px; top: -8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(2, 214, 213, .5); transform: scale(0); opacity: 0; }
.ghost-cursor.is-visible { opacity: 1; }
.ghost-cursor.is-click::after { animation: ripple .5s var(--ease); }
@keyframes ripple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* live page inside the phone */
.lp { position: relative; isolation: isolate; font-family: var(--lp-font); color: var(--lp-text); --lp-font: 'Inter', sans-serif; }
.lp[data-font="poppins"] { --lp-font: 'Poppins', 'Inter', sans-serif; }
.lp[data-font="playfair"] { --lp-font: 'Playfair Display', Georgia, serif; }
.lp[data-font="grotesk"] { --lp-font: 'Space Grotesk', 'Inter', sans-serif; }
.lp[data-theme="aurora"] { --bg1: #3a3aa8; --bg2: #02d6d5; --lp-text: #fff; --btn-bg: #fff; --btn-text: #3a3aa8; }
.lp[data-theme="sunset"] { --bg1: #ff862e; --bg2: #f90d2b; --lp-text: #fff; --btn-bg: #fff; --btn-text: #e11d2e; }
.lp[data-theme="candy"] { --bg1: #ff8ad8; --bg2: #8b5cf6; --lp-text: #fff; --btn-bg: #fff; --btn-text: #7c3aed; }
.lp[data-theme="mint"] { --bg1: #d9fbe8; --bg2: #6ee7b7; --lp-text: #064e3b; --btn-bg: #064e3b; --btn-text: #ecfdf5; }
.lp[data-theme="noir"] { --bg1: #0f172a; --bg2: #334155; --lp-text: #f8fafc; --btn-bg: #f8fafc; --btn-text: #0f172a; }
.lp[data-theme="sand"] { --bg1: #f5e6d3; --bg2: #dcb48e; --lp-text: #4a2c17; --btn-bg: #4a2c17; --btn-text: #f5e6d3; }
.lp__bg { position: absolute; inset: 0; z-index: -1; transition: background-color .5s; }
.lp[data-bg="gradient"] .lp__bg { background: linear-gradient(165deg, var(--bg1), var(--bg2)); }
.lp[data-bg="solid"] .lp__bg { background: var(--bg1); }
.lp[data-bg="mesh"] .lp__bg { background: radial-gradient(at 15% 10%, var(--bg2) 0, transparent 50%), radial-gradient(at 90% 35%, color-mix(in srgb, var(--bg2) 60%, #fff) 0, transparent 45%), radial-gradient(at 30% 95%, color-mix(in srgb, var(--bg1) 70%, #000) 0, transparent 55%), var(--bg1); }
.lp[data-bg="photo"] .lp__bg { background: url('../img/templates/t3.webp') center / cover; }
.lp[data-bg="photo"] .lp__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(color-mix(in srgb, var(--bg1) 55%, transparent), color-mix(in srgb, var(--bg2) 75%, transparent)); backdrop-filter: blur(14px); }
.lp__scroll { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 0 16px 20px; overflow: hidden; text-align: center; }
.lp.is-morph .lp__scroll { animation: morph .5s var(--ease); }
@keyframes morph { 0% { transform: scale(.97); filter: blur(2px); } 100% { transform: none; filter: none; } }
.lp__cover { width: calc(100% + 32px); height: 110px; margin: 0 -16px; flex: none; background: radial-gradient(circle at 18% 30%, rgba(255, 255, 255, .55), transparent 28%), radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--bg2) 70%, #fff), transparent 40%), conic-gradient(from 210deg at 60% 40%, var(--bg1), var(--bg2), color-mix(in srgb, var(--bg1) 60%, #000), var(--bg1)); transition: height .4s var(--ease), opacity .3s; }
.lp[data-cover="off"] .lp__cover { height: 44px; opacity: 0; }
.lp__avatar { display: grid; place-items: center; width: 84px; height: 84px; margin-top: -42px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #ffb86b, #ff546b 60%, #6d60ee); box-shadow: 0 0 0 4px var(--btn-bg); color: #fff; font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 800; transition: margin .4s var(--ease), opacity .3s, transform .3s; }
.lp__avatar--sm { width: 32px; height: 32px; margin: 0; font-size: 12px; box-shadow: none; }
.lp__name { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.lp__user { font-size: 13px; opacity: .8; transition: opacity .3s, height .3s; }
.lp[data-hideuser="on"] .lp__avatar { opacity: 0; transform: scale(.6); height: 0; margin-top: 0; }
.lp[data-hideuser="on"] .lp__user { opacity: 0; height: 0; overflow: hidden; }
.lp__bio { margin-top: 8px; font-size: 13px; line-height: 1.45; opacity: .92; }
.lp__socials { display: flex; gap: 14px; margin: 14px 0 16px; }
.lp__socials .i { width: 20px; height: 20px; }
.lp__link { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-bottom: 10px; padding: 10px 40px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-text); font-size: 14px; font-weight: 600; transition: border-radius .35s var(--ease), background-color .35s, color .35s, box-shadow .35s; }
.lp__icon { position: absolute; left: 14px; width: 18px; height: 18px; transition: opacity .3s, transform .3s; }
.lp[data-icons="off"] .lp__icon { opacity: 0; transform: scale(.4); }
.lp[data-btn="pill"] .lp__link { border-radius: 999px; }
.lp[data-btn="outline"] .lp__link { background: transparent; color: var(--lp-text); box-shadow: inset 0 0 0 2px var(--lp-text); }
.lp[data-btn="shadow"] .lp__link { border-radius: 6px; box-shadow: 4px 4px 0 var(--lp-text); }
.lp__foot { margin-top: auto; padding-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

.feature-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.feature-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.feature-chips .i { color: var(--primary); width: 18px; height: 18px; }

.templates-strip { margin-top: 72px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.templates-strip__track { display: flex; gap: 20px; width: max-content; padding: 20px 0; will-change: transform; }
.templates-strip img { width: 200px; height: auto; border-radius: 20px; box-shadow: 0 20px 40px -20px rgba(31, 52, 71, .35); }
.templates-strip img:nth-child(odd) { transform: translateY(24px); }
.templates-strip__cta { text-align: center; }

/* ---------- promo links ---------- */
.promo-tabs { display: grid; gap: 10px; margin-top: 32px; }
.promo-tab { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; text-align: left; cursor: pointer; transition: background-color .25s, box-shadow .25s; }
.promo-tab:hover { background: rgba(255, 255, 255, .08); }
.promo-tab .i { margin-top: 2px; color: var(--turquoise); }
.promo-tab b { display: block; font-size: 16px; }
.promo-tab small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .68); }
.promo-tab.is-active { background: rgba(2, 214, 213, .1); box-shadow: inset 0 0 0 2px var(--turquoise); }
.phone--dark { width: 320px; }
.promo-page { display: flex; flex-direction: column; gap: 12px; padding: 48px 14px 16px; background: linear-gradient(180deg, #17164a, #0d0c2a); color: #fff; }
.promo-page__head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 4px; font-size: 15px; }
.pl { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: opacity .35s, transform .35s var(--ease), box-shadow .35s; }
.pl small { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); }
.promo-page.has-focus .pl { opacity: .38; transform: scale(.97); }
.promo-page.has-focus .pl.is-focus { opacity: 1; transform: scale(1.03); box-shadow: inset 0 0 0 2px var(--turquoise), 0 20px 40px -16px rgba(2, 214, 213, .5); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); }
.pl-counter__top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pl-live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #ff3b4f; font-size: 10px; font-weight: 800; }
.pl-live .dot { width: 6px; height: 6px; background: #fff; animation: pulse-dot 1.2s infinite; }
@keyframes pulse-dot { 50% { opacity: .3; } }
.pl-counter__value { display: flex; gap: 4px; margin: 6px 0 2px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(90deg, #fff, var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pl-rate__top { margin-bottom: 8px; font-size: 13px; }
.pl-rate__row { display: grid; grid-template-columns: 92px 1fr 36px; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; }
.pl-rate__row b { text-align: right; font-variant-numeric: tabular-nums; }
.pl-rate__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pl-rate__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--coral), #ffb86b); transition: width 1.2s var(--ease); }
.pl-countdown > b { font-size: 13px; }
.pl-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.pl-countdown__grid span { padding: 6px 0; border-radius: 10px; background: rgba(255, 255, 255, .08); text-align: center; }
.pl-countdown__grid b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.pl-countdown__grid small { font-size: 10px; }
.pl-highlight { display: grid; gap: 8px; }
.hb { position: relative; display: block; padding: 12px; border-radius: 12px; text-align: center; font-size: 14px; font-weight: 700; overflow: hidden; }
.hb--shine { background: var(--coral); }
.hb--shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-100%); animation: shine 2.4s infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
.hb--pulse { background: var(--grad); animation: glow 2s infinite; overflow: visible; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(2, 214, 213, .6); } 50% { box-shadow: 0 0 0 8px rgba(2, 214, 213, 0); } }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hb--border { border: 2px solid transparent; background: linear-gradient(#141340, #141340) padding-box, conic-gradient(from var(--ang), #ff862e, #ff546b, #6d60ee, #02d6d5, #ff862e) border-box; animation: spin-border 3s linear infinite; }
@keyframes spin-border { to { --ang: 360deg; } }

/* ---------- domain ---------- */
.domain-demo { max-width: 780px; margin: 0 auto; border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.domain-tab { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 70%; margin: 12px 0 0 16px; padding: 10px 18px; border-radius: 12px 12px 0 0; background: #f1f2f8; font-size: 13px; font-weight: 600; }
.domain-tab__fav { position: relative; width: 18px; height: 18px; flex: none; }
.domain-tab__fav > * { position: absolute; inset: 0; transition: opacity .4s, transform .4s var(--ease); }
.fav-own { display: grid; place-items: center; border-radius: 5px; background: var(--grad-warm); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: scale(.4); }
.domain-tab__title { position: relative; display: grid; }
.domain-tab__title > * { grid-area: 1 / 1; white-space: nowrap; transition: opacity .4s; }
.t-new { opacity: 0; }
.domain-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #f1f2f8; color: var(--muted); }
.domain-bar__text { flex: 1; min-width: 0; font-size: clamp(18px, 3vw, 28px); font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.domain-bar__ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 159, 143, .12); color: var(--ok); font-size: 13px; font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.domain-page { padding: 28px; }
.domain-page__hero { display: grid; justify-items: center; gap: 4px; padding: 32px 16px; border-radius: 16px; background: linear-gradient(135deg, #ff862e, #f90d2b); color: #fff; text-align: center; }
.domain-page__hero .lp__avatar { margin: 0 0 8px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }
.domain-page__hero b { font-size: 22px; }
.domain-page__foot { position: relative; display: grid; place-items: center; height: 40px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.domain-page__foot > * { grid-area: 1 / 1; transition: opacity .4s, transform .4s var(--ease); }
.brand-own { font-weight: 800; letter-spacing: .2em; color: var(--ink); opacity: 0; transform: translateY(8px); }
.brand-own b { color: #f90d2b; }
.domain-demo.is-own .fav-hl { opacity: 0; transform: scale(.4); }
.domain-demo.is-own .fav-own { opacity: 1; transform: none; }
.domain-demo.is-own .t-old { opacity: 0; }
.domain-demo.is-own .t-new { opacity: 1; }
.domain-demo.is-own .domain-bar__ok { opacity: 1; transform: none; }
.domain-demo.is-own .brand-old { opacity: 0; transform: translateY(-8px); }
.domain-demo.is-own .brand-own { opacity: 1; transform: none; }

.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.icon-card { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.icon-card .i { width: 44px; height: 44px; padding: 11px; margin-bottom: 6px; border-radius: 12px; background: var(--grad); color: #fff; }
.icon-card b { font-size: 17px; }
.icon-card span { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- analytics ---------- */
.dash { width: 100%; max-width: 540px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash__kpis > div { padding: 14px; border-radius: 14px; background: var(--tint); }
.dash__kpis small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.dash__kpis b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dash__kpis em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.dash__chart { width: 100%; height: 140px; margin: 20px 0 8px; overflow: visible; }
.dash__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.dash__area { opacity: 0; transition: opacity 1s 1s; }
.dash.is-in .dash__line { stroke-dashoffset: 0; }
.dash.is-in .dash__area { opacity: 1; }
.dash__top > small { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash__bar { position: relative; display: flex; justify-content: space-between; padding: 8px 12px; margin-bottom: 6px; border-radius: 10px; font-size: 13px; font-weight: 600; overflow: hidden; isolation: isolate; }
.dash__bar i { position: absolute; inset: 0 auto 0 0; z-index: -1; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(58, 58, 168, .14), rgba(2, 214, 213, .22)); transition: width 1.4s var(--ease) .6s; }
.dash.is-in .dash__bar i { width: var(--w); }
.dash__pixels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dash__pixels span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 700; }
.dash__pixels em { font-style: normal; color: var(--ok); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 180px; padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: box-shadow .3s, transform .3s var(--ease); }
.bento__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(2, 214, 213, .16), transparent 60%); opacity: 0; transition: opacity .3s; }
.bento__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(58, 58, 168, .25), 0 24px 40px -24px rgba(31, 52, 71, .35); }
.bento__card:hover::before { opacity: 1; }
.bento__card--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.bento__text { display: grid; gap: 6px; }
.bento__text .i { width: 40px; height: 40px; padding: 9px; margin-bottom: 6px; border-radius: 12px; background: rgba(58, 58, 168, .08); color: var(--primary); }
.bento__text b { font-size: 17px; }
.bento__text span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bento--tools .bento__card { min-height: 0; }
.mini-form { display: grid; gap: 10px; width: min(100%, 320px); flex: none; padding: 16px; border-radius: 16px; background: var(--tint); }
.mini-form__chips { display: flex; gap: 6px; }
.mini-form__chips i { padding: 4px 10px; border-radius: 999px; background: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.mini-form__chips i.is-on { background: var(--primary); color: #fff; }
.mini-form__row { display: flex; gap: 6px; }
.mini-form__input { flex: 1; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--muted); font-size: 13px; }
.mini-form__btn { padding: 10px 12px; border-radius: 10px; background: var(--coral); color: #fff; font-size: 13px; font-weight: 700; }
.mini-toast { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; transform: translateY(6px); transition: transform .3s var(--ease); }
.bento__card:hover .mini-toast { transform: translateY(-2px) rotate(-2deg); }
.mini-stars { display: flex; gap: 4px; color: #f5b301; }
.mini-stars .i { fill: currentColor; stroke: none; }
.bento__card:hover .mini-stars .i { animation: pop .4s var(--ease) both; }
.bento__card:hover .mini-stars .i:nth-child(2) { animation-delay: .05s; }
.bento__card:hover .mini-stars .i:nth-child(3) { animation-delay: .1s; }
.bento__card:hover .mini-stars .i:nth-child(4) { animation-delay: .15s; }
.bento__card:hover .mini-stars .i:nth-child(5) { animation-delay: .2s; }
@keyframes pop { 50% { transform: scale(1.3); } }

/* ---------- checkout ---------- */
.checkout { position: relative; width: 340px; height: 440px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.checkout__product { display: grid; gap: 4px; padding: 16px; transition: transform .5s var(--ease), filter .5s; }
.checkout__img { height: 220px; margin-bottom: 10px; border-radius: 18px; background: radial-gradient(circle at 30% 30%, #ffd29d, transparent 50%), linear-gradient(135deg, #ff862e, #f90d2b 55%, #6d60ee); }
.checkout__product b { font-size: 18px; }
.checkout__product small { color: var(--muted); }
.checkout__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.checkout__price { font-size: 22px; font-weight: 800; }
.checkout__buy { padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transition: transform .2s; }
.checkout__sheet { position: absolute; inset: auto 0 0; display: grid; gap: 12px; padding: 22px; border-radius: 24px 24px 0 0; background: #fff; box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .25); transform: translateY(105%); transition: transform .5s var(--ease); }
.checkout__field { padding: 14px; border-radius: 12px; background: var(--tint); font-size: 14px; letter-spacing: .08em; }
.checkout__pay { padding: 14px; border-radius: 12px; background: var(--coral); color: #fff; text-align: center; font-weight: 700; transition: transform .2s; }
.checkout__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: #fff; opacity: 0; transition: opacity .4s; }
.checkout__check { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--grad); color: #fff; transform: scale(.4); transition: transform .5s var(--ease); }
.checkout__check .i { width: 36px; height: 36px; stroke-width: 3; }
.checkout__done b { font-size: 20px; }
.checkout__toast { position: absolute; top: 16px; left: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; transform: translate(-50%, -80px); transition: transform .5s var(--ease); }
.checkout__toast .i { color: #7dffb0; }
.checkout__toast small { font-weight: 500; opacity: .7; }
.checkout.s2 .checkout__product { transform: scale(.94); filter: blur(1px); }
.checkout.s2 .checkout__sheet { transform: none; }
.checkout.s1 .checkout__buy, .checkout.s2b .checkout__pay { transform: scale(.92); }
.checkout.s3 .checkout__done { opacity: 1; }
.checkout.s3 .checkout__check { transform: none; }
.checkout.s4 .checkout__toast { transform: translate(-50%, 0); }

/* ---------- compare ---------- */
.compare { border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 110px 110px; align-items: center; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > * { display: flex; align-items: center; padding: 16px 20px; min-height: 56px; }
.compare__row > *:not(:first-child) { justify-content: center; font-weight: 700; }
.compare__row--head { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare__pro { align-self: stretch; background: rgba(58, 58, 168, .05); }
.compare__row--head .compare__pro { background: var(--grad); color: #fff; }
.compare .yes { color: var(--ok); stroke-width: 3; }
.compare .no { color: #b3b9c8; }

/* ---------- pricing ---------- */
.price-card { max-width: 520px; margin: 0 auto; padding: 36px; border-radius: 28px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); text-align: center; }
.price-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.price-toggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.price-toggle button.is-active { background: #fff; color: var(--primary); }
.price-toggle .save { padding: 2px 8px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; }
.price-card__amount { margin: 28px 0 8px; }
.price-card__big { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price-card__per { font-size: 18px; color: rgba(255, 255, 255, .7); }
.price-card__amount small { display: block; margin-top: 10px; color: rgba(255, 255, 255, .7); }
.price-card .ticks { justify-items: start; margin: 28px auto 28px; width: fit-content; text-align: left; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); color: var(--primary); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq p { padding: 0 0 22px; color: var(--muted); }

/* ---------- final ---------- */
.final { position: relative; padding: 140px 0; overflow: hidden; background: var(--night); color: #fff; text-align: center; isolation: isolate; }
.final__glow { position: absolute; left: 50%; top: 50%; z-index: -1; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: conic-gradient(from 0deg, var(--primary), var(--turquoise), var(--coral), var(--slate), var(--primary)); filter: blur(120px); opacity: .5; animation: rotate 18s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.final__title { font-size: clamp(44px, 8vw, 104px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.final p { max-width: 560px; margin: 20px auto 0; font-size: 18px; color: rgba(255, 255, 255, .8); }

/* ---------- footer ---------- */
.ftr { padding: 72px 0 32px; background: var(--footer-bg); font-size: 14px; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr) 240px; gap: 32px; }
.ftr__title { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
.ftr__col a { display: block; margin-bottom: 10px; color: var(--ink); text-decoration: none; opacity: .8; line-height: 1.45; }
.ftr__col a:hover { opacity: 1; color: var(--primary); }
.ftr__col a.logo { display: inline-flex; margin: 0; opacity: 1; color: var(--ink); }
.ftr__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ftr__social a { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: #fff; opacity: 1; }
.ftr__ai { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e3e3e3; font-weight: 600; }
.ftr__ai-links { display: flex; gap: 10px; }
.ftr__ai-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.ftr__info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; color: var(--muted); }
.ftr__info a { color: inherit; }
.ftr__powered { display: flex; align-items: center; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hdr__items { display: none; }
  .hdr__burger { display: block; }
  .hdr__right { margin-inline-start: auto; }
}
@media (max-width: 1023px) {
  .hero__inner, .split { grid-template-columns: 1fr; }
  .split--rev .split__copy { order: 0; }
  .hero__stage { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .playground { grid-template-columns: 1fr; }
  .pg-stage { order: -1; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .sec { padding: 96px 0; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 64px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .hero { padding-top: calc(var(--hdr-h) + 40px); }
  .hero__stage { height: 440px; }
  .phone--hero { width: 230px; }
  .stage__card { width: 130px; }
  .chip { padding: 8px 12px; font-size: 12px; }
  .chip--1 { left: 0; }
  .chip--5 { left: 26%; }
  .sec { padding: 72px 0; }
  .playground { padding: 16px; border-radius: 22px; }
  .pg-panel { gap: 18px; }
  .pg-options, .pg-swatches { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pg-opt, .pg-swatch { flex: none; }
  .phone--live, .phone--dark { width: 270px; }
  .icon-grid, .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .ai-cards { grid-template-columns: 1fr 1fr; }
  .ai-cards .ai-card:nth-child(3) { display: none; }
  .compare__row { grid-template-columns: 1fr 72px 72px; }
  .compare__row > * { padding: 12px 10px; font-size: 14px; }
  .price-card { padding: 28px 18px; }
  .price-card__big { font-size: 52px; }
  .checkout { width: 300px; }
  .ftr__cols { grid-template-columns: 1fr; }
  .domain-page { padding: 16px; }
  .compare__row--head { font-size: 11px; letter-spacing: .04em; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hdr__panel.lang__panel { position: fixed; top: var(--hdr-h); inset-inline: 12px; width: auto; max-height: calc(100svh - var(--hdr-h) - 24px); grid-template-columns: 1fr 1fr; }
  .lang--up .hdr__panel.lang__panel { top: auto; bottom: 12px; }
}

/* ---------- languages: scripts, long words, right-to-left ---------- */
/* Inter has no Arabic, Thai or CJK glyphs; the Worker loads the matching Noto family for those pages. */
html:lang(ar) body { font-family: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif; }
html:lang(th) body { font-family: 'Inter', 'Noto Sans Thai', system-ui, sans-serif; line-height: 1.75; }
html:lang(ja) body { font-family: 'Inter', 'Noto Sans JP', system-ui, sans-serif; }
html:lang(ko) body { font-family: 'Inter', 'Noto Sans KR', system-ui, sans-serif; }
html:lang(zh) body { font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif; }
/* Tracking breaks Arabic letter joining and looks loose in CJK/Thai; these scripts also need taller lines. */
html:is(:lang(ar), :lang(th), :lang(ja), :lang(ko), :lang(zh)) :is(h1, h2, h3, .eyebrow, .logo__word, .ai-kicker, .pg-label, .compare__row--head) { letter-spacing: 0; }
html:is(:lang(ar), :lang(th)) :is(.hero__title, .sec__title, .final__title) { line-height: 1.35; }
html:is(:lang(ja), :lang(ko), :lang(zh)) :is(.hero__title, .sec__title, .final__title) { line-height: 1.25; }
html:is(:lang(ja), :lang(zh)) { line-break: strict; }
html:lang(ko) { word-break: keep-all; }
/* Long compounds (de, fi, nl, nordic, slavic) must never push a headline or card past its box. */
.hero__title, .sec__title, .final__title, .bento__text b, .icon-card b, .promo-tab b { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.btn, .chip, .pg-opt, .hb, .compare__row > * { overflow-wrap: anywhere; }
.hdr__link { white-space: nowrap; }
/* app.js sets .hdr--compact when a language's nav labels do not fit: same layout as the tablet header. */
.hdr--compact .hdr__items { display: none; }
.hdr--compact .hdr__burger { display: block; }
.hdr--compact .hdr__right { margin-inline-start: auto; }

/* Right-to-left (Arabic). Layout uses flex/grid, so most of it mirrors on its own. */
[dir="rtl"] .chapters__inner > :first-child { margin-left: 0; margin-right: auto; }
[dir="rtl"] .chapters__inner > :last-child { margin-right: 0; margin-left: auto; }
[dir="rtl"] :is(.btn, .link-arrow) use[href="#i-arrow"] { transform: scaleX(-1); transform-origin: center; }
[dir="rtl"] .btn:hover .i, [dir="rtl"] .link-arrow:hover .i { transform: translateX(-3px); }
[dir="rtl"] .marquee__row { direction: ltr; } /* the loop animates leftwards; chip order does not matter */
[dir="rtl"] .pl-rate__row b { text-align: left; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] [data-price] { direction: ltr; unicode-bidi: isolate; } /* keeps "4.90 US$" in one piece */

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee__row { overflow-x: auto; }
}
