/* ============================================================
   Vyron Aristro - legal site
   Static, tracker-free, Google Play policy aligned.
   ============================================================ */

:root {
  --brand: #184890;
  --brand-600: #1e5bb5;
  --brand-300: #8fc6ff;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --border: #e4e8ee;
  --text: #10141a;
  --text-soft: #414b59;
  --text-muted: #6b7684;

  --maxw: 880px;
  --radius: 16px;

  --hero-grad-1: #0a1a38;
  --hero-grad-2: #10305f;
  --hero-grad-3: #14487f;
  --hero-glow: rgba(120, 180, 255, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d12;
    --surface: #12161d;
    --surface-2: #171c25;
    --border: #242b36;
    --text: #f0f3f7;
    --text-soft: #c3cad6;
    --text-muted: #8d97a6;

    --hero-grad-1: #05070c;
    --hero-grad-2: #0a1730;
    --hero-grad-3: #102b52;
    --hero-glow: rgba(110, 170, 255, 0.22);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: var(--brand-600); }
@media (prefers-color-scheme: dark) { a { color: #7db4ff; } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 16, 28, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.brand .tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}



/* language switch */
.langsw {
  display: inline-flex;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.langsw button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.langsw button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.langsw button[aria-pressed="true"] { background: #fff; color: #0f1b2e; }
.langsw button:focus-visible { outline: 2px solid var(--brand-300); outline-offset: -2px; }

/* Touch targets: the buttons already carry a 44px minimum height, which
   satisfies Google/Android accessibility guidance on phones and on
   touch-capable laptops alike. */
@media (max-width: 640px) {
  .langsw { margin-left: 0; }
  .langsw button { flex: 1; font-size: 14px; }
  .brand { min-height: 44px; }
}

@media (max-width: 640px) {
  /* Single row: the nav links are gone, so there is room for logo + switcher
     side by side. Keeps the sticky header short on phones. */
  .site-header .wrap { gap: 10px; }
  .brand .tag { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -8%, var(--hero-glow), transparent 62%),
    radial-gradient(700px 380px at 92% 8%, rgba(80, 220, 200, 0.16), transparent 60%),
    linear-gradient(135deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 48%, var(--hero-grad-3) 100%);
  color: #fff;
  padding: 58px 0 52px;
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 72%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: 34px;
}

.hero-logo {
  flex: none;
  width: 104px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 14px 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.hero-logo img { width: 100%; height: auto; display: block; }

.hero-text h1 {
  font-size: 31px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: #fff;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 8px;
  max-width: 56ch;
  font-size: 15.5px;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.chip {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 12px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-logo { width: 88px; }
  .hero-text h1 { font-size: 25px; }
}

/* ---------------- Download button ---------------- */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 11px 20px 11px 16px;
  margin-top: 20px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* hero + closing CTA: make the Play button the clear primary action */
.hero .btn-play,
.cta-band .btn-play {
  padding: 15px 30px 15px 24px;
  gap: 14px;
  border-radius: 14px;
  margin-top: 0;
}

.hero .btn-play svg,
.cta-band .btn-play svg { width: 26px; height: 26px; }

.hero .btn-play .txt small,
.cta-band .btn-play .txt small { font-size: 11.5px; }

.hero .btn-play .txt strong,
.cta-band .btn-play .txt strong { font-size: 18px; }

.hero .btn-play:hover,
.cta-band .btn-play:hover { transform: translateY(-2px); }

.btn-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
  background: #0a0a0a;
}

.btn-play svg { flex: none; }

.btn-play .txt { display: flex; flex-direction: column; line-height: 1.2; }
.btn-play .txt small {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.btn-play .txt strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 11px 18px;
  margin-top: 20px;
  margin-left: 10px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s ease;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* same button, but on a light document background */
.btn-plain { background: #0b1220; margin-top: 4px; }
.btn-plain:hover { background: #182338; }

@media (max-width: 480px) {
  .btn-ghost { margin-left: 0; margin-top: 12px; display: flex; }
}

/* ---------------- Doc cards ---------------- */
.docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 30px 0 8px;
}

.doc-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 30, 60, 0.11);
  border-color: rgba(24, 72, 144, 0.42);
}

.doc-card .ic {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-600), var(--brand));
  color: #fff;
  margin-bottom: 12px;
}

.doc-card h3 {
  margin: 0 0 5px;
  font-size: 16.5px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.doc-card p { margin: 0; font-size: 14px; color: var(--text-soft); }

/* ---------------- Doc head / TOC ---------------- */
.doc-head { padding: 40px 0 6px; }
.doc-head h1 {
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: -0.022em;
  margin: 0 0 12px;
}
.doc-head p.lede { font-size: 16px; color: var(--text-soft); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.meta strong { color: var(--text-soft); font-weight: 600; }

.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 26px 0 34px;
}
.toc h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text-soft); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--brand-600); text-decoration: underline; }

@media (max-width: 560px) {
  .toc ol { columns: 1; }
  .doc-head h1 { font-size: 25px; }
}

/* ---------------- Body ---------------- */
h2 {
  font-size: 19.5px;
  letter-spacing: -0.012em;
  margin: 38px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
h2:first-of-type { border-top: 0; padding-top: 0; }

h3 { font-size: 15px; margin: 20px 0 6px; color: var(--text-soft); }

p, li { color: var(--text-soft); }
p { margin: 0 0 12px; }
ol, ul { padding-left: 22px; margin: 0 0 12px; }
li { margin: 6px 0; }
strong { color: var(--text); font-weight: 600; }
.num { color: var(--text-muted); font-variant-numeric: tabular-nums; }

.callout {
  background: linear-gradient(135deg, rgba(24,72,144,.07), rgba(24,72,144,.03));
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-600);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 26px;
  font-size: 14.5px;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}
.contact-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.contact-item span {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-item a, .contact-item strong {
  display: inline-block;
  font-size: 15px;
  word-break: break-word;
  text-decoration: none;
  /* comfortable tap target for the call / email actions */
  padding: 4px 0;
  min-height: 32px;
}

@media (pointer: coarse) {
  .contact-item a { min-height: 44px; line-height: 44px; }
}
.contact-item a:hover { text-decoration: underline; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 54px;
  padding: 34px 0 44px;
  background: #080c14;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13.5px;
}
.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}
.footer-grid h3 {
  margin: 0 0 8px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}
.footer-grid p { color: rgba(255, 255, 255, 0.66); margin: 0 0 4px; }

.footer-logo { height: 40px; width: auto; opacity: 0.95; margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: light) {
  .site-footer { background: #0d1420; }
}

@media print {
  .site-header, .hero, .toc, .site-footer, .docs { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  h2 { page-break-after: avoid; }
}

/* ============================================================
   Landing page sections
   ============================================================ */

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 208, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 208, 255, 0.1);
  color: var(--brand-300);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero .lede { max-width: 46ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.hero .fine { margin: 0; font-size: 13px; color: var(--muted); max-width: 44ch; }

/* trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

.trust svg { color: var(--brand-300); flex: none; }

/* generic sections */
.sec { padding: 56px 0 0; }
.sec h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.25; }
.sec-lede { margin: 0 0 26px; color: var(--muted); max-width: 62ch; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
}

.feat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.feat .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(0, 208, 255, 0.12);
  color: var(--brand-300);
}

.feat h3 { margin: 0 0 8px; font-size: 16px; }
.feat p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.steps .n {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-400);
  color: #06121f;
  font-size: 13px;
  font-weight: 700;
}

.steps h3 { margin: 0 0 6px; font-size: 16px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.faq details + details { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand-300);
  border-bottom: 2px solid var(--brand-300);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { background: rgba(255, 255, 255, 0.03); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* closing call to action */
.cta-band {
  margin-top: 56px;
  border: 1px solid rgba(0, 208, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0, 208, 255, 0.16) 0%, transparent 60%),
    var(--surface);
}

.cta-band-inner { padding: 40px 32px; text-align: center; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0 0 20px; color: var(--muted); }
.cta-band .btn-play { margin: 0; }

@media (max-width: 640px) {
  .sec { padding: 40px 0 0; }
  .sec h2 { font-size: 22px; }
  .cta-band-inner { padding: 30px 20px; }
  .hero .cta .btn-play { width: 100%; justify-content: center; }
  .trust { gap: 10px 18px; }
}

@media (max-width: 640px) {
  .hero .btn-play,
  .cta-band .btn-play { width: 100%; justify-content: center; padding: 15px 20px; }
}
