:root {
  --bg: #07090C;
  --card: #12161D;
  --text: #F2F4F7;
  --muted: #9AA3B2;
  --accent: #3D9EFF;
  --accent-ink: #07090C;
  --line: #1C2430;
  --good: #3DDC97;
  --display: "IBM Plex Mono", ui-monospace, monospace;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1080px;
  --radius: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
}

body {
  background-image:
    linear-gradient(rgba(28, 36, 48, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 48, 0.35) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 480px at 50% -80px, rgba(61, 158, 255, 0.07), transparent 70%);
  z-index: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  font-family: var(--display);
  font-size: 0.8rem;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 28px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.burger {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 6px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 12px; font-size: 0.78rem; }
.site-nav .btn { margin-left: 8px; }

main { position: relative; z-index: 1; padding-bottom: 72px; }

.hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 40rem;
  margin: 0 0 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.catalog-note {
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44rem;
}
.catalog-note strong { color: var(--text); font-weight: 500; }

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

.grid-3,
.grid-4,
.grid-5,
.grid-plans {
  display: grid;
  gap: 14px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-plans { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card h2, .card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 12px; }
.card .more { margin-top: auto; font-family: var(--display); font-size: 0.8rem; }

.card.popular {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--accent) 25%, transparent);
}

.badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--good);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
}

.price {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 8px 0 4px;
}
.price .from {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.price .per {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}

.spec {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
  font-family: var(--display);
  font-size: 0.8rem;
}
.spec li span:last-child { color: var(--text); }

.locs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.loc {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}
.loc strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
}
.loc span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}
.loc .home { color: var(--good); font-family: var(--display); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }

.faq details {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 0 16px;
  margin-bottom: 8px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.92rem;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 46rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: color-mix(in srgb, var(--card) 80%, #000);
}
td { color: var(--text); }
td.muted, .mono { font-family: var(--display); }
tr.popular td { background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
tr:last-child td { border-bottom: 0; }
td .btn { white-space: nowrap; }

.bill-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--card);
  gap: 2px;
}
.bill-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.bill-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

html[data-bill="mo"] .price-hr { display: none; }
html[data-bill="hr"] .price-mo { display: none; }

.os-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}
.os-list li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--display);
  font-size: 0.78rem;
  color: var(--text);
}

.legal {
  max-width: 42rem;
  color: var(--muted);
}
.legal h2 { margin-top: 1.6em; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--accent); }

.page-head { padding: 48px 0 8px; }
.page-head .lede { margin-bottom: 20px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h2 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--text); font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }
.foot-brand p { color: var(--muted); font-size: 0.9rem; max-width: 22rem; }
.legal-line {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

.error {
  padding: 80px 0;
  text-align: left;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-plans, .locs, .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .burger { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav a { padding: 10px 8px; }
  .site-nav .btn { margin: 8px 0 4px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .hero { padding-top: 48px; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .grid-3, .grid-4, .grid-plans, .grid-5, .locs, .foot-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { backdrop-filter: none; }
}
