/* ============================================================
   AVOW Digital — Marketing site system
   Brand tokens lifted from the dashboard (globals.css)
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --canvas: #ffffff;
  --paper: #fafaf9;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --ink-3: #3a3a3a;
  --muted: #8a8a8a;
  --muted-2: #b8b8b8;
  --hair: rgba(10, 22, 40, 0.10);
  --hair-2: rgba(10, 22, 40, 0.05);
  --navy: #0a1628;
  --navy-2: #152340;
  --navy-soft: #1f3358;
  --good: #1f6e3a;
  --gold: #20406e;            /* accent — shifted from gold to deep blue */
  --gold-soft: rgba(32, 64, 110, 0.10);
  --accent-gold: #a86b00;     /* rare signature gold, used sparingly */
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: "Inter", ui-sans-serif, sans-serif; font-feature-settings: "tnum"; }

/* ---- Ambient atmosphere (matches dashboard) ---- */
.ambient, .grain { inset: 0; pointer-events: none; position: fixed; z-index: 0; }
.ambient {
  background:
    radial-gradient(60% 50% at 12% 18%, rgba(10, 22, 40, 0.05), transparent 60%),
    radial-gradient(50% 40% at 92% 70%, rgba(10, 22, 40, 0.04), transparent 60%),
    radial-gradient(40% 35% at 70% 8%, rgba(168, 107, 0, 0.035), transparent 60%);
}
.grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: .5;
  z-index: 1;
}
.page { position: relative; z-index: 2; }

/* ============================================================
   Top navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 15px 28px;
}
.brand { align-items: center; display: flex; gap: 7px; }
.brand-mark {
  background: var(--navy); color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: .02em;
  line-height: 1; padding: 4px 7px 5px; border-radius: 3px;
}
.brand-sub {
  color: var(--ink); font-size: 16px; font-weight: 800;
  letter-spacing: .02em; line-height: 1; text-transform: uppercase;
}
.nav-links { align-items: center; display: flex; gap: 6px; }
.nav-links a {
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 13px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { background: rgba(10, 22, 40, .05); color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-cta { align-items: center; display: flex; gap: 10px; }
.nav-login {
  align-items: center; display: inline-flex; gap: 6px;
  color: var(--ink-3); font-size: 13.5px; font-weight: 600;
  padding: 8px 6px; transition: color .2s ease;
}
.nav-login:hover { color: var(--navy); }
.nav-login svg { height: 14px; width: 14px; }

/* Hamburger button (hidden on desktop) */
.nav-burger {
  display: none; background: transparent; cursor: pointer; padding: 0;
  height: 40px; width: 40px; border-radius: 12px; border: 1px solid var(--hair);
  align-items: center; flex-direction: column; justify-content: center;
  flex: 0 0 auto; gap: 4px;
}
.nav-burger span {
  display: block; width: 18px; height: 1.6px; background: var(--ink);
  border-radius: 2px; margin: 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer-backdrop {
  display: block;
  position: fixed; inset: 0; background: rgba(10,22,40,.45);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  z-index: 60;
}
.nav-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px); background: #fff; border-left: 1px solid var(--hair);
  transform: translateX(100%); transition: transform .3s ease;
  z-index: 70; display: flex; flex-direction: column;
  padding: 84px 26px 32px; overflow-y: auto;
  box-shadow: -30px 0 60px -30px rgba(10,22,40,.25);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer .drawer-links { display: flex; flex-direction: column; }
.nav-drawer .drawer-links a {
  font-size: 17px; font-weight: 500; color: var(--ink-2);
  padding: 14px 0; border-bottom: 1px solid var(--hair);
  text-decoration: none; letter-spacing: -.005em;
}
.nav-drawer .drawer-links a.is-active { color: var(--navy); }
.nav-drawer .drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.nav-drawer .drawer-ctas .btn { display: flex; width: 100%; padding: 12px 18px; font-size: 14px; }
.nav-drawer .drawer-login {
  align-items: center; display: inline-flex; gap: 8px;
  color: var(--ink-3); font-size: 14px; font-weight: 600;
  padding: 16px 0 4px; text-decoration: none;
}
.nav-drawer .drawer-login svg { height: 15px; width: 15px; }
body.drawer-open { overflow: hidden; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px; font-weight: 600;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  padding: 12px 20px;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { height: 15px; width: 15px; }
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 12px 28px -14px rgba(10, 22, 40, .55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(10, 22, 40, .6); }
.btn-ghost { background: #fff; border: 1px solid var(--hair); color: var(--ink-2); }
.btn-ghost:hover { border-color: rgba(10, 22, 40, .26); transform: translateY(-1px); }
.btn-gold { background: #fff; color: var(--navy); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .4); }
.btn-gold:hover { transform: translateY(-1px); background: #f3f5f9; }
.btn-light { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { font-size: 13px; padding: 9px 15px; }
.btn-lg { font-size: 15px; padding: 15px 26px; }
.btn-link { color: var(--ink-2); font-weight: 600; font-size: 14px; align-items: center; display: inline-flex; gap: 6px; }
.btn-link .arr { transition: transform .2s ease; }
.btn-link:hover .arr { transform: translateX(3px); }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { margin: 0 auto; max-width: var(--maxw); padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.kicker {
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
}
.kicker-muted { color: var(--muted); }
.eyebrow-line { align-items: center; display: inline-flex; gap: 12px; }
.eyebrow-line::before { background: var(--gold); content: ""; height: 1px; width: 26px; }

.display {
  color: var(--navy);
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h2 {
  color: var(--navy);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
}
.h3 { color: var(--navy); font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.lead { color: var(--ink-3); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.body { color: var(--ink-3); font-size: 15.5px; line-height: 1.65; }
.section-head { max-width: 680px; }
.section-head .h2 { margin: 16px 0 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- generic card ---- */
.card {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 24px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card-hover:hover { border-color: rgba(10, 22, 40, .2); transform: translateY(-3px); box-shadow: 0 26px 50px -38px rgba(10, 22, 40, .4); }

.pill {
  align-items: center;
  background: rgba(10, 22, 40, .05);
  border-radius: 999px;
  color: var(--ink-2);
  display: inline-flex;
  font-size: 12px; font-weight: 600;
  gap: 7px;
  letter-spacing: .01em;
  padding: 7px 13px;
}
.pill .dot { background: var(--good); border-radius: 50%; height: 7px; width: 7px; }
.pill-gold { background: var(--gold-soft); color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  position: relative; z-index: 2;
}
.foot-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin: 0 auto; max-width: var(--maxw);
  padding: 72px 28px 40px;
}
.foot-brand .brand-mark { background: #fff; color: var(--navy); }
.foot-brand p { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 280px; }
.foot-col h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { color: rgba(255,255,255,.62); display: block; font-size: 14px; padding: 6px 0; transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin: 0 auto; max-width: var(--maxw);
  padding: 24px 28px 56px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: rgba(255,255,255,.5); font-size: 13px;
}

/* ============================================================
   Reusable marketing bits
   ============================================================ */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 12.5px; font-weight: 500;
  padding: 7px 13px;
}

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; }
.stat { background: #fff; padding: 26px 24px; }
.stat-num { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat-num .u { color: var(--gold); }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* dark band */
.band-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band-dark .kicker { color: #c4d3ea; }
.band-dark .lead { color: rgba(255,255,255,.66); }
.band-dark .body { color: rgba(255,255,255,.6); }
.band-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 80% 0%, rgba(168,107,0,.22), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(31,51,88,.6), transparent 60%);
}

/* feature list with check */
.checks { display: grid; gap: 13px; }
.checks li { align-items: flex-start; color: var(--ink-2); display: flex; font-size: 15px; gap: 12px; line-height: 1.45; list-style: none; }
.checks .ck {
  background: var(--gold-soft); border-radius: 50%; color: var(--gold);
  display: grid; place-items: center; flex-shrink: 0; height: 22px; width: 22px; margin-top: 1px;
}
.checks .ck svg { height: 12px; width: 12px; }
.band-dark .checks li { color: rgba(255,255,255,.86); }
.band-dark .checks .ck { background: rgba(196,211,234,.16); color: #c4d3ea; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta .nav-login,
  .nav-cta .btn-ghost { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  .nav-inner { gap: 16px; padding: 14px 16px; }
  .brand-sub { font-size: 14px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { font-size: 12.5px; padding: 9px 13px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .brand { gap: 5px; }
  .brand-mark { font-size: 14px; padding: 4px 6px 5px; }
  .brand-sub { font-size: 13px; }
  .nav-cta .btn-primary { padding-left: 11px; padding-right: 11px; }
}
