/* ============================================================
   Sendbase.io — landing page styles
   Pure CSS, no external dependencies, system font stack.
   ============================================================ */

:root {
  --bg: #020617;
  --surface: #0A1424;
  --surface-2: #0F1B31;
  --border: #1B2A45;
  --text: #F5F8FC;
  --muted: #9FB0C9;
  --brand: #0AA5F2;
  --cyan: #00CFEE;
  --grad: linear-gradient(135deg, #0B84F0, #00CFEE);
  --positive: #16C784;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--surface-2); color: var(--text);
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-gradient {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(11, 132, 240, 0.7);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(0, 207, 238, 0.6); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-solid-light { background: #fff; color: #062036; }
.btn-solid-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); }
.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(2, 6, 23, 0.9); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; }
.logo-text { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.logo-tld { color: var(--cyan); }

.main-nav { display: flex; gap: 28px; margin-left: 12px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .18s ease; }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.link-login { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .18s ease; }
.link-login:hover { color: var(--text); }

.hamburger {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: rgba(5, 11, 26, 0.98);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: slideDown .22s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 12px 24px 22px; gap: 4px; }
.mm-link { padding: 13px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mm-cta { margin-top: 14px; justify-content: center; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.glow-1 { width: 520px; height: 520px; background: radial-gradient(circle, #0B84F0, transparent 70%); top: -120px; right: -80px; animation: floaty 12s ease-in-out infinite; }
.glow-2 { width: 460px; height: 460px; background: radial-gradient(circle, #00CFEE, transparent 70%); bottom: -160px; left: -120px; opacity: 0.35; animation: floaty 15s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.35;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(0, 207, 238, 0.08); border: 1px solid rgba(0, 207, 238, 0.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 540px; margin: 22px 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.trust-line { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.trust-line li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.ti { width: 18px; height: 18px; color: var(--positive); flex-shrink: 0; }

/* Hero visual */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 380px; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-1.5deg); } }

/* Minimal escrow trade card */
.visual-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 240, 0.20), transparent 66%);
  filter: blur(30px); z-index: 0;
}
.trade-card {
  position: relative; z-index: 1; width: min(370px, 92%);
  background: linear-gradient(180deg, rgba(15, 27, 49, 0.92), rgba(10, 20, 36, 0.92));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tc-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--cyan); }
.tc-badge svg { width: 16px; height: 16px; }
.tc-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; color: var(--positive);
  padding: 5px 11px 5px 9px; border-radius: 999px;
  background: rgba(22, 199, 132, 0.1); border: 1px solid rgba(22, 199, 132, 0.28);
}
.tc-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 8px var(--positive); animation: pulse 2.4s ease-in-out infinite; }

.tc-amount { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.tc-coin { flex-shrink: 0; width: 46px; height: 46px; }
.tc-coin svg { width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 6px 16px rgba(38, 161, 123, 0.45)); }
.tc-amt { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.tc-sub { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

.tc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tc-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--muted); }
.tc-steps li.active { color: var(--text); font-weight: 600; }
.tc-tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(22, 199, 132, 0.14); color: var(--positive);
}
.tc-tick svg { width: 14px; height: 14px; }
.tc-steps li.active .tc-tick { background: rgba(0, 207, 238, 0.14); }
.tc-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }

.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.tc-verify { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--muted); }
.tc-verify svg { width: 15px; height: 15px; color: var(--positive); }
.tc-fee { font-size: 0.78rem; font-weight: 700; color: var(--text); padding: 5px 11px; border-radius: 999px; background: rgba(10, 165, 242, 0.12); border: 1px solid rgba(10, 165, 242, 0.28); }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.25); opacity: 1; } }

/* ---------- Value strip ---------- */
.value-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.value-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.value-num { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.value-label { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--surface), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 1.06rem; }
.section-head .eyebrow { margin-bottom: 16px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(10, 165, 242, 0.1); border: 1px solid rgba(10, 165, 242, 0.22);
  color: var(--cyan);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Product chooser (people / business / agents) ---------- */
.path-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.path-cards--3 { grid-template-columns: repeat(3, 1fr); }
.path-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.path-card--business { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.path-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cyan);
  background: rgba(0, 207, 238, 0.08); border: 1px solid rgba(0, 207, 238, 0.22);
  padding: 5px 12px; border-radius: 999px;
}
.path-card h3 { font-size: 1.32rem; }
.path-card > p { color: var(--muted); font-size: 1rem; }
.path-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.path-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 0.95rem; }
.path-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  background: var(--grad); border-radius: 50%; opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.path-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Business CTA ---------- */
.business-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.business-cta-note { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.card p code, .acc-inner code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 5px; color: var(--text);
}

/* ---------- Developers / code ---------- */
.dev-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.dev-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 16px; }
.dev-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 1rem; }
.dev-list strong { color: var(--text); }
.dev-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  background: var(--grad); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/13px no-repeat;
}
.code-card { background: #0b1220; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.code-head .cdot { width: 11px; height: 11px; border-radius: 50%; }
.code-head .cdot.r { background: #ff5f57; }
.code-head .cdot.y { background: #febc2e; }
.code-head .cdot.g { background: #28c840; }
.code-file { margin-left: 8px; font-size: 12px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-card pre { margin: 0; padding: 20px; overflow-x: auto; }
.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84rem; line-height: 1.75; color: #e6edf6; white-space: pre; }
.code-card .c { color: #5b6b86; }

/* ---------- Pricing ---------- */
.pricing-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 840px; margin: 0 auto; }
.price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 22px; }
.personal-actions { display: flex; justify-content: center; }

/* ---------- Article / content pages ---------- */
.article-hero { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.article-hero .hero-sub { margin: 22px auto 30px; }
.article-hero .hero-ctas { justify-content: center; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.prose > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 16px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 14px; }
.prose-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 1.05rem; }
.prose-list strong { color: var(--text); }
.prose-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  background: var(--grad); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l3.5 3.5L18 8'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.step {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; font-weight: 800; font-size: 18px;
  background: var(--grad); color: #fff; margin-bottom: 18px;
  box-shadow: 0 8px 20px -8px rgba(0, 207, 238, 0.7);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Security ---------- */
.security-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.security-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 14px 0 18px; }
.security-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; }
.security-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.security-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.security-list .ti { margin-top: 3px; }
.security-list strong { color: var(--text); }

.security-visual { display: flex; align-items: center; justify-content: center; }
/* Alternating feature spotlight rows (reuse security-grid) */
.security-grid.reverse .security-copy { order: 2; }
.security-grid.reverse .security-visual { order: 1; }
.section + .section .security-grid { margin-top: 0; }
.eyebrow-link { color: var(--cyan); text-decoration: none; font-weight: 600; }
.eyebrow-link:hover { text-decoration: underline; }
.proof-note { color: var(--muted); font-size: 0.92rem; margin-top: 18px; }
.proof-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.usecase h3 { display: flex; align-items: center; gap: 9px; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Comparison table */
.compare { overflow-x: auto; max-width: 900px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 600px; font-size: 0.97rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border); }
.compare thead th { font-weight: 700; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; padding-bottom: 12px; }
.compare tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.compare td { color: var(--muted); }
/* Highlighted Sendbase column */
.compare .col-sb { background: rgba(10, 132, 240, 0.07); border-left: 1px solid rgba(10, 165, 242, 0.25); border-right: 1px solid rgba(10, 165, 242, 0.25); }
.compare thead th.col-sb { color: var(--cyan); border-top: 1px solid rgba(10, 165, 242, 0.25); border-top-left-radius: 12px; border-top-right-radius: 12px; }
.compare tbody td.col-sb { color: var(--text); font-weight: 600; }
.compare tbody tr:last-child td.col-sb { border-bottom: 1px solid rgba(10, 165, 242, 0.25); border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom-color: transparent; }

/* Product screenshots */
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); background: var(--surface); }
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; max-width: 1040px; margin: 0 auto; }
.shots-stack { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.shots-stack .shot { width: 100%; max-width: 940px; }
.shot-single { max-width: 940px; margin: 0 auto; }
.shot-single--narrow { max-width: 430px; }
@media (max-width: 940px) { .shots-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Prevent horizontal overflow on mobile: let grid/flex children shrink so
   wide content (code snippets, tables, screenshots) scrolls or fits inside
   instead of expanding the page past the viewport width. */
.security-grid > *, .dev-grid > *, .code-card, .security-copy, .security-visual, .dev-copy { min-width: 0; }
.code-card, .compare, .shot, pre, table, img { max-width: 100%; }
.key-diagram { position: relative; width: 320px; height: 320px; }
.key-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%; z-index: 2;
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 0 50px -8px rgba(0, 207, 238, 0.4);
}
.key-center img { border-radius: 16px; }
.key-center span { font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: 0.04em; }
.key-share {
  position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  animation: bob 6s ease-in-out infinite;
}
.ks-1 { top: 0; left: 50%; transform: translateX(-50%); }
.ks-2 { bottom: 14%; left: -6%; animation-delay: .8s; }
.ks-3 { bottom: 14%; right: -6%; animation-delay: 1.6s; }
.key-diagram::before {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  border: 1px dashed var(--border);
}

/* ---------- FAQ Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--text); cursor: pointer;
  padding: 20px 22px; font-size: 1.04rem; font-weight: 600; text-align: left; font-family: inherit;
}
.acc-trigger:hover { color: var(--cyan); }
.acc-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .25s ease; }
.acc-trigger[aria-expanded="true"] .acc-chevron { transform: rotate(180deg); color: var(--cyan); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.98rem; }
.acc-inner p + p { margin-top: 12px; }
.acc-inner ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.acc-inner li { padding-left: 2px; }
.acc-inner li::marker { color: var(--cyan); }
.acc-inner strong { color: var(--text); }
.acc-inner a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 80px 0; background: var(--grad); overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 120%, rgba(255, 255, 255, 0.25), transparent 55%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-inner p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-tag { color: var(--muted); font-size: 0.95rem; margin-top: 14px; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; transition: color .18s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.disclaimer { color: var(--muted); font-size: 0.82rem; max-width: 780px; line-height: 1.7; }
.copyright { color: var(--muted); font-size: 0.85rem; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .main-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Copy first on stacked layouts; the escrow card follows below the CTAs. */
  .hero-visual { min-height: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .path-cards, .path-cards--3 { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .security-visual { order: -1; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 68px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.post-tag { align-self: flex-start; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; flex: 1; }
.post-meta { color: var(--muted); font-size: .85rem; }
.post-readmore { color: var(--cyan); font-weight: 600; font-size: .92rem; margin-top: 14px; }
.post-back { display: inline-block; margin-bottom: 10px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.post-back:hover { color: var(--cyan); }
.article-meta { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.prose h3 { font-size: 1.32rem; font-weight: 700; margin: 30px 0 12px; color: var(--text); }
.prose > ul, .prose > ol { color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose > ul li, .prose > ol li { padding-left: 4px; }
.prose blockquote { margin: 0 0 22px; padding: 14px 20px; border-left: 3px solid var(--cyan); background: var(--surface-2); border-radius: 8px; color: var(--text); }
.prose blockquote p { margin: 0; color: var(--text); }
.prose .code-card { margin: 6px 0 24px; }
@media (max-width: 900px){ .post-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .post-list { grid-template-columns: 1fr; } }
