/* PatriotVPN — site styles v2 (built by Two Koi Designs)
   Dark, glowing, animated. Colours from the logo: flag red, star blue, white, on near-black navy. */
@font-face { font-family: "Sora"; font-weight: 100 800; font-style: normal; font-display: swap; src: url(/assets/fonts/sora.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }

:root {
  --ink: #05070e;            /* page background */
  --navy: #0a1024;           /* alternate sections */
  --navy-2: #101a3a;
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .1);
  --edge: rgba(255, 255, 255, .13);
  --red: #ea212d;            /* logo red */
  --red-hi: #ff4552;         /* bright red for text on dark */
  --red-btn: #c8102e;        /* buttons: white text 5.9:1 */
  --red-dark: #9e0c24;
  --blue: #5370ee;           /* logo star blue */
  --blue-hi: #8ea0ff;        /* links on dark (7.6:1) */
  --white: #fff;
  --text: #e7eaf0;
  --steel: #aab2c0;          /* secondary text on dark (8.4:1) */
  --grad: linear-gradient(100deg, #ff4552 0%, #ff6b5a 30%, #8ea0ff 75%, #5370ee 100%);
  --radius: 18px;
  --wrap: 1200px;
  --head: 78px;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); text-underline-offset: 3px; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--white); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lead { font-size: 1.15rem; color: var(--steel); max-width: 60ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 .95rem/1 var(--body); color: var(--red-hi); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }

/* ---------- buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.5em; border-radius: 12px;
  border: 1.5px solid var(--red-btn); background: var(--red-btn); color: var(--white); font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200, 16, 46, .35); }
.btn::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-150%) skewX(-20deg); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(350%) skewX(-20deg); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn-sm { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: .85em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-glow { box-shadow: 0 8px 28px rgba(234, 33, 45, .45); }
.btn-glow::after { animation: shine 4.5s var(--ease) 1.5s infinite; }   /* a light sweep every few seconds (transform only: smooth on phones) */
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 25%, 100% { transform: translateX(350%) skewX(-20deg); } }
.btn-line, .btn-ghost { background: rgba(255, 255, 255, .04); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-line:hover, .btn-ghost:hover { background: var(--white); border-color: var(--white); color: #05070e; box-shadow: 0 12px 30px rgba(255, 255, 255, .12); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- header (see-through over the hero, frosted once you scroll) */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(5, 7, 14, .55); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-head.scrolled { background: rgba(5, 7, 14, .85); border-bottom-color: var(--edge); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: var(--head); gap: 20px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 12px; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover { color: var(--white); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; border-radius: 8px; cursor: pointer; }
.menu-btn .ico { width: 28px; height: 28px; }
@media (max-width: 980px) {
  :root { --head: 72px; }
  .brand img { height: 50px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: var(--head); left: 0; right: 0; background: rgba(5, 7, 14, .97); border-bottom: 1px solid var(--edge);
    flex-direction: column; align-items: stretch; padding: 10px 24px 22px; gap: 2px; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--edge); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin: 12px 0 0; }
}

/* ---------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 72px; margin-top: calc(var(--head) * -1); padding-top: calc(var(--head) + 56px); background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .5; filter: saturate(1.25);   /* city at night; faded under the words */
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, .7) 45%, #000 75%); mask-image: linear-gradient(100deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, .7) 45%, #000 75%); }
.aur { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; }   /* soft gradients, no blur filter: cheap on phones */
.a1 { width: 520px; height: 520px; left: -120px; top: -80px; background: radial-gradient(circle, rgba(234, 33, 45, .75), transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.a2 { width: 620px; height: 620px; right: -160px; top: 40px; background: radial-gradient(circle, rgba(83, 112, 238, .8), transparent 65%); animation: drift2 19s ease-in-out infinite alternate; }
.a3 { width: 420px; height: 420px; left: 35%; bottom: -220px; background: radial-gradient(circle, rgba(140, 90, 255, .45), transparent 65%); animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-140px, 80px) scale(.9); } }
.grid { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0V56' fill='none' stroke='%23fff' stroke-opacity='.05'/%3E%3C/svg%3E");   /* tiny tiled images, not gradients: far cheaper to draw */
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 0, transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 22px; padding: 8px 16px 8px 12px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(12, 17, 36, .6);
  font-weight: 500; font-size: .95rem; color: var(--white); }
.live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #3ee08a; }
.live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3ee08a; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6.4vw, 5.3rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 24px; max-width: 13ch; }
.hero .lead { font-size: 1.2rem; color: #c9cfda; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.facts { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { padding: 16px 16px 14px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(12, 17, 36, .62); }
.facts b { display: flex; align-items: center; min-height: 1.1em; font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--display); color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts > li > span { display: block; margin-top: 4px; color: var(--steel); font-size: .92rem; line-height: 1.35; }
.fact-ico { width: 1.2em; height: 1.1em; stroke-width: 2.6; color: var(--blue-hi); }
.hero-visual { position: relative; will-change: transform; contain: paint; }   /* own layer: the moving shield never makes the whole hero redraw */
.hero-visual svg { width: 100%; height: auto; overflow: visible; }
.rings circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; transform-origin: 200px 224px; }
.rings .r1 { stroke-dasharray: 2 10; animation: spin 40s linear infinite; }
.rings .r2 { stroke: rgba(83, 112, 238, .45); stroke-dasharray: 60 22 6 22; animation: spin 26s linear infinite reverse; }
.rings .r3 { stroke: rgba(234, 33, 45, .4); stroke-dasharray: 3 8; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wire { fill: none; stroke: rgba(142, 160, 255, .22); stroke-width: 1.5; stroke-dasharray: 4 6; }
.pkt.p0 { fill: #ff4552; }
.pkt.p1 { fill: #8ea0ff; }
.sh-glow { fill: none; stroke: url(#hs-g); stroke-width: 34; opacity: .22; animation: breathe 3.5s ease-in-out infinite; }
.sh { fill: #070a14; stroke: url(#hs-g); stroke-width: 14; stroke-linejoin: round; }
.sh-in { fill: #000; stroke: #fff; stroke-width: 5; }
.st-r { fill: var(--red); stroke: #fff; stroke-width: 1.5; }
.st-w { fill: #fff; }
.st-b { fill: var(--blue); stroke: #fff; stroke-width: 1.5; }
.st { transform-box: fill-box; transform-origin: center; animation: twinkle 4s ease-in-out infinite; }
.st-w { animation-delay: .6s; } .st-b { animation-delay: 1.2s; }
@keyframes twinkle { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.18); } }
.lockg rect, .lockg path { stroke: #fff; stroke-width: 5; }
.lockg rect { fill: rgba(255, 255, 255, .08); }
.lockg circle { fill: #fff; }
@keyframes breathe { 50% { opacity: .5; } }
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--head) + 30px); padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { order: -1; width: min(210px, 56vw); margin: 0 auto 4px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 34px; }
}

/* ticker */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--edge); background: linear-gradient(90deg, rgba(234, 33, 45, .12), rgba(83, 112, 238, .12)); padding: 16px 0; }
.ticker-in { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font: 600 1rem/1 var(--display); color: var(--white); white-space: nowrap; }
.ticker .ico { color: var(--red-hi); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections */
.section { position: relative; padding: 110px 0; }
.section-dark { background: var(--ink); }
.sec-head { margin-bottom: 54px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
@media (max-width: 700px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 36px; } }

/* scroll-in animation */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* benefits */
.benefits-sec { background: radial-gradient(900px 500px at 15% 0%, rgba(83, 112, 238, .14), transparent 60%), radial-gradient(800px 500px at 90% 100%, rgba(234, 33, 45, .12), transparent 60%), var(--ink); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--edge); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background .35s; }
.benefit::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.benefit:hover { transform: translateY(-6px); background: var(--glass-2); }
.benefit:hover::before { opacity: 1; }
.b-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; color: var(--white);
  background: linear-gradient(135deg, var(--red-btn), #5a1aa8 60%, var(--blue)); box-shadow: 0 10px 30px rgba(83, 112, 238, .3); transition: transform .4s var(--ease); }
.benefit:hover .b-ico { transform: rotate(-8deg) scale(1.08); }
.b-ico .ico { width: 27px; height: 27px; }
.benefit p { color: var(--steel); margin: 0; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .benefits { grid-template-columns: 1fr; gap: 12px; }
  .benefit { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 18px; }   /* icon beside the words: half the scrolling */
  .b-ico { grid-row: span 2; width: 48px; height: 48px; margin: 0; }
  .b-ico .ico { width: 23px; height: 23px; }
  .benefit h3 { margin-bottom: .3em; font-size: 1.08rem; }
}

/* ---------- app section with the live phone */
.apps { overflow: hidden; background: linear-gradient(180deg, var(--ink), var(--navy) 50%, var(--ink)); }
.apps-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='1.1' fill='%23fff' fill-opacity='0.16'/%3E%3C/svg%3E"); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 70% 50%, #000, transparent 65%); }
.apps-bg i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 12px var(--red-hi); animation: blip 3s ease-out infinite; }
.apps-bg i:nth-child(2n) { background: var(--blue-hi); box-shadow: 0 0 12px var(--blue-hi); }
.apps-bg i:nth-child(1) { left: 58%; top: 22%; } .apps-bg i:nth-child(2) { left: 88%; top: 30%; animation-delay: .7s; }
.apps-bg i:nth-child(3) { left: 63%; top: 78%; animation-delay: 1.4s; } .apps-bg i:nth-child(4) { left: 92%; top: 70%; animation-delay: 2.1s; }
.apps-bg i:nth-child(5) { left: 52%; top: 52%; animation-delay: 1s; } .apps-bg i:nth-child(6) { left: 80%; top: 12%; animation-delay: 2.5s; }
@keyframes blip { 0% { transform: scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.apps-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 32px 0 34px; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge); transition: transform .3s var(--ease), border-color .3s; }
.steps li:hover { transform: translateX(6px); border-color: rgba(142, 160, 255, .5); }
.step-ico { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(234, 33, 45, .15); color: var(--red-hi); }
.step-ico em { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font: 700 .75rem/1 var(--display); font-style: normal; }
.steps b { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--white); }
.steps li > span > span { color: var(--steel); font-size: .98rem; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: block; border-radius: 10px; transition: transform .25s var(--ease); }
.badge:hover { transform: translateY(-3px); }
.badge img { height: 54px; width: auto; }
.badge-text { display: inline-flex; align-items: center; height: 54px; padding: 0 18px; border: 1px solid #a6a6a6; border-radius: 10px; background: #000; color: var(--white); font-weight: 600; }
.also { margin: 30px 0 10px; color: var(--steel); font-size: .95rem; }
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { padding: 6px 14px; border: 1px solid var(--edge); border-radius: 999px; font-size: .95rem; background: var(--glass); }

.phone-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.pulse { position: absolute; inset: 0; display: grid; place-items: center; }
.pulse i { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(83, 112, 238, .35); opacity: 0; }
.phone-stage.on .pulse i { animation: wave 3.6s ease-out infinite; border-color: rgba(234, 33, 45, .4); }
.phone-stage.on .pulse i:nth-child(2) { animation-delay: 1.2s; border-color: rgba(83, 112, 238, .4); }
.phone-stage.on .pulse i:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.phone { position: relative; will-change: transform; width: 280px; height: 572px; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #2a2f3d, #0c0f18 40%, #1a1f2c);
  box-shadow: 0 0 0 2px #3a4152, 0 40px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(83, 112, 238, .25); transform: rotate(-4deg); transition: transform .8s var(--ease), box-shadow .8s; }
.phone-stage.on .phone { transform: rotate(0deg); box-shadow: 0 0 0 2px #3a4152, 0 40px 80px rgba(0, 0, 0, .6), 0 0 140px rgba(234, 33, 45, .3); }
.ph-island { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.ph-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; padding: 52px 0 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #2f3456; color: var(--white); }   /* the real app's colours */
.ph-bar { display: flex; justify-content: space-between; width: 100%; padding: 0 16px; margin-bottom: 8px; }
.ph-bar span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .12); }
.ph-bar .ico { width: 17px; height: 17px; }
.ph-status { position: relative; width: 100%; height: 40px; margin: 0 0 8px; }
.ph-status span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: opacity .4s, transform .4s; }
.ph-status b { font: 700 1rem/1.1 var(--body); }
.ph-status small { font-size: .7rem; color: #d7dbf0; }
.s-wait, .s-on { opacity: 0; transform: translateY(8px); }
.phone-stage.wait .s-off, .phone-stage.on .s-off { opacity: 0; transform: translateY(-8px); }
.phone-stage.wait .s-wait { opacity: 1; transform: none; }
.phone-stage.on .s-wait { opacity: 0; }
.phone-stage.on .s-on { opacity: 1; transform: none; }
.ph-loc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border-radius: 999px; background: #5b64a6; font-size: .8rem; margin-bottom: 16px; }
.ph-loc svg { width: 20px; height: 20px; border-radius: 50%; }
.ph-power { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 10px; }
.ph-power .ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: #fff; stroke: #59607f; stroke-width: 10; transition: stroke .5s; }
.ring { fill: none; stroke: #5370ee; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.2s var(--ease); }
.phone-stage.wait .ring { stroke-dashoffset: 230; animation: spin 1s linear infinite; transform-origin: 60px 60px; }
.phone-stage.on .ring { stroke-dashoffset: 0; animation: none; }
.phone-stage.on .ring-bg { stroke: #5370ee; }
.ph-shield { position: relative; width: 58px; height: auto; filter: grayscale(1) brightness(.85); transition: filter .6s, transform .6s var(--ease); }
.phone-stage.on .ph-shield { filter: none; transform: scale(1.06); }
.ph-tap { position: relative; height: 18px; width: 100%; margin: 0 0 4px; font-size: .78rem; }
.ph-tap span { position: absolute; inset: 0; transition: opacity .4s; }
.ph-tap .t-on { opacity: 0; } .phone-stage.on .ph-tap .t-on { opacity: 1; } .phone-stage.on .ph-tap .t-off { opacity: 0; }
.ph-timer { margin: 0 0 6px; font: 700 1.5rem/1.1 var(--display); color: #8b93b8; font-variant-numeric: tabular-nums; letter-spacing: .02em; transition: color .5s; }
.phone-stage.on .ph-timer { color: #1ea7ff; }
.ph-proto { margin: 0 0 12px; font-size: .68rem; color: #d7dbf0; }
.ph-proto b { color: #1ea7ff; }
.ph-sheet { margin-top: auto; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 14px 12px 18px; background: #fff; border-radius: 20px 20px 0 0; color: #15182b; }
.ph-card { display: flex; align-items: center; gap: 7px; padding: 8px; border: 1px solid #e3e8f4; border-radius: 10px; text-align: left; }
.ph-card i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; }
.ph-card i .ico { width: 13px; height: 13px; stroke-width: 2.6; }
.ph-card .dn { background: #e8202b; } .ph-card .up { background: #2bb5ff; }
.ph-card small { display: block; font-size: .6rem; color: #4a5070; }
.ph-card b { font: 700 .76rem/1.2 var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(14, 21, 46, .94); border: 1px solid var(--edge);
  font: 600 .88rem/1 var(--display); color: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); white-space: nowrap; z-index: 1;
  opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.chip .ico { color: var(--red-hi); }
.c1 { right: calc(50% + 122px); top: 22%; } .c2 { left: calc(50% + 122px); top: 46%; transition-delay: .2s; } .c3 { right: calc(50% + 122px); bottom: 30%; transition-delay: .4s; }   /* they tuck under the phone's edge but never cover the app screen */
.phone-stage.on .chip { opacity: 1; transform: none; animation: float 5s ease-in-out infinite; }
.phone-stage.on .c2 { animation-delay: 1s; } .phone-stage.on .c3 { animation-delay: 2s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .apps-grid { grid-template-columns: 1fr; gap: 28px; }
  .phone-stage { min-height: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 30px 0 0; }
  .phone { width: 250px; height: 512px; flex: 0 0 250px; margin: 0 calc((100% - 250px) / 2) 14px; }   /* fills its own row so the chips always sit below it */
  .phone-stage .phone { order: 0; } .phone-stage .chip { order: 1; position: relative; inset: auto; }   /* the chips line up under the phone */
  .phone-stage:not(.on) .chip { transform: translateY(14px); }
  .ph-sheet { gap: 6px; padding: 12px 9px 16px; }
  .ph-card { gap: 5px; padding: 7px 6px; }
  .ph-card i { width: 20px; height: 20px; } .ph-card i .ico { width: 11px; height: 11px; }
  .ph-card b { font-size: .7rem; }
}

/* ---------- plans */
#plans { background: radial-gradient(900px 600px at 50% 0%, rgba(83, 112, 238, .18), transparent 65%), var(--navy); }
.anchor-alias { position: absolute; top: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge);
  transition: transform .35s var(--ease), background .35s; }
.plan:hover { transform: translateY(-6px); background: var(--glass-2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.plan h3 { font-size: 1.35rem; margin: 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; color: var(--white); }
.price .cur { font-size: 1.6rem; align-self: flex-start; margin-top: .3em; }
.price .amt { font-size: 4rem; letter-spacing: -.05em; }
.price .cents { font-size: 1.6rem; align-self: flex-start; margin-top: .3em; }
.price .every { font: 500 1rem/1 var(--body); color: var(--steel); margin-left: 8px; }
.permo { color: var(--steel); margin: 12px 0 16px; }
.save { display: inline-block; padding: 4px 11px; border-radius: 999px; background: rgba(62, 224, 138, .14); color: #6ff0a8; font-weight: 600; font-size: .88rem; }
.plan-blurb { margin-bottom: 18px; color: var(--text); }
.plan-feat { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--edge); display: grid; gap: 10px; flex: 1; }
.plan-feat li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feat .ico { color: var(--blue-hi); margin-top: .2em; }
.plan.featured { background: linear-gradient(180deg, rgba(234, 33, 45, .16), rgba(83, 112, 238, .1)); border-color: transparent; transform: scale(1.04); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.plan.featured:hover { transform: scale(1.04) translateY(-6px); }
.plan.featured::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 24px; background: linear-gradient(135deg, #ff4552, #8a4dff 50%, #5370ee); box-shadow: 0 0 40px rgba(234, 33, 45, .35), 0 0 70px rgba(83, 112, 238, .25); animation: breathe-o 3.5s ease-in-out infinite; }
@keyframes breathe-o { 50% { opacity: .65; } }
.plan.featured::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: #0b1128; }
.plans { isolation: isolate; }
.plan-flag { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 15px; border-radius: 999px; white-space: nowrap;
  background: var(--red-btn); color: var(--white); font-weight: 700; font-size: .88rem; box-shadow: 0 8px 22px rgba(200, 16, 46, .5); }
.plan-flag .ico { width: 1em; height: 1em; fill: currentColor; }
.plan-notes { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; color: var(--steel); }
.plan-notes li { display: flex; align-items: center; gap: 8px; }
.plan-notes .ico { color: var(--red-hi); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan.featured { order: -1; transform: none; } .plan.featured:hover { transform: translateY(-6px); } }

/* ---------- photo band */
.photo-band { position: relative; color: var(--white); padding: 150px 0; overflow: hidden; isolation: isolate; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; }   /* upper middle keeps faces in frame */
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 7, 14, .95) 0, rgba(5, 7, 14, .72) 45%, rgba(5, 7, 14, .15) 100%); }
.photo-band::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--grad); }
.band-in h2 { max-width: 18ch; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.band-in p { max-width: 50ch; font-size: 1.15rem; color: #dfe3ea; margin-bottom: 28px; }
@media (max-width: 700px) { .photo-band { padding: 100px 0; } .photo-band::before { background: rgba(5, 7, 14, .78); } }

/* public Wi-Fi band */
.wifi-band { padding: 140px 0; }
.wifi-band .band-img { object-position: 60% 50%; }
.wifi-band::before { background: linear-gradient(90deg, rgba(5, 7, 14, .96) 0, rgba(5, 7, 14, .8) 42%, rgba(10, 16, 36, .35) 100%); }
.places { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.places li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 600; }
.places .ico { color: var(--red-hi); }
@media (max-width: 700px) { .wifi-band { padding: 96px 0; } .wifi-band::before { background: linear-gradient(180deg, rgba(5, 7, 14, .55), rgba(5, 7, 14, .86) 45%, rgba(5, 7, 14, .9)); } }

/* ---------- founder */
#founder { background: radial-gradient(700px 500px at 20% 50%, rgba(234, 33, 45, .12), transparent 60%), var(--ink); }
.founder-grid, .story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 4px solid var(--ink); }
.founder-photo::before { content: ""; position: absolute; inset: -6px -6px auto -6px; aspect-ratio: 1; border-radius: 28px; background: var(--grad); filter: blur(0); z-index: 0; }
.founder-photo img { z-index: 1; }
.founder-photo figcaption { display: flex; flex-direction: column; margin-top: 20px; padding-left: 14px; border-left: 4px solid var(--red); }
.founder-photo figcaption b { color: var(--white); font-family: var(--display); }
.founder-photo figcaption span { color: var(--steel); font-size: .95rem; }
.quote { margin: 26px 0 30px; padding: 0; font: 700 clamp(1.5rem, 2.8vw, 2.1rem)/1.2 var(--display); letter-spacing: -.02em; }
.quote p { margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .founder-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; } .founder-photo { max-width: 400px; } }

/* ---------- support: photo behind frosted glass */
.glass-sec { overflow: hidden; isolation: isolate; }
.glass-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(5, 7, 14, .93) 0, rgba(10, 16, 36, .82) 50%, rgba(80, 10, 30, .7) 100%); }
.glass-sec .band-img { object-position: 50% 50%; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(5, 7, 14, .45); border: 1px solid var(--edge); }
.cl-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(234, 33, 45, .18); color: var(--red-hi); }
.cl-ico .ico { width: 24px; height: 24px; }
.contact-list b { color: var(--white); }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; gap: 36px; } }
.form-card { position: relative; padding: 32px; border-radius: 24px; background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 70px rgba(0, 0, 0, .45); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--white); }
.opt { font-weight: 400; color: var(--steel); }
input, textarea { width: 100%; font: inherit; color: var(--white); background: rgba(5, 7, 14, .45); border: 1px solid rgba(255, 255, 255, .26); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s; }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--blue-hi); background: rgba(5, 7, 14, .6); box-shadow: 0 0 0 4px rgba(142, 160, 255, .25); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff7a83; }
.err { display: none; margin: 6px 0 0; color: #ffadb3; font-size: .95rem; }
.err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: .92rem; color: #c3c9d4; }
.form-status { margin-top: 12px; font-weight: 500; }
.form-status.bad { color: #ffadb3; }
.thanks { text-align: center; padding: 52px 30px; }
.thanks:focus { outline: none; }
.thanks-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #3ee08a, #1c9e5c); color: #04170c; margin-bottom: 16px; animation: pop .6s var(--ease); }
.thanks-ico .ico { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- email sign-up band */
.signup-band { position: relative; overflow: hidden; color: var(--white); padding: 64px 0; background: linear-gradient(110deg, #9e0c24 0%, #c8102e 40%, #3b2a9e 100%); }
.signup-band::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.1' fill='%23fff' fill-opacity='0.18'/%3E%3C/svg%3E"); background-size: 22px 22px; opacity: .6; pointer-events: none; }
.su-grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.signup-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .35em; }
.signup-band p { margin: 0; color: #fff; }
.su-fields { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 12px; align-items: end; }
.signup .field { margin: 0; }
.signup-band label { color: var(--white); }
.signup-band .opt { color: #ffe3e6; }
.signup-band input { background: rgba(255, 255, 255, .95); color: #10131c; border-color: transparent; }
.signup-band input:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .45); border-color: #000; background: #fff; }
.signup-band .btn { background: #05070e; border-color: #05070e; }
.signup-band .btn:hover { background: var(--white); border-color: var(--white); color: #05070e; }
.signup-band .err { color: var(--white); font-weight: 600; }
.su-status { margin: 10px 0 0; font-weight: 600; min-height: 1.2em; }
.signup-band .su-status.bad { color: var(--white); text-decoration: underline; }
@media (max-width: 860px) { .su-grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .su-fields { grid-template-columns: 1fr; } .su-fields .btn { width: 100%; } }

/* ---------- footer */
.site-foot { background: #03040a; color: var(--steel); padding: 70px 0 28px; font-size: .98rem; border-top: 1px solid var(--edge); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.foot-brand img { height: 78px; width: auto; margin-bottom: 16px; }
.site-foot h2 { font: 600 1rem/1.3 var(--display); color: var(--white); margin: 0 0 14px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--steel); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot .badge img { height: 46px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--edge); font-size: .92rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- page heads, story, legal, 404 */
.page-head { position: relative; color: var(--white); padding: calc(var(--head) + 70px) 0 70px; margin-top: calc(var(--head) * -1); overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 400px at 10% 0%, rgba(234, 33, 45, .25), transparent 60%), radial-gradient(800px 500px at 90% 30%, rgba(83, 112, 238, .25), transparent 60%), var(--ink); }
.page-head h1 { font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -.04em; margin-bottom: .3em; }
.page-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--grad); }
.photo-head { padding-top: calc(var(--head) + 150px); padding-bottom: 90px; }
.photo-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 7, 14, .96) 0, rgba(5, 7, 14, .55) 60%, rgba(5, 7, 14, .3) 100%); }
.photo-head .lead { color: #e1e4e9; }
.story-grid { align-items: start; }
.story-side { position: sticky; top: calc(var(--head) + 24px); }
.prose { max-width: 70ch; }
.prose p { font-size: 1.12rem; color: #d3d8e2; }
.story p:first-child::first-letter { float: left; font: 800 4.2rem/.85 var(--display); margin: 6px 12px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story p:last-child { font: 700 1.45rem/1.35 var(--display); color: var(--white); padding-top: 22px; border-top: 1px solid var(--edge); }
@media (max-width: 860px) { .story-side { position: static; } }
.legal { max-width: 820px; }
.legal h2 { margin-top: 1.8em; padding-top: .7em; border-top: 1px solid var(--edge); font-size: 1.7rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.15rem; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .35em; color: #d3d8e2; }
.legal p, .legal li { font-size: 1.02rem; }
.legal strong { color: var(--white); }
.nf { padding: calc(var(--head) + 40px) 0 100px; margin-top: calc(var(--head) * -1); background: radial-gradient(700px 500px at 80% 30%, rgba(83, 112, 238, .2), transparent 60%), var(--ink); }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nf-photo { margin: 0; }
.nf-photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nf-code { font: 800 6rem/1 var(--display); margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.05em; }
.nf .lead { margin-bottom: 0; }
@media (max-width: 800px) { .nf-grid { grid-template-columns: 1fr; gap: 30px; } .nf-photo { order: 2; } }

/* ---------- sign-up pop-up */
.pop { border: 0; padding: 0; border-radius: 24px; width: min(820px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; background: #0a1024; color: var(--white); border: 1px solid var(--edge); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.pop::backdrop { background: rgba(3, 4, 10, .7); backdrop-filter: blur(4px); }
.pop[open] { animation: pop .45s var(--ease); }
.pop-in { display: grid; grid-template-columns: 1fr; }
.pop.has-img .pop-in { grid-template-columns: .9fr 1.1fr; }
.pop-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.pop-body { position: relative; padding: 42px 34px 30px; }
.pop-body h2 { font-size: 1.9rem; padding-right: 30px; }
.pop-body mark { background: none; color: var(--white); box-shadow: inset 0 -.38em 0 var(--red-btn); }
.pop .su-fields { grid-template-columns: 1fr; }
.pop .btn { width: 100%; }
.pop-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--white); border-radius: 10px; cursor: pointer; }
.pop-x:hover { background: rgba(255, 255, 255, .1); }
.pop .su-status.ok { color: #6ff0a8; }
.pop .su-status.bad { color: #ffadb3; }
@media (max-width: 700px) { .pop.has-img .pop-in { grid-template-columns: 1fr; } .pop-photo img { height: 150px; } .pop-body { padding: 30px 22px 24px; } }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(10, 16, 36, .8); color: var(--white);
  backdrop-filter: blur(10px); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
