/* GoFetch — стили сайта. Цвета меняются в одном месте: блок :root ниже. */
:root {
  --bg: #0A1230;
  --surface: #111B40;
  --surface-2: #16224F;
  --surface-3: #0E1838;
  --line: #27357A;
  --line-strong: #3B4C9E;
  --text: #EEF1FF;
  --text-2: #C7CEEC;
  --muted: #A8B2DA;
  --faint: #8C97C4;
  --accent: #3FE6F0;
  --accent-hover: #9DF4F8;
  --gold: #FFD24A;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1000px; }
.section { padding-bottom: 104px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.55; }

/* robot images on dark backgrounds: soft edges */
.bot {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}

/* header */
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; }
.brand:hover { color: var(--text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.nav a.plain { color: var(--text-2); text-decoration: none; }
.nav a.plain:hover { color: var(--text); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.lang button {
  min-height: 40px; min-width: 48px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-2); font: 700 14px var(--body); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.btn-outline {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 700;
}

/* buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 32px;
  border-radius: 18px; background: var(--accent); color: var(--bg); text-decoration: none;
  font-weight: 700; font-size: 19px; box-shadow: 0 0 32px rgba(63, 230, 240, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 0 44px rgba(63, 230, 240, .5); }

/* hero text */
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; color: var(--text-2);
}
.pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-text h1 { font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -0.01em; }
.hero-text h1 .hl { color: var(--accent); }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--text-2); max-width: 560px; }

/* hero: full-width background image (assets/img/hero-bg.webp) */
.hero-full {
  position: relative; max-width: 1680px; margin: 0 auto 72px;
  min-height: clamp(560px, 62vw, 820px); display: flex; align-items: center; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
/* fades the picture into the page: strong on the left (under the text), soft on the other edges */
.hero-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 18, 48, .88) 28%, rgba(10, 18, 48, 0) 58%, rgba(10, 18, 48, 0) 88%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(10, 18, 48, 0) 14%, rgba(10, 18, 48, 0) 80%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hero-full .hero-text { max-width: 580px; }

@media (max-width: 900px) {
  .hero-full { display: block; min-height: 0; margin-bottom: 64px; }
  .hero-media { position: relative; aspect-ratio: 1 / 1; max-height: 520px; width: 100%; }
  .hero-media img { object-position: 76% center; }
  .hero-media::after {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(10, 18, 48, 0) 18%, rgba(10, 18, 48, 0) 62%, var(--bg) 100%);
  }
  .hero-inner { margin-top: -48px; padding-top: 0; padding-bottom: 0; }
}

/* QR */
.qr { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 96px; }
.qr-code { width: 120px; height: 120px; padding: 4px; border-radius: 12px; background: #fff; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.qr-text strong { font-family: var(--display); font-weight: 500; font-size: 18px; }
.qr-text span { color: var(--muted); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { font-weight: 500; font-size: 21px; }
.card p { color: var(--muted); line-height: 1.55; }
.card-media { height: 240px; width: 100%; border-radius: 16px; object-fit: cover; object-position: 50% 30%; }
.card-media.top { object-position: 50% 0%; }
.card-bot { height: 240px; border-radius: 16px; background: #0B1530; overflow: hidden; display: flex; justify-content: center; }
.card-bot img { height: 100%; width: auto; }
.card-wide {
  grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; padding: 32px;
  border-radius: 28px; background: linear-gradient(135deg, #1B2A66 0%, var(--surface) 60%);
}
.card-wide .txt { flex: 999 1 380px; display: flex; flex-direction: column; gap: 14px; }
.card-wide h3 { font-weight: 700; font-size: 30px; line-height: 1.2; }
.card-wide p { color: var(--text-2); font-size: 18px; max-width: 520px; }
.card-wide img { flex: 0 1 300px; width: 300px; aspect-ratio: 1 / 1; height: auto; border-radius: 20px; object-fit: cover; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px; }

/* premium */
.premium {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 40px; border-radius: 32px;
  background: radial-gradient(circle at 85% 50%, #3A1F7A 0%, var(--surface) 60%); border: 1px solid #4B3A9E;
}
.premium .txt { flex: 999 1 420px; display: flex; flex-direction: column; gap: 16px; }
.premium .kicker { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--gold); }
.premium h2 { font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.premium p { color: var(--text-2); font-size: 18px; line-height: 1.55; }
.premium .art { flex: 1 1 240px; display: flex; justify-content: center; }
.premium .art img { width: 100%; max-width: 280px; height: auto; }

/* install */
.steps { margin: 0 0 20px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.step img { height: 220px; width: 100%; border-radius: 16px; object-fit: cover; object-position: 50% 0%; }
.step h3 { font-weight: 500; font-size: 19px; }
.step p { color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 24px; border-radius: 18px; background: var(--surface-3); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.trust strong { color: var(--text); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }

/* faq */
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 16px; }
.faq details { padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--muted); line-height: 1.55; }

/* final cta */
.cta { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 56px 24px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); text-align: center; margin-bottom: 80px; }
.cta h2 { font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.cta p { color: var(--muted); font-size: 18px; }

/* footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid #1D2A5E; color: var(--faint); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.footer a, .linkbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); }
.footer a { text-decoration: none; }
.footer a:hover, .linkbtn:hover { color: var(--text); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }

/* privacy dialog */
.dialog {
  width: min(720px, calc(100% - 32px)); max-height: 86vh; padding: 0; border: 1px solid var(--line-strong);
  border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.dialog::backdrop { background: rgba(5, 9, 26, .78); }
.dialog-inner { padding: 32px 28px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog h2 { font-weight: 700; font-size: 24px; line-height: 1.25; }
.dialog h3 { margin: 24px 0 8px; font-weight: 500; font-size: 17px; }
.dialog p, .dialog li { color: var(--muted); font-size: 15px; line-height: 1.6; }
.dialog .intro { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.dialog ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.btn-close { margin-top: 28px; min-height: 48px; padding: 0 28px; border: 0; border-radius: 14px; background: var(--accent); color: var(--bg); font: 700 16px var(--body); cursor: pointer; }

/* update page */
.upd-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.upd-art { flex: 1 1 260px; display: flex; justify-content: center; position: relative; }
.upd-art::before { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 74, .22) 0%, rgba(10, 18, 48, 0) 70%); }
.upd-art img { position: relative; width: 100%; max-width: 300px; height: auto; }
.upd-text { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tag-gold { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 700; font-size: 14px; }
.upd-text h1 { font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; }
.upd-text h1 .ver { display: block; margin-top: 10px; font-family: var(--body); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--muted); }
.upd-text p { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.meta { font-size: 14px; color: var(--muted); }
.panels { display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 64px; }
.panel { flex: 999 1 420px; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.panel.alt { flex: 1 1 280px; background: var(--surface-3); gap: 12px; }
.panel h2 { font-weight: 500; font-size: 22px; }
.panel ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); line-height: 1.5; }
.panel .note { color: var(--muted); font-size: 15px; }
.panel .mono { font-size: 13px; color: var(--muted); }
.prev { padding-bottom: 64px; }
.prev details { padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.prev summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.prev ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }

@media (max-width: 600px) {
  .nav a.plain { display: none; }
  .section { padding-bottom: 72px; }
  .card-wide, .premium { padding: 24px; }
  .btn-primary { width: 100%; justify-content: center; }
}
