/* ==========================================================================
   SpaCheckup — spacheckup.com
   Design tokens from docs/style-guide.md (Clear Aqua light palette)
   ========================================================================== */

:root {
  --primary: #0A6CB0;
  --primary-light: #1597C9;
  --success: #1FA97B;
  --success-light: #37BE90;
  --warning: #E08A3C;
  --warning-light: #EAA055;
  --danger: #D9544A;
  --background: #F5FAFC;
  --background-bottom: #EAF2F7;
  --surface: #FFFFFF;
  --surface-muted: #F0F5F8;
  --text: #13242E;
  --text-muted: #62798A;
  --text-faint: #8295A3;
  --border: #EEF3F7;
  --border-medium: #E0E8EE;

  --pill-ok-text: #1FA97B;
  --pill-ok-bg: #E2F4EC;
  --pill-low-text: #E08A3C;
  --pill-low-bg: #FBEEDF;
  --pill-high-text: #D9544A;
  --pill-high-bg: #FBE7E3;

  --font-heading: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;

  --radius-card: 18px;
  --radius-hero: 24px;
  --radius-cta: 15px;

  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-cta: 0 12px 22px rgba(10, 108, 176, 0.28);
  --shadow-cta-success: 0 8px 16px rgba(31, 169, 123, 0.30);

  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(180deg, var(--background) 0%, var(--background-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Pricing banner (Phase 0.4 — update copy as the price ramp advances)
   -------------------------------------------------------------------------- */

.price-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.price-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.price-banner .banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1px 10px;
  margin-right: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 250, 252, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-medium);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 700;
}
.nav-links a:hover { color: var(--primary); text-decoration: none; }

.nav-cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-cta);
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(10, 108, 176, 0.34);
}

.nav-cta-soon {
  display: inline-block;
  background: var(--border-medium);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-cta);
}

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-cta);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  padding: 15px 28px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

/* Apple App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  border-radius: 12px;
  padding: 9px 20px 9px 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.appstore-badge:hover { text-decoration: none; transform: translateY(-1px); opacity: 0.92; }
.appstore-badge .badge-text { text-align: left; line-height: 1.15; }
.appstore-badge .badge-small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.appstore-badge .badge-big {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;
  font-family: system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}
.appstore-badge.is-disabled {
  opacity: 0.55;
  cursor: default;
}
.appstore-badge.is-disabled:hover { transform: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pill-ok-bg);
  color: var(--pill-ok-text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-price-note {
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 600;
}
.hero-price-note strong { color: var(--text); font-weight: 800; }

.hero-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.hero-ticks li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.hero-ticks svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Phone mockups
   -------------------------------------------------------------------------- */

.phone {
  width: 300px;
  text-align: left;
  background: #0e1c24;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(13, 36, 46, 0.28), 0 8px 20px rgba(13, 36, 46, 0.14);
  flex-shrink: 0;
}
.phone-screen {
  background: linear-gradient(180deg, var(--background) 0%, var(--background-bottom) 100%);
  border-radius: 36px;
  overflow: hidden;
  padding: 14px 14px 0;
  display: flex;
  flex-direction: column;
  height: 600px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  padding: 4px 10px 10px;
}
.phone-notch {
  width: 76px;
  height: 20px;
  background: #0e1c24;
  border-radius: 12px;
}
.phone-header { padding: 4px 6px 12px; }
.phone-header h3 {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.phone-header p { font-size: 11.5px; color: var(--text-muted); }

.phone-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }

/* Reading row card (calculator screen) */
.reading-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 12px 14px 10px;
}
.reading-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.reading-label { font-size: 12px; font-weight: 700; }
.pill {
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2.5px 9px;
  border-radius: 20px;
}
.pill-ok { color: var(--pill-ok-text); background: var(--pill-ok-bg); }
.pill-low { color: var(--pill-low-text); background: var(--pill-low-bg); }
.pill-high { color: var(--pill-high-text); background: var(--pill-high-bg); }

.reading-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.step-btn {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--surface-muted);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}
.reading-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.range-track {
  position: relative;
  height: 7px;
  border-radius: 4px;
  background: var(--surface-muted);
  margin-bottom: 7px;
}
.range-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(31, 169, 123, 0.35);
  border-radius: 4px;
}
.range-dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2.5px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
}
.range-hint {
  text-align: right;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-faint);
}

.phone-cta {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  padding: 13px;
  border-radius: var(--radius-cta);
  box-shadow: var(--shadow-cta);
  margin-top: 2px;
}
.phone-cta.success {
  background: linear-gradient(90deg, var(--success) 0%, var(--success-light) 100%);
  box-shadow: var(--shadow-cta-success);
}

.phone-tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin: 10px -14px 0;
  padding: 10px 8px 18px;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-faint);
}
.tab-item.active { color: var(--primary); }

/* Hero status card (home screen mock) */
.status-hero {
  border-radius: 20px;
  padding: 18px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
  box-shadow: var(--shadow-cta-success);
}
.status-hero .status-cap {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.status-hero .status-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.4px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.status-hero .status-sub { font-size: 11px; opacity: 0.9; }

/* List rows (home reminders / schedule) */
.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.mock-row + .mock-row { border-top: 1px solid var(--border); }
.icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-tile.blue { background: #E7F1FB; color: var(--primary); }
.icon-tile.teal { background: #EAF7F5; color: var(--success); }
.icon-tile.amber { background: #FBEEDF; color: var(--warning); }
.icon-tile.green { background: #E6F4EC; color: #1FA97B; }
.mock-row-text { flex: 1; min-width: 0; }
.mock-row-title { font-size: 11.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-sub { font-size: 9.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-text { display: block; }
.mock-row-text .mock-row-title, .mock-row-text .mock-row-sub { display: block; }
.mock-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

/* Toggle (schedule screen) */
.toggle {
  width: 46px;
  height: 27px;
  border-radius: 14px;
  background: #D0DAE0;
  position: relative;
  flex-shrink: 0;
}
.toggle.on { background: var(--success); }
.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.toggle.on::after { left: 21px; }

.section-cap-mini {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-faint);
  padding: 2px 6px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 76px 0; }
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}
.section-cap {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head-center { text-align: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #E7F1FB;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.2px; }
.step-card p { font-size: 14.5px; color: var(--text-muted); }

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
}
.section-alt .feature-card { background: var(--background); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.2px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* Use cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usecase-card {
  border-radius: 20px;
  padding: 30px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.usecase-card.blue { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); box-shadow: var(--shadow-cta); }
.usecase-card.green { background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%); box-shadow: var(--shadow-cta-success); }
.usecase-card.amber { background: linear-gradient(135deg, var(--warning) 0%, var(--warning-light) 100%); box-shadow: 0 8px 16px rgba(224, 138, 60, 0.3); }
.usecase-cap {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  opacity: 0.85;
  margin-bottom: 10px;
}
.usecase-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.usecase-card p { font-size: 14px; opacity: 0.94; }

/* Screenshot gallery */
.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}
.gallery .phone { width: 270px; }
.gallery .phone-screen { height: 540px; }
.gallery-item { text-align: center; }
.gallery-caption {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Article cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 36, 46, 0.10);
}
.article-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: #E7F1FB;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.article-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; margin-bottom: 8px; line-height: 1.3; }
.article-card p { font-size: 13.5px; color: var(--text-muted); flex: 1; }
.article-card .read-more {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
}

/* Product cards (affiliate) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.product-cat {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.product-card h3 { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; margin-bottom: 6px; }
.product-card p { font-size: 13px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.product-link { font-size: 13px; font-weight: 800; }
.affiliate-note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Final CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-hero);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 44px rgba(10, 108, 176, 0.35);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 520px;
  margin: 0 auto 30px;
}
.cta-band .appstore-badge { border-color: rgba(255, 255, 255, 0.4); }
.cta-band .cta-note { font-size: 13px; opacity: 0.8; margin: 18px 0 0; }

/* --------------------------------------------------------------------------
   Inner pages (privacy / support / articles)
   -------------------------------------------------------------------------- */

.page-header { padding: 64px 0 12px; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-header .page-sub { font-size: 17px; color: var(--text-muted); max-width: 640px; }
.page-meta { font-size: 13.5px; color: var(--text-faint); font-weight: 600; margin-top: 10px; }

.prose {
  max-width: 720px;
  padding: 28px 0 80px;
}
.prose h2 {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 42px 0 12px;
  line-height: 1.25;
}
.prose h3 {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.2px;
  margin: 30px 0 8px;
}
.prose p { margin-bottom: 16px; }
.prose p, .prose li { font-size: 16px; color: #334753; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 800; }
.prose .table-wrap { overflow-x: auto; margin-bottom: 18px; }
.prose table {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
}
.prose th {
  text-align: left;
  background: var(--surface-muted);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 12px 16px;
}
.prose td { padding: 12px 16px; border-top: 1px solid var(--border); color: #334753; }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 15px;
  color: #334753;
}
.callout.green { border-left-color: var(--success); }
.callout.amber { border-left-color: var(--warning); }
.callout strong { color: var(--text); }

/* App plug at end of articles */
.app-plug {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(13, 36, 46, 0.08);
  padding: 30px 30px;
  margin: 44px 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.app-plug .plug-text { flex: 1; min-width: 240px; }
.app-plug h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 6px; }
.app-plug p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 30px 0 10px;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
}
.support-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.2px; }
.support-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #0d2d3a;
  color: #6da8ac;
  padding: 56px 0 40px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #eaf6f5;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4e7880;
  margin-bottom: 16px;
}
.footer-desc { font-size: 13.5px; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #eaf6f5;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #6da8ac; font-size: 14px; }
.footer-col a:hover { color: #34d1c6; text-decoration: none; }
.footer-soon { color: #4e7880; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 24px;
  font-size: 12.5px;
  color: #4e7880;
}
.footer-bottom p { margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-phone { display: flex; justify-content: center; }
  .steps-grid, .features-grid, .usecase-grid, .articles-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-medium);
    background: var(--surface);
    cursor: pointer;
    color: var(--text);
  }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-medium);
    padding: 12px 24px 18px;
    box-shadow: 0 12px 24px rgba(13, 36, 46, 0.1);
  }
  .site-nav.open .nav-links li { width: 100%; }
  .site-nav.open .nav-links a { display: block; padding: 10px 0; font-size: 16px; }
  .site-nav.open .nav-links .nav-cta { text-align: center; margin-top: 6px; padding: 12px 20px; }

  .hero { padding: 48px 0 24px; }
  .section { padding: 56px 0; }
  .steps-grid, .features-grid, .usecase-grid, .articles-grid, .products-grid, .support-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .phone { width: 280px; }
}
