/* Long-form pages (support, privacy, updates, guides) in the website v2 language.
   Keeps the existing page markup: .nav, .lang-content panes, .rule, .release, etc. */

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.966 0.006 255);
  --surface-2: oklch(0.93 0.01 255);
  --line: oklch(0.86 0.012 255);
  --ink: oklch(0.2 0.02 262);
  --muted: oklch(0.45 0.02 262);
  --blue: oklch(0.47 0.165 258);
  --blue-deep: oklch(0.36 0.13 260);
  --blue-tint: oklch(0.94 0.035 258);
  --yellow: oklch(0.86 0.165 88);
  --font: 'Noto Sans', 'Noto Sans Armenian', system-ui, sans-serif;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.7;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 0.75rem; width: min(100% - 2 * var(--gutter), 1180px); min-height: 60px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-weight: 800; font-stretch: 72%; font-size: 1.05rem; white-space: nowrap; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.lang-switch button { min-width: 44px; min-height: 36px; padding: 0 0.55rem; border: 0; border-radius: 8px; background: transparent; font: inherit; font-weight: 700; font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.lang-switch button.active { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px oklch(0.2 0.02 262 / 0.15); }

main { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) 4rem; }

.lang-content { display: none; }
.lang-content.active { display: block; }

h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { margin: 0 0 0.6rem; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); font-weight: 850; font-stretch: 70%; }
h2 { margin: 2.6rem 0 0.8rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; font-stretch: 75%; }
h3 { margin: 1.6rem 0 0.4rem; font-size: 1.15rem; }
p, li { text-wrap: pretty; }
p { margin: 0.8rem 0; }
ul { padding-left: 1.3rem; }
li { margin: 0.35rem 0; }
li::marker { color: var(--blue); }

.updated { display: inline-block; margin: 0 0 1rem; padding: 0.2rem 0.6rem; border: 2px solid var(--ink); border-radius: 6px; font-size: 0.85rem; font-weight: 650; }
.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.55; }
.note { padding: 0.8rem 1rem; border-radius: 12px; background: var(--surface); font-size: 0.92rem; color: var(--muted); }

.toc { display: grid; gap: 0.15rem; margin: 1.5rem 0; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface); }
.toc a { padding: 0.35rem 0; font-weight: 650; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.rule { margin: 1rem 0; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--blue-tint); }
.rule cite { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 6px; background: var(--bg); font-style: normal; font-weight: 800; font-size: 0.8rem; color: var(--blue-deep); }
.rule p { margin: 0.5rem 0 0; }

.sign-row { display: flex; align-items: center; gap: 0.9rem; margin: 0.5rem 0; padding: 0.5rem 0; border-bottom: 1px dashed var(--line); }
.sign-row img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.sign-row p { margin: 0; }

.cta { margin: 2.5rem 0 0; padding: 1.3rem 1.3rem; border-radius: 18px; background: var(--blue); color: oklch(1 0 0); box-shadow: inset 0 0 0 5px var(--blue), inset 0 0 0 8px oklch(1 0 0); }
.cta a { color: oklch(1 0 0); font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.stores a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1rem; border-radius: 10px; background: oklch(1 0 0); color: var(--ink); text-decoration: none; }

.faq-card, .contact-card { margin: 1rem 0; padding: 1rem 1.15rem; border-radius: 14px; border: 1px solid var(--line); }
.contact-card { background: var(--surface); font-weight: 700; font-size: 1.1rem; }
.faq-card h3 { margin-top: 0.2rem; }

.release { margin: 2rem 0; padding-top: 1.5rem; border-top: 3px dashed var(--line); }
.release h2 { margin-top: 0; }
.when { margin: 0.2rem 0 0.6rem; color: var(--muted); font-weight: 650; font-size: 0.9rem; }

.section-divider { margin: 3rem 0; border: 0; border-top: 3px dashed var(--line); }

footer { padding-block: 2.5rem 2rem; background: oklch(0.14 0.01 262); color: oklch(0.82 0.01 262); font-size: 0.92rem; }
.footer-inner { display: grid; gap: 1.2rem; width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
footer a { color: oklch(1 0 0); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 0.6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: oklch(0.24 0.01 262); }
.socials svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Support hub: searchable issue guides with a video slot each. */
.sp-search { width: 100%; margin: 1.4rem 0 0.4rem; padding: 1rem 1rem 1rem 3rem; border: 2px solid var(--line); border-radius: 14px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1rem center / 1.4rem; color: var(--ink); font: inherit; font-size: 1.05rem; }
.sp-search:focus { border-color: var(--blue); outline: 0; }
.sp-count { margin: 0.2rem 0 0; min-height: 1.4em; color: var(--muted); font-size: 0.9rem; }
.sp-group h2 { margin-top: 2rem; }
.sp-issue { scroll-margin-top: 76px; margin: 0.6rem 0; border: 1px solid var(--line); border-radius: 14px; }
.sp-issue[open] { border-color: var(--blue); }
.sp-issue summary { padding: 0.9rem 1.1rem; font-weight: 700; cursor: pointer; line-height: 1.35; }
.sp-issue[hidden], .sp-group[hidden], .sp-empty[hidden] { display: none; }
.sp-body { padding: 0 1.1rem 1.1rem; }
.sp-body h3 { margin-top: 0.4rem; }
.sp-body ol { padding-left: 1.3rem; }
.sp-body li::marker { color: var(--blue); font-weight: 800; }
.sp-note { padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--blue-tint); }
.sp-video { margin: 1rem auto 0; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.sp-video video { width: 100%; height: 100%; background: #000; }
.sp-video--soon { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.sp-still { margin-top: 2.5rem; padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--surface); }
.sp-still h2 { margin-top: 0; }
.sp-btn { display: inline-block; padding: 0.7rem 1.3rem; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { .sp-issue { transition: border-color 0.2s; } }
