/* ZAZU VPN website. No external fonts, no scripts, no third-party requests. */
:root {
  --ink: #0f1c2e;
  --deep: #172a42;
  --line: #2a4060;
  --frost: #e6eef6;
  --mist: #93a9bf;
  --accent: #3cc9d9;
  --accent-ink: #062a30;
  --fast: #8be3b0;
  --bg: var(--ink);
  --surface: var(--deep);
  --text: var(--frost);
  --muted: var(--mist);
  --link: var(--accent);
  --radius-card: 22px;
  --radius-small: 10px;
  --font: system-ui, -apple-system, "Segoe UI Variable", "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
/* Light theme: follows the system setting unless a page sets data-theme explicitly. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f7fa;
    --surface: #ffffff;
    --line: #d5e0ea;
    --text: #0f1c2e;
    --muted: #4f6378;
    --link: #0b7d8b;
    --accent: #12a4b4;
    --accent-ink: #ffffff;
    --fast: #12804a;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3f7fa;
  --surface: #ffffff;
  --line: #d5e0ea;
  --text: #0f1c2e;
  --muted: #4f6378;
  --link: #0b7d8b;
  --accent: #12a4b4;
  --accent-ink: #ffffff;
  --fast: #12804a;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 720px; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.lang { font-size: 15px; color: var(--muted); }
.lang a { color: var(--muted); }
.lang strong { color: var(--text); font-weight: 600; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 20px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 650; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
}
.button.secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }

/* the one bold element: the subscription as HAPP shows it */
.sub-card {
  background: var(--surface); border-radius: var(--radius-card); padding: 22px 22px 10px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  transform: rotate(-1.5deg);
}
.sub-card .title { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.sub-card .meta { font-size: 13px; color: var(--muted); margin: 2px 0 14px; }
.sub-card .usage { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.server { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.server:last-child { border-bottom: 0; }
.flag { width: 30px; height: 22px; border-radius: 6px; background: linear-gradient(#111 0 33%, #dd0000 33% 66%, #ffce00 66%); }
.server .name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.server .proto { font-size: 13px; color: var(--muted); }
.server .tag { font-size: 13px; color: var(--muted); }
.server.fast .tag { color: var(--fast); font-weight: 650; }

/* sections */
section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; font-weight: 800; }
h3 { font-size: 20px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 24px; max-width: 60ch; }

.devices { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.devices a {
  display: block; padding: 14px 20px; border-radius: var(--radius-small); text-decoration: none; color: var(--text);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600;
}
.devices a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

.plans { width: 100%; border-collapse: collapse; font-size: 16px; }
.plans th, .plans td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans th { color: var(--muted); font-weight: 500; font-size: 14px; }
.plans td:first-child { font-weight: 700; }
.plans .price { font-weight: 700; white-space: nowrap; }
.note { color: var(--muted); font-size: 15px; }

.servers-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.servers-explain p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }

/* instructions */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 26px 52px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink);
}
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0 0 10px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.callout { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); border-radius: var(--radius-small); padding: 16px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

/* legal */
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal .edition { color: var(--muted); }
.legal .rights { background: var(--surface); border-radius: var(--radius-small); padding: 4px 20px 12px; box-shadow: inset 0 0 0 1px var(--line); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
.site-footer a { color: var(--text); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .sub-card { transform: none; }
  .servers-explain { grid-template-columns: 1fr; gap: 18px; }
  .plans th:nth-child(3), .plans td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
