/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:       #1a56db;
  --brand-dark:  #1341b3;
  --brand-light: #eff6ff;
  --accent:      #f97316;
  --dark:        #0f172a;
  --mid:         #475569;
  --muted:       #94a3b8;
  --light:       #f8fafc;
  --border:      #e2e8f0;
  --success:     #16a34a;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.3px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; }
h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; }
p  { font-size: 16px; color: var(--mid); line-height: 1.7; }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 10px; display: block;
}
.section-title { margin-bottom: 12px; }
.section-sub   { font-size: 18px; color: var(--mid); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; font-family: 'Heebo', sans-serif;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .2s; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.btn-primary:hover { background: #ea6c00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.45); }
.btn-brand  { background: var(--brand); color: #fff; }
.btn-brand:hover  { background: var(--brand-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 20px; font-weight: 900; color: var(--brand);
  text-decoration: none; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--mid);
  text-decoration: none; transition: color .15s;
}
.main-nav a:hover { color: var(--brand); }
.btn-nav-cta {
  background: var(--brand); color: #fff;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.btn-nav-cta:hover { background: var(--brand-dark); }
.mobile-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; padding: 56px 24px 40px;
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 13px; margin-top: 12px; line-height: 1.7; }
.footer-links {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.footer-links h3 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; margin-bottom: 8px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── Cards ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--light); border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--mid); }

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 12px 0; font-size: 13px; color: var(--muted);
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }

/* ── Forms ── */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--mid); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: 'Heebo', sans-serif; color: var(--dark);
  transition: border-color .2s; background: #fff;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--brand); }

/* ── Prose (blog/guide content) ── */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 40px 0 16px; color: var(--dark); }
.prose h3 { font-size: 20px; margin: 32px 0 12px; color: var(--dark); }
.prose p  { font-size: 16px; color: #334155; margin-bottom: 20px; line-height: 1.8; }
.prose ul, .prose ol { padding-right: 24px; margin-bottom: 20px; }
.prose li { font-size: 16px; color: #334155; margin-bottom: 8px; line-height: 1.7; }
.prose strong { color: var(--dark); }
.prose a { color: var(--brand); text-decoration: underline; }
.prose blockquote {
  border-right: 4px solid var(--brand); padding: 12px 20px;
  background: var(--brand-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.prose blockquote p { color: var(--dark); font-style: italic; margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.prose th { background: var(--light); font-weight: 700; font-size: 13px; padding: 12px 16px; border: 1px solid var(--border); text-align: right; }
.prose td { padding: 12px 16px; border: 1px solid var(--border); font-size: 15px; }
.prose tr:nth-child(even) td { background: var(--light); }

/* ── Tags / Badges ── */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand-light); color: var(--brand);
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-decoration: none;
}
.tag-orange { background: #fff7ed; color: var(--accent); }
.tag-green  { background: #f0fdf4; color: var(--success); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px; }
  .mobile-menu-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { gap: 16px; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
