/* rampart-vpn.com — Rampart VPN (NOSEYBOARD LTD). Night over a stone wall: midnight hero, limestone pages, one warm beacon.
   No web fonts, no inline styles (strict CSP). Palette lives in :root only. */
:root {
  --night: #0E1726;
  --night-2: #16233A;
  --night-line: #26375A;
  --stone: #F3EFE7;
  --stone-2: #E9E3D7;
  --stone-line: #D9D1C2;
  --wall: #C9BBA0;
  --ink: #14203A;
  --ink-2: #3D4A63;
  --muted: #66718A;
  --beacon: #F4B544;
  --beacon-deep: #C98A12;
  --safe: #47D597;
  --link: #1D5FD1;
  --on-night: #EEF2F8;
  --on-night-muted: #A6B2C8;
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--beacon); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
.shell { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: .75rem; z-index: 60; background: var(--beacon); color: var(--night); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { left: .75rem; }
.ic { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(14, 23, 38, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--night-line); color: var(--on-night); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.bm-tile { fill: var(--night-2); stroke: var(--night-line); stroke-width: 1.5; }
.bm-wall { fill: var(--wall); }
.bm-gate { fill: var(--night); stroke: var(--beacon); stroke-width: 3; stroke-linejoin: round; }
.brand-name { font: 800 1.15rem/1 var(--round); letter-spacing: -.01em; }
.brand-name b { margin-left: .28rem; color: var(--beacon); font-weight: 800; }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu a { color: var(--on-night-muted); text-decoration: none; font-weight: 600; font-size: .97rem; }
.menu a:hover { color: var(--on-night); }
.menu .pill { color: var(--night); background: var(--beacon); padding: .5rem 1rem; border-radius: 999px; }
.menu .pill:hover { color: var(--night); background: #FFC966; }
.menu .pill[aria-current="page"] { box-shadow: 0 0 0 2px var(--on-night); }
.burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; border: 1px solid var(--night-line); background: transparent; color: var(--on-night); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 1.15rem; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 999px; background: var(--beacon); color: var(--night); font: 700 1rem/1.2 var(--font); text-decoration: none; border: 0; box-shadow: 0 10px 24px -12px rgba(201, 138, 18, .9); transition: transform .15s ease, background-color .2s ease; }
.btn:hover { background: #FFC966; transform: translateY(-1px); }
.store { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.25rem .7rem 1rem; border-radius: 14px; background: var(--on-night); color: var(--night); text-decoration: none; }
.store .ic { width: 1.8rem; height: 1.8rem; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: .72rem; font-weight: 600; opacity: .75; }
.store strong { font-size: 1.15rem; letter-spacing: -.01em; }
.store.soon { background: transparent; color: var(--on-night); border: 1px solid var(--night-line); }
.link-arrow { color: var(--on-night); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "\2192"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow.dark { color: var(--ink); }
.eyebrow { margin: 0 0 1rem; font: 700 .8rem/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--beacon-deep); }
.eyebrow.light { color: var(--beacon); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 70% 0%, #1F3358 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-night); padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; z-index: 2; }
.hero h1 { font: 800 clamp(2.5rem, 6vw, 4.4rem)/1.03 var(--round); letter-spacing: -.03em; margin-bottom: 1.3rem; }
.hero h1 span { color: var(--beacon); }
.hero .lead { color: var(--on-night-muted); font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin: 2rem 0 1.6rem; }
.glance { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.glance li { font-size: .88rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night-muted); }
.stars { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.stars circle { fill: #DCE6F7; }
.ramparts { position: relative; z-index: 1; margin-top: clamp(2.5rem, 6vw, 4.5rem); height: clamp(70px, 9vw, 120px); }
.ramparts svg { width: 100%; height: 100%; }
.rp-back { fill: #1C2A44; }
.rp-front { fill: var(--stone); }

/* phone drawn in HTML/SVG — a sketch of the app, not a screenshot */
.phone { justify-self: center; width: min(19rem, 78vw); aspect-ratio: 9 / 19.2; border-radius: 3rem; padding: .7rem; background: #05090F; box-shadow: 0 0 0 1px #2A3954, 0 40px 80px -30px rgba(0, 0, 0, .8); position: relative; }
.screen { height: 100%; border-radius: 2.4rem; background: linear-gradient(180deg, #111C2F 0%, #0B1322 100%); display: flex; flex-direction: column; align-items: center; padding: 2.6rem 1.3rem 1.4rem; text-align: center; color: var(--on-night); overflow: hidden; }
.island { position: absolute; top: 1.25rem; left: 50%; transform: translateX(-50%); width: 5.6rem; height: 1.55rem; background: #000; border-radius: 1rem; }
.scr-brand { font: 800 1rem var(--round); letter-spacing: -.01em; margin-top: .3rem; }
.scr-brand b { color: var(--beacon); }
.scr-state { margin-top: auto; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--safe); }
.shield { width: 9.5rem; height: 9.5rem; margin: 1.1rem auto .9rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(71, 213, 151, .22), transparent 70%); position: relative; }
.shield::before { content: ""; position: absolute; inset: .9rem; border-radius: 50%; border: 2px solid rgba(71, 213, 151, .55); animation: pulse 2.6s ease-out infinite; }
.shield svg { width: 4.6rem; height: 4.6rem; }
.sh-body { fill: rgba(71, 213, 151, .15); stroke: var(--safe); stroke-width: 2.2; stroke-linejoin: round; }
.sh-tick { fill: none; stroke: var(--safe); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scr-loc { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem .9rem; border-radius: 1rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.scr-loc span { color: var(--on-night-muted); }
.scr-btn { margin-top: .8rem; width: 100%; padding: .8rem; border-radius: 999px; background: rgba(71, 213, 151, .14); color: var(--safe); font-weight: 750; font-size: .95rem; border: 1px solid rgba(71, 213, 151, .35); }
@keyframes pulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }

/* ---------- blocks ---------- */
.block { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.block.tinted { background: var(--stone-2); }
.block-head { max-width: 44rem; margin-bottom: 2.6rem; }
.block-head h2 { font: 800 clamp(1.9rem, 3.8vw, 2.9rem)/1.08 var(--round); letter-spacing: -.025em; margin-bottom: .8rem; }
.block-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.features li { background: #FFFDF9; border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.features .tile { width: 2.9rem; height: 2.9rem; border-radius: 14px; display: grid; place-items: center; background: var(--night); color: var(--beacon); }
.features h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.features p { color: var(--ink-2); font-size: .98rem; margin: 0; }

.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6rem 3.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--beacon); font: 800 1.05rem var(--round); }
.steps li::after { content: ""; position: absolute; left: 1.22rem; top: 2.6rem; bottom: .3rem; width: 2px; background: var(--stone-line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.steps p { color: var(--ink-2); margin: 0; }
.tunnel { background: var(--night); color: var(--on-night); border-radius: 24px; padding: 1.6rem; }
.tunnel svg { width: 100%; height: auto; }
.tn-node { fill: var(--night-2); stroke: var(--night-line); stroke-width: 2; }
.tn-wall { fill: var(--wall); }
.tn-pipe { fill: none; stroke: var(--safe); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; animation: flow 1.2s linear infinite; }
.tn-wifi { fill: none; stroke: var(--on-night-muted); stroke-width: 3; stroke-linecap: round; }
.tn-dot { fill: var(--on-night-muted); }
.tn-leak { fill: none; stroke: #E46A5E; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 7; }
.tn-text { fill: var(--on-night-muted); font: 600 22px var(--font); }
.tn-strong { fill: var(--on-night); font: 700 23px var(--font); }
.tunnel figcaption { margin-top: .8rem; font-size: .9rem; color: var(--on-night-muted); }
@keyframes flow { to { stroke-dashoffset: -28; } }

.keep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; }
.keep > div { border-radius: 22px; padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.keep .never { background: var(--night); color: var(--on-night); }
.keep .sent { background: #FFFDF9; border: 1px solid var(--stone-line); }
.keep h3 { font: 800 1.35rem var(--round); margin-bottom: 1rem; }
.keep ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.keep li { position: relative; padding: .45rem 0 .45rem 1.9rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.keep .sent li { border-top-color: var(--stone-line); }
.keep li:first-child { border-top: 0; }
.keep .never li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 1.05rem; height: 2px; background: #E46A5E; transform: rotate(45deg); }
.keep .never li::after { content: ""; position: absolute; left: 0; top: .95rem; width: 1.05rem; height: 2px; background: #E46A5E; transform: rotate(-45deg); }
.keep .sent li::before { content: ""; position: absolute; left: .15rem; top: .82rem; width: .9rem; height: .5rem; border-left: 2px solid var(--beacon-deep); border-bottom: 2px solid var(--beacon-deep); transform: rotate(-45deg); }
.keep .sent p { color: var(--ink-2); font-size: .96rem; }

.finale { text-align: center; max-width: 40rem; margin: 0 auto; }
.finale .brand-mark { width: 5.5rem; height: 5.5rem; margin: 0 auto 1.4rem; }
.finale h2 { font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--round); letter-spacing: -.02em; margin-bottom: .8rem; }
.finale p { color: var(--ink-2); }

/* ---------- inner pages ---------- */
.page-top { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-night); padding: clamp(3rem, 7vw, 4.6rem) 0 clamp(2.4rem, 5vw, 3.2rem); }
.page-top h1 { font: 800 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--round); letter-spacing: -.025em; margin-bottom: .8rem; }
.page-top p { color: var(--on-night-muted); max-width: 40rem; margin: 0; }
.page-top .meta { margin-top: 1rem; font-size: .9rem; color: var(--beacon); }
.doc { max-width: 46rem; padding: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(3.5rem, 7vw, 5rem); }
.doc h2 { font: 800 1.4rem var(--round); letter-spacing: -.015em; margin: 2.4rem 0 .7rem; scroll-margin-top: 5.5rem; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; }
.doc ul, .doc ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.doc li { margin: .35rem 0; }
.doc .short { background: #FFFDF9; border: 1px solid var(--stone-line); border-left: 6px solid var(--beacon); border-radius: 14px; padding: 1.2rem 1.4rem .3rem; }
.doc table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.2rem; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .65rem .8rem .65rem 0; border-bottom: 1px solid var(--stone-line); }
.doc thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.support { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.support aside.doc { position: sticky; top: 5.5rem; }
.mail-big { font: 800 clamp(1.3rem, 3vw, 1.9rem) var(--round); letter-spacing: -.01em; overflow-wrap: anywhere; }
.doc .checklist { list-style: none; padding: 0; }
.checklist li { padding: .8rem 0; border-top: 1px solid var(--stone-line); display: flex; flex-direction: column; gap: .15rem; }
.checklist span { color: var(--ink-2); }

.nf { padding: clamp(4rem, 10vw, 7rem) 0; text-align: center; }
.nf .code { font: 800 clamp(4rem, 14vw, 8rem)/1 var(--round); letter-spacing: -.04em; color: var(--wall); margin: 0 0 1rem; }
.nf h1 { font: 800 clamp(1.7rem, 4vw, 2.4rem) var(--round); margin-bottom: .6rem; }
.nf p { color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night-muted); padding: clamp(3rem, 6vw, 4rem) 0 2rem; }
.foot a { color: var(--on-night); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot-about .brand { color: var(--on-night); margin-bottom: 1rem; }
.foot-about p { font-size: .95rem; max-width: 30rem; }
.foot h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: .45rem 0; }
.foot li a { text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot-bottom { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .82rem; }
.foot-bottom span:last-child { max-width: 44rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .how { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .js .burger { display: grid; }
  .js .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: .4rem 1.25rem 1.2rem; }
  .js .menu.open { display: flex; }
  .js .menu a { padding: .85rem 0; border-bottom: 1px solid var(--night-line); }
  .js .menu .pill { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .no-js .bar-row { flex-wrap: wrap; padding: .6rem 0; }
  .no-js .menu { flex-wrap: wrap; gap: .9rem; }
  .keep, .support, .foot-top { grid-template-columns: minmax(0, 1fr); }
  .support aside.doc { position: static; padding-top: 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shield::before, .tn-pipe { animation: none; }
  .btn, .link-arrow::after { transition: none; }
}
