:root {
  --bg: #080d18;
  --surface: #0f1726;
  --surface-2: #131d2f;
  --panel: #101a2c;
  --panel-hover: #16243b;
  --text: #edf4ff;
  --muted: #a9b7c9;
  --subtle: #7f8ea3;
  --accent: #5cc8ff;
  --accent-2: #38d9a9;
  --accent-3: #ffcf5a;
  --accent-strong: #2563eb;
  --danger: #fb7185;
  --border: #24314a;
  --border-strong: #334563;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --max: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(92, 200, 255, .18), transparent 62%),
    radial-gradient(760px 500px at 88% 7%, rgba(56, 217, 169, .12), transparent 58%),
    linear-gradient(180deg, #080d18 0%, #0b1220 48%, #080d18 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #a9e7ff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(36, 49, 74, .86);
  background: rgba(8, 13, 24, .86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(92, 200, 255, .98), rgba(37, 99, 235, .92) 52%, rgba(56, 217, 169, .9));
  box-shadow: 0 12px 34px rgba(37, 99, 235, .34);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
}

.brand-mark::before {
  top: 10px;
}

.brand-mark::after {
  top: 20px;
  width: 11px;
  right: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  color: #fff !important;
  border-radius: var(--radius);
  background: var(--accent-strong);
  box-shadow: 0 12px 30px rgba(37, 99, 235, .28);
}

.breadcrumb {
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  color: var(--subtle);
  font-size: 14px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #526074;
  margin-left: 8px;
}

.breadcrumb a {
  color: var(--muted);
}

.site-notice {
  padding: 14px 20px 0;
}

.site-notice-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 207, 90, .38);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 207, 90, .08);
  font-size: 14px;
  line-height: 1.45;
}

.site-notice strong {
  color: var(--accent-3);
  white-space: nowrap;
}

.site-notice a {
  color: var(--text);
  font-weight: 800;
}

.section {
  padding: 78px 20px;
}

.section.tight {
  padding-top: 48px;
}

.section.alt {
  background: rgba(15, 23, 38, .58);
  border-top: 1px solid rgba(36, 49, 74, .56);
  border-bottom: 1px solid rgba(36, 49, 74, .56);
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  padding: 76px 20px 72px;
}

.hero-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(56, 217, 169, .9);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 800;
  background: rgba(16, 26, 44, .78);
}

.button:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(22, 36, 59, .92);
}

.button.primary {
  color: #fff;
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .28);
}

.button.primary:hover {
  background: #1d5be0;
}

.button.small {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 14px;
}

.dashboard-visual {
  border: 1px solid rgba(71, 93, 130, .78);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(19, 29, 47, .96), rgba(9, 15, 27, .96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid rgba(71, 93, 130, .55);
  background: rgba(255, 255, 255, .03);
}

.visual-dots {
  display: flex;
  gap: 7px;
}

.visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--danger);
}

.visual-dots span:nth-child(2) {
  background: var(--accent-3);
}

.visual-dots span:nth-child(3) {
  background: var(--accent-2);
}

.visual-live {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.visual-body {
  padding: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(71, 93, 130, .48);
  border-radius: 8px;
  background: rgba(8, 13, 24, .72);
}

.metric span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.1;
}

.metric.ok strong {
  color: var(--accent-2);
}

.metric.warn strong {
  color: var(--accent-3);
}

.chart {
  height: 155px;
  margin-top: 15px;
  border: 1px solid rgba(71, 93, 130, .48);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(92, 200, 255, .08), rgba(56, 217, 169, .05));
  background-size: 100% 38px, 48px 100%, 100% 100%;
}

.chart::before,
.chart::after {
  content: "";
  position: absolute;
  inset: 38px 0 0;
  clip-path: polygon(0 68%, 8% 55%, 18% 62%, 28% 41%, 38% 48%, 48% 24%, 59% 37%, 68% 31%, 78% 52%, 88% 45%, 100% 28%, 100% 100%, 0 100%);
}

.chart::before {
  background: linear-gradient(180deg, rgba(92, 200, 255, .52), rgba(92, 200, 255, .06));
}

.chart::after {
  inset: 28px 0 0;
  clip-path: polygon(0 78%, 8% 74%, 18% 66%, 28% 70%, 38% 52%, 48% 57%, 59% 43%, 68% 48%, 78% 38%, 88% 42%, 100% 34%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(56, 217, 169, .42), rgba(56, 217, 169, .04));
}

.event-list {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(71, 93, 130, .42);
  border-radius: 8px;
  background: rgba(8, 13, 24, .58);
  color: var(--muted);
  font-size: 13px;
}

.event strong {
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(56, 217, 169, .1);
  border: 1px solid rgba(56, 217, 169, .32);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.warn {
  color: var(--accent-3);
  background: rgba(255, 207, 90, .1);
  border-color: rgba(255, 207, 90, .32);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

a.card {
  display: block;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

a.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: rgba(22, 36, 59, .86);
}

.card p,
.copy p,
.copy li {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.copy {
  max-width: 830px;
}

.copy p:first-child {
  margin-top: 0;
}

.copy strong {
  color: var(--text);
}

.check-list,
.plain-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  margin: 11px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(56, 217, 169, .26);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat {
  padding: 18px;
  border-left: 3px solid var(--accent-2);
  background: rgba(16, 26, 44, .58);
}

.stat strong {
  display: block;
  font-size: 27px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid rgba(36, 49, 74, .62);
}

.toc a:first-of-type {
  border-top: 0;
}

.comparison {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(16, 26, 44, .72);
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--text);
  background: rgba(255, 255, 255, .035);
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
}

summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.cta {
  text-align: center;
  padding: 58px 20px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(56, 217, 169, .13)),
    rgba(16, 26, 44, .72);
  border-top: 1px solid rgba(92, 200, 255, .22);
  border-bottom: 1px solid rgba(56, 217, 169, .18);
}

.cta .container {
  max-width: 820px;
}

.cta p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 680px;
  font-size: 18px;
}

.cta .actions {
  justify-content: center;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.content-hero {
  padding: 62px 20px 40px;
}

.content-hero .container {
  max-width: 920px;
}

.content-hero p {
  color: var(--muted);
  font-size: 18px;
}

.content-hero .lead {
  max-width: 820px;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-nav a,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(16, 26, 44, .62);
  font-size: 14px;
  font-weight: 750;
}

.page-nav a:hover,
.pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.article-body {
  max-width: 860px;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body h2 {
  margin-top: 42px;
}

.article-body h3 {
  margin-top: 28px;
}

.article-body a {
  font-weight: 750;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.budget-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
}

.budget-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.budget-card span {
  color: var(--accent-2);
  font-weight: 850;
}

.budget-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 42px;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #0b1220;
  padding: 0 11px;
  font: inherit;
}

.table-meta,
.source-note {
  color: var(--subtle);
  font-size: 14px;
}

.source-note {
  margin-top: 14px;
}

tr[hidden] {
  display: none;
}

.provider-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 207, 90, .45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 207, 90, .13), rgba(56, 217, 169, .09)),
    rgba(16, 26, 44, .76);
}

.provider-highlight p {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.mini-list li {
  padding: 12px;
  border: 1px solid rgba(36, 49, 74, .72);
  border-radius: 8px;
  background: rgba(8, 13, 24, .52);
  color: var(--muted);
}

.mini-list strong {
  color: var(--text);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(16, 26, 44, .72);
  color: var(--text);
}

.link-card:hover {
  border-color: var(--border-strong);
  background: rgba(22, 36, 59, .86);
}

.link-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.coupon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 207, 90, .42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 207, 90, .14), rgba(37, 99, 235, .12)),
    rgba(16, 26, 44, .78);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .23);
}

.coupon-panel p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.coupon-panel h2 {
  margin-bottom: 12px;
}

.coupon-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 230px;
}

.coupon-actions .button {
  width: 100%;
}

.footer {
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(8, 13, 24, .76);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 10px;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 940px) {
  .nav-wrap {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .dashboard-visual {
    max-width: 560px;
  }

  .grid.three,
  .stats,
  .coupon-panel,
  .budget-grid,
  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-wrap,
  .breadcrumb {
    width: min(100% - 28px, var(--max));
  }

  .site-notice {
    padding-inline: 14px;
  }

  .site-notice-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(5) {
    display: none;
  }

  .section {
    padding: 58px 14px;
  }

  .section.tight {
    padding-top: 38px;
  }

  .hero {
    padding: 46px 14px 56px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .grid.two,
  .grid.three,
  .stats,
  .metric-grid,
  .contact-panel,
  .coupon-panel,
  .provider-highlight,
  .budget-grid,
  .filter-panel,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: start;
  }

  .actions,
  .actions .button,
  .contact-panel .button,
  .coupon-actions,
  .coupon-actions .button {
    width: 100%;
  }

  .nav-links {
    margin-left: auto;
  }

  .nav-cta {
    min-width: 112px;
  }

  .card {
    padding: 20px;
  }
}

@media (max-width: 500px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .visual-body {
    padding: 12px;
  }

  .event {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
  }
}
