/* ==========================================================================
   Acme — Design System
   Brand: navy #0E2A47 · teal #00C2A8 · Inter + Sora
   ========================================================================== */

:root {
  --navy: #0e2a47;
  --navy-dark: #081a2e;
  --navy-light: #1a3d5c;
  --teal: #00c2a8;
  --teal-dark: #00a892;
  --teal-light: #33d1bb;
  --teal-glow: rgba(0, 194, 168, 0.25);

  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --amber: #f59e0b;
  --amber-bg: #fef3c7;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --blue-note: #eff6ff;
  --blue-border: #93c5fd;

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  --text: var(--gray-800);
  --text-muted: var(--gray-500);
  --text-inverse: var(--white);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(14, 42, 71, 0.06);
  --shadow: 0 4px 16px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 42, 71, 0.12);
  --shadow-teal: 0 8px 24px rgba(0, 194, 168, 0.2);

  --header-h: 72px;
  --container: 1140px;
  --section-y: clamp(64px, 8vw, 96px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s var(--ease);
}

/* Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

dl {
  margin: 0;
}

dt {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.875rem;
}

dd {
  margin: 0 0 0.75em;
  font-weight: 600;
  color: var(--navy);
}

figure {
  margin: 2em 0;
}

figcaption {
  margin-top: 0.75em;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--teal);
  color: var(--navy-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Typography utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 0 1.5em;
}

.section-head {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head.center {
  text-align: center;
}

.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}

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

.small {
  font-size: 0.875rem;
}

.accent {
  color: var(--teal);
}

/* Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.section {
  padding: var(--section-y) 0;
}

.section.soft {
  background: var(--gray-50);
}

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy-dark);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--navy-dark);
  box-shadow: 0 12px 32px rgba(0, 194, 168, 0.3);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
  overflow: visible;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  flex-shrink: 0;
}

/* Nav toggle (mobile)
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Site nav
   -------------------------------------------------------------------------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  overflow: visible;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    color var(--transition),
    background var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
  background: var(--gray-100);
}

.dropdown-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: 0.6;
  transition: transform var(--transition);
}

.has-dropdown.is-open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 260px;
  padding: 10px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.dropdown-link:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.dropdown-heading {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 4px;
  padding-bottom: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

/* Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 112px) 0 clamp(48px, 8vw, 80px);
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 45%, #123456 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 194, 168, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 194, 168, 0.08), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--teal-light);
}

.hero h1 {
  color: var(--white);
  max-width: 780px;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 64px);
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page hero
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 6vw, 72px);
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}

.page-hero.light {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  color: var(--text);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero.light h1 {
  color: var(--navy);
}

.page-hero.light .lede {
  color: var(--gray-600);
}

.page-hero.light .eyebrow {
  color: var(--teal-dark);
}

.page-hero h1 {
  color: inherit;
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .lede a {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Grid & cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

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

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

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

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.card-link::after {
  content: " →";
}

/* Stats
   -------------------------------------------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 40px);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35em;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Split layout
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

/* Check list
   -------------------------------------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.65em;
  color: var(--gray-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: clamp(48px, 6vw, 72px) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.35em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Pricing
   -------------------------------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
}

.price-card {
  position: relative;
  padding: clamp(28px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px var(--teal-glow);
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--teal);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  white-space: nowrap;
}

.price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.5em 0;
  line-height: 1;
}

.price small {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-muted);
}

.price-note {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25em;
}

.price-card .check-list {
  margin-bottom: 1.5em;
}

.price-card .btn {
  width: 100%;
}

/* Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.table th,
.table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.table tbody tr:hover {
  background: var(--gray-50);
}

.table .yes {
  color: var(--teal-dark);
  font-weight: 600;
}

.table .no {
  color: var(--gray-400);
}

/* Docs layout
   -------------------------------------------------------------------------- */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 5vw, 56px);
  padding: clamp(40px, 5vw, 56px) clamp(20px, 4vw, 32px) clamp(64px, 8vw, 96px);
  max-width: var(--container);
  margin: 0 auto;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding-right: 8px;
}

.docs-sidebar h2 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 1.5em 0 0.5em;
}

.docs-sidebar h2:first-child {
  margin-top: 0;
}

.docs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5em;
}

.docs-sidebar a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.docs-sidebar a:hover {
  color: var(--navy);
  background: var(--gray-50);
}

.docs-sidebar a.is-active {
  color: var(--teal-dark);
  font-weight: 600;
  background: rgba(0, 194, 168, 0.08);
  border-left-color: var(--teal);
}

/* Article body
   -------------------------------------------------------------------------- */
.article-body {
  min-width: 0;
  max-width: 780px;
}

.article-body h1 {
  margin-bottom: 0.5em;
}

.article-body h2 {
  margin-top: 2em;
  padding-top: 0.5em;
  border-top: 1px solid var(--gray-100);
}

.article-body h2:first-of-type {
  border-top: none;
  margin-top: 1.5em;
}

.article-body code {
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  background: var(--gray-100);
  border-radius: 4px;
  color: var(--navy);
}

.article-body pre {
  margin: 0;
}

/* Code blocks
   -------------------------------------------------------------------------- */
.code-block {
  margin: 1.5em 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-800);
  background: var(--gray-900);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--gray-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-header span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.copy-btn {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--gray-300);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.copy-btn.is-copied {
  color: var(--teal);
  border-color: var(--teal);
}

.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.code-block code {
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #e2e8f0;
  background: none;
  padding: 0;
}

/* Callouts
   -------------------------------------------------------------------------- */
.callout {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  margin: 1.5em 0;
  border-radius: var(--radius);
  border-left: 4px solid;
  font-size: 0.9375rem;
}

.callout p {
  margin: 0;
}

.callout-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.callout.note {
  background: var(--blue-note);
  border-color: var(--blue-border);
  color: var(--gray-700);
}

.callout.note .callout-title {
  color: #1d4ed8;
}

.callout.warning {
  background: var(--amber-bg);
  border-color: var(--amber);
  color: var(--gray-700);
}

.callout.warning .callout-title {
  color: #b45309;
}

/* Steps
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 56px;
  margin-bottom: 2em;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50%;
}

.steps li h3 {
  margin-bottom: 0.35em;
}

.steps li p {
  color: var(--gray-600);
  margin: 0;
}

/* FAQ
   -------------------------------------------------------------------------- */
.faq-section {
  max-width: 780px;
}

.faq-section > h2 {
  margin-bottom: 1.25em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  padding-left: 16px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.faq-answer p {
  margin: 0;
}

/* Video
   -------------------------------------------------------------------------- */
.video-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(24px, 4vw, 32px);
  margin-bottom: clamp(40px, 5vw, 56px);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-900);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-chapters {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
}

.video-chapters h2 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1em;
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: chapter;
}

.chapter-list li {
  counter-increment: chapter;
}

.chapter-link {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}

.chapter-link:hover {
  background: var(--white);
  color: var(--navy);
}

.chapter-time {
  flex-shrink: 0;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-dark);
  min-width: 48px;
}

.chapter-name {
  line-height: 1.4;
}

.video-card {
  padding: 0;
  overflow: hidden;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 71, 0.35);
  transition: background var(--transition);
}

.video-card:hover .play-badge {
  background: rgba(14, 42, 71, 0.5);
}

.play-badge span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: var(--shadow-teal);
}

.play-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-dark);
  margin-left: 3px;
}

.post-body {
  padding: 20px 24px 24px;
}

/* Post & product cards
   -------------------------------------------------------------------------- */
.post-card {
  padding: 0;
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75em;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.product-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--gray-200);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.product-card .product-image-wrap {
  position: relative;
  background: var(--gray-50);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-body {
  padding: 18px 20px 22px;
}

.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35em;
}

.product-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.product-price .compare {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 8px;
}

/* Merch store layout
   -------------------------------------------------------------------------- */
.merch-hero {
  padding: clamp(48px, 6vw, 72px) 0;
  background: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    var(--white) 50%,
    rgba(0, 194, 168, 0.06) 100%
  );
  border-bottom: 1px solid var(--gray-200);
}

.merch-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.merch-hero h1 {
  margin-bottom: 0.35em;
}

.merch-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.merch-filter {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  font-family: var(--font-body);
}

.merch-filter.is-active,
.merch-filter:hover {
  border-color: var(--teal);
  background: rgba(0, 194, 168, 0.08);
  color: var(--navy);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.merch-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.merch-perk {
  text-align: center;
  padding: 20px;
}

.merch-perk-icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

/* Product detail (PDP) */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 0 84px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--gray-50);
}

.product-gallery-thumbs button.is-active {
  border-color: var(--teal);
}

.product-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.25em;
}

.product-info .product-price-lg {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 16px 0;
}

.product-info .product-price-lg .compare {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-rating .stars {
  color: var(--amber);
  letter-spacing: 2px;
}

.product-description {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-options label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.product-actions .btn-primary {
  flex: 1;
  min-width: 180px;
}

.product-shipping {
  padding: 16px 18px;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.product-shipping strong {
  color: var(--navy);
}

@media (max-width: 1020px) {
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .merch-perks {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

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

/* Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(28px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding: 16px clamp(20px, 4vw, 32px) 0;
  max-width: var(--container);
  margin: 0 auto;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--gray-300);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--teal-dark);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--gray-700);
  font-weight: 500;
}

/* Integrations
   -------------------------------------------------------------------------- */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  text-align: center;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.integration-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* Job cards
   -------------------------------------------------------------------------- */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.job-card h3 {
  margin-bottom: 0.25em;
}

.job-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Press
   -------------------------------------------------------------------------- */
.press-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.press-item time {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.press-item:last-of-type {
  border-bottom: none;
}

/* Status page
   -------------------------------------------------------------------------- */
.status-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px;
  background: rgba(0, 194, 168, 0.08);
  border: 1px solid rgba(0, 194, 168, 0.25);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 32px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 194, 168, 0.1);
  }
}

.uptime-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uptime-row {
  display: grid;
  grid-template-columns: 160px 1fr 60px;
  align-items: center;
  gap: 16px;
  font-size: 0.9375rem;
}

.uptime-bars {
  display: flex;
  gap: 2px;
  height: 28px;
}

.uptime-bars span {
  flex: 1;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.85;
}

.uptime-bars span.degraded {
  background: var(--amber);
}

.uptime-row > span:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* ROI calculator
   -------------------------------------------------------------------------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.calc-field {
  margin-bottom: 24px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.calc-field output {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  background: var(--gray-200);
  border-radius: 999px;
  outline: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--teal);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.calc-result {
  padding: clamp(28px, 4vw, 36px);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
}

.calc-result h3 {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5em;
}

.big-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--teal-light);
  margin-bottom: 1.25em;
  line-height: 1.1;
}

.calc-result dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  margin-bottom: 1.5em;
  padding-top: 1em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-result dt {
  color: rgba(255, 255, 255, 0.6);
}

.calc-result dd {
  color: var(--white);
  text-align: right;
  margin: 0;
}

/* Quote cards
   -------------------------------------------------------------------------- */
.quote-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  height: 100%;
}

.review-stars {
  color: var(--amber);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1em;
}

.quote-card blockquote {
  margin: 0 0 1.5em;
}

.quote-card blockquote p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-700);
  margin: 0;
}

.quote-card blockquote p::before {
  content: "\201C";
  color: var(--teal);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 2px;
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-attribution .name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9375rem;
}

.quote-attribution .role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  background: var(--teal);
}

.avatar.amber {
  background: var(--amber);
}

.avatar.slate {
  background: var(--gray-600);
}

/* Logo strip
   -------------------------------------------------------------------------- */
.logo-strip {
  text-align: center;
}

.logo-strip > p:first-child {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75em;
}

.logo-strip .muted {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* Pills & chips
   -------------------------------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  background: rgba(0, 194, 168, 0.12);
  border-radius: 999px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.25em 0;
}

.option-chip {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.option-chip:hover {
  border-color: var(--teal);
  color: var(--navy);
}

.option-chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.compliance-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

/* Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: clamp(56px, 8vw, 80px) 0 32px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--teal-light);
}

.site-footer .brand {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer .brand-name {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(40px, 6vw, 56px);
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25em;
  max-width: 280px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-col h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5em;
}

.footer-col a {
  font-size: 0.875rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.footer-status .status-dot {
  width: 8px;
  height: 8px;
}

/* Responsive — 1020px
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-chapters {
    position: static;
    max-height: none;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
  }

  .docs-sidebar h2 {
    width: 100%;
    margin-top: 0;
  }

  .docs-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .docs-sidebar a {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }
}

/* Responsive — 760px (mobile nav)
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 32px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 999;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 1rem;
  }

  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: transparent;
  }

  .has-dropdown.is-open .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: block;
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.is-open:hover .dropdown,
  .has-dropdown.is-open:focus-within .dropdown {
    display: block;
  }

  .dropdown-grid {
    padding: 0 0 12px 12px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-actions {
    flex-direction: column;
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
    min-width: 140px;
  }

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

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .press-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .uptime-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .uptime-row > span:last-child {
    text-align: left;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Blog — long-form reading
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card:hover h3 {
  color: var(--teal-dark);
}

.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 84px;
}

.blog-article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-700);
}

.blog-article-body p {
  margin-bottom: 1.35em;
}

.blog-article-body .lede {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--gray-800);
  margin-bottom: 1.75em;
}

.blog-figure {
  margin: 2.5em 0;
}

.blog-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.blog-figure figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.blog-article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.9375rem;
}

.footer-grid-compact {
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

@media (max-width: 760px) {
  .blog-article-body {
    font-size: 1rem;
  }

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