:root {
  --bg: #f0f7fa;
  --surface: #ffffff;
  --border: #dfe7ec;
  --border-subtle: #e8f0f4;
  --text: #0f1b22;
  --muted: #5f7280;
  --primary: #1a6b8e;
  --primary-soft: #e3eff5;
  --accent: #2aa39a;
  --accent-bright: #34c6bb;
  --sidebar: #1a3a5c;
  --sidebar-deep: #071018;
  --cta-navy: #234a6e;
  --cta-navy-deep: #1a3a5c;
  --success: #047857;
  --warning: #b45309;
  --shadow: 0 1px 2px rgba(20, 40, 60, 0.04), 0 4px 12px rgba(20, 40, 60, 0.05);
  --shadow-lg: 0 8px 24px rgba(15, 42, 66, 0.1), 0 24px 48px rgba(15, 42, 66, 0.08);
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1120px;
  --nav-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
}

.brand-link:hover {
  text-decoration: none;
}

/* Style A — teal bar + tracked wordmark (favicon/ads; sidebar stays word-only) */
.brand-lockup-a .brand-mark {
  flex-shrink: 0;
  width: 0.45rem;
  height: 1.35rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  box-shadow: 0 0 10px rgba(42, 163, 154, 0.35);
}

.brand-word {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.15rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta-navy) 0%, var(--cta-navy-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.22);
}

.btn-primary:hover {
  opacity: 0.94;
}

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

.btn-secondary:hover {
  background: var(--primary-soft);
  border-color: #b8d4e3;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
  padding-inline: 0.5rem;
}

.btn-ghost:hover {
  background: var(--primary-soft);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(42, 163, 154, 0.12), transparent 60%),
    radial-gradient(rgba(26, 107, 142, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  margin: 0.85rem 0 1rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-proof strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

/* Product screenshots — app shell only, square corners */

.product-shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  line-height: 0;
}

.product-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Trust strip */

.trust-strip {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-strip p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.trust-logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7a8f9c;
  letter-spacing: -0.01em;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0.65rem 0 0.85rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Flow steps */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.flow-grid::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0.25;
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow);
}

.flow-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  margin-bottom: 0.85rem;
}

.flow-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Product showcase */

.showcase {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn:hover {
  border-color: #b8d4e3;
  color: var(--text);
}

.tab-btn.active {
  background: var(--cta-navy-deep);
  border-color: var(--cta-navy-deep);
  color: #fff;
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 2rem;
  align-items: center;
}

.showcase-copy h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.showcase-copy p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.1rem;
}

/* Integrations */

.integrations-band {
  background: var(--sidebar);
  color: #e8f0f4;
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.integrations-band h2 {
  color: #fff;
  font-size: 2rem;
  margin: 0.65rem 0 0.85rem;
}

.integrations-band p {
  color: #b8cdd9;
  font-size: 1rem;
}

.connector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.connector-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.connector-pill strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.connector-pill span {
  font-size: 0.8rem;
  color: #8fa3b0;
}

/* CTA band */

.cta-band {
  background: linear-gradient(135deg, var(--cta-navy) 0%, var(--cta-navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--cta-navy-deep);
  box-shadow: none;
}

.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 22rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
}

@media (max-width: 960px) {
  .hero-grid,
  .showcase-grid,
  .integrations-band,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid::before {
    display: none;
  }

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

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

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 640px) {
  .connector-grid {
    grid-template-columns: 1fr;
  }

  .integrations-band,
  .cta-band {
    padding: 2rem 1.5rem;
  }

  .nav-cta .btn-ghost {
    display: none;
  }
}
