/* ============================================================
   VQHosted — Design tokens
   Palette derived from the brand mark: a teal sunburst radiating
   from a black serif wordmark on white.
   ============================================================ */
:root {
  --paper: #ffffff;
  --mist: #eefaf6;         /* pale mint section wash */
  --mist-deep: #dcf3ec;
  --ink: #14181a;          /* near-black, matches wordmark */
  --ink-soft: #4a5457;
  --teal-100: #cdeee5;
  --teal-200: #a7e2d3;
  --teal-400: #4bc7ac;
  --teal-500: #17ab8f;     /* core brand teal */
  --teal-600: #0f9380;
  --teal-700: #0b7566;     /* deep teal, CTA/dark accents */
  --teal-900: #0a4a42;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(10, 30, 27, 0.04), 0 12px 32px -16px rgba(10, 30, 27, 0.18);
  --shadow-card-hover: 0 1px 2px rgba(10, 30, 27, 0.05), 0 24px 48px -20px rgba(10, 30, 27, 0.26);

  --container: 1160px;
  --edge: clamp(20px, 5vw, 64px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--teal-500);
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(20,24,26,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,24,26,0.16);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-teal {
  background: var(--paper);
  color: var(--teal-700);
}
.btn-on-teal:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20,24,26,0.06);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 24px var(--edge) 28px; gap: 18px; border-bottom: 1px solid rgba(20,24,26,0.08); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: block; }
  .nav-actions .btn span.full-label::before { content: "Quote"; }
}

/* ---------- Sunburst signature ---------- */
.burst { display: block; }
.burst .blade {
  transform-origin: center;
}

.burst.spin-in .blade {
  animation: settle 900ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes settle {
  from { opacity: 0; transform: scale(0.4) rotate(-16deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-600);
}
.hero .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero .cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero .fine-print {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .burst-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mock-window {
  position: relative;
  z-index: 2;
  width: 82%;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  border: 1px solid rgba(20,24,26,0.06);
}
.mock-window .chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--mist);
  border-bottom: 1px solid rgba(20,24,26,0.06);
}
.mock-window .chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-200);
}
.mock-window .chrome .url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  flex: 1;
}
.mock-window .screen { padding: 22px; }
.mock-window .screen .row1 {
  height: 12px; width: 40%; background: var(--ink); border-radius: 4px; margin-bottom: 10px; opacity: 0.85;
}
.mock-window .screen .row2 {
  height: 8px; width: 70%; background: rgba(20,24,26,0.14); border-radius: 4px; margin-bottom: 20px;
}
.mock-window .screen .tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-window .screen .tiles div {
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--teal-100), var(--mist));
}
.mock-window .badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-window .badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(75,199,172,0.25);
}

/* ---------- Pillars ---------- */
.pillars { padding: 88px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--mist);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar .blade-icon { width: 40px; height: 40px; margin-bottom: 18px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Packages teaser (home) ---------- */
.pkg-teaser { padding: 88px 0; background: var(--ink); color: var(--paper); }
.pkg-teaser .section-head p { color: rgba(255,255,255,0.68); }
.pkg-teaser .section-head h2 { color: var(--paper); }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.teaser-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.teaser-card .tier-name { font-family: var(--font-display); font-size: 22px; margin-bottom: 4px; }
.teaser-card .tier-price { color: var(--teal-400); font-weight: 600; font-size: 14.5px; margin-bottom: 16px; }
.teaser-card p.desc { color: rgba(255,255,255,0.66); font-size: 14.5px; margin-bottom: 20px; }
.teaser-card a { color: var(--paper); font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.teaser-card a::after { content: "→"; transition: transform 0.2s ease; }
.teaser-card a:hover::after { transform: translateX(3px); }

/* ---------- How it works ---------- */
.how { padding: 88px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 22px 18px;
  border-top: 3px solid var(--teal-500);
}
.step .num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--teal-500);
  margin-bottom: 10px;
  display: block;
}
.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Why us ---------- */
.why { padding: 88px 0; background: var(--mist); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.why-list li { display: flex; gap: 16px; }
.why-list .mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-500);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.why-list h4 { font-size: 16.5px; margin-bottom: 4px; }
.why-list p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); color: var(--paper); max-width: 20ch; margin: 0 auto; }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,0.78); font-size: 16.5px; }
.cta-band .cta-row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 720px; height: 720px;
  opacity: 0.08;
  pointer-events: none;
}

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; background: var(--paper); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(20,24,26,0.08);
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 32ch; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 14.5px; color: var(--ink); }
.footer-col a:hover { color: var(--teal-600); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .pillar-grid, .teaser-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
