/* BeneSoft — site styles */
:root {
  --ink: #0a0e1f;
  --ink-2: #121833;
  --ink-3: #1c2447;
  --gold: #f6b417;
  --gold-2: #ffd966;
  --gold-3: #d98a00;
  --red: #e0312b;
  --violet: #6d5cff;
  --teal: #19c3a6;
  --paper: #f7f6f2;
  --card: #ffffff;
  --text: #1b1f2e;
  --muted: #5b6275;
  --line: #e6e3da;
  --on-dark: #eef0fa;
  --on-dark-muted: #a9b0cc;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 14, 31, .06), 0 10px 30px -12px rgba(10, 14, 31, .18);
  --shadow-lg: 0 30px 80px -30px rgba(10, 14, 31, .45);
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-2); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 31, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--on-dark);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(10, 14, 31, .97); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.35rem/1 var(--font-display); letter-spacing: -.02em; color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand span b { color: var(--gold); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: var(--on-dark-muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(246, 180, 23, .14); box-shadow: inset 0 0 0 1px rgba(246, 180, 23, .35); }
.nav-links .nav-cta a { background: var(--gold); color: var(--ink); margin-left: 8px; }
.nav-links .nav-cta a:hover { background: var(--gold-2); color: var(--ink); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px var(--gutter) 20px; background: rgba(10, 14, 31, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font: 700 1rem/1 var(--font-body); text-decoration: none;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(246, 180, 23, .7); }
.btn-gold:hover { box-shadow: 0 16px 40px -12px rgba(246, 180, 23, .9); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-play { background: #000; color: #fff; padding: 10px 22px 10px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-play svg { width: 28px; height: 28px; }
.btn-play small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .8; margin-bottom: 3px; }
.btn-play strong { display: block; font-size: 1.15rem; font-family: var(--font-display); }
.btn-play > span { text-align: left; line-height: 1; }
.btn-play:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 12px 30px -12px rgba(0, 0, 0, .7); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(56px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .75; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 8%; background: radial-gradient(circle, rgba(246, 180, 23, .55), transparent 65%); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; left: 8%; top: 40%; background: radial-gradient(circle, rgba(109, 92, 255, .5), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 70%; top: 50%; background: radial-gradient(circle, rgba(224, 49, 43, .45), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6%, 4%, 0) scale(1.12); }
  100% { transform: translate3d(5%, -5%, 0) scale(.95); }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: .85rem; font-weight: 600; color: var(--on-dark); margin-bottom: 24px;
}
.eyebrow b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { color: #fff; }
.grad {
  background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 35%, #ff7a45 70%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-dark-muted); max-width: 36em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Phone mock */
.device-stage { position: relative; display: grid; place-items: center; min-height: 460px; }
.device {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 14px;
  background: linear-gradient(160deg, #2a3360, #0d1228 60%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), inset 0 0 0 2px rgba(255, 255, 255, .06), var(--shadow-lg), 0 40px 120px -40px rgba(246, 180, 23, .5);
  transform: rotate(-6deg); animation: float 7s ease-in-out infinite;
}
.device-screen {
  height: 100%; border-radius: 32px; overflow: hidden; padding: 44px 20px 20px;
  background: radial-gradient(120% 80% at 50% 0%, #2c2f6b, #12163a 55%, #0b0f26);
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.device-screen::before { content: ""; position: absolute; top: 14px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 999px; background: #05070f; }
.device-time { font: 700 2.4rem/1 var(--font-display); color: #fff; text-align: center; letter-spacing: -.03em; }
.device-date { font-size: .75rem; color: var(--on-dark-muted); text-align: center; margin-top: -12px; }
.device-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.device-apps a { text-decoration: none; text-align: center; font-size: .72rem; color: #dfe3f5; font-weight: 600; line-height: 1.25; }
.device-apps img { width: 100%; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); margin-bottom: 8px; transition: transform .25s; }
.device-apps a:hover img { transform: scale(1.06) rotate(-2deg); }
.device-dock { margin-top: auto; height: 56px; border-radius: 20px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
@keyframes float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-14px); } }

.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.chip-float i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-style: normal; }
.chip-float i svg { width: 18px; height: 18px; }
.chip-float.c1 { top: 15%; left: -6%; }
.chip-float.c1 i { background: #e8fbf6; color: #0d8f79; }
.chip-float.c2 { bottom: 18%; right: -4%; animation-delay: -2s; }
.chip-float.c2 i { background: #fff4d6; color: #a86a00; }
.chip-float.c3 { bottom: 2%; left: 4%; animation-delay: -4s; }
.chip-float.c3 i { background: #efedff; color: #4b3be0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: #fff; }

.app-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.app-hero-icon { position: relative; }
.app-hero-icon img { width: clamp(120px, 18vw, 200px); border-radius: 24%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
.app-hero-icon::before { content: ""; position: absolute; inset: -20%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 23, .45), transparent 65%); filter: blur(20px); }
.app-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.tags li { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.overlap { margin-top: clamp(-90px, -7vw, -50px); position: relative; z-index: 2; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); margin-bottom: 8px; }
.stat strong em { font-style: normal; color: var(--gold-3); }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 500; }

/* App cards */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.app-card {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start;
  padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
  text-decoration: none; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.app-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(246, 180, 23, .0), rgba(246, 180, 23, .0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: background .3s;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-card:hover::before { background: linear-gradient(135deg, var(--gold), var(--red) 60%, var(--violet)); }
.app-card img { width: 96px; height: 96px; border-radius: 24%; box-shadow: 0 12px 24px -12px rgba(10, 14, 31, .5); }
.app-card h2, .app-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.app-card p { color: var(--muted); margin-bottom: 14px; font-size: 1rem; }
.app-card .tags li { background: #f3f1ea; color: var(--text); box-shadow: none; }
.app-card .tags { margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.more svg { width: 18px; height: 18px; transition: transform .25s; }
.app-card:hover .more svg, a.more:hover svg { transform: translateX(4px); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.ico svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
.ico-gold { background: #fff4d6; color: #a86a00; }
.ico-teal { background: #e3f8f4; color: #0d8f79; }
.ico-violet { background: #efedff; color: #4b3be0; }
.ico-red { background: #ffe9e7; color: #c0221c; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* News timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--violet), transparent); }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--gold); }
.timeline time { display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 8px; }
.timeline h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0 0 6px; }
.timeline a { color: var(--ink); font-weight: 600; }

/* Panel */
.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.panel-dark { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.panel-dark::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 23, .4), transparent 65%); filter: blur(10px); }
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: var(--on-dark-muted); }
.sticky { position: sticky; top: 96px; }

/* Feature checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checklist li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow); font-weight: 500;
}
.checklist li svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #fff4d6; color: #a86a00; }
.checklist .new { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); border-radius: 6px; padding: 3px 7px; margin-right: 6px; vertical-align: 2px; }

.facts { list-style: none; margin: 0 0 24px; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.facts li span:first-child { color: var(--on-dark-muted); }
.facts li span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 72px); background: var(--ink); color: var(--on-dark);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(246, 180, 23, .45), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgba(109, 92, 255, .45), transparent 60%); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Prose (legal / long text) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; scroll-margin-top: 96px; }
.prose p, .prose li { color: #343a4e; }
.prose a { color: #8a5a00; font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .95rem; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; }
.toc a:hover { background: #f3f1ea; color: var(--ink); }
.updated { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff4d6; color: #7a4d00; font-weight: 700; font-size: .85rem; margin-bottom: 1.5em; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { display: flex; flex-direction: column; gap: 6px; }
.support-card .more { margin-top: auto; padding-top: 10px; text-decoration: none; }

/* Mini app list */
.mini-apps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mini-apps a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; text-decoration: none; font-weight: 600; transition: background .2s; }
.mini-apps a:hover { background: rgba(255, 255, 255, .07); }
.mini-apps img { width: 48px; height: 48px; border-radius: 24%; }
.mini-apps small { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 32px; margin-top: clamp(32px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-family: var(--font-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 16px; }
.site-footer p { max-width: 32em; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--on-dark-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--gold); }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .device-stage { min-height: 0; padding: 20px 0; }
  .apps-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .features, .checklist, .support-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 64px 1fr; padding: 22px; gap: 16px; }
  .app-card img { width: 64px; height: 64px; }
  .app-hero { grid-template-columns: 1fr; }
  .chip-float { font-size: .78rem; }
  .chip-float.c1 { left: 0; }
  .chip-float.c2 { right: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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

/* ---------- Portfolio ---------- */
.icon-wall { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 48px; }
.icon-wall img {
  width: 72px; height: 72px; border-radius: 22%; transform: rotate(var(--r, 0deg));
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .3s;
}
.icon-wall img:hover { transform: rotate(0) scale(1.12); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .92rem/1 var(--font-body); color: var(--text); background: var(--card); box-shadow: var(--shadow); transition: background .2s, color .2s;
}
.chip b { font-size: .75rem; padding: 3px 7px; border-radius: 999px; background: #f3f1ea; color: var(--muted); }
.chip:hover { background: #fff8e6; }
.chip.is-active { background: var(--ink); color: #fff; }
.chip.is-active b { background: var(--gold); color: var(--ink); }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pf-card {
  display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 28px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); scroll-margin-top: 96px; transition: box-shadow .3s;
}
.pf-card:hover { box-shadow: var(--shadow-lg); }
.pf-card[hidden] { display: none; }
.pf-head { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; }
.pf-icon { width: 88px; height: 88px; border-radius: 22%; box-shadow: 0 12px 24px -12px rgba(10, 14, 31, .5); }
.pf-cat { display: inline-block; font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 8px; }
.pf-head h2 { font-size: 1.35rem; margin-bottom: 6px; }
.pf-sub { margin: -2px 0 6px; color: var(--muted); font-size: .92rem; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.rating strong { font-family: var(--font-display); }
.rating small { color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars i { width: 14px; height: 14px; background: #ddd8cb; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--gold); }
.stars i.half { background: linear-gradient(90deg, var(--gold) 50%, #ddd8cb 50%); }
.pf-meta { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-meta li { text-align: center; }
.pf-meta li + li { border-left: 1px solid var(--line); }
.pf-meta strong { display: block; font: 700 1.05rem/1.2 var(--font-display); color: var(--ink); }
.pf-meta span { font-size: .78rem; color: var(--muted); }
.pf-summary { color: #343a4e; margin: 0; }
.pf-more summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: .95rem; }
.pf-more summary:hover { color: var(--gold-3); }
.pf-more p { color: var(--muted); font-size: .95rem; margin: .6em 0 0; white-space: pre-line; }
.pf-shots {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 -2px;
  scrollbar-width: thin; scrollbar-color: #d4cfc1 transparent;
}
.pf-shots img {
  flex: none; height: 240px; width: auto; border-radius: 14px; scroll-snap-align: start; background: #eeeae0;
  box-shadow: 0 8px 20px -10px rgba(10, 14, 31, .45);
}
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.pf-note { margin-top: 28px; text-align: center; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .pf-card { padding: 22px; }
  .pf-head { grid-template-columns: 64px 1fr; gap: 14px; }
  .pf-icon { width: 64px; height: 64px; }
  .pf-shots img { height: 200px; }
  .icon-wall img { width: 56px; height: 56px; }
}

/* ---------- Services rework ---------- */
.btn-sm { padding: 11px 18px; font-size: .92rem; margin-top: 8px; }
.center-row { text-align: center; margin-top: 36px; }
.narrow { max-width: 860px; }
.lang-switch { font-weight: 800 !important; letter-spacing: .06em; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

/* Hero showcase: browser + phone */
.showcase { position: relative; padding: 20px 0 40px; }
.browser {
  border-radius: 14px; overflow: hidden; background: #0d1228;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg), 0 40px 120px -40px rgba(246, 180, 23, .45);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1a2142; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; flex: 1; padding: 4px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--on-dark-muted); font-size: .78rem; }
.browser img { width: 100%; height: auto; display: block; }
.showcase .browser { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.phone-mini {
  position: absolute; right: -10px; bottom: 0; width: 30%; padding: 7px; border-radius: 26px;
  background: linear-gradient(160deg, #2a3360, #0d1228 60%); box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), var(--shadow-lg);
  animation: bob 7s ease-in-out infinite;
}
.phone-mini img { border-radius: 20px; width: 100%; height: auto; }
.showcase .chip-float.c1 { top: 4%; left: -6%; }
.showcase .chip-float.c2 { bottom: 30%; right: 22%; top: auto; }
.showcase .chip-float.c3 { bottom: 4%; left: 8%; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 180, 23, .18), transparent 70%); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.6rem; }
.service-card p { color: var(--muted); }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.ticks svg { width: 18px; height: 18px; flex: none; color: #0d8f79; margin-top: 3px; }
.features-3 { grid-template-columns: repeat(3, 1fr); }

/* Featured project */
.feature-project {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) + 8px); background: var(--ink); color: var(--on-dark);
  position: relative; overflow: hidden; isolation: isolate;
}
.feature-project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 0% 0%, rgba(109, 92, 255, .4), transparent 60%), radial-gradient(50% 80% at 100% 100%, rgba(246, 180, 23, .35), transparent 60%); }
.feature-project h2, .feature-project .fp-title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-project p { color: var(--on-dark-muted); }
.feature-project .kicker { color: var(--gold); }
.feature-project .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.feature-project .btn-outline:hover { background: #fff; color: var(--ink); }
.feature-project .btn-dark { background: var(--gold); color: var(--ink); }
.tags-light li { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.evhod-mobile { width: 60%; margin: 24px auto 0; border-radius: 22px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }

/* Mini rating on app cards */
.mini-rating { display: inline-block; margin-left: 4px; color: #a86a00; font-weight: 700; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.step-num { position: absolute; top: 18px; right: 22px; font: 800 2.4rem/1 var(--font-display); color: #efece3; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* FAQ */
.faq { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 700 1.05rem/1.4 var(--font-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff4d6; color: #a86a00; font-size: 1.2rem; transition: transform .2s; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--text); padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fcfbf8; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246, 180, 23, .2); background: #fff; }
.req { color: var(--red); margin-left: 2px; }
.captcha-row { align-items: end; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent a { color: #8a5a00; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; }
.form-status.is-ok { color: #0d8f79; }
.form-status.is-error { color: #c0221c; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.next-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--on-dark-muted); }
.next-steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--gold); color: var(--ink); font-family: var(--font-display); }
.mini-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mini-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: #fff; font-weight: 600; }
.mini-links a:hover { background: rgba(255, 255, 255, .07); color: var(--gold); }
.mini-links svg { width: 16px; height: 16px; }

.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .services, .feature-project, .contact-grid { grid-template-columns: 1fr; }
  .showcase { margin-top: 12px; }
  .showcase .browser { transform: none; }
}
@media (max-width: 640px) {
  .steps, .features-3, .field-row, .ticks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phone-mini { width: 34%; right: 0; }
  .showcase .chip-float.c2 { display: none; }
}
.hero-grid.has-showcase { grid-template-columns: 1fr 1.15fr; }
.hero h1.h1-home { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
@media (max-width: 900px) { .hero-grid.has-showcase { grid-template-columns: 1fr; } }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--ink); }
@media (max-width: 640px) { .showcase .chip-float.c1 { left: 0; top: 0; } }
