/* ZM VPN – website. Light, quiet, product-first. */
:root {
  --ink: #0d1726;
  --ink-2: #2b3747;
  --muted: #5d6878;
  --line: #e3e7ee;
  --soft: #f4f6f9;
  --bg: #ffffff;
  --brand: #1554d6;
  --brand-dark: #0f3fa6;
  --brand-tint: #eaf0fd;
  --ok: #138a52;
  --warn: #b26a00;
  --night: #0b1320;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; font: 600 15px/1 var(--font); border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #c5ccd8; }
.btn-light { background: #fff; color: var(--night); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 19px; letter-spacing: -0.02em; text-decoration: none !important; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .login { color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 0 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; height: 40px; width: 44px; cursor: pointer; }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 12px 20px 8px; border-bottom: 1px solid var(--line); gap: 4px; }
  .site-header.open .nav a { padding: 10px 0; border-bottom: 1px solid var(--soft); }
  .site-header.open .nav .mobile-only { display: block; }
}
.nav .mobile-only { display: none; }

/* hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, var(--soft)); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-tint); padding: 5px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); margin-top: 18px; font-weight: 750; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* product shot (HTML mock of the desktop app) */
.shot { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(13,23,38,.04), 0 24px 48px -20px rgba(13,23,38,.18); overflow: hidden; font-size: 13px; }
.shot-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--soft); color: var(--muted); font-size: 12px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dce4; display: inline-block; }
.shot-bar b { margin-left: 6px; color: var(--ink-2); font-weight: 600; }
.shot-body { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 300px; }
.shot-status { padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.shot-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ok); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.shot-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.shot-loc { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.shot-btn { margin-top: 4px; height: 40px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; color: var(--ink-2); }
.shot dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 12px; }
.shot dt { color: var(--muted); }
.shot dd { margin: 0; font-family: var(--mono); color: var(--ink-2); text-align: right; }
.shot-list { list-style: none; margin: 0; padding: 8px; }
.shot-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); }
.shot-list li.on { background: var(--brand-tint); color: var(--ink); font-weight: 600; }
.shot-list .ms { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cc { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); font: 600 10px/1 var(--mono); color: var(--ink-2); }
@media (max-width: 520px) { .shot-body { grid-template-columns: 1fr; } .shot-status { border-right: 0; border-bottom: 1px solid var(--line); } }

/* facts strip */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px 26px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-size: 17px; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .facts .wrap { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { border-top: 1px solid var(--line); } }

/* sections */
section.block { padding: 88px 0; }
section.block.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 10px; font-weight: 720; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps li::before { counter-increment: step; content: "Trin " counter(step); font: 600 13px/1 var(--mono); color: var(--brand); }
.steps h3 { font-size: 20px; margin-top: 12px; }
.steps p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: #fff; padding: 28px; }
.feature svg { width: 24px; height: 24px; color: var(--brand); }
.feature h3 { font-size: 17px; margin-top: 14px; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* servers table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.servers { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.servers th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--soft); }
table.servers td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.servers tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.online { color: var(--ok); }
.status.maintenance, .status.offline { color: var(--warn); }
.load { width: 120px; height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.load > i { display: block; height: 100%; background: var(--brand); }
.empty { padding: 28px; color: var(--muted); text-align: center; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.plan.best { border: 2px solid var(--brand); padding: 27px; }
.plan .tag { position: absolute; top: -12px; left: 26px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.plan .save { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ok); background: #e7f5ee; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.billed { margin-top: 4px; font-size: 14px; color: var(--muted); min-height: 44px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.pay-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

/* faq */
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--ink-2); max-width: 65ch; }

/* cta band + footer */
.band { background: var(--night); color: #fff; padding: 64px 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: 30px; }
.band p { color: #aeb8c8; margin-top: 8px; }
footer.site-footer { background: var(--night); color: #aeb8c8; border-top: 1px solid #1d2838; padding: 48px 0 40px; font-size: 14px; }
footer.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site-footer a { color: #aeb8c8; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .logo { color: #fff; }
.copy { grid-column: 1 / -1; border-top: 1px solid #1d2838; padding-top: 22px; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 800px) { footer.site-footer .wrap { grid-template-columns: 1fr 1fr; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(11,19,32,.55); }
.modal[hidden] { display: none; }
.dialog { width: 100%; max-width: 440px; background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
.dialog h2 { font-size: 22px; }
.dialog .summary { margin-top: 6px; color: var(--muted); font-size: 15px; }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 46px; border: 1px solid #cfd6e1; border-radius: 8px; padding: 0 14px; font: 16px var(--font); color: var(--ink); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.hint { font-size: 13px; color: var(--muted); }
.error { margin-top: 14px; color: #b42318; font-size: 14px; }
.dialog .row { display: flex; gap: 10px; margin-top: 24px; }
.dialog .row .btn { flex: 1; }
.secure { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.secure svg { width: 14px; height: 14px; }

.methods { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.methods legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.method { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #cfd6e1; border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.method:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.method input { margin-top: 3px; accent-color: var(--brand); }
.method b { display: block; font-size: 15px; }
.method small { display: block; color: var(--muted); font-size: 13px; }
.method[hidden], .methods[hidden] { display: none; }

/* download + legal pages */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-head h1 { font-size: clamp(32px, 4vw, 44px); }
.page-head p { margin-top: 12px; color: var(--ink-2); font-size: 18px; max-width: 40em; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl { border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.dl svg.os { width: 30px; height: 30px; color: var(--ink); }
.dl h2 { font-size: 22px; }
.dl .req { font-size: 14px; color: var(--muted); }
.dl .btn { margin-top: 10px; }
.dl code { display: block; font: 13px/1.5 var(--mono); background: var(--soft); border: 1px solid var(--line); padding: 10px 12px; border-radius: 8px; overflow-x: auto; white-space: pre; }
.badge-soon { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--warn); background: #fff4e0; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }
.legal { max-width: 760px; padding: 48px 0 88px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.muted-dark { color: #8794a8; margin-top: 12px; }
