:root {
  --bg: #06131f;
  --bg-2: #0a1c2c;
  --surface: #0f2436;
  --surface-2: #132c42;
  --line: #1f3a52;
  --text: #e9f2f8;
  --text-2: #a9bfd0;
  --text-3: #7f97ab;
  --accent: #5fd3c4;
  --accent-ink: #052421;
  --gold: #f4b860;
  --warn: #ffcf5c;
  --radius: 18px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Noto Sans Arabic", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(95, 211, 196, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(70, 130, 200, .10), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: 24px; }
.ico { width: 22px; height: 22px; flex: none; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.hint { background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 15px; }
.hint-in { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-block: 8px; }
.hint-in .ico { color: var(--accent); width: 20px; height: 20px; }
.hint-in span { flex: 1; color: var(--text-2); }
.hint-go { background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.hint-go:hover { text-decoration: none; filter: brightness(1.08); }
.hint-x { background: none; border: 0; color: var(--text-3); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.hint-x:hover { color: var(--text); background: rgba(255,255,255,.06); }

.top { position: sticky; top: 0; z-index: 50; background: rgba(6, 19, 31, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(31, 58, 82, .6); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { color: var(--text-2); padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.nav > a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }

.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 500; user-select: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary .ico { width: 18px; height: 18px; }
.langs summary:hover, .langs[open] summary { color: var(--text); border-color: var(--accent); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; width: 380px; max-width: calc(100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.langs li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; }
.langs li a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.langs li a[aria-current] { color: var(--accent); background: rgba(95,211,196,.08); font-weight: 600; }

.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid #3a4c5c; padding: 10px 22px 10px 18px; border-radius: 14px; transition: transform .15s ease, border-color .15s ease; }
.store-btn:hover { text-decoration: none; transform: translateY(-2px); border-color: #7f97ab; }
.store-btn .ico { width: 30px; height: 30px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.store-btn small { font-size: 12px; opacity: .85; }
.store-btn strong { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.store-btn-light { background: #fff; color: #000; border-color: #fff; }
.store-btn-light:hover { border-color: #fff; }

.hero { padding-block: 72px 40px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text-2); max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-bottom: 44px; }
.cta-note { color: var(--text-3); font-size: 15px; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.stats li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15, 36, 54, .55); }
.stats strong { display: block; font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.stats span { display: block; font-size: 13px; color: var(--text-3); line-height: 1.35; margin-top: 2px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.phone { direction: ltr; width: 100%; max-width: 320px; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(95,211,196,.28), transparent); filter: blur(30px); z-index: 0; }

.features { padding-block: 80px; }
.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; margin-bottom: 12px; text-wrap: balance; }
.sec-head p { color: var(--text-2); font-size: 19px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: linear-gradient(180deg, var(--surface), rgba(15, 36, 54, .6)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: #2f5676; transform: translateY(-3px); }
.card-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(95, 211, 196, .1); color: var(--accent); margin-bottom: 18px; border: 1px solid rgba(95, 211, 196, .18); }
.card h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.pair { padding-block: 20px 80px; }
.pair-in { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border-radius: 24px; padding: 36px; background: var(--surface); border: 1px solid var(--line); }
.panel h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.panel p { color: var(--text-2); margin-bottom: 20px; }
.panel .more { font-weight: 600; }
.panel-gold { background: linear-gradient(160deg, rgba(244,184,96,.10), rgba(15,36,54,1) 55%); border-color: rgba(244,184,96,.28); }
.panel-gold .card-ico { background: rgba(244,184,96,.12); color: var(--gold); border-color: rgba(244,184,96,.25); }
.panel-gold .more { color: var(--gold); }

.final { padding-block: 0 96px; }
.final-in { text-align: center; border-radius: 28px; padding: 64px 24px; background: radial-gradient(600px 260px at 50% 0%, rgba(95,211,196,.18), transparent 70%), var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final-in h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; }
.final-in p { color: var(--text-2); font-size: 19px; margin-bottom: 10px; }

.doc { padding-block: 48px 88px; }
.crumb { font-size: 15px; margin-bottom: 20px; }
.crumb a { color: var(--text-3); }
.crumb a::before { content: "\2190\00a0"; }
[dir="rtl"] .crumb a::before { content: "\2192\00a0"; }
.doc h1 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.updated { color: var(--text-3); font-size: 15px; margin-bottom: 24px; }
.note { font-size: 15px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; }
.lede { font-size: 19px; color: var(--text-2); margin-bottom: 28px; }
.lede p + p { margin-top: 12px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin-bottom: 40px; }
.toc ol { margin: 0; padding-inline-start: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin-bottom: 4px; break-inside: avoid; color: var(--text-3); }
.toc a { color: var(--text-2); }
.doc section { padding-block: 20px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.doc section h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.doc section h2 span { color: var(--accent); margin-inline-end: 4px; }
.doc section p, .doc section li { color: var(--text-2); }
.doc section p + p, .doc section ul + p, .doc section p + ul { margin-top: 12px; }
.doc ul { padding-inline-start: 22px; margin: 0; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); font-weight: 600; }

.contact { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-block: 8px 48px; }
.contact .card-ico { margin-bottom: 0; }
.contact h2 { font-size: 22px; margin-bottom: 8px; }
.contact p { color: var(--text-2); margin-bottom: 16px; }
.mail-btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 650; padding: 10px 18px; border-radius: 12px; word-break: break-all; }
.mail-btn:hover { text-decoration: none; filter: brightness(1.08); }
.faq-h { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.faq { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: #2f5676; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 20px 18px; color: var(--text-2); }
.see { color: var(--text-3); }

.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 40px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: start; }
.foot-brand p { color: var(--text-3); font-size: 15px; margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 4px; }
.foot-links a { color: var(--text-2); font-size: 15px; }
.copy { grid-column: 1 / -1; color: var(--text-3); font-size: 14px; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .hero { padding-block: 44px 24px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: 2; }
  .phone { max-width: 270px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair-in { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding-inline: 16px; }
  .nav > a { display: none; }
  .grid { grid-template-columns: 1fr; }
  .features { padding-block: 56px; }
  .panel { padding: 26px; }
  .final-in { padding: 44px 20px; }
  .contact { flex-direction: column; padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .langs ul { grid-template-columns: 1fr 1fr; width: 300px; }
  .hint-in { flex-wrap: wrap; }
  .hint-in span { flex-basis: calc(100% - 80px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.lang-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 24px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.lang-row > .ico { color: var(--accent); width: 20px; height: 20px; margin-top: 4px; }
.lang-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-row a { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 14px; color: var(--text-2); border: 1px solid transparent; }
.lang-row a:hover { color: var(--text); border-color: var(--line); text-decoration: none; }
.lang-row a[aria-current] { color: var(--accent-ink); background: var(--accent); font-weight: 600; }
.page-support .lang-row { margin-top: 14px; }
