/* BraStack — site styles */

:root {
  --bg: #f7f7fb;
  --bg-2: #eef0f8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #0e1020;
  --muted: #5a5f75;
  --line: rgba(14, 16, 32, 0.08);
  --line-strong: rgba(14, 16, 32, 0.14);
  --accent: #5b6cff;
  --accent-2: #2ec5ff;
  --accent-3: #8b7bff;
  --grad: linear-gradient(120deg, #8b7bff 0%, #5b8cff 45%, #2ec5ff 100%);
  --shadow: 0 1px 2px rgba(14, 16, 32, 0.04), 0 12px 40px -12px rgba(40, 50, 120, 0.18);
  --shadow-lg: 0 2px 4px rgba(14, 16, 32, 0.04), 0 30px 80px -20px rgba(60, 70, 180, 0.30);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07080f;
    --bg-2: #0c0e1a;
    --surface: rgba(20, 23, 40, 0.62);
    --surface-solid: #12142a;
    --text: #f2f3fa;
    --muted: #9da3bd;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #8f9bff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 40px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 30px 80px -20px rgba(70, 90, 255, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

::selection { background: rgba(91, 108, 255, 0.25); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--surface-solid); color: var(--text);
  padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow);
}
.skip:focus { top: 16px; }

/* ---------- Background aurora ---------- */

.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg-2), transparent 70%), var(--bg);
}
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform;
}
.aurora .a1 {
  width: 620px; height: 620px; left: -160px; top: -220px; opacity: 0.5;
  background: radial-gradient(circle, #8b7bff 0%, transparent 65%);
  animation: drift-a 22s var(--ease) infinite alternate;
}
.aurora .a2 {
  width: 560px; height: 560px; right: -180px; top: 80px; opacity: 0.4;
  background: radial-gradient(circle, #2ec5ff 0%, transparent 65%);
  animation: drift-b 26s var(--ease) infinite alternate;
}
.aurora .a3 {
  width: 520px; height: 520px; left: 30%; top: 55%; opacity: 0.22;
  background: radial-gradient(circle, #5b6cff 0%, transparent 65%);
  animation: drift-a 30s var(--ease) infinite alternate-reverse;
}
.aurora .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 50% 0%, #000 0%, transparent 75%);
}

@keyframes drift-a { to { transform: translate3d(120px, 80px, 0) scale(1.15); } }
@keyframes drift-b { to { transform: translate3d(-140px, 60px, 0) scale(1.1); } }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled .bar {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 800 21px/1 var(--font-display); letter-spacing: -0.03em;
}
.brand svg { width: 32px; height: 32px; transition: transform 0.6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav a:not(.btn):hover { color: var(--text); background: var(--line); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a.active:not(.btn) { color: var(--text); background: var(--line-strong); }
.nav .btn.active { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent), 0 10px 30px -10px rgba(91, 108, 255, 0.75); }
.nav .btn { margin-left: 8px; }

/* Hamburger (mobile only) */
.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0; flex: none;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.menu-toggle span {
  position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Back to top */
.to-top {
  position: fixed; z-index: 55; right: 20px; bottom: calc(20px + var(--banner-h, 0px));
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: var(--grad); background-size: 180% 100%;
  box-shadow: 0 12px 30px -10px rgba(91, 108, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, bottom 0.35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top:active { transform: scale(0.94); }

/* ---------- Buttons ---------- */

.btn {
  --h: 50px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 180% 100%;
  box-shadow: 0 10px 30px -10px rgba(91, 108, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(91, 108, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.btn-ghost {
  color: var(--text); background: var(--surface); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- Hero ---------- */

.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px;
  padding: 64px 0 96px;
  min-height: min(760px, calc(100svh - 90px));
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--muted);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.eyebrow i {
  width: 8px; height: 8px; border-radius: 50%; margin-left: 6px;
  background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

.hero h1 {
  font: 800 clamp(42px, 6.6vw, 80px)/1.02 var(--font-display);
  letter-spacing: -0.045em;
  margin: 22px 0;
  text-wrap: balance;
}
.gradient-text {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0; max-width: 36ch; text-wrap: pretty; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.hero-visual .glow {
  position: absolute; inset: 16%;
  background: var(--grad); border-radius: 50%; filter: blur(70px); opacity: 0.4;
  animation: breathe 6s ease-in-out infinite;
}
.hero-visual .orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed var(--line-strong);
  animation: spin 60s linear infinite;
}
.hero-visual .orbit.o2 { inset: 14%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: var(--line); }
.hero-visual .orbit::after {
  content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 16px var(--accent-2);
}
.hero-visual .orbit.o2::after { left: auto; right: 8%; top: 12%; width: 8px; height: 8px; background: var(--accent-3); box-shadow: 0 0 16px var(--accent-3); }

.stack3d { position: absolute; inset: 22%; width: 56%; height: 56%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(50, 60, 200, 0.35)); }
.stack3d .layer { animation: float 6s ease-in-out infinite; }
.stack3d .l1 { --lift: -1.5px; animation-delay: -0.8s; }
.stack3d .l2 { --lift: -3.5px; animation-delay: -0.4s; }
.stack3d .l3 { --lift: -6px; }
@keyframes float { 50% { transform: translateY(var(--lift)); } }

@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.55; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
h2 {
  font: 800 clamp(30px, 4vw, 46px)/1.08 var(--font-display);
  letter-spacing: -0.035em; margin: 0 0 14px; text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Cards */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden;
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s, opacity 0.9s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91, 108, 255, 0.14), transparent 45%);
  transition: opacity 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }

.icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(91, 108, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.icon svg { width: 26px; height: 26px; }

.card h3 { font: 700 20px/1.3 var(--font-display); letter-spacing: -0.02em; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* App showcase */

.app {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 36px; border-radius: 30px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.app::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 197, 255, 0.22), transparent 65%); pointer-events: none;
}
.app-icon {
  width: 120px; height: 120px; border-radius: 28px;
  box-shadow: 0 20px 40px -14px rgba(20, 30, 90, 0.5);
  transition: transform 0.6s var(--ease);
}
.app:hover .app-icon { transform: rotate(-4deg) scale(1.04); }
.app h3 { font: 800 30px/1.1 var(--font-display); letter-spacing: -0.03em; margin: 0 0 8px; }
.app p { margin: 0; color: var(--muted); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.app-links { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.soon { font-size: 14px; color: var(--muted); text-align: center; }

/* Values strip */

.values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--line); border: 1px solid var(--line);
}
.values div { background: var(--surface-solid); padding: 28px 24px; }
.values strong { display: block; font: 700 17px/1.3 var(--font-display); margin-bottom: 6px; }
.values span { color: var(--muted); font-size: 15px; }

/* Contact */

.cta {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; padding: 72px 28px; border-radius: 34px;
  color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #8b7bff 0%, #4f5df0 40%, #1f2a8a 100%);
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 197, 255, 0.6), transparent 65%); filter: blur(30px);
}
.cta .kicker { background: none; color: rgba(255, 255, 255, 0.75); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 18px; margin: 0 auto 30px; max-width: 46ch; }
.cta .btn { background: #fff; color: #1f2a8a; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); }
.cta .btn:hover { transform: translateY(-2px); }
.cta small { display: block; margin-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 14px; }

/* English */

.en { padding: 0 0 64px; }
.en .inner {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 24px 28px; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  color: var(--muted); font-size: 16px;
}
.en .inner > span { font-weight: 700; color: var(--text); font-size: 13px; letter-spacing: 0.1em; padding-top: 3px; }
.en p { margin: 0; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { font-size: 18px; }
.site-footer .brand svg { width: 26px; height: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--muted); }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-legal { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Privacy policy ---------- */

.section-head .policy-date { font-size: 15px; margin-top: 12px; }
.policy .card p + p { margin-top: 12px; }
.policy .card ul { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.policy .card li { position: relative; padding-left: 22px; margin: 6px 0; }
.policy .card li::before {
  content: ""; position: absolute; left: 3px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
}

.policy-en {
  margin-top: 18px; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  color: var(--muted); font-size: 16px;
}
.policy-en summary {
  display: flex; align-items: center; gap: 20px; padding: 22px 28px; cursor: pointer; list-style: none;
  color: var(--text); font-weight: 600;
}
.policy-en summary::-webkit-details-marker { display: none; }
.policy-en summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted); transition: transform 0.3s var(--ease); }
.policy-en[open] summary::after { transform: rotate(45deg); }
.policy-en summary span { font-weight: 700; font-size: 13px; letter-spacing: 0.1em; }
.policy-en > div { padding: 0 28px 24px; }
.policy-en p { margin: 0 0 12px; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed; z-index: 60; left: 50%; bottom: 20px;
  width: min(720px, 100% - 32px);
  display: flex; align-items: center; gap: 20px;
  padding: 16px 16px 16px 22px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  font-size: 15px; color: var(--muted);
  opacity: 0; transform: translate(-50%, 16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.cookie-banner.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-actions .btn { cursor: pointer; }
.cookie-actions .btn-ghost { font-family: var(--font); }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; bottom: 12px; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Reveal on scroll (only when JS runs) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 32px 0 72px; min-height: 0; gap: 16px; }
  .hero-visual { order: -1; max-width: 280px; }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tags { justify-content: center; }
  .app-links { width: 100%; max-width: 320px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .site-header .bar { position: relative; padding-left: 14px; }
  .site-header.menu-open .bar {
    background: var(--surface); border-color: var(--line); box-shadow: var(--shadow);
    backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 24px; border: 1px solid var(--line-strong);
    background: var(--surface-solid); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-size: 17px; padding: 14px 16px; border-radius: 14px; }
  .nav .btn { margin: 8px 0 0; --h: 50px; font-size: 16px; }
  .to-top { right: 16px; width: 48px; height: 48px; bottom: calc(16px + var(--banner-h, 0px)); }
  .values { grid-template-columns: 1fr; }
  .en .inner { grid-template-columns: 1fr; gap: 8px; }
  .policy-en summary { padding: 20px 22px; gap: 14px; }
  .policy-en > div { padding: 0 22px 20px; }
  .cta { padding: 56px 22px; border-radius: 26px; }
  .app { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Stacked app cards and "coming soon" state */
.app + .app { margin-top: 18px; }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.8; }
