/* ═══════════════════════════════════════════════
   SigForge — Main Stylesheet
   Brand: warm serif, terracotta accent
═══════════════════════════════════════════════ */
:root {
  --ink: #0f0e0d;
  --ink2: #4a4845;
  --ink3: #9a9793;
  --paper: #faf9f7;
  --surf: #f2f0ec;
  --border: #e2dfd8;
  --accent: #c8502a;
  --accent-dark: #a8401e;
  --accent-light: rgba(200,80,42,0.08);
  --green: #1a7a4a;
  --mono: 'DM Mono', monospace;
  --serif: 'Fraunces', serif;
  --sans: 'DM Sans', sans-serif;
  --max: 1160px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 500; }

p { color: var(--ink2); }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink2);
  text-decoration: none;
}
.btn:hover { background: var(--surf); text-decoration: none; }
.btn-pri {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-pri:hover { background: var(--accent-dark); }
.btn-lg { padding: 0.85rem 2rem; font-size: 16px; border-radius: 8px; }
.btn-nav { padding: 0.4rem 1rem; font-size: 13px; }

/* ── NAV ──────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--ink2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile { display: none; position: fixed; inset: 0; top: 60px; background: var(--paper); z-index: 99; padding: 2rem; flex-direction: column; gap: 1.25rem; border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 18px; color: var(--ink); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  background: var(--surf);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: 14px; color: var(--ink3); margin-top: 0.5rem; line-height: 1.6; }
.footer-by { margin-top: 0.75rem !important; }
.footer-by a { color: var(--ink3); }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.footer-cols h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 0.75rem; font-weight: 400; }
.footer-cols a { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 0.5rem; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max); margin: 1.5rem auto 0; }
.footer-bottom p { font-size: 12px; color: var(--ink3); line-height: 1.6; }
.footer-bottom a { color: var(--ink3); }

/* ── CONTAINER ────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── HERO ─────────────────────────────────────── */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--ink2); max-width: 560px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink3); margin-top: 1rem; }
.hero-note a { color: var(--ink3); }

/* ── FEATURES GRID ───────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: 14px; }

/* ── HOW IT WORKS STEPS ──────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 14px; }

/* ── PRICING ──────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.pricing-card.featured { border: 2px solid var(--accent); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 11px;
  padding: 3px 12px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-name { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink3); margin-bottom: 0.5rem; }
.pricing-price { font-family: var(--serif); font-size: 2.5rem; font-weight: 300; color: var(--ink); line-height: 1; }
.pricing-price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-price span { font-size: 0.9rem; color: var(--ink3); font-family: var(--sans); }
.pricing-desc { font-size: 13px; color: var(--ink3); margin: 0.5rem 0 1.25rem; font-family: var(--mono); }
.pricing-features { list-style: none; margin-bottom: 1.5rem; }
.pricing-features li { font-size: 14px; color: var(--ink2); padding: 0.35rem 0; display: flex; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 600; flex-shrink: 0; }
.pricing-features li.no::before { content: '✕'; color: var(--ink3); }
.pricing-features li.no { color: var(--ink3); }

/* ── FAQ ──────────────────────────────────────── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q { font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--accent); flex-shrink: 0; font-family: var(--mono); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; font-size: 14px; color: var(--ink2); padding-top: 0.75rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── SETUP GUIDE ──────────────────────────────── */
.guide-steps { list-style: none; counter-reset: steps; }
.guide-steps li {
  counter-increment: steps;
  padding: 1.25rem 1.25rem 1.25rem 4rem;
  position: relative;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}
.guide-steps li::before {
  content: counter(steps);
  position: absolute;
  left: -1.25rem;
  top: 1.1rem;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.guide-steps li h4 { margin-bottom: 0.3rem; }
.guide-steps li p, .guide-steps li code { font-size: 14px; }
.guide-note {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  margin: 1.5rem 0;
}
.guide-note strong { color: var(--accent); }
.guide-warning {
  background: #fff8ed;
  border-left: 3px solid #f59e0b;
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  font-size: 14px;
  margin: 1.5rem 0;
}
.guide-warning strong { color: #b45309; }

/* ── DISCLAIMER ───────────────────────────────── */
.disclaimer {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.6;
  margin: 2rem 0;
}

/* ── BLOG ─────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.15s;
}
.blog-card:hover { border-color: var(--accent); text-decoration: none; }
.blog-tag { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 13px; }
.blog-date { font-size: 12px; color: var(--ink3); font-family: var(--mono); margin-top: 0.75rem; }

/* ── ARTICLE ──────────────────────────────────── */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.article h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.article p { margin-bottom: 1rem; font-size: 15px; line-height: 1.8; }
.article ul, .article ol { margin: 0 0 1rem 1.5rem; }
.article li { font-size: 15px; line-height: 1.8; color: var(--ink2); }
.article code { font-family: var(--mono); font-size: 13px; background: var(--surf); padding: 2px 6px; border-radius: 4px; color: var(--accent); }
.article pre { background: #1a1916; border-radius: 8px; padding: 1.25rem; overflow-x: auto; margin: 1rem 0; }
.article pre code { background: none; color: #c8c4bc; padding: 0; font-size: 13px; }

/* ── LEGAL ────────────────────────────────────── */
.legal { max-width: 720px; margin: 0 auto; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.legal p { font-size: 14px; margin-bottom: 0.75rem; }
.legal ul { margin: 0 0 0.75rem 1.5rem; }
.legal li { font-size: 14px; color: var(--ink2); }

/* ── SECTION HEADERS ─────────────────────────── */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { font-size: 1rem; color: var(--ink2); max-width: 520px; margin: 0 auto; }

/* ── SOCIAL PROOF ────────────────────────────── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-item { font-size: 13px; color: var(--ink3); display: flex; align-items: center; gap: 6px; }
.trust-item strong { color: var(--ink2); }

/* ── CTA BAND ────────────────────────────────── */
.cta-band {
  background: var(--ink);
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: #9a9793; margin-bottom: 1.5rem; }

/* ── COOKIE BANNER ───────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 520px; margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  z-index: 999;
  font-size: 13px;
}
#cookie-banner a { color: var(--accent-light); }
#cookie-banner button { background: var(--accent); color: #fff; border: none; padding: 6px 16px; border-radius: 5px; cursor: pointer; font-size: 13px; white-space: nowrap; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 2.5rem 0; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
