/* Convert Wire — shared design layer: tokens, container, header, buttons, section scaffolding, CTA band, footer */

:root {
  --bg: #07121c;
  --bg-footer: #040d14;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.18);
  --accent: #ff5a3d;
  --accent-hover: #e84d33;
  --muted: rgba(255,255,255,.7);
  --subtle: rgba(255,255,255,.52);
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(32px, 3.6vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,18,28,.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { position: relative; display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav-logo { display: flex; flex: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-cta { flex: none; }
.nav-toggle {
  display: none;
  flex: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  padding: 11px 22px;
  border: 1px solid transparent; border-radius: 8px;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-cta:hover { background: var(--accent-hover); }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 10px; }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }

/* ── Section scaffolding ── */
.section { padding-block: var(--section-y); scroll-margin-top: 76px; }
.section--tint {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
  border-block: 1px solid var(--line);
}
.section-head { margin-bottom: clamp(24px, 3vw, 36px); max-width: 760px; }
.eyebrow, .section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 14px; text-wrap: balance; }
.cta-extra { margin-left: .28em; }
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── Closing CTA band ── */
.cta-section { padding-block: 0 var(--section-y); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255,90,61,.17), rgba(255,90,61,.04) 70%);
  border: 1px solid rgba(255,90,61,.3);
  border-radius: 20px;
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.cta-band p { color: var(--muted); font-size: 16px; }

/* ── Footer: three centered contact columns + bottom bar ── */
.site-footer { background: var(--bg-footer); border-top: 1px solid rgba(255,255,255,.07); }
.footer-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; padding-block: 56px 48px; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: .4; margin-bottom: 14px; }
.footer-contact a { font-size: 17px; font-weight: 700; color: #fff; transition: opacity .2s; }
.footer-contact a:hover { opacity: .7; }
.footer-contact address { font-style: normal; font-size: 15px; font-weight: 600; opacity: .85; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 18px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-inner--center { justify-content: center; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav { min-height: 64px; gap: 12px; }
  .nav-logo img { height: 24px; }
  .nav-cta { margin-left: auto; padding: 10px 14px; font-size: 13px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 4px var(--gutter) 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0a1620;
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 15px 0; font-size: 16px; color: #fff; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .footer-contact { grid-template-columns: 1fr; text-align: left; gap: 20px; padding-block: 44px 32px; }
  .footer-bottom-inner, .footer-bottom-inner--center { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .cta-extra { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav-logo img { height: 18px; }
}
@media (max-width: 380px) {
  .nav-cta { padding: 9px 10px; font-size: 12px; }
}
.cta-section.is-spaced { padding-top: var(--section-y); }
