/* ============================================================
   StoneBridge Fulfillment — Design System
   Primary: Stripe structure | Typography/Spacing: Linear
   Brand Colors: Navy #111426, Amber #E59934, Light #A5ACB6
   ============================================================ */

/* Fonts loaded via <link> in HTML — see components.js head injection */

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --color-canvas:       #FFFFFF;
  --color-canvas-soft:  #F4F6F9;
  --color-canvas-navy:  #0D1120;
  --color-surface-1:    #111426;
  --color-surface-2:    #151829;
  --color-surface-3:    #1a1e30;
  --color-hairline:     #E2E6EF;
  --color-hairline-dark:#2A2E45;

  /* Brand Accent */
  --color-amber:        #E59934;
  --color-amber-hover:  #F0AB4A;
  --color-amber-muted:  #C8862A;
  --color-amber-soft:   rgba(229, 153, 52, 0.12);

  /* Text */
  --color-ink:          #111426;
  --color-ink-secondary:#3A4054;
  --color-ink-muted:    #6B7390;
  --color-ink-light:    #A5ACB6;
  --color-on-dark:      #F0F2F7;
  --color-on-dark-muted:#8B92AA;

  /* Typography */
  --font-display:   'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans:      'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Type Scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-4xl:  48px;
  --text-5xl:  60px;
  --text-6xl:  72px;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  /* Border Radius */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-pill:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(17,20,38,0.06), 0 1px 2px rgba(17,20,38,0.04);
  --shadow-md:  0 4px 12px rgba(17,20,38,0.08), 0 2px 4px rgba(17,20,38,0.04);
  --shadow-lg:  0 8px 28px rgba(17,20,38,0.10), 0 2px 8px rgba(17,20,38,0.05);
  --shadow-xl:  0 20px 60px rgba(17,20,38,0.12), 0 4px 16px rgba(17,20,38,0.06);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);

  /* Shorthand Aliases */
  --amber:          #E59934;
  --amber-hover:    #F0AB4A;
  --navy-deep:      #111426;
  --navy-mid:       #151829;
  --border:         #E2E6EF;
  --soft-bg:        #F4F6F9;
  --text-primary:   #111426;
  --text-secondary: #3A4054;
  --text-muted:     #6B7390;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-canvas);
  line-height: 1.5;
  font-weight: 300;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── Typography ── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, var(--text-6xl));
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.10;
  letter-spacing: -1.0px;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, var(--text-4xl));
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.6px;
}
.headline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.20;
  letter-spacing: -0.4px;
}
.subhead {
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.2px;
}
.body-lg { font-size: var(--text-lg); font-weight: 300; line-height: 1.55; }
.body    { font-size: var(--text-base); font-weight: 300; line-height: 1.60; }
.body-sm { font-size: 14px; font-weight: 300; line-height: 1.55; }
.caption { font-size: var(--text-sm); font-weight: 400; line-height: 1.40; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-amber);
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-amber);
  color: var(--color-surface-1);
  padding: 11px 22px;
  border-radius: var(--radius-md);
}
.btn-primary:hover {
  background: var(--color-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(229,153,52,0.30);
}
.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-hairline);
  padding: 10px 22px;
  border-radius: var(--radius-md);
}
.btn-secondary:hover {
  border-color: var(--color-ink-muted);
  background: var(--color-canvas-soft);
}
.btn-outline-amber {
  background: transparent;
  color: var(--color-amber);
  border: 1px solid var(--color-amber);
  padding: 10px 22px;
  border-radius: var(--radius-md);
}
.btn-outline-amber:hover {
  background: var(--color-amber);
  color: var(--color-surface-1);
}
.btn-dark {
  background: var(--color-surface-2);
  color: var(--color-on-dark);
  border: 1px solid var(--color-hairline-dark);
  padding: 11px 22px;
  border-radius: var(--radius-md);
}
.btn-dark:hover {
  background: var(--color-surface-3);
  border-color: var(--color-amber);
  color: var(--color-on-dark);
}
.btn-lg { padding: 14px 28px; font-size: var(--text-md); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--color-hairline);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 59px;
  width: auto;
  display: block;
  max-width: 200px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-ink-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-ink); background: var(--color-canvas-soft); }
.nav-link.active { color: var(--color-amber); font-weight: 500; }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */

/* The dropdown sits flush against the bottom of .nav-item (top:100%, no gap).
   padding-top creates visual spacing inside the panel so it doesn't look cramped.
   With zero physical gap the mouse never leaves the hover chain when moving down. */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0s 0.3s;
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out), visibility 0s 0s;
  pointer-events: all;
}
.nav-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--color-ink-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.12s, background 0.12s;
}
.nav-dropdown a:hover { color: var(--color-ink); background: var(--color-canvas-soft); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  overflow-y: auto;
  z-index: 999;
  padding: var(--space-4) var(--space-6) var(--space-8);
}
.nav-mobile.open { display: block; }
.nav-mobile-link {
  display: block;
  padding: 12px 0;
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-hairline);
}
.nav-mobile-sub {
  padding-left: var(--space-4);
  margin-top: 4px;
}
.nav-mobile-sub a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-ink-muted);
  border-bottom: 1px solid var(--color-hairline);
}
.nav-mobile-actions { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }

/* ── Hero ── */
.hero-mesh {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background: var(--color-surface-1);
}
.hero-mesh::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(229,153,52,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-mesh::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(21,24,41,0.9) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--color-amber);
  border-radius: 50%;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--color-on-dark);
  margin: var(--space-4) 0 var(--space-6);
}
.hero-title em {
  font-style: italic;
  color: var(--color-amber);
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--color-on-dark-muted);
  line-height: 1.60;
  max-width: 560px;
  margin-bottom: var(--space-8);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-on-dark-muted);
}
.trust-item svg { color: var(--color-amber); flex-shrink: 0; }
.trust-divider { width: 1px; height: 16px; background: var(--color-hairline-dark); }

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-hairline-dark);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-on-dark);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-number span { color: var(--color-amber); }
.stat-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-on-dark-muted);
  margin-top: var(--space-1);
}

/* ── Cards ── */
.card {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-dark {
  background: var(--color-surface-2);
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.card-amber {
  background: var(--color-amber-soft);
  border: 1px solid rgba(229,153,52,0.20);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--color-amber-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-amber);
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  letter-spacing: -0.3px;
}
.feature-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-ink-muted);
  line-height: 1.60;
}

/* ── Section Headers ── */
.section-header { margin-bottom: var(--space-12); }
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto var(--space-12); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: var(--color-ink);
  margin: var(--space-3) 0 var(--space-4);
}
.section-sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

/* Dark section title */
.section-title-dark { color: var(--color-on-dark); }
.section-sub-dark { color: var(--color-on-dark-muted); }

/* ── Pricing Table ── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pricing-table th {
  background: var(--color-surface-1);
  color: var(--color-on-dark);
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--color-hairline-dark);
}
.pricing-table th:first-child { text-align: left; }
.pricing-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-hairline);
  text-align: center;
  color: var(--color-ink-secondary);
  font-weight: 300;
}
.pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-ink);
}
.pricing-table tr:nth-child(even) td { background: var(--color-canvas-soft); }
.pricing-table tr:hover td { background: rgba(229,153,52,0.04); }
.pricing-table .no-border { border: none; background: transparent; }
.pricing-table .contact-cell {
  background: var(--color-surface-1) !important;
  color: var(--color-on-dark);
  font-weight: 500;
  vertical-align: middle;
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--color-hairline);
  padding: var(--space-4) 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-ink);
  gap: var(--space-4);
  user-select: none;
}
.faq-question:hover { color: var(--color-amber); }
.faq-icon { flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.25s;
}
.faq-answer p { padding-top: var(--space-3); font-size: var(--text-base); color: var(--color-ink-muted); line-height: 1.65; font-weight: 300; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── How It Works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}
/* No global line on the grid — each step draws its own connector to the right.
   This is exact at every viewport width regardless of gap / column sizes. */
.steps-grid::before { display: none; }

.step-item { position: relative; z-index: 1; }

/* Draw connector from right edge of circle to left edge of next circle */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;                       /* vertically centred in the 56 px circle  */
  left: 60px;                      /* just clear of the circle's right edge    */
  right: -24px;                    /* extends exactly across the 24 px gap     */
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-amber) 0, var(--color-amber) 8px,
    transparent 8px, transparent 18px
  );
  z-index: 0;
}

.step-number {
  width: 56px; height: 56px;
  background: var(--color-surface-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
  border: 4px solid var(--color-canvas-soft);
  box-shadow: 0 0 0 1px var(--color-hairline-dark);
}
.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}
.step-body { font-size: 13.5px; color: var(--color-ink-muted); line-height: 1.60; font-weight: 300; }

/* ── Platform Logos ── */
.platforms-band {
  background: var(--color-canvas-soft);
  border-top: 1px solid var(--color-hairline);
  border-bottom: 1px solid var(--color-hairline);
  padding: var(--space-8) 0;
}
.platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.platform-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-muted);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.15s;
}
.platform-item:hover { color: var(--color-ink); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--color-surface-1);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(229,153,52,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(21,24,41,0.9) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
/* cta-section / cta-inner: the platform-page CTA block needs its own dark bg
   so that the on-dark text colours (cta-title, cta-sub) are actually readable */
.cta-section { background: var(--color-surface-1) !important; }
.cta-inner {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  position: relative;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,153,52,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner > * { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--color-on-dark);
  letter-spacing: -0.8px;
  margin-bottom: var(--space-4);
}
.cta-sub {
  font-size: var(--text-lg);
  color: var(--color-on-dark-muted);
  max-width: 480px;
  margin: 0 auto var(--space-8);
  line-height: 1.55;
  font-weight: 300;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--color-surface-1);
  padding: var(--space-16) 0 var(--space-6);
  border-top: 1px solid var(--color-hairline-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand {}
.footer-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-on-dark-muted);
  line-height: 1.60;
  margin-top: var(--space-4);
  max-width: 280px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-on-dark);
  margin-bottom: var(--space-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--color-on-dark-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--color-amber); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-hairline-dark);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy { font-size: 13px; color: var(--color-on-dark-muted); }
.footer-legal { display: flex; gap: var(--space-6); }
.footer-legal a { font-size: 13px; color: var(--color-on-dark-muted); transition: color 0.15s; }
.footer-legal a:hover { color: var(--color-amber); }

/* ── Page Header (inner pages) ── */
.page-hero {
  background: var(--color-surface-1);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(229,153,52,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--color-on-dark);
  margin: var(--space-3) 0 var(--space-4);
  line-height: 1.10;
}
.page-hero-sub {
  font-size: var(--text-lg);
  color: var(--color-on-dark-muted);
  max-width: 560px;
  line-height: 1.60;
  font-weight: 300;
}

/* ── Service List ── */
.service-list { display: flex; flex-direction: column; gap: var(--space-3); }
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--color-ink-secondary);
  font-weight: 300;
}
.service-list-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── Contact Form ── */
.form-group { margin-bottom: var(--space-4); }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--color-ink);
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(229,153,52,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.breadcrumb a, .breadcrumb span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-on-dark-muted);
}
.breadcrumb a:hover { color: var(--color-amber); }
.breadcrumb-sep { color: var(--color-on-dark-muted); opacity: 0.4; }

/* ── Tags / Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.badge-amber {
  background: var(--color-amber-soft);
  color: var(--color-amber-muted);
}
.badge-dark {
  background: var(--color-surface-2);
  color: var(--color-on-dark-muted);
  border: 1px solid var(--color-hairline-dark);
}

/* ── Testimonial Card ── */
.testimonial-card {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { display: flex; gap: 3px; color: var(--color-amber); margin-bottom: var(--space-4); }
.testimonial-text {
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--color-ink-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--color-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-surface-1);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--color-ink); }
.testimonial-role { font-size: 12px; color: var(--color-ink-muted); font-weight: 300; }

/* ── Two Col Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child  { order: 1; }

/* ── Visual Panel (dark UI mockup) ── */
.visual-panel {
  background: var(--color-surface-2);
  border: 1px solid var(--color-hairline-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
}
.visual-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-hairline-dark);
}
.visual-dot { width: 10px; height: 10px; border-radius: 50%; }
.visual-dot-red   { background: #ff5f57; }
.visual-dot-amber { background: #febc2e; }
.visual-dot-green { background: #28c840; }
.visual-panel-title { font-size: 12px; color: var(--color-on-dark-muted); margin-left: var(--space-2); font-weight: 400; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: var(--space-10); }
  .two-col.reverse > *:first-child { order: unset; }
  .two-col.reverse > *:last-child  { order: unset; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 59px; max-width: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .platforms-row { gap: var(--space-6); }
  .cta-banner { padding: var(--space-10) var(--space-6); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .pricing-table { font-size: 12px; }
  .pricing-table th, .pricing-table td { padding: 8px 10px; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .display-1 { font-size: 34px; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-amber { color: var(--color-amber); }
.text-muted { color: var(--color-ink-muted); }
.text-dark  { color: var(--color-on-dark); }
.bg-dark    { background: var(--color-surface-1); }
.bg-soft    { background: var(--color-canvas-soft); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.pt-0  { padding-top: 0; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.flex    { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.w-full { width: 100%; }

@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Animate on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
