/* ============================================================
   CDocsSign Light SaaS Design System v1
   Art Direction: Stripe / Linear Inspired
   Canvas: white + soft slate; Primary: Indigo/Violet; Accent: Emerald
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-subtle: #f1f5f9;

  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #475569;
  --muted: #64748b;
  --faint: #94a3b8;

  --brand: #6d5ef0;
  --brand-deep: #5b4be0;
  --brand-ink: #4338ca;
  --brand-soft: rgba(109, 94, 240, 0.09);
  --violet: #8b5cf6;
  --violet-soft: rgba(139, 92, 246, 0.09);

  --accent: #10b981;
  --accent-ink: #047857;
  --accent-soft: rgba(16, 185, 129, 0.1);
  --amber: #f59e0b;
  --amber-ink: #b45309;
  --amber-soft: rgba(245, 158, 11, 0.1);
  --rose: #f43f5e;
  --rose-ink: #be123c;
  --rose-soft: rgba(244, 63, 94, 0.1);

  --border: #e2e8f0;
  --border-soft: #eef2f7;

  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 48px -16px rgba(67, 56, 202, 0.18);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font-body);
  color: var(--ink-3);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand); text-decoration: none; transition: all 0.15s ease; }
a:hover { color: var(--brand-deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand);
}
.eyebrow::before { content: ""; width: 12px; height: 3px; border-radius: 4px; background: var(--brand); }

.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 12px; height: 3px; border-radius: 4px; background: var(--brand); }

.h-hero { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.h-section { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.h-card { font-size: 1.25rem; }
.lead { font-size: 1.13rem; color: var(--muted); line-height: 1.7; }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.75rem; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important; white-space: nowrap; outline: none;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--violet) 130%);
  color: #ffffff; box-shadow: 0 6px 18px -6px rgba(109, 94, 240, 0.55);
}
.btn-primary:hover { color: #ffffff; box-shadow: 0 10px 26px -6px rgba(109, 94, 240, 0.7); transform: translateY(-2px); }

.btn-accent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff; box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.55);
}
.btn-accent:hover { color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 26px -6px rgba(16, 185, 129, 0.7); }

.btn-ghost {
  background: #ffffff; border-color: var(--border); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: #ffffff; }
.btn-ink:hover { background: var(--ink-2); color: #ffffff; transform: translateY(-2px); }

.btn-outline-white { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.14); border-color: #ffffff; color: #ffffff; transform: translateY(-2px); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 99px; white-space: nowrap;
}
.badge-primary { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid rgba(109, 94, 240, 0.22); }
.badge-accent { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-amber { background: var(--amber-soft); color: var(--amber-ink); border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-rose { background: var(--rose-soft); color: var(--rose-ink); border: 1px solid rgba(244, 63, 94, 0.25); }
.badge-slate { background: var(--bg-subtle); color: var(--ink-3); border: 1px solid var(--border); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: 0; padding: 0 clamp(20px, 4vw, 48px); }
.site-header-inner .brand-logo { flex-shrink: 0; }
.site-header-inner > .row { flex: 1; justify-content: flex-end; min-width: 0; }

.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--violet) 120%);
  color: #ffffff; font-family: var(--font-display); font-weight: 800; font-size: 19px;
  display: grid; place-items: center; box-shadow: 0 4px 14px -4px rgba(109, 94, 240, 0.5);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.brand-sub { font-family: var(--font-mono); font-size: 0.62rem; color: var(--brand); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 14px; border-radius: 9px; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-3); text-decoration: none !important; transition: all 0.15s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-subtle); }
.nav-link.active { color: var(--brand-ink); background: var(--brand-soft); }

/* Hero */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(109, 94, 240, 0.08), transparent 60%),
    radial-gradient(700px 340px at 90% 20%, rgba(139, 92, 246, 0.07), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: var(--brand-soft); border: 1px solid rgba(109, 94, 240, 0.2);
  color: var(--brand-ink); font-size: 0.8rem; font-weight: 700;
  padding: 7px 14px; border-radius: 99px;
}
.hero-badge .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-ring 1.8s infinite; }
@keyframes pulse-ring { 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.12); } }

.hero h1 { margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, var(--violet) 60%, #06b6d4 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--muted); }

/* Hero mock */
.hero-mock { position: relative; }
.hero-mock-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; transform: rotate(-1deg);
}
.hero-mock-doc {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 20px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);
}
.mock-sig-stamp {
  border: 1.5px dashed var(--brand); border-radius: 10px; padding: 12px 16px;
  margin-top: 14px; background: var(--brand-soft);
}
.mock-sig-stamp .name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--ink); transform: rotate(-2deg); display: inline-block; }

.hero-mock-float {
  position: absolute; background: #ffffff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-card); padding: 12px 16px;
  font-size: 0.8rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 10px;
}
.hero-mock-float.top { top: -22px; right: -8px; }
.hero-mock-float.bottom { bottom: -24px; left: -12px; }

.icon-chip {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
}
.icon-chip.brand { background: var(--brand-soft); color: var(--brand); }
.icon-chip.accent { background: var(--accent-soft); color: var(--accent); }
.icon-chip.amber { background: var(--amber-soft); color: var(--amber-ink); }
.icon-chip.violet { background: var(--violet-soft); color: var(--violet); }
.icon-chip.slate { background: var(--bg-subtle); color: var(--ink-3); }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); padding: 26px 0; }
.trust-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-metric { text-align: center; padding: 0 24px; }
.trust-metric:first-child { padding-left: 0; }
.trust-metric .value { font-family: var(--font-mono); font-weight: 800; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.trust-metric .value .accent { color: var(--brand); }
.trust-metric .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-top: 4px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative; box-shadow: var(--shadow-sm); transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(109, 94, 240, 0.35); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 800; font-size: 1.05rem; margin-bottom: 20px;
}
.step-1 { background: var(--brand-soft); color: var(--brand); }
.step-2 { background: var(--violet-soft); color: var(--violet); }
.step-3 { background: var(--accent-soft); color: var(--accent); }
.step-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-card p { font-size: 0.925rem; color: var(--muted); line-height: 1.65; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(109, 94, 240, 0.3); }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.testi-card .quote { font-size: 0.95rem; color: var(--ink-3); line-height: 1.7; font-weight: 500; }
.testi-person { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border-soft); padding-top: 18px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #ffffff; font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.testi-person .name { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.testi-person .role { font-size: 0.78rem; color: var(--faint); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 0.85rem; }

/* Pricing */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.tier-card.tier-featured {
  border: 1.5px solid var(--brand); box-shadow: 0 24px 48px -16px rgba(109, 94, 240, 0.35);
}
.tier-card.tier-gradient {
  background: linear-gradient(165deg, #4f46e5 0%, #6d5ef0 45%, #8b5cf6 100%);
  border: none; color: #ffffff; box-shadow: 0 24px 48px -16px rgba(109, 94, 240, 0.45);
}
.tier-card.tier-gradient .tier-name { color: #c7d2fe; }
.tier-card.tier-gradient .tier-price .amount { color: #ffffff; }
.tier-card.tier-gradient .tier-price .per { color: rgba(255, 255, 255, 0.75); }
.tier-card.tier-gradient .tier-blurb { color: rgba(255, 255, 255, 0.8); }
.tier-card.tier-gradient .tier-features li { color: #e0e7ff; }
.tier-card.tier-gradient .check-dot {
  background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.5); color: #ffffff;
}
.tier-card.tier-ink {
  background: var(--ink); border: none; color: #ffffff; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.5);
}
.tier-card.tier-ink .tier-name { color: #94a3b8; }
.tier-card.tier-ink .tier-price .amount { color: #ffffff; }
.tier-card.tier-ink .tier-price .per { color: rgba(255, 255, 255, 0.6); }
.tier-card.tier-ink .tier-blurb { color: #94a3b8; }
.tier-card.tier-ink .tier-features li { color: #cbd5e1; }
.tier-card.tier-ink .check-dot {
  background: rgba(139, 92, 246, 0.25); border-color: rgba(139, 92, 246, 0.6); color: #c4b5fd;
}
.tier-name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.tier-featured .tier-name { color: var(--brand); }
.tier-price { margin: 12px 0 2px; }
.tier-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--ink); letter-spacing: -0.03em; }
.tier-price .per { font-size: 0.8rem; color: var(--faint); font-weight: 600; }
.tier-blurb { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 24px; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-3); }
.check-dot {
  width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-soft); border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-ink); font-size: 10px; font-weight: 800; display: grid; place-items: center;
}

/* Comparison matrix */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #ffffff; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 15px 22px; text-align: center; border-bottom: 1px solid var(--border-soft); }
.compare-table thead th { background: var(--bg-soft); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.compare-table thead th.featured-col { background: var(--brand-soft); color: var(--brand-ink); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 0.88rem; background: #ffffff; }
.compare-table tbody tr:hover td { background: var(--bg-soft); }
.compare-table tbody tr:hover td:first-child { background: #ffffff; }
.compare-yes { color: var(--accent-ink); font-weight: 800; }
.compare-no { color: var(--faint); font-weight: 700; }
.compare-note { font-size: 0.68rem; color: var(--faint); font-weight: 500; display: block; }

/* Guarantee strip */
.guarantee-item { display: flex; gap: 14px; align-items: flex-start; }
.guarantee-item .g-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
}
.guarantee-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.guarantee-item p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; transition: all 0.18s;
}
.acc:hover { border-color: rgba(109, 94, 240, 0.4); }
.acc[open] { border-color: var(--brand); box-shadow: var(--shadow-md); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .q { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.acc .acc-icon {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand); font-family: var(--font-mono);
  display: grid; place-items: center; font-size: 0.9rem; font-weight: 700;
  transition: transform 0.2s ease;
}
.acc[open] summary .acc-icon { transform: rotate(45deg); }
.acc .a { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-soft); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, #4f46e5 0%, #6d5ef0 45%, #8b5cf6 100%);
  border-radius: 24px; padding: 56px; color: #ffffff; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.5);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; opacity: 0.15;
  background-image: radial-gradient(#ffffff 1.5px, transparent 1.5px); background-size: 26px 26px;
}
.cta-banner .inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-banner h2 { color: #ffffff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; max-width: 480px; }
.btn-white { background: #ffffff; color: var(--brand-ink); }
.btn-white:hover { background: #eef2ff; color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.3); }

/* Cards (generic content) */
.card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.card-pad-0 { padding: 0; }
.card-soft { background: var(--bg-soft); border-color: var(--border-soft); }

/* Tables (track page) */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; text-align: left; }
.table th {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 700; padding: 14px 20px; background: var(--bg-soft);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--bg-soft); }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 700; font-size: 0.86rem; color: var(--ink-2); margin-bottom: 8px; }
.input, .select, textarea.input {
  width: 100%; padding: 12px 15px; font-size: 0.93rem; font-family: var(--font-body);
  color: var(--ink); background: #ffffff; border: 1px solid var(--border);
  border-radius: 11px; outline: none; transition: all 0.18s ease;
}
.input:focus, .select:focus, textarea.input:focus {
  border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109, 94, 240, 0.12);
}
.input::placeholder { color: var(--faint); }

/* Alerts */
.alert {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 17px; border-radius: 12px; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 22px; border: 1px solid;
}
.alert-success { background: var(--accent-soft); border-color: rgba(16, 185, 129, 0.3); color: var(--accent-ink); }
.alert-error { background: var(--rose-soft); border-color: rgba(244, 63, 94, 0.3); color: var(--rose-ink); }

/* Code blocks */
.code-block {
  background: var(--ink); border-radius: 14px; padding: 20px 22px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; color: #a5f3fc;
}
.code-block code { font-family: inherit; color: inherit; }
.code-chip {
  background: var(--violet-soft); border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--brand-deep); border-radius: 6px; padding: 2px 7px;
  font-family: var(--font-mono); font-size: 0.75rem;
}

/* Stamp */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 10px; border: 2px solid; text-transform: uppercase; letter-spacing: 0.14em;
}
.stamp-primary { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.stamp-amber { border-color: var(--amber); color: var(--amber-ink); background: var(--amber-soft); }

/* Utility */
.row { display: flex; align-items: center; gap: 16px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.link { color: var(--brand); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Page hero (subpages) */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin: 14px 0 12px; }
.page-hero .lead { max-width: 560px; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border-soft); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .col-title {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { color: var(--muted); font-size: 0.9rem; }
.footer-grid ul a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border-soft); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid, .features-grid, .testi-grid, .tiers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ============================================================
   Minimal AOS — scroll reveal
   Speed is controlled per-element: data-aos-duration (ms, default 650)
   and data-aos-delay (ms, default 0). Directions: up | fade | left | right | zoom.
   ============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--aos-duration, 650ms) cubic-bezier(0.22, 1, 0.36, 1) var(--aos-delay, 0ms),
    transform var(--aos-duration, 650ms) cubic-bezier(0.22, 1, 0.36, 1) var(--aos-delay, 0ms);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
[data-aos="fade"] { transform: none; }
[data-aos="left"] { transform: translateX(-30px); }
[data-aos="right"] { transform: translateX(30px); }
[data-aos="zoom"] { transform: scale(0.93); }
[data-aos].aos-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
}

/* High-Fidelity Web Replica Print Styling */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  body, html {
    background: #ffffff !important;
    color: #0f172a !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav, .site-header, .site-footer, .nav-menu, .no-print, button:not(.print-keep), .btn:not(.print-keep), .hero-ctas {
    display: none !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    margin: 0 !important;
  }

  .card, .hero-mock-card, .testi-card, .tier-card, .feature-card, .step-card, .mock-sig-stamp {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
  }

  .hero-mock-float {
    position: static !important;
    display: inline-flex !important;
    margin-top: 8px !important;
  }
}

