@property --surface { syntax: "<color>"; inherits: true; initial-value: #f1efea }
@property --paper { syntax: "<color>"; inherits: true; initial-value: #faf9f5 }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #252629 }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #61615f }
@property --rule { syntax: "<color>"; inherits: true; initial-value: #d8d5ce }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #385eb1 }

:root {
  color-scheme: light;
  font: 106.25%/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  --paper: #faf9f5;
  --ink: #252629;
  --muted: #61615f;
  --rule: #d8d5ce;
  --brand-blue: #385eb1;
  --accent: var(--brand-blue);
  --surface: #f1efea;
}
* { box-sizing: border-box }
body { width: min(1040px, 90%); margin: auto }
h1, h2, p, ol { margin: 0 }
a { color: inherit; text-underline-offset: .22em }
a:hover, summary:hover { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.skip { position: absolute; left: 5%; top: -5rem; background: var(--paper); padding: .4rem }
.skip:focus { top: .5rem }
.mast, footer, nav { display: flex; align-items: center; gap: 1.5rem }
.mast, footer { justify-content: space-between; padding-block: 1rem }
.mast { border-bottom: 1px solid var(--rule) }
.brand { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-weight: 550; letter-spacing: -.035em }
.brand img { display: block }
nav a { text-decoration: none }
nav a:hover { text-decoration: underline }
.intro {
  max-width: 560px;
  margin: auto;
  padding-block: clamp(40px, 5vw, 76px);
}
.copy { text-align: center }
.copy h1, .notes h2, #downloads h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.copy h1 { font-size: clamp(2.8rem, 6.8vw, 5.4rem); text-wrap: balance }
.copy p { max-width: 40ch; margin: 1rem auto 1.25rem; color: var(--muted) }
.guide-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  color: var(--accent);
  font-weight: 550;
  text-decoration: none;
}
.guide-link span {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--paper));
  line-height: 1;
}
#downloads { margin-bottom: clamp(36px, 5vw, 64px) }
.catalog-heading { margin-bottom: 1.4rem }
#downloads h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem) }
.catalog-heading p { margin-top: .5rem; color: var(--muted) }
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.platform-group {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.platform-group h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; margin: 0 }
.device-family { margin: .25rem 0 1.1rem; color: var(--muted); font-size: .85rem }
.install-options { margin: 0 0 1rem calc(24px + .7rem) }
.install-options div { padding-block: .45rem }
.install-options div + div { border-top: 1px solid var(--rule) }
.install-options dt { font-size: .93rem; font-weight: 550 }
.install-options div:first-child dt { color: var(--accent); font-weight: 650 }
.install-options dd, .version-help { color: var(--muted); font-size: .82rem }
.install-options dd { margin: .1rem 0 0 }
.version-help { margin: -.3rem 0 .9rem calc(24px + .7rem) }
.device-match { color: var(--accent); font-size: .75rem; font-weight: 500 }
details[open]:not(.is-closing) summary { color: var(--accent) }
.notes {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 7%;
  border-top: 1px solid var(--rule);
  padding-block: clamp(28px, 4vw, 52px);
}
.notes h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem) }
.feature-list, .feature-list dd { margin: 0 }
.feature-list dt { font-weight: 600; margin-bottom: .25rem }
.feature-list dd { color: var(--muted) }
.feature-list dd + dt { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule) }
details { border-top: 1px solid var(--rule) }
summary { display: flex; align-items: center; cursor: pointer; padding: .62rem 0; gap: .7rem; font-size: 1.15rem }
.os-icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
summary::-webkit-details-marker { display: none }
.platform-label .device-match { display: block }
.availability { margin-left: auto; color: var(--muted); font: italic 400 .88rem/1.25 Georgia, serif; text-align: end; text-wrap: balance; min-width: 0 }
.disclosure {
  display: grid;
  place-items: center;
  flex: none;
  width: .7em;
  height: .7em;
  color: var(--accent);
}
.disclosure::before, .disclosure::after {
  content: "";
  grid-area: 1 / 1;
  background: currentColor;
  border-radius: 1px;
}
.disclosure::before { width: 100%; height: 1.5px }
.disclosure::after { width: 1.5px; height: 100% }
details[open]:not(.is-closing) .disclosure::after { transform: scaleY(0) }
ol { padding-left: 1.4rem }
li { padding-left: .3rem }
li + li, .notes p + p { margin-top: .65rem }
li::marker { color: var(--accent) }
footer { border-top: 1px solid var(--rule); font-size: .85rem; flex-wrap: wrap }
@media (max-width: 640px) {
  .notes { grid-template-columns: 1fr; gap: 1rem }
  nav { gap: 1rem; flex-wrap: wrap }
}

@media (max-width: 380px) {
  .mast, .mast nav { gap: .65rem }
  .mast nav { font-size: .9rem }
}

.mast nav, footer { font-size: .9rem }
.mast a, footer a { display: inline-flex; align-items: center; min-height: 44px }
.contact-links { display: flex; column-gap: 1.5rem; flex-wrap: wrap }
.contact-links a { gap: .45rem }
.mast nav a, footer a {
  text-decoration: underline;
  text-decoration-color: transparent;
}
:is(.mast nav, footer) a:is(:hover, :focus-visible) { text-decoration-color: currentColor }
@media (prefers-reduced-motion: no-preference) {
  .mast nav a, footer a { transition: text-decoration-color 180ms ease-out }
}
.contact-links svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
footer nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}
#guide, #downloads, #contact { scroll-margin-top: 1rem }
@media (max-width: 640px) {
  footer { flex-direction: column; align-items: flex-start; gap: 0 }
  footer nav, .contact-links { column-gap: 1.25rem }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #202120;
  --ink: #efede7;
  --muted: #bdbab3;
  --rule: #484744;
  --accent: #9ebaff;
  --surface: #2b2b2a;
}
[data-theme="dark"] .brand img { filter: brightness(0) invert(1) }
.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--accent) }
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle[hidden] { display: none }
.sun, .moon { transform-origin: 12px 12px }
.sun, [data-theme="dark"] .moon { opacity: 0; transform: rotate(-25deg) scale(.7) }
[data-theme="dark"] .sun { opacity: 1; transform: none }
@media (max-width: 420px) {
  .mast, .mast nav { gap: .35rem }
  .mast nav { font-size: .85rem }
}

@keyframes section-enter {
  from { opacity: .15; translate: 0 8px }
  to { opacity: 1; translate: 0 0 }
}

@keyframes settle-in {
  from { opacity: .65; transform: translateY(5px) }
  to { opacity: 1; transform: translateY(0) }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
    transition-property: --paper, --ink, --muted, --rule, --accent, --surface;
    transition-duration: 240ms;
    transition-timing-function: ease-in-out;
  }
  .brand img { transition: filter 240ms ease-in-out }
  .copy, #document h1 { animation: settle-in 280ms ease-out }
  .section-entered { animation: section-enter 340ms ease-out }
  .sun, .moon { transition: opacity 240ms ease-in-out, transform 240ms ease-in-out }
  .disclosure::after { transition: transform 300ms cubic-bezier(.25,.75,.25,1) }
  .guide-link span { transition: transform 180ms ease-out }
  .guide-link:is(:hover, :focus-visible) span { transform: translateY(2px) }
}

.roadmap-date, .roadmap-key, .roadmap-total small { color: var(--muted); font-size: .82rem }
.roadmap-date { margin-top: .65rem }
.roadmap-total { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: 1rem }
.roadmap-total strong { font: 400 clamp(2.8rem, 5vw, 4.2rem)/1 Georgia, serif; letter-spacing: -.05em; color: var(--accent) }
.roadmap-total strong span { font-size: .55em }
.roadmap-list { list-style: none; margin: 0; padding: 0 }
.roadmap-list li { display: grid; grid-template-columns: minmax(5rem, 1fr) minmax(8rem, 1.4fr) minmax(3rem, 1fr) minmax(3em, max-content); gap: .75rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--rule) }
.roadmap-list strong, .roadmap-list b { font-weight: 550 }
.roadmap-list b { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums }
.roadmap-list li span { font-size: .87rem; color: var(--muted) }
.roadmap-list progress { appearance: none; width: 100%; height: .32rem; border: 0; border-radius: 1rem; overflow: hidden; background: var(--rule); color: var(--accent) }
.roadmap-list progress::-webkit-progress-bar { background: var(--rule) }
.roadmap-list progress::-webkit-progress-value { background: var(--accent) }
.roadmap-list progress::-moz-progress-bar { background: var(--accent) }
.roadmap-key { border-top: 1px solid var(--rule); padding-top: 1rem }
@container landing (max-width: 38em) {
  .roadmap-total { margin-top: 1rem }
  .roadmap-list li { grid-template-columns: 1fr auto; gap: .15rem .8rem }
  .roadmap-list li span { grid-column: 1; grid-row: 2 }
  .roadmap-list progress { grid-column: 1 / -1; grid-row: 3; margin-top: .4rem }
  .roadmap-list b { grid-column: 2; grid-row: 1 }
}

.route-demo {
  margin: 1rem 0 .25rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: .85rem;
  color: var(--ink);
}
.route-demo figcaption { margin-bottom: .65rem; font: 1.24rem/1.25 Georgia, serif }
.route-row { display: grid; grid-template-columns: 1fr minmax(2rem, 1.6fr) 1fr; align-items: center; gap: .5rem; min-height: 2.5rem; font-size: .9rem }
.route-label, .route-end { display: inline-flex; align-items: center; gap: .35rem }
.route-icon { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.route-destination { display: grid }
.route-destination > span { grid-area: 1 / 1 }
.route-end { color: var(--accent); justify-self: end }
.route-line { width: 100%; height: 32px; fill: none; stroke: var(--rule) }
.route-line path { vector-effect: non-scaling-stroke; stroke-width: 1.4 }
/* Scale around the baseline; a nonzero scale keeps the SVG stroke renderable. */
.route-video .vpn-track { transform-origin: 0 16px }
.route-demo:has(input:checked) .route-video .vpn-track { transform: scaleY(.001) }
.route-demo:has(input:checked) .route-video path:first-child { stroke-dasharray: 3 3 }
.route-line .route-pulse { opacity: 0; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 110 }
.route-video .route-pulse { stroke-width: 3.6; stroke-dasharray: .01 110 }
.route-demo:has(input:checked) .route-video .route-pulse { stroke: var(--muted) }
.route-demo .direct { color: var(--ink) }
.route-demo .direct, .route-demo:has(input:checked) .via { opacity: 0; visibility: hidden }
.route-demo:has(input:checked) .direct { opacity: 1; visibility: visible }
.route-control {
  display: flex; align-items: center; gap: .65rem; min-height: 44px; margin-top: .6rem;
  padding-top: .5rem; border-top: 1px solid var(--rule); cursor: pointer; font-size: .85rem;
}
.route-control input {
  appearance: none; flex: none; width: 2.1rem; height: 1.2rem; margin: 0;
  border: 1px solid var(--muted); border-radius: 1rem; background: var(--paper); cursor: pointer;
  display: grid; align-items: center; padding: 0 .16rem;
}
.route-control input::before { content: ""; width: .76rem; height: .76rem; border-radius: 50%; background: var(--muted) }
.route-control input:checked { background: var(--accent); border-color: var(--accent) }
.route-control input:checked::before { transform: translateX(.88rem); background: var(--paper) }
@media (prefers-reduced-motion: no-preference) {
  .route-control input::before { transition: transform 160ms ease }
  .route-video .route-end { transition: opacity 360ms ease, visibility 360ms }
  .route-row { --flow-period: 4.8s }
  .route-line .route-pulse { animation: route-flow var(--flow-period) ease-in-out infinite }
  .route-video .vpn-track { transition: transform 520ms cubic-bezier(.4, 0, .2, 1) }
  .route-video .route-pulse { animation: video-flow var(--flow-period) linear calc(-.5 * var(--flow-period)) infinite; transition: stroke 360ms ease }
  /* News reaches its endpoint at 68% of the cycle; Video arrives at the loop boundary. */
  .route-end .route-icon {
    animation: route-arrival var(--flow-period) ease-in-out calc(-.32 * var(--flow-period)) infinite;
  }
  .route-video .route-end .route-icon { animation-delay: calc(-.5 * var(--flow-period)) }
  @keyframes route-arrival {
    0%, 100% { filter: drop-shadow(0 0 2px color-mix(in srgb, var(--accent) 55%, transparent)); stroke-width: 1.95 }
    8%, 96% { filter: drop-shadow(0 0 0 transparent); stroke-width: 1.6 }
  }
  @keyframes video-flow {
    0% { stroke-dashoffset: 0; opacity: 0 }
    7%, 93% { opacity: .85 }
    100% { stroke-dashoffset: -100; opacity: 0 }
  }
  @keyframes route-flow {
    0% { stroke-dashoffset: 5; opacity: 0 }
    16%, 50% { opacity: .75 }
    68%, 100% { stroke-dashoffset: -100; opacity: 0 }
  }
}

body { overflow-wrap: anywhere }
#start { container: landing / inline-size }
.notes > *, .platform-group, .roadmap-list li > *, footer nav, .contact-links, footer a { min-width: 0 }
.contact-links, footer a { max-width: 100% }
.platform-group, .route-demo { container-type: inline-size; padding-inline: min(1.2rem, 5vw) }
@container (max-width: 16em) {
  .platform-group summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: .25em .45em }
  .availability { grid-column: 1 / -1; grid-row: 2; margin: 0; text-align: start }
  .disclosure { grid-column: 3; grid-row: 1 }
  .route-row { grid-template-columns: minmax(0,1fr) minmax(1em,.6fr) minmax(0,1fr) }
  .route-row :is(.route-label,.route-end) { display: grid; justify-items: start; gap: .1em }
}

@container landing (30em <= width < 45em) {
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .platform-group:last-child { grid-column: 1 / -1 }
}
@container landing (max-width: 38em) {
  .notes { grid-template-columns: minmax(0,1fr); gap: 1rem }
}

@container landing (min-width: 45em) {
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}

@property --roadmap-fill-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .roadmap-list progress { --roadmap-fill-scale: 1; transition: --roadmap-fill-scale 480ms ease-out }
  .roadmap-list progress.progress-pending { --roadmap-fill-scale: 0; transition: none }
  .roadmap-list progress::-webkit-progress-value { transform-origin: left; transform: scaleX(var(--roadmap-fill-scale, 1)) }
  .roadmap-list progress::-moz-progress-bar { transform-origin: left; transform: scaleX(var(--roadmap-fill-scale, 1)) }
}
