/* =====================================================================
   HOOKLANE — API & Developer Platform (Premium Multi-Page Template)
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   Dark developer / terminal aesthetic with syntax-colored code blocks.
   ---------------------------------------------------------------------
   REBRAND TIP: Change the look by editing the CSS variables in :root
   below. Swap --accent for your primary color and adjust --surface /
   --bg to match, then update --font-head / --font-body / --font-mono
   plus the Google Fonts <link> in each HTML file. Everything cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:        #0b0e14;            /* deep slate page background          */
  --surface:   #11161f;            /* card / panel surface                */
  --surface-2: #161c28;            /* raised surface                      */
  --ink:       #e6edf3;            /* primary text                        */
  --muted:     #8b949e;            /* muted / secondary text              */
  --accent:    #36d399;            /* emerald accent (primary)            */
  --accent-2:  #2bb083;            /* darker emerald for hovers           */
  --line:      rgba(255,255,255,.08); /* borders / dividers              */

  /* --- Syntax highlighting (code blocks) --- */
  --syn-key:   #c792ea;   /* keywords / methods   */
  --syn-str:   #36d399;   /* strings              */
  --syn-num:   #f78c6c;   /* numbers              */
  --syn-fn:    #82aaff;   /* function / property  */
  --syn-com:   #5c6773;   /* comments             */
  --syn-punc:  #8b949e;   /* punctuation          */

  /* --- Fonts --- */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* --- Shape & motion --- */
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --glow:      0 0 0 1px rgba(54,211,153,.4), 0 8px 30px rgba(54,211,153,.18);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-2); }

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

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

code, kbd, pre { font-family: var(--font-mono); }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(54,211,153,.1);
  border: 1px solid rgba(54,211,153,.2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #07120c;
  box-shadow: 0 8px 22px rgba(54,211,153,.25);
}
.btn-primary:hover { background: var(--accent-2); color: #07120c; box-shadow: 0 12px 30px rgba(54,211,153,.4); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: rgba(255,255,255,.06);
  color: var(--ink);
  border-color: rgba(255,255,255,.18);
}
.btn-light:hover { background: var(--accent); color: #07120c; border-color: var(--accent); }

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

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,14,20,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1f8f6a);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(54,211,153,.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.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); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(54,211,153,.12), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(130,170,255,.08), transparent 55%),
    var(--bg);
  padding: 90px 0 96px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(700px 460px at 70% 0%, #000, transparent 75%);
  mask-image: radial-gradient(700px 460px at 70% 0%, #000, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TERMINAL / CODE MOCKUP
   --------------------------------------------------------------------- */
.terminal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.terminal-dots { display: flex; gap: 7px; }
.terminal-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.terminal-dots i:nth-child(1) { background: #ff5f57; }
.terminal-dots i:nth-child(2) { background: #febc2e; }
.terminal-dots i:nth-child(3) { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--muted);
}
.terminal-body {
  margin: 0;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: .86rem;
  line-height: 1.75;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.terminal-body .ln { color: var(--syn-com); user-select: none; margin-right: 14px; }
.c-key  { color: var(--syn-key); }
.c-str  { color: var(--syn-str); }
.c-num  { color: var(--syn-num); }
.c-fn   { color: var(--syn-fn); }
.c-com  { color: var(--syn-com); }
.c-punc { color: var(--syn-punc); }
.c-prompt { color: var(--accent); }

/* Standalone code block (docs) */
.code-block {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0 0 18px;
  overflow: hidden;
}
.code-block .code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.code-block .code-head .tag { color: var(--accent); }
.code-block pre {
  margin: 0;
  padding: 18px 16px;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}

/* ---------------------------------------------------------------------
   TRUSTED-BY STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--muted);
  opacity: .6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--ink); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.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 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(54,211,153,.3); }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(54,211,153,.1);
  border: 1px solid rgba(54,211,153,.18);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .86rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list (tick rows) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(54,211,153,.12);
  border: 1px solid rgba(54,211,153,.25);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-mono);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* ---------------------------------------------------------------------
   HOW IT WORKS — steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(54,211,153,.12);
  border: 1px solid rgba(54,211,153,.25);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------
   FEATURES PAGE — alternating split blocks
   --------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even) .feature-visual { order: 2; }
.feature-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-row .eyebrow { margin-bottom: 14px; }
.feature-bullets { margin-top: 18px; display: grid; gap: 12px; }
.feature-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .98rem; color: var(--muted);
}
.feature-bullets li::before {
  content: "›";
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}
.feature-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(54,211,153,.1), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  color: var(--accent);
}
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: #febc2e; margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.08rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #07120c;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #1f8f6a);
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(54,211,153,.18), transparent 60%),
    var(--surface);
  border: 1px solid rgba(54,211,153,.2);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(54,211,153,.12), transparent 60%),
    var(--bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 75%);
  mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: var(--muted); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; color: var(--muted); }

/* ---------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: rgba(54,211,153,.45);
  box-shadow: var(--glow);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(54,211,153,.08), transparent 70%),
    var(--surface);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #07120c;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price-card .plan-name { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.price-card .plan-desc { font-size: .92rem; color: var(--muted); margin-bottom: 22px; min-height: 42px; }
.price-amount { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 6px; }
.price-amount .num { font-family: var(--font-head); font-size: 2.8rem; color: var(--ink); line-height: 1; font-weight: 700; }
.price-amount .per { font-size: .9rem; color: var(--muted); padding-bottom: 6px; }
.price-card .plan-note { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.plan-features { display: grid; gap: 12px; }
.plan-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .94rem; color: var(--muted);
}
.plan-features li .ck { color: var(--accent); font-family: var(--font-mono); flex: 0 0 auto; }
.plan-features li.off { color: #5c6773; }
.plan-features li.off .ck { color: #5c6773; }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  margin-bottom: 16px;
}
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--ink); }
.faq-item p { margin-bottom: 0; font-size: .96rem; }

/* ---------------------------------------------------------------------
   DOCS PAGE
   --------------------------------------------------------------------- */
.docs-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.docs-side {
  position: sticky; top: 96px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.docs-side h4 {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.docs-side a {
  display: block; color: var(--muted); font-size: .92rem;
  padding: 6px 0; transition: color var(--ease);
}
.docs-side a:hover { color: var(--accent); }
.docs-block { margin-bottom: 56px; }
.docs-block:last-child { margin-bottom: 0; }
.docs-block > h2 { scroll-margin-top: 90px; }

/* Endpoints list */
.endpoint {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: .9rem;
  flex-wrap: wrap;
}
.method {
  font-weight: 700; font-size: .76rem; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 6px; flex: 0 0 auto;
}
.method.get    { color: #82aaff; background: rgba(130,170,255,.12); }
.method.post   { color: #36d399; background: rgba(54,211,153,.12); }
.method.delete { color: #ff5f57; background: rgba(255,95,87,.12); }
.method.put    { color: #febc2e; background: rgba(254,188,46,.12); }
.endpoint .path { color: var(--ink); }
.endpoint .desc { color: var(--muted); font-family: var(--font-body); font-size: .9rem; margin-left: auto; }

/* SDK grid */
.sdk-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease);
}
.sdk-card:hover { transform: translateY(-4px); border-color: rgba(54,211,153,.3); }
.sdk-card .sdk-ic { font-size: 2rem; margin-bottom: 10px; }
.sdk-card b { font-family: var(--font-head); color: var(--ink); display: block; }
.sdk-card span { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

/* Integrations grid */
.integration {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color var(--ease), transform var(--ease);
}
.integration:hover { border-color: rgba(54,211,153,.3); transform: translateY(-3px); }
.integration .int-ic {
  width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center; font-size: 1.3rem;
}
.integration b { font-family: var(--font-head); color: var(--ink); font-size: .98rem; display: block; }
.integration span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h2 { color: var(--ink); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #5c6773; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(54,211,153,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #ff7b72; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff7b72; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(54,211,153,.1);
  border: 1px solid rgba(54,211,153,.4);
  color: var(--accent);
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: rgba(54,211,153,.1);
  border: 1px solid rgba(54,211,153,.18);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(54,211,153,.04), rgba(54,211,153,.04)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: var(--ink); margin-bottom: 14px; }
.site-footer .brand:hover { color: var(--ink); }
.footer-about p { font-size: .95rem; color: var(--muted); max-width: 320px; }
.footer-col h4 {
  color: var(--ink); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--muted);
}
.social a:hover { background: var(--accent); color: #07120c; border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-side { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
  .endpoint .desc { margin-left: 0; width: 100%; }
}

@media (max-width: 360px) {
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
}
