/* ============================================
   iNag — Static preview stylesheet
   Palette aligned with iOS app Theme.swift
   (teal / navy / warm-cream / amber — sourced
    from servicepoints.ca brand palette)
   ============================================ */

/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Color tokens (iNag brand) ---- */
:root {
  --teal:      #00A89D;
  --teal-d:    #00857B;
  --teal-lite: #00C4B8;
  --amber:     #F5A623;
  --amber-d:   #D88E18;
  --navy:      #0D1B2A;
  --navy-mid:  #1B2E42;
  --steel:     #1C2B3A;
  --near-blk:  #080C10;

  --warm:      #F5F0E8;
  --warm-mid:  #EDE7D9;
  --surface:   #FFFFFF;

  --slate:     #4A5568;

  /* Semantic */
  --bg:      var(--warm);
  --ink:     var(--navy);
  --ink-2:   var(--navy-mid);
  --muted:   var(--slate);
  --line:    var(--warm-mid);

  --shadow:    0 12px 32px rgba(13,27,42,.10);
  --shadow-lg: 0 24px 56px rgba(13,27,42,.16);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --maxw: 1180px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,168,157,.10);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.mono { font-family: 'JetBrains Mono', monospace; }

/* Gradient + highlighter */
.grad {
  background: linear-gradient(95deg, var(--teal) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl {
  background: linear-gradient(transparent 60%, var(--amber) 60%);
  padding: 0 2px;
}

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 0 var(--teal-d);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--teal-d); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--teal-d); }
.btn-secondary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 0 var(--near-blk);
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 6px 0 var(--amber-d);
}
.btn-amber:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 18px;
  border: 2px solid var(--ink);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-arrow::after { content: '→'; display: inline-block; margin-left: 4px; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---- Top nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,240,232,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-dot {
  width: 34px;
  height: 34px;
  background: url('/assets/img/logo.svg') center/contain no-repeat;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13,27,42,.10);
}
/* Legacy pulse keyframes kept (no longer used) */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,168,157,.20); }
  50%      { box-shadow: 0 0 0 9px rgba(0,168,157,.04); }
}
/* Footer brand-dot: smaller for compact footer layout */
.footer .brand-dot { width: 28px; height: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-top: 0; }
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(135deg, rgba(0,168,157,.12) 0%, rgba(245,166,35,.14) 100%);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-phone {
  width: 64%;
  aspect-ratio: 1 / 2.05;
  background: var(--navy);
  border-radius: 36px;
  position: relative;
  box-shadow: var(--shadow-lg), inset 0 0 0 6px rgba(255,255,255,.04);
  padding: 14px;
}
.hero-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 12px;
}
.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, var(--navy) 0%, var(--steel) 100%);
  border-radius: 24px;
  padding: 40px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.hero-phone-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-md);
  padding: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  backdrop-filter: blur(6px);
}
.hero-phone-card .ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
}
.hero-phone-card .meta { line-height: 1.2; }
.hero-phone-card .meta strong { display: block; font-family: 'Space Grotesk', sans-serif; }
.hero-phone-card .meta span { color: rgba(255,255,255,.55); font-size: .72rem; }
.hero-phone-card .nag-btn {
  margin-left: auto;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: .72rem;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.hero-phone-pulse {
  position: absolute;
  inset: auto 0 28px 0;
  display: flex;
  justify-content: center;
}
.hero-phone-pulse .ring {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(0,196,184,.55);
  position: absolute;
  animation: ringpulse 2.6s ease-out infinite;
}
.hero-phone-pulse .ring:nth-child(2) { animation-delay: 1s; }
.hero-phone-pulse .core {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal-lite);
  box-shadow: 0 0 28px var(--teal-lite);
}
@keyframes ringpulse {
  0%   { transform: scale(0.4); opacity: .9; }
  100% { transform: scale(2.5);  opacity: 0; }
}

.hero-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sticker {
  position: absolute;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 8px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: 4px 4px 0 var(--navy);
  transform: rotate(var(--rot, -4deg));
  color: var(--navy);
}
.sticker.s1 { top: 8%; left: -4%; --rot: -8deg; background: var(--amber); }
.sticker.s2 { top: 38%; right: -8%; --rot: 6deg; background: var(--teal); color: #fff; }
.sticker.s3 { bottom: 9%; left: -6%; --rot: -3deg; background: var(--navy); color: var(--amber); }

/* ---- Value prop tiles ---- */
.tiles { gap: 24px; }
.tile {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.tile-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.tile-icon.teal   { background: rgba(0,168,157,.14); color: var(--teal); }
.tile-icon.amber  { background: rgba(245,166,35,.18); color: var(--amber-d); }
.tile-icon.navy   { background: var(--navy); color: var(--teal-lite); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-2); margin: 0; }

/* ---- "How it works" 3-step strip ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps .step:nth-child(4),
  .steps .step:nth-child(5) { grid-column: span 1; }
}
.step {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -22px;
  left: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--amber);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 4px 4px 0 var(--teal);
}
.step h3 { margin-top: 14px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---- CTA band ---- */
.cta-band {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: var(--teal);
  border-radius: 50%;
  opacity: .35;
  filter: blur(40px);
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 280px; height: 280px;
  background: var(--amber);
  border-radius: 50%;
  opacity: .25;
  filter: blur(50px);
}
.cta-band h2 { color: #fff; margin: 0; position: relative; }
.cta-band p { color: rgba(255,255,255,.72); margin: 12px 0 0; position: relative; }
.cta-band .actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---- Page header (non-landing) ---- */
.page-head {
  padding: 64px 0 32px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-head p { color: var(--ink-2); font-size: 1.15rem; max-width: 680px; }

/* ---- Forms ---- */
.form {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

/* HubSpot form embed card — wraps the .hs-form-frame so it looks
   like the rest of the site's white card surfaces. The actual
   form internals come from HubSpot; we only style the container. */
.hs-form-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 200px;
}
.hs-form-card .hs-form-frame { min-height: 180px; }
/* Submit button shim — HubSpot's default submit button styling.
   Targets the most common selectors HubSpot uses; harmless if absent. */
.hs-form-card input[type="submit"],
.hs-form-card .hs-button {
  background: var(--teal) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
  padding: 14px 26px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .15s ease;
}
.hs-form-card input[type="submit"]:hover,
.hs-form-card .hs-button:hover { background: var(--teal-d) !important; }
@media (max-width: 640px) {
  .hs-form-card { padding: 22px; }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field label .req { color: var(--teal); }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;   /* 16px prevents iOS auto-zoom on focus */
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,168,157,.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card {
  position: relative;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.radio-card:hover { border-color: var(--teal); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .dot {
  width: 18px; height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: border-color .15s ease;
}
.radio-card .dot::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .15s ease;
}
.radio-card input:checked ~ .dot { border-color: var(--teal); }
.radio-card input:checked ~ .dot::after { transform: scale(1); }
.radio-card:has(input:checked) {
  border-color: var(--teal);
  background: rgba(0,168,157,.08);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  margin-top: 8px;
}
.form-submit {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.form-status {
  font-weight: 500;
  font-size: .92rem;
}
.form-status.ok { color: var(--teal-d); }
.form-status.err { color: #C44528; }
.thank-you {
  display: none;
  text-align: center;
  padding: 28px 12px;
}
.thank-you.active { display: block; }
.thank-you-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  background: var(--amber);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.8rem;
  border: 3px solid var(--navy);
  color: var(--navy);
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.tier {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tier.featured {
  border: 2px solid var(--navy);
  box-shadow: 8px 8px 0 var(--teal);
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -12px; left: 22px;
  background: var(--amber);
  color: var(--navy);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 2px solid var(--navy);
}
.tier h3 { margin-bottom: 4px; }
.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  margin: 8px 0 6px;
}
.tier-desc { color: var(--muted); font-size: .92rem; min-height: 44px; }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  font-size: .92rem;
}
.tier ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--teal-lite);
  border: 2px solid var(--navy);
  border-radius: 50%;
}
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ---- Footer ---- */
.footer {
  background: var(--near-blk);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.5fr 1fr;
  gap: 36px;
}
.footer h4 {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer a {
  color: rgba(255,255,255,.7);
  display: block;
  padding: 4px 0;
  font-size: .94rem;
}
.footer a:hover { color: var(--teal-lite); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .tag {
  font-size: .92rem;
  margin-bottom: 18px;
  color: rgba(255,255,255,.6);
  max-width: 280px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 22px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-mail-group { margin-bottom: 14px; }
.footer-mail-group .lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}

/* ---- Modes grid (Product page) ---- */
.mode-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  position: relative;
  transition: transform .15s ease, border-color .15s ease;
}
.mode-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.mode-card .emoji { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.mode-card h4 { margin-bottom: 4px; font-size: 1.1rem; }
.mode-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* ---- Layers visual ---- */
.layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.layer {
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: var(--r-md);
  padding: 22px 18px;
  box-shadow: 4px 4px 0 var(--navy);
  position: relative;
}
.layer .level {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.layer h4 { margin: 8px 0 8px; font-size: 1.2rem; }
.layer ul { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.layer ul li { padding: 3px 0; color: var(--ink-2); }
.layer.dummy    { background: linear-gradient(180deg, rgba(0,196,184,.18), var(--surface)); }
.layer.personal { background: linear-gradient(180deg, rgba(245,166,35,.14), var(--surface)); }
.layer.social   { background: linear-gradient(180deg, rgba(0,168,157,.12), var(--surface)); }
.layer.business { background: linear-gradient(180deg, rgba(13,27,42,.08), var(--surface)); }

/* ---- Feature grid ---- */
.feature {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.feature .ico {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--teal-lite);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.feature h4 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---- Contact sidebar ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}
.contact-side {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.contact-side h4 { margin-bottom: 10px; }
.contact-side .row { margin-bottom: 14px; }
.contact-side .row .lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-side a { color: var(--teal-d); font-weight: 500; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid .tier:nth-child(5) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-band .actions { justify-content: flex-start; }
  .layers { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .layers { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Mobile nav drawer ---- */
.drawer {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: 20px; }

/* ---- Top utility bar (waitlist promo + social icons) ---- */
.util-bar {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.util-bar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.util-bar-msg {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .15s ease;
}
.util-bar-msg:hover { color: var(--teal-lite); }
.util-bar-msg .util-arrow { transition: transform .15s ease; }
.util-bar-msg:hover .util-arrow { transform: translateX(3px); }
.util-pulse {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  animation: utilpulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(245,166,35,.20);
}
@keyframes utilpulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245,166,35,.20); }
  50%      { box-shadow: 0 0 0 7px rgba(245,166,35,.04); }
}
.util-social { display: flex; gap: 2px; }
.social-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: rgba(255,255,255,.65);
  border-radius: 6px;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover {
  color: var(--teal-lite);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}

/* Drawer social row (mobile) */
.drawer-social {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.drawer-social .social-icon {
  color: var(--ink-2);
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1.5px solid var(--line);
}
.drawer-social .social-icon svg { width: 17px; height: 17px; }
.drawer-social .social-icon:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(0,168,157,.06);
}

@media (max-width: 700px) {
  .util-bar { display: none; }
}

/* ---- HubSpot chat bubble stub (preview-only) ---- */
.hs-chat-stub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,168,157,.35), 0 4px 12px rgba(13,27,42,.18);
  display: grid;
  place-items: center;
  z-index: 40;
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.hs-chat-stub:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 28px rgba(0,168,157,.45), 0 4px 12px rgba(13,27,42,.2); }
.hs-chat-stub svg { width: 26px; height: 26px; }
.hs-chat-stub-pip {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--amber);
  color: var(--navy);
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--navy);
  pointer-events: none;
}
.hs-chat-stub-tip {
  position: absolute;
  bottom: 74px;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: .88rem;
  width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}
.hs-chat-stub-tip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: var(--navy);
  border-bottom: 0;
}
.hs-chat-stub-tip.show { opacity: 1; transform: translateY(0); }
@media (max-width: 640px) {
  .hs-chat-stub { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .hs-chat-stub-tip { width: 220px; right: -10px; }
}
