:root {
  --bg: #0b0f14;
  --bg-elevated: #121a24;
  --text: #e8eef4;
  --muted: #9fb0c2;
  --accent: #3dd6c3;
  --accent-dim: rgba(61, 214, 195, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover,
.logo:focus-visible {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 0.4rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease,
    transform 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-header {
  margin-left: 0.15rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 40%, black);
}

.btn-header:hover,
.btn-header:focus-visible {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent) 90%, white);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* Nav text-link hover must not recolor the billing button */
.nav a.btn-header {
  color: var(--bg);
}

.nav a.btn-header:hover,
.nav a.btn-header:focus-visible {
  color: var(--bg);
}

.btn-hero {
  margin-top: 0.1rem;
  padding: 0.7rem 1.25rem;
  font-size: 1rem;
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 40%, black);
}

.btn-hero:hover,
.btn-hero:focus-visible {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent) 90%, white);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

.hero-actions {
  margin: 1.5rem 0 0;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.hero-inner {
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Solutions */
.solutions {
  padding: 0 0 clamp(4rem, 10vw, 6rem);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0 0 2.25rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);
}

.card-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  color: var(--accent);
}

.card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-tag {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.card p {
  margin: 0 0 1.35rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.98rem;
}

.card p strong {
  color: var(--text);
  font-weight: 600;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.55rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 50%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease, gap 0.15s ease;
}

.card-cta:hover,
.card-cta:focus-visible {
  color: color-mix(in srgb, var(--accent) 85%, white);
  border-color: var(--accent);
  gap: 0.6rem;
}

.card-cta .arrow {
  transition: transform 0.15s ease;
}

.card-cta:hover .arrow,
.card-cta:focus-visible .arrow {
  transform: translateX(3px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 1rem;
}

.footer-meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.dot {
  margin: 0 0.35rem;
  color: var(--muted);
  user-select: none;
}

/* Focus */
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav a:focus-visible {
  border-radius: 4px;
}
