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

:root {
  --ink: #122033;
  --muted: #58667d;
  --soft: #edf2f8;
  --paper: #ffffff;
  --band: #f7f9fc;
  --line: #dbe4ef;
  --navy: #1e3a5f;
  --navy-2: #2b4f79;
  --teal: #0f8b7b;
  --gold: #b7791f;
  --red: #b94040;
  --shadow: 0 18px 42px rgba(18, 32, 51, 0.08);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: var(--band);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
}

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

main,
section,
.container,
.hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.pricing-grid > *,
.integration > *,
.footer-grid > * {
  min-width: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid rgba(219, 228, 239, 0.82);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(18, 32, 51, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.logo-text {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

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

.nav a,
.btn-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.btn-link:hover,
.nav a.active {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(30, 58, 95, 0.18);
}

.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: #b7c5d7;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 74px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
}

.hero-copy-only {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
}

.hero-copy-only .hero-copy,
.hero-copy-only .hero-note {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy-only .hero-actions {
  justify-content: center;
}

.eyebrow {
  color: #66758e;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.page-title {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: 4rem;
}

.hero-copy {
  max-width: 710px;
  margin-top: 22px;
  color: #43526a;
  font-size: 1.13rem;
  line-height: 1.75;
}

.hero-note {
  max-width: 650px;
  margin-top: 16px;
  color: #69778c;
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.proof-strip {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.proof-item {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  min-width: 0;
}

.proof-item strong {
  color: var(--ink);
}

.section {
  padding: 78px 0;
}

.section.white {
  background: #fff;
}

.section-title {
  margin-bottom: 16px;
  font-size: 2.65rem;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section-center {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-center .section-copy {
  margin: 0 auto;
}

.grid-2,
.grid-3,
.pricing-grid {
  display: grid;
  gap: 20px;
}

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

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

.card,
.plan-card,
.comparison-card,
.callout {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.card,
.plan-card,
.callout {
  padding: 25px;
}

.card h3,
.plan-card h3,
.callout h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 850;
}

.card p,
.plan-card p,
.callout p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card.accent {
  border-color: rgba(30, 58, 95, 0.22);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.06), #fff 58%);
}

.card.green {
  border-color: rgba(15, 139, 123, 0.22);
  background: linear-gradient(135deg, rgba(15, 139, 123, 0.06), #fff 60%);
}

.list {
  display: grid;
  gap: 11px;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.11);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  margin-top: 2px;
}

.check.teal {
  background: rgba(15, 139, 123, 0.12);
  color: var(--teal);
}

.integration {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}

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

.mini-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  text-align: center;
}

.mini-card small {
  display: block;
  color: #78869a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-card strong {
  display: block;
  margin-top: 7px;
}

.plus {
  color: var(--navy);
  font-size: 2.2rem;
  font-weight: 900;
}

.navy-panel {
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(30, 58, 95, 0.18);
}

.navy-panel .eyebrow,
.navy-panel p,
.navy-panel li {
  color: rgba(255, 255, 255, 0.76);
}

.navy-panel h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.45rem;
}

.navy-panel .check {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: rgba(15, 139, 123, 0.32);
}

.plan-card.highlight {
  border-color: rgba(30, 58, 95, 0.28);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.06), rgba(15, 139, 123, 0.05), #fff 66%);
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(15, 139, 123, 0.12);
  color: var(--teal);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 850;
}

.plan-badge.gold {
  background: rgba(183, 121, 31, 0.14);
  color: var(--gold);
}

.price {
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 2.05rem;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.plan-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.plan-list {
  margin: 20px 0 24px;
}

.plan-cta {
  margin-top: auto;
}

.enterprise-row {
  margin-top: 20px;
}

.enterprise-row .plan-card {
  display: grid;
  grid-template-columns: 0.88fr 1fr auto;
  gap: 22px;
  align-items: center;
}

.comparison-card {
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

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

.comparison-table th {
  background: #f6f9fd;
  color: var(--ink);
  font-weight: 850;
}

.comparison-table td {
  color: var(--muted);
  line-height: 1.55;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.callout {
  margin-top: 30px;
  background: linear-gradient(135deg, rgba(15, 139, 123, 0.07), #fff 65%);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.05);
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 28px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
}

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

.footer h4 {
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.fine-print {
  color: #758399;
  font-size: 0.82rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .pricing-grid,
  .integration,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .enterprise-row .plan-card {
    grid-template-columns: 1fr;
  }

  .plus {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .header-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .header-actions {
    width: 100%;
  }

  .btn-link {
    display: none;
  }

  .header-actions .btn-primary {
    width: 100%;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .section-title {
    font-size: 2rem;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .comparison-card {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 760px;
  }
}
