/* RoamVPN.com custom layer; Tailwind CSS v4.1.8 base is bundled separately. */
:root {
  --ink: #11152b;
  --muted: #5c637c;
  --paper: #f7f8ff;
  --white: #ffffff;
  --line: rgba(17, 21, 43, .12);
  --sky: #35d4ff;
  --violet: #7b61ff;
  --lime: #b8ff3d;
  --pink: #ff4fc7;
  --orange: #ff9f43;
  --navy: #12162f;
  --shadow: 0 22px 70px rgba(38, 31, 90, .14);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; border-radius: 8px; }
::selection { color: var(--ink); background: var(--lime); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 9999; transform: translateY(-160%); padding: 10px 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; font-weight: 800; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); box-shadow: 0 8px 30px rgba(42,43,89,.08); color: #3b3e62; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--pink)); box-shadow: 0 0 0 4px rgba(53,212,255,.16); }
.kicker { color: var(--violet); font-size: .85rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
h1,h2,h3,h4 { margin: 0 0 .65em; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 6.25rem); font-weight: 950; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.72rem); font-weight: 850; }
p { margin: 0 0 1.15em; }
.lede { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.72; }
.gradient-text { background: linear-gradient(100deg, #316dff 0%, #7d55ff 38%, #f640ba 74%, #ff8d3f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(17,21,43,.08); background: rgba(247,248,255,.82); backdrop-filter: blur(18px) saturate(150%); transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 12px 42px rgba(30,31,72,.1); }
.utility-bar { background: var(--ink); color: #e9ecff; font-size: .78rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 34px; }
.utility-inner a { color: var(--lime); font-weight: 750; text-decoration: none; }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 950; letter-spacing: -.045em; font-size: 1.24rem; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 13px; background: linear-gradient(135deg, var(--lime), var(--sky) 52%, var(--pink)); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-3deg); }
.brand-mark svg { width: 23px; height: 23px; }
.brand-domain { color: #606782; font-weight: 760; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a { padding: 10px 11px; border-radius: 11px; color: #353a55; text-decoration: none; font-size: .9rem; font-weight: 760; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 8px 22px rgba(32,34,74,.08); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px !important; color: var(--white) !important; background: var(--ink) !important; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--lime); }
.menu-button { display: none; width: 46px; height: 44px; border: 2px solid var(--ink); border-radius: 13px; background: var(--white); cursor: pointer; }
.menu-button span { display: block; width: 21px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.mobile-menu { display: none; padding: 8px 0 20px; }
.mobile-menu a { display: block; padding: 13px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 780; }
.mobile-menu a:hover { background: var(--white); }
.mobile-menu.is-open { display: block; }
.hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0 80px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 560px; background: radial-gradient(circle at 20% 35%, rgba(53,212,255,.27), transparent 30%), radial-gradient(circle at 70% 10%, rgba(255,79,199,.2), transparent 33%), radial-gradient(circle at 88% 70%, rgba(184,255,61,.23), transparent 30%); filter: blur(2px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: clamp(36px, 6vw, 82px); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 14px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.btn-primary:hover { box-shadow: 9px 9px 0 var(--lime); }
.btn-secondary { background: var(--white); box-shadow: 6px 6px 0 var(--sky); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 34px; color: #4c526d; font-size: .9rem; font-weight: 710; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: .75rem; font-weight: 950; }
.hero-media { position: relative; z-index: 1; }
.hero-media::before { content: ""; position: absolute; inset: 7% -3% -4% 8%; border-radius: 34px; background: var(--ink); transform: rotate(3deg); }
.hero-media img { position: relative; display: block; width: 100%; border: 2px solid var(--ink); border-radius: 31px; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.float-note { position: absolute; right: -18px; bottom: 12%; max-width: 235px; padding: 15px 17px; border: 2px solid var(--ink); border-radius: 16px; background: var(--white); box-shadow: 6px 6px 0 var(--pink); font-size: .84rem; font-weight: 760; transform: rotate(2deg); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track span { padding: 14px 26px; color: #343a56; font-size: .82rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.ticker-track span::after { content: "✦"; margin-left: 26px; color: var(--pink); }
@keyframes ticker { to { transform: translateX(-50%); } }
.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-compact { padding: 58px 0; }
.section-white { background: var(--white); }
.section-dark { color: #f5f6ff; background: var(--ink); }
.section-dark .lede, .section-dark p { color: #c9cce0; }
.section-dark .eyebrow { color: #ecedff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-head > div:first-child { max-width: 800px; }
.section-head p { max-width: 560px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.86); box-shadow: 0 16px 40px rgba(40,42,90,.07); }
.card:hover { border-color: rgba(123,97,255,.3); box-shadow: 0 22px 54px rgba(40,42,90,.12); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border: 2px solid var(--ink); border-radius: 15px; background: linear-gradient(135deg, var(--lime), var(--sky)); box-shadow: 4px 4px 0 var(--ink); font-size: 1.35rem; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: #5541c9; font-weight: 850; text-decoration: none; }
.card-link:hover { color: #d0279b; }
.principle-card { min-height: 100%; }
.principle-card:nth-child(2) .card-icon { background: linear-gradient(135deg, var(--pink), #ffd0f0); }
.principle-card:nth-child(3) .card-icon { background: linear-gradient(135deg, var(--orange), #ffe1ac); }
.principle-card:nth-child(4) .card-icon { background: linear-gradient(135deg, var(--violet), #d8d0ff); }
.band { position: relative; padding: 36px; border: 2px solid var(--ink); border-radius: var(--radius); background: linear-gradient(115deg, #c8ff5b, #5ee7ff 42%, #a589ff 72%, #ff74d4); box-shadow: 10px 10px 0 var(--ink); }
.band-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 28px; }
.band h2 { max-width: 720px; }
.band p { max-width: 760px; color: #292d47; }
.band .btn { justify-self: end; background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid var(--ink); border-radius: 16px; background: var(--lime); box-shadow: 4px 4px 0 var(--ink); font-weight: 950; }
.step p { color: var(--muted); margin-bottom: 0; }
.feature-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 31px; color: #40465f; }
.feature-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: #6653df; font-weight: 950; }
.device-card { min-height: 270px; display: flex; flex-direction: column; }
.device-card .card-link { margin-top: auto; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.pill { display: inline-flex; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); color: #505671; font-size: .78rem; font-weight: 800; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.blog-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 1px solid var(--line); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; color: #6a7089; font-size: .76rem; font-weight: 780; letter-spacing: .04em; text-transform: uppercase; }
.blog-card h3 a { text-decoration: none; }
.blog-card p { flex: 1; }
.page-hero { position: relative; overflow: hidden; padding: 82px 0 66px; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; width: 410px; height: 410px; right: -120px; top: -180px; border-radius: 50%; background: conic-gradient(from 20deg, rgba(53,212,255,.35), rgba(255,79,199,.24), rgba(184,255,61,.34), rgba(123,97,255,.3), rgba(53,212,255,.35)); filter: blur(3px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.65rem, 6vw, 5rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; color: #6b718a; font-size: .82rem; font-weight: 760; }
.breadcrumbs a { color: #5141ba; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 58px; }
.prose { min-width: 0; }
.prose h2 { margin-top: 2.15em; margin-bottom: .55em; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.prose h3 { margin-top: 1.7em; font-size: 1.35rem; }
.prose p, .prose li { color: #3f455e; font-size: 1.03rem; }
.prose a { color: #5540c7; font-weight: 760; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.prose li { margin-bottom: .7em; }
.prose blockquote { margin: 30px 0; padding: 23px 26px; border-left: 6px solid var(--pink); border-radius: 0 16px 16px 0; background: #fff; color: #31374f; font-size: 1.08rem; font-weight: 650; }
.prose .callout { margin: 30px 0; padding: 24px; border: 2px solid var(--ink); border-radius: 18px; background: linear-gradient(135deg, rgba(184,255,61,.28), rgba(53,212,255,.18)); box-shadow: 6px 6px 0 var(--ink); }
.prose .callout p:last-child { margin-bottom: 0; }
.sidebar { position: sticky; top: 138px; display: grid; gap: 20px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 14px 36px rgba(40,42,90,.07); }
.side-card h3 { font-size: 1rem; letter-spacing: -.015em; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li + li { margin-top: 9px; }
.side-card a { color: #4d526c; font-size: .88rem; font-weight: 720; }
.article-hero { padding-bottom: 38px; }
.article-hero h1 { max-width: 1050px; font-size: clamp(2.55rem, 6vw, 5.25rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; color: #666d87; font-size: .88rem; font-weight: 720; }
.article-image-wrap { width: min(calc(100% - 36px), 980px); margin: 36px auto 0; }
.article-image-wrap img { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink); }
.article-shell { padding: 64px 0 100px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.article-tags a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #575d76; background: #fff; font-size: .78rem; font-weight: 780; text-decoration: none; }
.source-note { padding: 16px 18px; border-left: 4px solid var(--violet); background: #f0efff; border-radius: 0 12px 12px 0; font-size: .93rem; }
.archive-intro { max-width: 760px; }
.faq { display: grid; gap: 14px; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { margin: 14px 0 0; color: var(--muted); }
.notice { padding: 18px 20px; border: 1px solid rgba(123,97,255,.22); border-radius: 16px; background: rgba(123,97,255,.08); color: #494f69; }
.contact-card { padding: clamp(28px, 5vw, 54px); border: 2px solid var(--ink); border-radius: 28px; background: linear-gradient(135deg, #fff, #f0f5ff); box-shadow: 10px 10px 0 var(--sky); }
.contact-email { display: inline-flex; margin-top: 16px; font-size: clamp(1.25rem, 4vw, 2.3rem); font-weight: 950; color: #5642ce; word-break: break-word; }
.site-footer { padding: 70px 0 28px; color: #d9dbec; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 40px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-domain { color: #aeb3cf; }
.footer-about { max-width: 360px; margin-top: 20px; color: #aeb3c9; font-size: .9rem; }
.site-footer h3 { margin-bottom: 16px; color: var(--white); font-size: .95rem; letter-spacing: .01em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: #bfc3d8; font-size: .87rem; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #9399b8; font-size: .78rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-media { width: min(760px, 94%); margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .utility-inner { justify-content: center; text-align: center; }
  .utility-inner span:last-child { display: none; }
  .nav-shell { min-height: 70px; }
  .brand-domain { display: none; }
  .hero { padding-top: 64px; }
  .float-note { right: -7px; bottom: 7%; max-width: 200px; }
  .grid-2, .grid-3, .grid-4, .band-grid, .footer-grid, .sidebar { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .band .btn { justify-self: start; }
  .step { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero-actions .btn { width: 100%; }
  .hero-media { width: 100%; }
  .float-note { position: relative; right: auto; bottom: auto; margin: -28px 14px 0 auto; }
  .card { padding: 23px; }
  .band { padding: 27px 22px; }
  .article-image-wrap { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
