:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #0f172a;
  --muted: #475569;
  --line: #d8e3f2;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --success: #16a34a;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 24%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 252, 0.88);
  border-bottom: 1px solid rgba(216, 227, 242, 0.95);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
  font-size: 0.87rem;
  color: var(--muted);
}

.brand-text strong {
  color: var(--text);
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #111827;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.hero-section {
  padding: 84px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-label,
.guide-tag,
.pill,
.panel-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.eyebrow {
  padding: 8px 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-dark);
  font-size: 0.87rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-outline-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.stat-row {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-row li,
.feature-card,
.category-card,
.step-card,
.audience-card,
.guide-card,
.cost-card,
.trust-card,
.faq-item,
.platform-box,
.panel-card,
.floating-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-row li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-row strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
}

.panel-card {
  padding: 26px;
  border-radius: var(--radius-xl);
}

.panel-badge {
  padding: 8px 12px;
  background: rgba(6, 182, 212, 0.1);
  color: #0f766e;
  font-weight: 700;
  font-size: 0.84rem;
}

.panel-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.panel-list article {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.panel-list h3,
.platform-box h3,
.feature-card h3,
.category-card strong,
.step-card h3,
.audience-card h3,
.guide-card h3,
.cost-card h3,
.trust-card h3,
.faq-question span:first-child,
.site-footer h3 {
  margin: 0;
}

.panel-list p,
.section-copy,
.feature-card p,
.category-card span:last-child,
.step-card p,
.audience-card p,
.guide-card p,
.cost-card p,
.trust-card p,
.footer-copy,
.footer-note,
.faq-answer p,
.section-heading p {
  color: var(--muted);
}

.floating-card {
  position: absolute;
  right: -12px;
  bottom: -22px;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 22px;
}

.pill {
  padding: 7px 11px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.58);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  padding: 7px 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label.light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.section h2,
.cta-box h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0 0 16px;
  line-height: 1.85;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
}

.platform-box {
  padding: 28px;
  border-radius: var(--radius-xl);
}

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

.platform-list li {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.platform-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.audience-card,
.guide-card,
.cost-card,
.trust-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.icon-wrap,
.cost-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 800;
  color: #fff;
}

.icon-wrap {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.cost-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

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

.category-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.34);
}

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

.step-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.section-guides {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent 28%),
    #fff;
}

.guide-tag {
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.guide-grid .guide-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.guide-card p {
  flex: 1;
}

.guide-card a {
  color: var(--primary-dark);
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

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

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-symbol {
  font-size: 1.5rem;
  color: var(--primary-dark);
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.faq-answer p {
  margin: 0;
  overflow: hidden;
  padding: 0 24px 0;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 22px;
}

.faq-item.open .faq-symbol {
  transform: rotate(45deg);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead {
  background: rgba(15, 23, 42, 0.04);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.cta-section {
  padding: 24px 0 86px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.24);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.8;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr));
  gap: 24px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.footer-copy {
  max-width: 34ch;
  line-height: 1.8;
  margin: 0;
}

.footer-note {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-column,
  .faq-layout,
  .cta-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .three-up,
  .four-up,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-card {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 8px 4px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-section {
    padding-top: 56px;
  }

  .stat-row,
  .three-up,
  .four-up,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100vw - 24px, 100%);
  }

  .site-header {
    background: rgba(246, 248, 252, 0.94);
  }

  .header-row {
    min-height: 72px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .section,
  .hero-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .panel-card,
  .platform-box,
  .feature-card,
  .audience-card,
  .guide-card,
  .cost-card,
  .trust-card,
  .faq-question,
  .cta-box,
  .category-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-box {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
