/* firevpn.net — one small stylesheet, system fonts, no framework. */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #16161a;
  --text: #2c2c33;
  --muted: #55555d;
  --line: #e4e4e0;
  --line-soft: #ececE8;
  --accent: #0b6f8c;
  --accent-ink: #085a72;
  --dark: #16161a;
  --dark-muted: #b9b9c0;
  --radius: 10px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 650; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; }
.site-header .nav { margin-left: auto; }
@media (max-width: 640px) {
  /* Phone: logo + button on the first row, the four links on a second row. */
  .site-header .wrap { gap: 0 12px; padding-bottom: 2px; }
  .header-cta { margin-left: auto; order: 2; }
  .site-header .nav { order: 3; flex-basis: 100%; margin-left: -12px; }
  .site-header .nav a { padding: 8px 12px; font-size: 14px; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 19px; min-height: 44px; }
.brand img { width: 20px; height: 28px; }
.brand:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.nav a { color: #3a3a42; text-decoration: none; font-size: 15px; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 16px; border-radius: 8px; min-height: 44px; }
.btn:hover { color: #fff; background: #000; }
.store { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 20px; border-radius: var(--radius); min-height: 54px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; }
.store b { font-size: 16px; font-weight: 600; }
.store--primary { background: var(--dark); color: #fff; }
.store--primary small { color: #c9c9cf; }
.store--primary:hover { background: #000; color: #fff; }
.store--secondary { background: var(--surface); color: var(--ink); border: 1px solid #cfcfc9; }
.store--secondary small { color: var(--muted); }
.store--secondary:hover { color: var(--ink); border-color: var(--ink); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero__text { flex: 1 1 440px; min-width: 0; }
.hero h1 { max-width: 17ch; margin-bottom: 20px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: #45454d; max-width: 38ch; margin-bottom: 32px; }
.hero__note { margin-top: 18px; color: var(--muted); font-size: 15px; }
.hero__shot { flex: 0 1 300px; margin: 0 auto; }

/* Phone screenshot */
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 28px; border: 6px solid #1d1d22; background: #0f1520; aspect-ratio: 540 / 950; object-fit: cover; object-position: top; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* Data summary */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.split > h2 { flex: 1 1 240px; }
.split > .split__body { flex: 999 1 560px; min-width: 0; }
.facts { list-style: none; margin: 0; padding: 0; color: var(--text); }
.facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.facts li:first-child { padding-top: 0; }
.facts strong { color: var(--ink); font-weight: 600; }
.small { font-size: 15px; }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 48px 32px; }
.steps li { flex: 1 1 260px; min-width: 0; max-width: 340px; }
.steps .shot { margin-bottom: 20px; max-width: 280px; }
.steps .num { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: #45454d; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 550; min-height: 44px; list-style-position: outside; }
.faq details p { color: #45454d; max-width: 62ch; padding-bottom: 20px; }
.more { margin-top: 20px; }
.more a { font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }

/* Contact */
.contact { background: var(--dark); color: #f2f2ee; }
.contact h2 { color: #fff; margin-bottom: 12px; }
.contact p { color: var(--dark-muted); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.contact .wrap > div { flex: 1 1 320px; }
.contact a { color: #fff; }
.contact .email { font-size: clamp(20px, 2vw, 24px); font-weight: 500; text-underline-offset: 5px; display: inline-flex; min-height: 44px; align-items: center; }

/* Long text pages (privacy, terms, faq) */
.doc { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; font-size: 15px; border-top: 2px solid var(--ink); padding-top: 12px; }
.toc p { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.toc a { color: #3a3a42; min-height: 40px; display: flex; align-items: center; }
.article { flex: 999 1 600px; min-width: 0; max-width: 720px; color: var(--text); line-height: 1.65; }
.article h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 20px; }
.article h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 12px; scroll-margin-top: 16px; }
.article p + p { margin-top: 14px; }
.article ul { padding-left: 20px; margin: 12px 0 0; }
.article li + li { margin-top: 8px; }
.article .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article .intro { color: #45454d; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-top: 16px; }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
th { text-align: left; font-weight: 600; background: #f5f5f2; padding: 12px 16px; border-bottom: 1px solid var(--line); }
td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.keep { font-family: var(--mono); white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a { color: #3a3a42; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer p { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
