@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2190-21FF, U+2713; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0400-04FF; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Tokens ---------- */
:root {
  --bg: #FBFBFD;
  --bg-alt: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --faint: #86868B;
  --hair: rgba(0, 0, 0, 0.08);
  --link: #0066CC;
  --like: #1B7F4F;
  --dislike: #C4372B;
  --glass: rgba(251, 251, 253, 0.55);
  --g1: #FF8A3D; --g2: #FF4D8D; --g3: #A35BFF; --g4: #3D8BFF; --g5: #29D3C1;
  --glow: linear-gradient(100deg, var(--g1), var(--g2) 30%, var(--g3) 55%, var(--g4) 80%, var(--g5));
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.04), 0 12px 24px -6px rgba(0, 0, 0, 0.08), 0 40px 80px -20px rgba(0, 0, 0, 0.18);
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  color-scheme: light;
}
/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.47 var(--font); letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; width: min(1024px, 100%); margin: 0 auto; padding: 40px 16px 96px; outline: none; }
body.is-landing main { width: 100%; padding: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--g4); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 8px; }
h2 { font-size: 21px; letter-spacing: -0.02em; }
h3 { font-size: 17px; letter-spacing: -0.015em; }
p { margin: 0 0 12px; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Global nav (glass) ---------- */
#top { position: sticky; top: 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s; }
#top.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--hair); }
.bar { width: min(1024px, 100%); margin: 0 auto; padding: 0 16px; min-height: 56px; display: flex; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -0.04em; color: var(--ink); margin-right: auto; }
.brand:hover { text-decoration: none; }
.logo { width: 28px; height: 20px; fill: none; stroke-width: 2.2; }
.logo circle:first-child { stroke: var(--g2); }
.logo circle:last-child { stroke: var(--g4); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.nav a { color: var(--ink); opacity: 0.8; padding: 8px 0; }
.nav a:hover { opacity: 1; text-decoration: none; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.lang { background: none; border: 1px solid var(--hair); border-radius: 99px; color: var(--ink); font: 600 12px var(--font); padding: 4px 10px; cursor: pointer; }

/* ---------- Token ---------- */
.token { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #3B2600; font: 700 14px var(--font); letter-spacing: 0; text-decoration: none; background: radial-gradient(circle at 32% 28%, #FFF6D8, #FFD36B 38%, #E9A21F 72%, #B97808); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(120, 70, 0, 0.35), 0 4px 12px -2px rgba(201, 132, 16, 0.45); }
.token:hover { text-decoration: none; }
.token.mini { width: 22px; height: 22px; font-size: 11px; vertical-align: -0.35em; margin-right: 8px; }
.token.flip { animation: flip 0.8s var(--ease); }
@keyframes flip { from { transform: rotateY(0) scale(1.2); } to { transform: rotateY(720deg) scale(1); } }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px var(--font); letter-spacing: -0.01em; padding: 10px 20px; min-height: 44px; border-radius: 99px; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; text-decoration: none; transition: transform 0.2s var(--ease), opacity 0.2s; }
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn-lg { font-size: 17px; padding: 14px 28px; min-height: 52px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hair); }
.btn.danger { background: transparent; color: var(--dislike); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--link); cursor: pointer; }
.more { font-size: 17px; }

/* ========== Landing ========== */
.landing { overflow-x: clip; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.l-hero { text-align: center; padding: 72px 16px 0; }
.display { font-size: clamp(44px, 8.2vw, 96px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; margin: 0 auto 24px; max-width: 12ch; text-wrap: balance; }
.glow-text { background: var(--glow); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; padding-bottom: 0.08em; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--muted); max-width: 34em; margin: 0 auto 32px; text-wrap: pretty; }
.cta-row { display: flex; gap: 16px 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Stage: phone with its halo and floating notes */
.stage { --p: 1; position: relative; width: min(980px, 100%); height: 680px; margin: 64px auto 0; display: grid; place-items: start center; }
.halo { position: absolute; top: 40px; width: 360px; height: 640px; border-radius: 80px; background: conic-gradient(from var(--angle), var(--g1), var(--g2), var(--g3), var(--g4), var(--g5), var(--g1)); filter: blur(60px); opacity: calc(0.35 + 0.35 * var(--p)); animation: spin 10s linear infinite; }
@keyframes spin { to { --angle: 360deg; } }
.phone { position: relative; width: 320px; height: 660px; border-radius: 56px; padding: 12px; background: linear-gradient(145deg, #3A3A3D, #0E0E10 40%, #2A2A2D); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), 0 50px 100px -30px rgba(0, 0, 0, 0.55); transform: translateY(calc((1 - var(--p)) * 60px)) scale(calc(0.9 + 0.1 * var(--p))); }
.island { position: absolute; top: 24px; left: 50%; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; z-index: 2; }
.screen { height: 100%; border-radius: 44px; background: #F2F2F7; color: #1D1D1F; padding: 18px 16px; overflow: hidden; text-align: left; letter-spacing: -0.01em; }
.status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; padding: 0 14px; height: 30px; margin-bottom: 22px; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons i { display: block; width: 17px; height: 11px; border-radius: 3px; background: #1D1D1F; }
.status-icons i:nth-child(1) { width: 15px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.status-icons i:nth-child(3) { width: 24px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px #1D1D1F; background: linear-gradient(90deg, #1D1D1F 70%, transparent 70%); background-clip: content-box; padding: 2.5px; }
.scr-title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.scr-sub { font-size: 14px; color: #6E6E73; margin: 2px 0 14px; }
.scr-card { background: #fff; border-radius: 20px; padding: 14px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.38; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.scr-card p { margin: 0 0 6px; }
.scr-card.dim { opacity: 0.75; }
.scr-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; }
.scr-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--g2), var(--g3)); color: #fff; font-size: 13px; font-weight: 700; }
.scr-av.b { background: linear-gradient(135deg, var(--g4), var(--g5)); }
.scr-stars { margin-left: auto; color: #FF9F0A; font-size: 12px; letter-spacing: 1px; }
.scr-stars em { font-style: normal; color: #D1D1D6; }
.scr-k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.scr-k.like { color: #1B7F4F; } .scr-k.dislike { color: #C4372B; }
.scr-actions { display: flex; gap: 8px; margin-top: 10px; }
.scr-btn { flex: 1; text-align: center; padding: 8px; border-radius: 99px; background: #1D1D1F; color: #fff; font-weight: 600; font-size: 13px; }
.scr-btn.ghost { background: #E9E9EE; color: #1D1D1F; }

.float { position: absolute; display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 15px; white-space: nowrap; }
.f1 { top: 190px; left: calc(50% - 330px); transform: translateX(calc((1 - var(--p)) * 120px)); }
.f2 { top: 330px; left: calc(50% + 190px); transform: translateX(calc((var(--p) - 1) * 120px)); }
.f3 { top: 470px; left: calc(50% - 300px); transform: translateX(calc((1 - var(--p)) * 120px)); }
.check-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--like); color: #fff; font-size: 12px; }

/* Acts: a three-scene story, pinned while you scroll.
   Without motion the scenes simply stack, each with its own heading. */
.acts { position: relative; background: var(--bg-alt); }
.acts-inner { width: min(1024px, 100%); margin: 0 auto; padding: 96px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.act-text h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 16px; text-wrap: balance; }
.act-text p { font-size: clamp(19px, 2vw, 24px); color: var(--muted); margin: 0 0 40px; }
.act-dots { display: none; }
.acts-stage { position: relative; display: grid; gap: 40px; }
.scene { display: grid; place-items: center; min-height: 320px; position: relative; }

.motion .acts { height: 330vh; }
.motion .acts-inner { position: sticky; top: 0; height: 100vh; padding-top: 56px; padding-bottom: 0; }
.motion .acts-copy { display: grid; }
.motion .act-text { grid-area: 1 / 1; opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s var(--ease); pointer-events: none; }
.motion .act-text p { margin-bottom: 0; }
.motion .acts[data-act="0"] .act-text[data-n="0"],
.motion .acts[data-act="1"] .act-text[data-n="1"],
.motion .acts[data-act="2"] .act-text[data-n="2"] { opacity: 1; transform: none; filter: none; }
.motion .act-dots { display: flex; gap: 8px; margin-top: 40px; grid-area: 2 / 1; }
.act-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--hair); transition: width 0.5s var(--ease), background 0.5s; }
.acts[data-act="0"] .act-dots i:nth-child(1), .acts[data-act="1"] .act-dots i:nth-child(2), .acts[data-act="2"] .act-dots i:nth-child(3) { width: 28px; background: var(--ink); }
.motion .acts-stage { display: block; height: 440px; }
.motion .scene { position: absolute; inset: 0; min-height: 0; opacity: 0; transform: scale(0.94); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.motion .acts[data-act="0"] .s1, .motion .acts[data-act="1"] .s2, .motion .acts[data-act="2"] .s3 { opacity: 1; transform: none; }

/* Scene 1: friendly chat bubbles pop in */
.s1 { align-content: center; justify-items: start; gap: 10px; }
.bubble { background: var(--surface); color: var(--ink); padding: 14px 20px; border-radius: 24px 24px 24px 8px; font-size: 19px; font-weight: 500; box-shadow: var(--shadow-lg); max-width: 340px; }
.bubble.b2 { margin-left: 24px; }
.typing { display: flex; gap: 5px; padding: 18px 20px; margin-left: 48px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.motion .s1 .bubble { opacity: 0; transform: translateY(16px) scale(0.92); transform-origin: left bottom; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.motion .acts[data-act="0"] .s1 .bubble { opacity: 1; transform: none; }
.motion .acts[data-act="0"] .s1 .b2 { transition-delay: 0.25s; }
.motion .acts[data-act="0"] .s1 .typing { transition-delay: 0.5s; }

/* Scene 2: the app is swiped away, a cold toast is all that's left */
.s2 { align-content: center; justify-items: center; gap: 12px; }
.app-icon { width: 120px; height: 120px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(145deg, #2C2C2E, #000); box-shadow: var(--shadow-lg); }
.app-icon .logo { width: 64px; height: 46px; stroke-width: 2.4; }
.app-label { font-size: 15px; color: var(--muted); }
.toast { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 20px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 15px; color: var(--muted); }
.toast .x { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--dislike); color: #fff; font-size: 15px; line-height: 1; }
.motion .s2 .app-icon, .motion .s2 .app-label { transition: transform 1s var(--ease) 0.2s, opacity 1s var(--ease) 0.2s, filter 1s var(--ease) 0.2s; }
.motion .acts[data-act="1"] .s2 .app-icon { transform: translateY(-40px) scale(0.7); opacity: 0.25; filter: grayscale(1) blur(2px); }
.motion .acts[data-act="1"] .s2 .app-label { transform: translateY(-40px); opacity: 0.25; }
.motion .s2 .toast { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease) 0.8s, transform 0.6s var(--ease) 0.8s; }
.motion .acts[data-act="1"] .s2 .toast { opacity: 1; transform: none; }

/* Scene 3: a real review arrives, wrapped in the brand glow */
.review-glow { position: relative; padding: 2px; border-radius: 30px; background: conic-gradient(from var(--angle), var(--g1), var(--g2), var(--g3), var(--g4), var(--g5), var(--g1)); animation: spin 6s linear infinite; max-width: 380px; }
.review-glow::before { content: ""; position: absolute; inset: 10px; border-radius: 30px; background: inherit; filter: blur(30px); opacity: 0.6; z-index: -1; }
.review-card { background: var(--surface); border-radius: 28px; padding: 22px; font-size: 15px; line-height: 1.4; text-align: left; }
.review-card p { margin: 0 0 8px; }
.review-card .scr-k.like { color: var(--like); } .review-card .scr-k.dislike { color: var(--dislike); }
.float-token { position: absolute; right: 0; top: 16px; display: flex; align-items: center; padding: 10px 16px; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); font-weight: 600; font-size: 15px; }
.motion .s3 .review-glow { transform: translateY(60px) rotate(-3deg); transition: transform 0.9s var(--ease); }
.motion .acts[data-act="2"] .s3 .review-glow { transform: none; }
.motion .s3 .float-token { opacity: 0; transform: translateY(10px) scale(0.8); transition: opacity 0.5s var(--ease) 0.6s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s; }
.motion .acts[data-act="2"] .s3 .float-token { opacity: 1; transform: none; }

/* Sections */
.l-section { width: min(1024px, 100%); margin: 0 auto; padding: 120px 16px; }
.section-title { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 56px; max-width: 16ch; text-wrap: balance; }
.section-title span { color: var(--faint); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { grid-column: span 2; position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; gap: 20px; min-height: 280px; }
.tile-copy { margin-top: auto; }
.tile h3 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; }
.t-wide { grid-column: span 4; }
.t-tall { grid-row: span 2; }
.t-wide2 { grid-column: span 4; }
.mini-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; border-radius: var(--r-md); background: var(--bg-alt); }
.mini-review h4, .side h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.mini-review p { font-size: 15px; color: var(--ink); }
.side { border-top: 2px solid; padding-top: 10px; min-width: 0; }
.side.like { border-color: var(--like); } .side.like h4, .side.like h3 { color: var(--like); }
.side.dislike { border-color: var(--dislike); } .side.dislike h4, .side.dislike h3 { color: var(--dislike); }
.t-coin { background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, #FFD36B 30%, var(--surface)), var(--surface)); }
.big-coin { width: 160px; height: 160px; margin: 24px auto 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 28%, #FFF6D8, #FFD36B 38%, #E9A21F 72%, #B97808); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.4), inset 0 -10px 24px rgba(120, 70, 0, 0.35), 0 30px 60px -20px rgba(201, 132, 16, 0.6); color: #3B2600; font-size: 72px; font-weight: 800; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotateY(20deg); } }
.glyph { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-alt); font-size: 28px; color: var(--ink); }
.glyph svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 8px 16px; border-radius: 99px; background: var(--bg-alt); font-weight: 600; font-size: 15px; }
.thumbs { display: flex; gap: 12px; }
.thumbs i { flex: 1; height: 120px; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--g4) 30%, var(--bg-alt)), var(--bg-alt) 60%); box-shadow: inset 0 0 0 1px var(--hair); }
.thumbs i:nth-child(2) { background: linear-gradient(160deg, color-mix(in srgb, var(--g2) 30%, var(--bg-alt)), var(--bg-alt) 60%); }
.thumbs i:nth-child(3) { background: linear-gradient(160deg, color-mix(in srgb, var(--g5) 30%, var(--bg-alt)), var(--bg-alt) 60%); }

.dark-band { background: #000; color: #F5F5F7; text-align: center; }
.dark-band .eyebrow { color: #A1A1A6; }
.huge { font-size: clamp(48px, 10vw, 128px); line-height: 1; letter-spacing: -0.05em; margin: 0 auto 32px; background: linear-gradient(180deg, #FFFFFF 30%, #8E8E93); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.dark-text { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: #A1A1A6; max-width: 32em; margin: 0 auto; }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps3 .num { display: block; font-size: 80px; font-weight: 700; line-height: 1; letter-spacing: -0.05em; margin-bottom: 20px; background: var(--glow); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps3 li:nth-child(2) .num { background-position: 50% 0; }
.steps3 li:nth-child(3) .num { background-position: 100% 0; }
.steps3 h3 { font-size: 24px; margin-bottom: 8px; }
.steps3 p { color: var(--muted); }

.final { position: relative; text-align: center; padding: 160px 16px 180px; overflow: hidden; }
.final-glow { position: absolute; left: 50%; bottom: -260px; width: 900px; height: 500px; margin-left: -450px; background: var(--glow); filter: blur(120px); opacity: 0.35; border-radius: 50%; }
.final h2 { position: relative; font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.045em; line-height: 1.04; max-width: 14ch; margin: 0 auto 16px; text-wrap: balance; }
.final p { position: relative; font-size: 21px; color: var(--muted); margin-bottom: 32px; }
.final .btn { position: relative; }

.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .bento .reveal:nth-child(2), .motion .steps3 .reveal:nth-child(2) { transition-delay: 0.08s; }
.motion .bento .reveal:nth-child(3), .motion .steps3 .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ========== App screens ========== */
.card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.card > :last-child { margin-bottom: 0; }
.row { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid .card { margin: 0; display: flex; flex-direction: column; gap: 8px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.grid .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.grid .card .row:last-child { margin-top: auto; padding-top: 8px; }
.grid h2 a, .card h2 a { color: inherit; }
.twoside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 16px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); }
a.tag { font-size: 14px; padding: 8px 16px; color: var(--ink); text-decoration: none; }
.tag.done { color: var(--like); background: color-mix(in srgb, var(--like) 12%, transparent); }
a.tag.done { color: var(--bg); background: var(--ink); }
.tag.warn { color: var(--dislike); background: color-mix(in srgb, var(--dislike) 12%, transparent); }
.stars { font-weight: 600; white-space: nowrap; color: #FF9F0A; }
.shots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.shots img { height: 140px; max-width: 100%; border-radius: var(--r-sm); display: block; }

label, legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.field { margin-bottom: 20px; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
input[type=text], input[type=email], input[type=url], textarea, select { width: 100%; font: inherit; color: inherit; background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
input:focus, textarea:focus, select:focus { outline: none; background: var(--surface); border-color: var(--g4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g4) 20%, transparent); }
input[type=file] { width: 100%; font: inherit; font-size: 15px; }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.rate { display: flex; gap: 8px; flex-wrap: wrap; }
.rate label { margin: 0; cursor: pointer; }
.rate input { position: absolute; opacity: 0; }
.rate span { display: grid; place-items: center; min-width: 52px; height: 44px; border-radius: var(--r-sm); background: var(--bg-alt); font-weight: 600; transition: background 0.2s, color 0.2s; }
.rate input:checked + span { background: var(--ink); color: var(--bg); }
.rate input:focus-visible + span { outline: 3px solid var(--g4); outline-offset: 2px; }
details summary { cursor: pointer; color: var(--link); font-size: 15px; margin-bottom: 12px; }
.error { color: var(--dislike); font-weight: 600; margin: 10px 0 0; font-size: 15px; }
.ok { color: var(--like); font-weight: 600; margin: 10px 0 0; font-size: 15px; }
.empty { background: var(--bg-alt); border-radius: var(--r-lg); padding: 40px 28px; text-align: center; color: var(--muted); }
.empty p { margin-bottom: 16px; }
.prose { max-width: 680px; }
.prose h1 { font-size: clamp(40px, 6vw, 56px); margin-bottom: 24px; letter-spacing: -0.04em; }
.prose h2 { margin: 32px 0 8px; font-size: 24px; }
.prose li { margin-bottom: 8px; color: var(--muted); }

.signin { max-width: 440px; margin: 40px auto 0; text-align: center; position: relative; }
.signin::before { content: ""; position: absolute; inset: 40px -40px auto; height: 300px; background: var(--glow); filter: blur(90px); opacity: 0.25; z-index: -1; border-radius: 50%; }
.signin h1 { margin-bottom: 24px; }
.signin .card { text-align: left; padding: 32px; box-shadow: var(--shadow-lg); }
.signin .btn { width: 100%; }

footer { border-top: 1px solid var(--hair); }
footer .bar { font-size: 12px; color: var(--faint); gap: 20px; min-height: 64px; }
footer a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .t-wide, .t-wide2 { grid-column: span 2; }
  .t-tall { grid-row: auto; }
  .f1 { left: 8px; } .f3 { left: 16px; } .f2 { left: auto; right: 8px; }
}
@media (max-width: 640px) {
  .l-hero { padding-top: 40px; }
  .stage { height: 600px; margin-top: 40px; }
  .phone { width: 290px; height: 600px; }
  .halo { width: 300px; height: 560px; }
  .float { font-size: 13px; padding: 10px 14px; }
  .f1 { top: 540px; left: auto; right: 8px; } .f2 { top: 300px; } .f3 { top: 450px; }
  .twoside, .mini-review, .steps3 { grid-template-columns: 1fr; }
  .steps3 { gap: 40px; }
  .l-section { padding: 88px 16px; }
  .acts-inner { grid-template-columns: 1fr; gap: 24px; }
  .motion .acts-inner { align-content: center; }
  .motion .acts-stage { height: 360px; }
  .act-text h2 { font-size: 34px; }
  .bubble { font-size: 16px; }
  .float-token { right: 8px; top: 0; }
  .tile { padding: 24px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tasks, App Store lookup, badges ---------- */
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--g2); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head > div { flex: 1; min-width: 0; }
.app-head h2, .app-head h1 { margin: 0; }
.app-head.detail { margin-bottom: 24px; }
.app-icon-img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 1px var(--hair); background: var(--bg-alt); }
.app-icon-img.lg { width: 80px; height: 80px; border-radius: 18px; }
.app-icon-img.letter { display: grid; place-items: center; font-weight: 700; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--g3), var(--g4)); box-shadow: none; }
.app-icon-img.lg.letter { font-size: 34px; }
.tasks { margin: 8px 0 16px; padding-left: 22px; }
.tasks li { margin-bottom: 6px; }
.task-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.task-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); font-weight: 600; font-size: 14px; }
.task-row .linkbtn { font-size: 22px; line-height: 1; color: var(--faint); padding: 4px 8px; }
.task-fields { padding: 20px; border-radius: var(--r-md); background: var(--bg-alt); }
.task-field { margin-top: 16px; }
.task-field textarea { min-height: 72px; background: var(--surface); margin-top: 8px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
label.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--like); }
.task-reports { list-style: none; margin: 16px 0; padding: 16px; border-radius: var(--r-md); background: var(--bg-alt); display: grid; gap: 12px; }
.task-reports li { display: flex; gap: 12px; }
.task-reports .tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--like); color: #fff; font-size: 12px; margin-top: 1px; }
.task-reports p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.lookup input[type=search] { width: 100%; font: inherit; color: inherit; background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; }
.lookup input[type=search]:focus { outline: none; background: var(--surface); border-color: var(--g4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g4) 20%, transparent); }
.lookup-results { display: grid; gap: 4px; margin-top: 8px; }
.hit { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; cursor: pointer; }
.hit:hover, .hit:focus-visible { background: var(--bg-alt); }
.hit .app-icon-img { width: 44px; height: 44px; border-radius: 10px; }
.hit span { display: grid; min-width: 0; }
.hit small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.detail-desc { max-height: 12em; overflow: auto; }

/* ---------- Phone menu ---------- */
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.burger i { position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform 0.35s var(--ease); }
.burger i:nth-of-type(1) { top: 18px; } .burger i:nth-of-type(2) { top: 25px; }
.menu-open .burger i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
.burger-dot { position: absolute; top: 11px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--g2); }
.menu-open .burger-dot { display: none; }
@media (max-width: 640px) {
  .bar:has(.burger) { flex-wrap: nowrap; gap: 12px; }
  .bar:has(.burger) .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 56px); overflow-y: auto; z-index: 49; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 16px 32px 48px; background: var(--bg); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s; }
  .menu-open .bar:has(.burger) .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
  .bar:has(.burger) .nav a { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--hair); }
  .bar:has(.burger) .nav a[aria-current="page"] { color: var(--link); }
  .bar:has(.burger) .nav .lang { align-self: flex-start; margin-top: 24px; font-size: 14px; padding: 8px 16px; }
  .bar:has(.burger) .burger { display: block; }
  .menu-open #top { background: var(--bg); box-shadow: 0 1px 0 var(--hair); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open { overflow: hidden; }
}

/* ---------- Add app: two steps ---------- */
.step-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 4px; }
.pick { padding: 28px; margin-top: 24px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-alt); margin-bottom: 24px; }
.seg-btn { border: 0; background: none; color: var(--muted); font: 600 15px var(--font); padding: 8px 18px; border-radius: 9px; cursor: pointer; min-height: 36px; }
.seg-btn[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.big-input { width: 100%; font: inherit; font-size: 19px; color: inherit; background: var(--bg-alt); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; }
.big-input:focus { outline: none; background: var(--surface); border-color: var(--g4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g4) 20%, transparent); }
.row.nowrap { flex-wrap: nowrap; }
.row.nowrap .btn { flex: none; min-height: 54px; }
.hit-go { margin-left: auto; color: var(--faint); font-size: 22px; }
.manual { margin-top: 16px; color: var(--muted); font-size: 15px; }
.manual .linkbtn, .muted .linkbtn { font-size: inherit; }
.picked { display: flex; align-items: center; gap: 16px; }
.picked > div { flex: 1; min-width: 0; }
@media (max-width: 640px) { .row.nowrap { flex-wrap: wrap; } .row.nowrap .btn { width: 100%; } .picked { flex-wrap: wrap; } }

/* ---------- Roles, profiles, testers ---------- */
.welcome { max-width: 720px; margin: 24px auto 0; text-align: center; }
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 16px; }
.role-card { display: grid; gap: 8px; justify-items: start; text-align: left; padding: 28px; border: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); font: inherit; cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.role-card b { font-size: 22px; letter-spacing: -0.02em; }
.role-card span:last-child { color: var(--muted); }
.role-emoji { font-size: 36px; }
.profile { max-width: 760px; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.profile-head h1 { margin: 0; }
.avatar { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--g2), var(--g4)); color: #fff; font-size: 30px; font-weight: 700; }
.bio { font-size: 19px; margin-bottom: 24px; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 40px; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 4px; }
.stat b { font-size: 34px; letter-spacing: -0.04em; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
.badge-card { display: grid; gap: 4px; justify-items: start; padding: 18px; border-radius: var(--r-md); background: var(--bg-alt); opacity: 0.45; filter: grayscale(1); }
.badge-card.earned { opacity: 1; filter: none; background: var(--surface); box-shadow: var(--shadow-sm); }
.badge-card span:last-child { font-size: 13px; color: var(--muted); }
.badge-icon { font-size: 28px; }
.share input { flex: 1; min-width: 0; }
.useful { margin: 8px 0 0; }
.useful .rate span { min-width: 44px; }
.testers { background: var(--bg-alt); }
.testers-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lede.left { margin-left: 0; text-align: left; }
.portfolio-card { background: var(--surface); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-lg); }
.stat-tiles.mini { grid-template-columns: repeat(3, 1fr); margin: 16px 0; }
.stat-tiles.mini .stat { box-shadow: none; background: var(--bg-alt); padding: 14px; }
.stat-tiles.mini .stat b { font-size: 26px; }
.badges.mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.badges.mini span { padding: 6px 12px; border-radius: 99px; background: var(--bg-alt); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) {
  .role-cards, .testers-inner { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles, .badges { grid-template-columns: 1fr 1fr; }
}
.name-field { max-width: 360px; margin: 24px auto 32px; text-align: left; }
.testers-inner > * { min-width: 0; }
@media (max-width: 640px) { .portfolio-card { padding: 20px; } .stat-tiles.mini .stat { padding: 10px; } .stat-tiles.mini .stat b { font-size: 22px; } }

/* Generated example screenshots in the "Show, don't tell" tile */
.thumbs img { flex: 1; min-width: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-sm); background: var(--bg-alt); }
/* Hints that sit between a legend and its inputs need breathing room below, too */
fieldset > .hint { margin: 4px 0 14px; }
/* Landing FAQ and guide cards */
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: var(--r-md); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; letter-spacing: -0.015em; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--faint); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.guide-card { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.guide-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guide-card b { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.guide-card span { color: var(--muted); }
.guide-card .more { color: var(--link); margin-top: auto; }
.cta-row.left { justify-content: flex-start; }
/* Static content pages (guides, testers) */
.article { max-width: 720px; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -0.04em; margin-bottom: 20px; text-wrap: balance; }
.article .lede { margin: 0 0 12px; text-align: left; }
.article .meta { font-size: 14px; color: var(--faint); margin-bottom: 40px; }
.article h2 { font-size: 28px; letter-spacing: -0.03em; margin: 48px 0 14px; }
.article p, .article li { font-size: 19px; line-height: 1.6; }
.article li { margin-bottom: 10px; }
.article .cta-box { margin: 56px 0; padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.article .cta-box h2 { margin-top: 0; }
.related { display: grid; gap: 12px; margin-top: 16px; }
.page-hero { text-align: center; padding: 72px 16px 24px; }
.page-hero h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.045em; margin: 0 auto 20px; max-width: 14ch; text-wrap: balance; }
@media (min-width: 641px) and (max-width: 960px) { .nav { gap: 4px 14px; font-size: 13px; } .bar { gap: 4px 16px; } }

/* ---------- Settings: profile photo, sign out ---------- */
.avatar { object-fit: cover; }
.avatar.xl { width: 96px; height: 96px; font-size: 40px; }
.avatar-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.file-btn { cursor: pointer; position: relative; }
.file-btn:focus-within { outline: 3px solid var(--g4); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.settings-stats { margin-top: 28px; }
.badges.mini .locked { opacity: 0.4; filter: grayscale(1); }
.nav-logout { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--muted); cursor: pointer; }
.nav-logout:hover { color: var(--ink); }
@media (max-width: 640px) {
  .bar:has(.burger) .nav .nav-logout { text-align: left; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; padding: 12px 0; color: var(--dislike); }
}

/* Footer language switch */
.foot-lang { display: inline-flex; gap: 2px; padding: 2px; border-radius: 99px; background: var(--bg-alt); margin-right: auto; }
.foot-lang > * { font: inherit; font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 99px; border: 0; background: none; cursor: pointer; text-decoration: none; }
.foot-lang [aria-pressed="true"], .foot-lang [aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.foot-lang a:hover { text-decoration: none; color: var(--ink); }




/* ---------- Hero: full-bleed picture, copy on the left, big tight type ---------- */
.l-hero { position: relative; display: flex; align-items: center; width: 100%; min-height: calc(100svh - 56px); padding: 0; text-align: left; overflow: hidden; background: #FAF0EC; }
.hero-media { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.hero-shot { position: absolute; top: -3%; left: -2%; width: 104%; height: 106%; max-width: none; object-fit: cover; object-position: 70% 50%; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.hero-inner { position: relative; z-index: 1; width: min(1200px, 100%); margin: 0 auto; padding: 48px 24px 72px; }
.hero-copy { max-width: min(620px, 52%); }
.l-hero .display { font-size: clamp(56px, 7.4vw, 116px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; max-width: none; margin: 0 0 32px; text-wrap: balance; }
.l-hero .display .glow-text { display: inline-block; padding-bottom: 0.1em; }
:lang(ru) .l-hero .display { font-size: clamp(46px, 5.6vw, 92px); }
.l-hero .eyebrow { margin-bottom: 20px; }
.l-hero .lede { margin: 0 0 36px; max-width: 30em; font-size: clamp(19px, 1.6vw, 23px); text-align: left; }
.l-hero .cta-row { justify-content: flex-start; }
/* Phones and tall windows: the copy still sits on the picture; a tall image keeps the phone low, under a soft wash. */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .l-hero { align-items: flex-start; min-height: 100svh; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(250, 240, 236, 0.92) 0%, rgba(250, 240, 236, 0.7) 38%, rgba(250, 240, 236, 0) 62%); }
  .hero-shot { object-position: 60% 100%; left: -4%; width: 108%; }
  .hero-inner { padding: 88px 16px 48px; }
  .hero-copy { max-width: none; }
  .l-hero .display { font-size: clamp(52px, 14vw, 88px); }
  :lang(ru) .l-hero .display { font-size: clamp(44px, 11.5vw, 76px); }
}
@media (min-width: 761px) and (max-width: 1080px) and (min-aspect-ratio: 4/5) {
  .hero-copy { max-width: 58%; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(250, 240, 236, 0.85) 0%, rgba(250, 240, 236, 0.5) 45%, rgba(250, 240, 236, 0) 70%); }
}
@media (prefers-reduced-motion: reduce) { .hero-shot { transform: none; } }

/* The header floats over the hero picture on the landing page: transparent at the top,
   frosted glass once you scroll. */
body.is-landing #top { position: fixed; top: 0; left: 0; right: 0; }
body.is-landing .l-hero { min-height: 100svh; }
body.is-landing .hero-inner { padding-top: 104px; }
#top.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }


/* Phones: no device picture, just the copy on a soft brand glow. */
@media (max-width: 760px) {
  .hero-media { display: none; }
  .l-hero, body.is-landing .l-hero { min-height: 0; background:
    linear-gradient(to bottom, transparent 72%, var(--bg-alt)),
    radial-gradient(60% 45% at 100% 8%, rgba(163, 91, 255, 0.22), transparent 70%),
    radial-gradient(55% 40% at 0% 100%, rgba(255, 138, 61, 0.18), transparent 70%),
    radial-gradient(50% 40% at 100% 95%, rgba(41, 211, 193, 0.16), transparent 70%),
    #FBF7F5; }
  .hero-inner, body.is-landing .hero-inner { padding: 104px 16px 64px; }
}

/* A tiny blurred copy of the hero picture paints with the page, so a reload never flashes an
   empty backdrop while the full image decodes. */
.hero-media { background: url("data:image/webp;base64,UklGRnwAAABXRUJQVlA4IHAAAADwBACdASowABsAPuFaqE2opSQiNVgMARAcCWQAsOxsv3+UD/hHyNf3Id9Z8zcolgAA/vUM9peexreZb75iCmTsRas3cG2yM4mTKH2+ZAD0SlnCYLDmujY/aQQlW2O9Bf4Cy24aOU4JGL2V6PPk1IAA") 70% 50% / cover no-repeat; }
@media (min-width: 761px) and (max-aspect-ratio: 4/5) { .hero-media { background-image: url("data:image/webp;base64,UklGRnYAAABXRUJQVlA4IGoAAADwBACdASobADAAPtlap02oJaQiNVv8AQAbCWQAxNhuluAfD6vZv4wVjAekM8XkOAAA/vXNYD7FRz2oY2SSVZy5IxYtR0xD1B2tWf/Vdtg6jVHmcq6TreJijbW8UrqAQRy62/Cxlw/VwDAA"); background-position: 60% 100%; } }
@media (max-width: 760px) { .hero-media { background: none; } }

/* Set by /redirect.js before first paint for signed-in visitors and #/ links: keep the prerendered
   landing page out of sight until the app has drawn the screen they asked for. */
html.app-mode #top, html.app-mode #view, html.app-mode #foot { visibility: hidden; }
html.app-mode body { background: var(--bg); }
