/* Storefront mastheads and affiliate hardware illustration. */
.masthead {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 76% 52%, #202125 0, #111215 34%, transparent 65%), #0a0b0d;
}
.masthead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #c2c6cf28 .8px, transparent 1px) 0 0 / 24px 24px;
  mask-image: linear-gradient(115deg, transparent, #0008 34%, #000 80%);
}
.masthead-content {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 4vw, 76px);
  padding-block: clamp(54px, 5.5vw, 92px);
}
.masthead-copy { min-width: 0; }
.masthead-kicker, .eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
}
.masthead-kicker { display: flex; align-items: center; gap: 11px; color: #c6c8ca; font: 600 .76rem/1.5 var(--base); }
.masthead-kicker::before { content: ""; width: 27px; height: 2px; background: var(--accent); }
.masthead h1 { margin: 22px 0; font-size: clamp(4rem, 5.85vw, 6.2rem); line-height: 1.015; letter-spacing: -.045em; }
.masthead h1 strong, .masthead h1 em { display: block; }
.masthead h1 strong { font-weight: 700; }
.masthead h1 em { color: #a6a8ae; font-weight: 300; font-style: normal; }
.masthead-description { color: #bfc1c6; font-size: 1.065rem; line-height: 1.7; max-width: 47ch; }
.masthead .masthead-buttons { gap: 12px; margin-top: 27px; }
.masthead .masthead-buttons .button { min-height: 48px; padding-inline: 23px; font-size: .94rem; }
.entry-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 23px; color: var(--muted); font-size: .875rem; }
.entry-price > span { display: inline-flex; align-items: center; gap: 6px; }
.entry-price strong { color: var(--ink); font-weight: 650; }
.entry-price svg { color: var(--accent); }
.masthead .price-refund { margin: 8px 0 0; color: var(--faint); font-size: .78rem; line-height: 1.6; }
.masthead .price-refund a { white-space: nowrap; color: #c6c9c9; text-decoration-color: #6b6d72; }
.hardware-figure { margin: 0; min-width: 0; }
.hardware-photo { position: relative; padding: 3% 4% 0; }
.hardware-photo img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(0deg, transparent, #000 12%, #000 91%, transparent), linear-gradient(90deg, transparent, #000 5%, #000 94%, transparent);
  mask-composite: intersect;
}
.hardware-photo::before, .hardware-photo::after {
  content: "";
  position: absolute;
  width: 17px; height: 17px;
  border-color: #606269; border-style: solid;
}
.hardware-photo::before { left: 0; top: 4%; border-width: 1px 0 0 1px; }
.hardware-photo::after { right: 0; bottom: 5%; border-width: 0 1px 1px 0; }
.hardware-figure figcaption { display: flex; justify-content: center; gap: 0; margin: 12px auto 0; color: #b7bac1; font: .77rem/1.5 var(--mono); }
.hardware-figure figcaption span { display: inline-flex; align-items: center; gap: 7px; padding-inline: clamp(10px,1.4vw,24px); }
.hardware-figure figcaption span + span { border-left: 1px solid var(--line-strong); }
.hardware-figure figcaption svg { flex: none; color: #d3d5d8; }

/* Direct links to the deployment regions. */
.region-strip { background: #111214; border-block: 1px solid var(--line); }
.region-strip-inner { display: grid; grid-template-columns: .85fr repeat(3,1fr); }
.region-index, .region-stop { min-width: 0; display: flex; align-items: center; min-height: 86px; }
.region-index { gap: 12px; color: var(--muted); font-size: .875rem; font-weight: 550; }
.region-index svg { color: #d7dadc; }
.region-stop { gap: 12px; padding: 12px clamp(14px,2.2vw,35px); border-left: 1px solid var(--line); }
.region-stop img { width: 24px; height: auto; max-height: 19px; object-fit: contain; }
.region-stop strong, .region-stop small { display: block; }
.region-stop strong { font-size: .96rem; font-weight: 600; }
.region-stop small { color: var(--muted); font-size: .8rem; }
.region-stop code { margin-left: auto; color: var(--faint); font-size: .76rem; }
.region-stop:hover, .region-index:hover { color: var(--accent); }
.region-stop:hover { background: #ffffff05; }

/* Server preview uses native radios so the Linux and Windows views also work without JavaScript. */
.hero-console {
  container-type: inline-size;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1b1d20, #121315 78%);
  box-shadow: 0 24px 72px #0006;
}

.hero-console-chrome {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 14px;
  min-height: 49px;
  padding: 9px clamp(13px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: .82rem/1.4 var(--mono);
}

.hero-console-chrome > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-console-chrome svg { flex: none; color: var(--accent); }
.hero-console-chrome .hero-console-preview { color: var(--muted); font-size: .73rem; }
.hero-console-preview::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }

.hero-console-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: clamp(12px, 1.8vw, 22px);
}

.hero-console-options > label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-deep);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}

.hero-console-options > label svg { flex: none; }
.hero-console-options > label:hover { border-color: #71767a; color: var(--ink); }
.hero-console-options > input:checked + label { border-color: #63734e; background: var(--accent-soft); color: var(--accent); }
.hero-console-options > input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero-console-panel { display: none; grid-column: 1 / -1; min-width: 0; gap: 13px; margin-top: 3px; }
#home-mode-linux:checked ~ #home-server-linux, #home-mode-windows:checked ~ #home-server-windows { display: grid; }

.hero-console-terminal { min-width: 0; border: 1px solid var(--line); border-radius: 9px; background: #0d0e10; }
.hero-console-terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.hero-console-terminal-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-console-terminal-bar code { font-size: .73rem; }
.hero-console-terminal-bar svg { flex: none; }

.hero-console-command { display: flex; gap: 10px; padding: 15px 13px; color: var(--ink); font: clamp(.85rem,1.15vw,1rem)/1.5 var(--mono); }
.hero-console-command > span { color: var(--accent); }
.hero-console-command code { overflow-wrap: anywhere; }
.hero-console-connection { display: flex; flex-wrap: wrap; gap: 7px 22px; margin: 0; padding: 0 13px 13px; }
.hero-console-connection dt, .hero-console-specs dt { color: var(--muted); font-size: .75rem; }
.hero-console-connection dd { margin: 3px 0 0; color: var(--ink); font-size: .82rem; }

.hero-console-server { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.hero-console-os { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-alt); }
.hero-console-os img { width: 22px; height: 22px; }
.hero-console-identity { min-width: 0; }
.hero-console-identity h2 { font-size: 1.2rem; line-height: 1.25; }
.hero-console-identity p { color: var(--muted); font-size: .8rem; }
.hero-console-location { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin-inline-start: auto; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .77rem; }
.hero-console-location:hover { color: var(--ink); border-color: #71767a; }
.hero-console-location img { width: 18px; height: auto; }

.hero-console-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-deep); }
.hero-console-specs > div { padding: 9px 11px; min-width: 0; }
.hero-console-specs > div + div { border-left: 1px solid var(--line); }
.hero-console-specs dd { margin: 3px 0 0; font: 550 clamp(.96rem,1.35vw,1.13rem)/1.35 var(--mono); }
.hero-console-specs dd small { color: var(--muted); font-size: .7rem; font-weight: 400; }

.hero-console-footer, .hero-console-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hero-console-footer { justify-content: space-between; }
.hero-console-footer strong { color: var(--ink); font: 650 1.35rem/1.2 var(--head); letter-spacing: -.03em; }
.hero-console-actions .inline-link { display: inline-flex; align-items: center; min-height: 40px; }

@container (max-width: 430px) {
  .hero-console-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-console-specs > div:nth-child(odd) { border-left: 0; }
  .hero-console-specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-console-actions { width: 100%; justify-content: space-between; }
}

@container (max-width: 335px) {
  .hero-console-options > label { gap: 6px; padding-inline: 6px; font-size: .81rem; }
  .hero-console-options > label svg { width: 15px; }
  .hero-console-location { gap: 5px; padding-inline: 7px; }
  .hero-console-actions .button { min-height: 42px; padding-inline: 12px; font-size: .83rem; }
}

/* Network overview and regional specifications. */
.network-benchmark-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 15px;
  padding: 13px clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-deep);
}

.network-benchmark-link:hover { border-color: var(--line-strong); background: var(--panel); }
.network-benchmark-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: none; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--accent); }
.network-benchmark-copy { flex: 1 1 220px; min-width: 0; }
.network-benchmark-copy strong, .network-benchmark-copy small { display: block; }
.network-benchmark-copy small { color: var(--muted); font-size: .83rem; }
.network-benchmark-action { display: inline-flex; align-items: center; min-height: 39px; padding-inline: 13px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: .82rem; font-weight: 610; }
.network-benchmark-link:hover .network-benchmark-action { border-color: #74797d; }

.network-location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.network-location {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  padding: clamp(15px, 2.1vw, 25px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1b1d20, var(--panel) 72%);
  transition: border-color .18s, background .18s;
}

.network-location:hover { border-color: #666b67; background: var(--panel-alt); }
.network-location-header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.network-location-header p { margin: 0; color: var(--muted); font-size: .8rem; }
.network-location-header h3 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.65rem); line-height: 1.22; overflow-wrap: anywhere; }
.network-location-flag { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-deep); }
.network-location-flag img { display: block; width: 25px; height: auto; border-radius: 2px; }
.network-location-code { margin-inline-start: auto; align-self: flex-start; color: var(--muted); font-size: .77rem; }

.network-location-specs { display: grid; margin: 16px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-deep); }
.network-location-specs > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 9px; padding: 9px 12px; }
.network-location-specs > div + div { border-top: 1px solid var(--line); }
.network-location-specs dt { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.network-location-specs dd { margin: 0; color: var(--ink); text-align: right; font: .8rem/1.35 var(--mono); }
.network-location-specs > div:last-child dd { color: var(--accent); }

.network-location-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 10px; }
.network-location-footer > span { color: var(--faint); font: .69rem/1.4 var(--mono); }
.network-location-footer strong { color: var(--accent); font-size: .82rem; font-weight: 630; }
.network-location:hover .network-location-footer strong { text-decoration: underline; text-underline-offset: 4px; }

/* Group related network data, privacy features and buying information. */
.pricing-section, .privacy-feature { border-block: 1px solid var(--line); background: #101113; }
.privacy-feature-inner { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(24px,5vw,80px); }
.privacy-feature-inner > div:first-child { align-self: center; }
.privacy-feature-inner h2 em { color: #a7a9af; font-weight: 300; }
.privacy-feature .principle-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.privacy-feature .principle-list article { display: block; min-width: 0; border: 0; padding: clamp(18px,2vw,28px); }
.privacy-feature .principle-list article:nth-child(2n) { border-left: 1px solid var(--line); }
.privacy-feature .principle-list article:nth-child(n+3) { border-top: 1px solid var(--line); }
.privacy-feature .principle-list svg { position: static; margin: 0 0 17px; color: #bcd795; }
.privacy-feature .principle-list h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.privacy-feature .principle-list p { margin-top: 7px; font-size: .875rem; }
.faq-block { border-top: 1px solid var(--line); }
.faq-block .faq-list { align-self: start; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.faq-block .faq-list details { border: 0; padding-inline: clamp(16px,2.1vw,30px); }
.faq-block .faq-list details + details { border-top: 1px solid var(--line); }
.faq-block .faq-list details[open] { background: #ffffff03; }
.faq-block .faq-list summary { gap: 16px; font-size: 1rem; }
.faq-block .faq-list details p { font-size: .94rem; }
.faq-plus { flex: none; }

@media (max-width: 940px) {
  .masthead-content { gap: 28px; }
  .masthead h1 { font-size: clamp(3.6rem,7.2vw,4.6rem); }
  .region-strip-inner { grid-template-columns: .85fr repeat(3,1fr); }
  .region-stop { padding-inline: 14px; }
  .region-stop code { display: none; }
}
@media (max-width: 760px) {
  .masthead-content { grid-template-columns: 1fr; gap: 26px; padding-block: 40px 28px; }
  .masthead h1 { font-size: clamp(3.55rem,9.4vw,4.8rem); margin: 15px 0; }
  .masthead-description { max-width: 51ch; font-size: 1rem; }
  .hardware-figure { width: min(100%,480px); justify-self: center; }
  .hardware-photo { padding: 0 6%; }
  .region-strip-inner { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .region-index { grid-column: 1/-1; min-height: 40px; border-bottom: 1px solid var(--line); gap: 7px; }
  .region-index svg { width: 16px; }
  .region-stop { min-height: 72px; padding: 10px; gap: 8px; }
  .region-stop:nth-child(2) { border: 0; padding-left: 0; }
  .region-stop img { width: 20px; }
  .network-location-grid { grid-template-columns: 1fr; }
  .privacy-feature-inner { grid-template-columns: 1fr; gap: 26px; }
  .privacy-feature-inner > div:first-child > p:not(.eyebrow) { max-width: 55ch; }
}
@media (max-width: 530px) {
  .masthead-copy .masthead-buttons { margin-top: 21px; gap: 9px; }
  .masthead .masthead-buttons .button { padding-inline: 16px; font-size: .875rem; }
  .entry-price { margin-top: 16px; font-size: .82rem; gap: 6px 14px; }
  .hardware-photo { width: 88%; margin-inline: auto; padding: 0 2%; }
  .hardware-figure figcaption { font-size: .71rem; }
  .hardware-figure figcaption span { padding-inline: 9px; gap: 4px; }
  .hardware-figure figcaption svg { width: 13px; }
  .region-stop { flex-direction: column; align-items: flex-start; gap: 5px; }
  .region-stop strong { font-size: .86rem; }
  .region-stop small { font-size: .76rem; }
  .privacy-feature .principle-list { grid-template-columns: 1fr; }
  .privacy-feature .principle-list article:nth-child(2n) { border-left: 0; }
  .privacy-feature .principle-list article + article { border-top: 1px solid var(--line); }
}
