
:root {
  --bg: #f4f6fb;
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-strong: #0f766e;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --header-h: 4rem;
  --container: min(1120px, calc(100% - 2rem));
  --step--1: clamp(0.85rem, 0.82rem + 0.12vw, 0.9rem);
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.2rem + 0.95vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.45rem + 1.4vw, 2.35rem);
  --step-4: clamp(2.25rem, 1.75rem + 2vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 42rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(244, 246, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-strong);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: var(--step--1);
  font-weight: 500;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-soft);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a1628;
  background-image:
    linear-gradient(
      160deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(10, 22, 40, 0.55) 45%,
      rgba(10, 22, 40, 0.72) 100%
    ),
    url("https://images.unsplash.com/photo-1752742111841-f490c48aa668?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center 35%;
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero-bg {
    background-position: center center;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 50rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero .eyebrow {
  color: #5eead4;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero .hero-title {
  color: #f8fafc;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: var(--step-1);
  color: var(--text-muted);
  max-width: 36rem;
}

.hero .hero-lead {
  color: rgba(248, 250, 252, 0.88);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.hero .btn:focus-visible {
  outline-color: #5eead4;
}

.hero .btn-ghost {
  background: rgba(248, 250, 252, 0.12);
  color: #f8fafc;
  border-color: rgba(248, 250, 252, 0.35);
  box-shadow: none;
}

.hero .btn-ghost:hover {
  background: rgba(248, 250, 252, 0.2);
  border-color: rgba(94, 234, 212, 0.55);
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--accent-strong);
}

/* Sections */

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-intro {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-intro p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.section-intro p:last-child {
  margin-bottom: 0;
}

/* Benefits */

.benefit-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.benefit-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.benefit-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--accent-strong);
  margin-bottom: 0.65rem;
  line-height: 1;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.benefit-card p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* Providers */

.section-providers {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 148, 136, 0.04) 100%);
}

.provider-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: provider;
}

@media (min-width: 640px) {
  .provider-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .provider-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.provider-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  counter-increment: provider;
  position: relative;
  padding-left: 3.25rem;
}

.provider-list li::before {
  content: counter(provider);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 8px;
}

.provider-name {
  font-weight: 600;
  font-size: var(--step-1);
  color: inherit;
  text-decoration: none;
}

.provider-name:hover,
.provider-name:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
}

.provider-tag {
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* Table */

.section-table {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  outline: none;
}

.table-wrap:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--step--1);
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--text);
  color: #f8fafc;
  font-weight: 600;
  font-size: var(--step--1);
  border-bottom: none;
}

.compare-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text);
  background: rgba(13, 148, 136, 0.06);
  white-space: nowrap;
  min-width: 9rem;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  color: var(--text-muted);
}

/* CTA */

.section-cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-inner {
  text-align: center;
  max-width: 36rem;
  padding: clamp(2rem, 5vw, 3rem);
  margin-inline: auto;
  background: linear-gradient(145deg, var(--accent-soft) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.cta-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: var(--step-3);
  font-weight: 600;
}

.cta-inner p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

@media (max-width: 520px) {
  .nav {
    gap: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-header {
    height: auto;
    padding-block: 0.65rem;
  }

  .nav {
    width: 100%;
  }
}
