* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #f8fafc;
  line-height: 1.6;
}

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

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #e5e7eb;
}

.topbar-inner,
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: white;
  font-weight: 800;
}

.brand-accent {
  color: #059669;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  padding: 72px 0 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.hero-copy {
  padding: 40px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  margin: 20px 0 0;
  font-size: 18px;
  color: #475569;
}

.hero-accent {
  color: #059669;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
}

.button-primary {
  background: #059669;
  color: white;
}

.button-secondary {
  background: #ecfdf5;
  color: #047857;
}

.hero-side {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

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

.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d1fae5;
}

.metric strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #059669;
}

.metric span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #334155;
}

.section {
  padding: 16px 0 0;
}

.ad-panel {
  padding-top: 24px;
}

.ad-slot {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ad-stack {
  width: 100%;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.ad-stack > div {
  width: 100%;
  display: flex;
  justify-content: center;
}

.desktop-banner-slot {
  width: min(100%, 728px);
  min-height: 90px;
  overflow: hidden;
}

.section-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.panel {
  padding: 28px;
}

.panel h2,
.panel h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.panel h2 {
  font-size: 34px;
}

.panel h3 {
  font-size: 22px;
}

.panel p {
  margin: 14px 0 0;
  color: #475569;
}

.copy-card {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.copy-card code {
  flex: 1 1 260px;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
}

.copy-button {
  border: 0;
  cursor: pointer;
}

.copy-status {
  margin-top: 14px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.prose p,
.prose ul,
.prose ol {
  margin: 14px 0 0;
  color: #475569;
}

.prose h2,
.prose h3 {
  margin-top: 28px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 10px;
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

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

.faq details {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
}

.footer {
  padding: 42px 0 56px;
}

.footer .card {
  padding: 28px;
  text-align: center;
}

.muted {
  color: #64748b;
}

.smartlink-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.smartlink-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .section-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    font-size: 24px;
  }

  .hero-copy,
  .hero-side {
    padding: 24px;
  }
}

@media (max-width: 760px) {
  .desktop-banner-slot {
    display: none;
  }
}
