@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Epilogue:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─── */
:root {
  --ink:      #0a0e1a;
  --ink-mid:  #2c3450;
  --ink-soft: #5c647e;
  --rule:     #e2e5ee;
  --bg:       #ffffff;
  --surface:  #f5f6fa;
  --surface2: #eef0f8;
  --accent:   #1a56ff;
  --accent2:  #0038d4;
  --lime:     #c6f135;
  --lime-dim: #a8d020;
  --danger:   #ff3b3b;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Epilogue', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --max: 1200px;
  --gutter: 40px;
  --nav-h: 68px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── UTILITY ─── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}
/* Inverted logo (white on dark) */
.logo--white .logo-name { color: #fff; }
.logo--white .logo-sub  { color: rgba(255,255,255,0.5); }

/* ─── NAV ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.25s; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: all 0.18s;
  letter-spacing: 0.01em;
  line-height: 1;
}
.btn-dark  { background: var(--ink);    color: #fff; border-color: var(--ink); }
.btn-dark:hover  { background: var(--accent); border-color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent2); border-color: var(--accent2); }
.btn-lime  { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 700; }
.btn-lime:hover  { background: var(--lime-dim); border-color: var(--lime-dim); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 9px 18px; font-size: 0.825rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ─── LABELS / TAGS ─── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  background: var(--surface2);
  color: var(--ink-mid);
}
.tag-accent { background: rgba(26,86,255,0.1); color: var(--accent); }

/* ─── RULED TITLE ─── */
.section-hed {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* ─── DIVIDER LINE ─── */
.rule { border: none; border-top: 1px solid var(--rule); }
.rule-v { width: 1px; background: var(--rule); align-self: stretch; }

/* ─── CARD BASE ─── */
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(10,14,26,0.08);
  border-color: #c8ccda;
  transform: translateY(-2px);
}
.card-dark {
  background: var(--ink);
  border-color: #1e2438;
  color: #fff;
}
.card-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── ICON CHIP ─── */
.icon-chip {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2);
  flex-shrink: 0;
}
.icon-chip svg { width: 22px; height: 22px; stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip-dark { background: rgba(255,255,255,0.1); }
.icon-chip-dark svg { stroke: var(--lime); }

/* ─── ACCORDION ─── */
.accordion { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item:last-child { border-bottom: none; }
.acc-btn {
  width: 100%; background: none; border: none;
  padding: 20px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 0.975rem; font-weight: 600;
  color: var(--ink); text-align: left; gap: 16px;
  transition: background 0.15s;
}
.acc-btn:hover { background: var(--surface); }
.acc-btn.open { background: var(--surface); color: var(--accent); }
.acc-icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.28s; }
.acc-btn.open .acc-icon { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 28px 20px; font-size: 0.925rem; color: var(--ink-soft); line-height: 1.78; }
.acc-body.open { display: block; }

/* ─── FORMS ─── */
.form-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 48px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,86,255,0.12);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* SMS Consent Box */
.sms-opt {
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sms-opt:focus-within { border-color: var(--accent); }
.sms-opt input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 2px; flex-shrink: 0;
  accent-color: var(--accent);
}
.sms-opt p { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.65; }
.sms-opt a { color: var(--accent); font-weight: 600; }
.sms-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin: 24px 0 12px;
}
.privacy-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 18px;
  line-height: 1.55;
}
.success-banner {
  display: none;
  background: #e9fef2;
  border: 1.5px solid #34c976;
  color: #0d5c32;
  padding: 16px 22px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.975rem;
  text-align: center;
  margin-top: 14px;
}
.success-banner.show { display: block; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--lime); }
.footer-contact-info { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-info p { font-size: 0.875rem; color: rgba(255,255,255,0.45); }
.footer-contact-info a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-contact-info a:hover { color: var(--lime); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-legal { display: flex; gap: 20px; }

/* ─── POLICY PAGES ─── */
.policy-content h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 40px 0 12px; }
.policy-content p, .policy-content li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.85; margin-bottom: 14px; }
.policy-content ul { padding-left: 22px; margin-bottom: 16px; }
.policy-content ul li { margin-bottom: 8px; }
.policy-content a { color: var(--accent); font-weight: 500; }

/* ─── MOBILE ─── */
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; padding: 12px 16px 20px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: var(--r-sm); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}
