/* Randy Hernandez · Medicare landing — Buffer Insurance brand */

/* === Brand tokens === */
:root {
  --blue: #0085FF;
  --blue-600: #006fd6;
  --blue-700: #005ab0;
  --cyan: #70EBFF;
  --green: #3BEEAD;
  --orange: #FF9D00;
  --yellow: #FFE931;
  --ink: #2A3033;          /* charcoal — brand "black" */
  --ink-2: #4a5358;
  --ink-3: #6b747a;
  --line: #e2e6ea;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eef3f8;

  --display: "Red Hat Display", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --body:    "Red Hat Text", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(20,30,40,.04), 0 1px 1px rgba(20,30,40,.03);
  --shadow-2: 0 8px 24px rgba(20,30,40,.08), 0 2px 6px rgba(20,30,40,.04);
  --shadow-3: 0 30px 60px -20px rgba(0,90,176,.25), 0 12px 24px -8px rgba(20,30,40,.10);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  /* Prevent horizontal scroll / side-to-side bounce on mobile.
     `clip` instead of `hidden` so position:sticky (nav) still works. */
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  width: 100%;
}
img, svg, video, canvas { max-width: 100%; }
img { display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }

/* === Type scale === */
.h-display {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}
.h1 { font-size: clamp(36px, 4.4vw, 60px); }
.h2 { font-size: clamp(32px, 3.6vw, 48px); }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.15; }
.h4 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--blue);
}
.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 58ch;
}

/* === Layout === */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
@media (max-width: 800px) { section { padding: 64px 0; } .wrap, .wrap-tight { padding: 0 20px; } }

/* === Nav === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 36px; }
.nav-brand .sep { width: 1px; height: 28px; background: var(--line); }
.nav-brand .agent {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
}
.nav-brand .agent small {
  display: block; font-family: var(--body); font-weight: 600;
  font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a { color: inherit; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(0,133,255,.55);
}
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 12px 24px -10px rgba(0,133,255,.65); }
.btn-secondary {
  background: var(--ink); color: #fff;
}
.btn-secondary:hover { background: #1a1f22; color: #fff; }
.btn-outline {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 4px; padding-right: 4px; }
.btn-ghost:hover { color: var(--blue); }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn .arr { font-size: 18px; line-height: 1; }

/* === Hero — clean two-column with soft brand backdrop === */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,133,255,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(59,238,173,.16), transparent 60%),
    #fff;
}
/* Subtle plus-pattern texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'><path d='M27 17 H29 V27 H39 V29 H29 V39 H27 V29 H17 V27 H27 Z' fill='%230085FF' fill-opacity='0.05'/></svg>");
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 2; }

/* Brand accents in corners (subtle, not in the way) */
.hero .hero-accent {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.hero .hero-accent.yellow-plus {
  top: 32px; left: 3%;
  width: 48px; height: 48px;
  color: var(--yellow);
  opacity: 0.85;
}
.hero .hero-accent.orange-arrow {
  bottom: 56px; right: 3%;
  width: 44px; height: 44px;
  color: var(--orange);
  opacity: 0.85;
}
.hero .hero-accent.orange-square { display: none; }
.hero .hero-accent svg { width: 100%; height: 100%; }
@media (max-width: 1100px) {
  .hero .hero-accent.yellow-plus  { width: 36px; height: 36px; }
  .hero .hero-accent.orange-arrow { width: 32px; height: 32px; }
}
@media (max-width: 800px) {
  .hero .hero-accent { display: none; }
}

/* ====== Full-bleed BRAND HERO — recreated "Be there for the ones you love" ====== */
.brand-hero {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}
.brand-hero .bh-stage {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  height: 620px;
  padding: 0 32px;
}
@media (max-width: 1100px) { .brand-hero .bh-stage { height: 540px; } }
@media (max-width: 800px)  { .brand-hero .bh-stage { height: auto; padding: 32px 24px 40px; } }

/* Cyan panel on the right with white plus pattern */
.bh-cyan {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  background: var(--cyan);
  background-image:
    /* Plus marks */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><path d='M21 13 H23 V21 H31 V23 H23 V31 H21 V23 H13 V21 H21 Z' fill='%23ffffff' fill-opacity='0.55'/></svg>");
  background-size: 44px 44px;
  background-position: 0 0;
  z-index: 0;
}
.bh-cyan::after {
  /* Soft white wash on the left edge so it feathers into the white side */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 22%);
}
@media (max-width: 800px) {
  .bh-cyan { position: relative; width: 100%; height: 280px; }
}

/* Yellow plus + orange square accents (top-left of shield) */
.bh-accent {
  position: absolute;
  display: block;
  z-index: 2;
}
.bh-accent.yellow-plus { top: 64px; left: 8%; width: 76px; height: 76px; }
.bh-accent.orange-square { bottom: 80px; left: 6%; width: 56px; height: 56px; }
@media (max-width: 1100px) {
  .bh-accent.yellow-plus { width: 60px; height: 60px; top: 40px; left: 5%; }
  .bh-accent.orange-square { width: 44px; height: 44px; bottom: 50px; left: 4%; }
}
@media (max-width: 800px) {
  .bh-accent.yellow-plus { top: 16px; left: 16px; width: 44px; height: 44px; }
  .bh-accent.orange-square { display: none; }
}

/* Randy's photo in Buffer blue shield — inline SVG, no masking needed */
.bh-shield {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 452px;
  z-index: 3;
  filter: drop-shadow(0 16px 32px rgba(0,90,176,.2));
}
@media (max-width: 1100px) {
  .bh-shield { width: 340px; height: 366px; left: 35%; }
}
@media (max-width: 800px) {
  .bh-shield {
    position: relative;
    left: 50%;
    top: -120px;
    transform: translate(-50%, 0);
    width: 240px; height: 258px;
    margin-bottom: -100px;
  }
}

/* Text block on the cyan side */
.bh-text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 50%;
  padding: 0 56px 0 24px;
  z-index: 3;
  color: var(--ink);
}
.bh-headline {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}
.bh-headline .line1 {
  display: block;
  color: var(--blue);
  font-size: clamp(48px, 7.2vw, 108px);
}
.bh-headline .line2 {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 40px);
  margin-top: 6px;
}
.bh-heart {
  margin: 32px 0 36px;
  color: var(--ink);
  width: 44px; height: 44px;
  display: block;
}
.bh-brandmark {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bh-brandmark img {
  height: 64px;
}
.bh-brandmark .agent-tag {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-left: 2px solid var(--ink);
  padding-left: 14px;
  line-height: 1.3;
}
.bh-brandmark .agent-tag small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 1100px) {
  .bh-text { padding-right: 36px; }
  .bh-brandmark img { height: 48px; }
}
@media (max-width: 800px) {
  .bh-text {
    position: relative;
    top: auto; right: auto;
    transform: none;
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .bh-heart { margin: 20px auto 22px; }
  .bh-brandmark { justify-content: center; }
}

/* === Randy Intro section (sits below brand hero) === */
.randy-intro {
  padding: 64px 0 48px;
  background: #fff;
  position: relative;
}
.randy-intro::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/pattern-arrow-grid-blue.png");
  background-size: 280px;
  opacity: 0.04;
  pointer-events: none;
}
.randy-intro-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.randy-intro-inner .badge-row { justify-content: center; }
.randy-intro-inner .cta-row { justify-content: center; }

/* === Quote section (own section, below intro) === */
.quote-section {
  padding: 80px 0 96px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(0,133,255,.08), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(112,235,255,.18), transparent 60%);
  pointer-events: none;
}
.quote-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) { .quote-grid { grid-template-columns: 1fr; gap: 40px; } }
.quote-copy ul.checks { font-size: 16px; }
.quote-copy ul.checks svg { width: 20px; height: 20px; color: var(--blue); }
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  /* Crop just a hair off top/bottom to tighten composition */
  aspect-ratio: 2500 / 1200;
  object-fit: cover;
  object-position: center;
}
.hero-banner-chip {
  position: absolute;
  top: 22px; left: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-2);
  z-index: 2;
}
.hero-banner-chip .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
}
.hero-banner-chip .chip img { height: 14px; }
@media (max-width: 700px) {
  .hero-banner img { aspect-ratio: 4 / 3; }
  .hero-banner-chip { font-size: 11px; padding: 6px 10px 6px 6px; top: 14px; left: 14px; }
}

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start;
  position: relative; z-index: 1;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.badge.live .dot { background: #e0245e; box-shadow: 0 0 0 4px rgba(224,36,94,.15); }
.badge-buffer {
  background: rgba(0,133,255,.08);
  color: var(--blue-700);
  border-color: rgba(0,133,255,.2);
  font-weight: 700;
}
.badge-buffer img { height: 16px; }

/* === Quote card (hero right) === */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  padding: 32px;
  position: relative;
}
.quote-card .qc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.quote-card .qc-step { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .1em; text-transform: uppercase; }
.quote-card h3 { font-family: var(--display); font-weight: 900; font-size: 28px; margin: 0 0 6px; letter-spacing: -.01em; }
.quote-card p.note { color: var(--ink-3); font-size: 14px; margin: 0 0 20px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: var(--body); font-size: 12px; font-weight: 600;
  color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em;
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
/* Date inputs carry a wide native min-width; tame it so it matches siblings */
.field input[type="date"] { -webkit-appearance: none; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,133,255,.15);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.qc-footer { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--ink-3); font-size: 12.5px; }
.qc-footer .lock { width: 14px; height: 14px; }

/* Quote-card assurance + disclosures */
.qc-assure { margin-top: 14px; }
.qc-assure-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.qc-assure-row svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1.5px; }
.qc-assure-row.primary { color: var(--ink-2); font-weight: 600; }
.qc-assure-row.primary svg { color: #1f9d6b; width: 15px; height: 15px; }
.qc-assure-row + .qc-assure-row { margin-top: 6px; }
.qc-fineprint {
  margin: 11px 0 0; padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.5; color: var(--ink-3);
}
.qc-assure.js-anim { opacity: 0; transform: translateY(8px); }
.qc-assure.js-anim.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) {
  .qc-assure.js-anim { opacity: 1; transform: none; }
}

/* trust strip */
.trust {
  background: var(--ink);
  color: #fff;
}
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.86);
}
.trust-item svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--cyan); }

/* === Section heads === */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 720px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }

/* === Products === */
.products { background: var(--bg-2); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(0,133,255,.4); }
.product-card .pc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(0,133,255,.10); display: grid; place-items: center;
  margin-bottom: 20px;
}
.product-card .pc-icon img { width: 28px; }
.product-card h3 { margin: 0 0 10px; }
.product-card .pc-desc { color: var(--ink-2); margin: 0 0 18px; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.product-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.product-card ul li svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.product-card .pc-link { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.product-card .pc-link:hover { gap: 10px; }

/* product extras row */
.product-extras {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px;
}
@media (max-width: 800px) { .product-extras { grid-template-columns: repeat(2, 1fr); } }
.extra-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.extra-pill svg { color: var(--blue); width: 16px; height: 16px; flex: 0 0 auto; }
.extra-pill img { width: 16px; height: 16px; flex: 0 0 auto; object-fit: contain; }

/* === About === */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Shield-framed photo per brand guidelines */
.shield-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.1;
  justify-self: center;
}
.shield-frame .blocks {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: 55% 45%;
  border-radius: 24px; overflow: hidden;
  z-index: 0;
}
.shield-frame .blocks .b1 { background: var(--blue); }
.shield-frame .blocks .b2 { background: var(--cyan); }
.shield-frame .photo-shield {
  position: absolute;
  left: 50%; top: 50%;
  width: 84%; height: 90%;
  transform: translate(-50%, -50%);
  background-image: url("../assets/randy-headshot.jpg");
  background-size: cover;
  background-position: center 18%;
  border-radius: 20px;
  box-shadow: 0 24px 48px -16px rgba(0,90,176,.4), 0 8px 16px rgba(20,30,40,.12);
  z-index: 1;
}
.shield-frame .accent {
  position: absolute; width: 90px; height: 90px; opacity: .9;
  z-index: 0;
}
.shield-frame .accent.tl { top: -22px; left: -22px; }
.shield-frame .accent.br { bottom: -22px; right: -22px; }
.shield-frame .tag {
  position: absolute; bottom: 16px; left: 16px;
  background: #fff;
  color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 13px;
  padding: 8px 14px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-2);
  z-index: 2;
}
.shield-frame .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Video embed */
.video-card {
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  background: #000;
  aspect-ratio: 16/9;
  position: relative;
}
.video-card .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,133,255,.85), rgba(0,90,176,.95));
  color: #fff; cursor: pointer;
}
.video-card .play .circle {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18);
  border: 2px solid #fff; display: grid; place-items: center;
}
.video-card .play .triangle {
  width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-card .play .label {
  position: absolute; bottom: 18px; left: 20px;
  font-family: var(--display); font-weight: 800; font-size: 16px;
}
.video-card .play .sub {
  position: absolute; bottom: 18px; right: 20px;
  font-size: 13px; opacity: .85;
}

/* === Webinar === */
.webinar {
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
.webinar::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/pattern-arrow-grid-blue.png");
  background-size: 220px; opacity: .07; pointer-events: none;
}
.webinar h2, .webinar .eyebrow { color: #fff; }
.webinar .eyebrow { color: var(--cyan); }
.webinar .lede { color: rgba(255,255,255,.78); }
.webinar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .webinar-grid { grid-template-columns: 1fr; gap: 40px; } }
.webinar-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-3);
}
.webinar-card h3 { margin: 0 0 6px; }
.webinar-when {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--display); font-weight: 900;
  margin: 16px 0 20px;
}
.webinar-when .day { font-size: 40px; color: var(--blue); letter-spacing: -.02em; }
.webinar-when .time { font-size: 22px; color: var(--ink); }
.webinar-when .tz { font-size: 14px; color: var(--ink-3); font-weight: 600; }

.topics {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }
.topic {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.topic .when { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .1em; color: var(--cyan); text-transform: uppercase; }
.topic .what { font-weight: 600; color: #fff; line-height: 1.35; font-size: 14.5px; }

/* === Newsletter band === */
.newsletter {
  background: linear-gradient(135deg, var(--blue) 0%, #006fd6 100%);
  color: #fff;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/pattern-arrow-grid-blue.png");
  background-size: 220px; opacity: .08; pointer-events: none;
}
.newsletter-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; } }
.newsletter h2 { color: #fff; }
.newsletter .lede { color: rgba(255,255,255,.92); }
.newsletter-form {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  border-radius: var(--r-xl);
  padding: 28px;
}
.newsletter-form .field input {
  background: rgba(255,255,255,.95);
  color: var(--ink);
  border-color: transparent;
}
.newsletter-form .field label { color: rgba(255,255,255,.9); }
.newsletter-form .checks { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; color: rgba(255,255,255,.9); font-size: 14px; }
.newsletter-form .checks li { display: flex; gap: 8px; align-items: center; }
.newsletter-form .checks svg { width: 16px; height: 16px; color: var(--cyan); }

/* === Appointment === */
.appt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .appt-grid { grid-template-columns: 1fr; gap: 40px; } }
.appt-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-2);
}
.appt-info-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.appt-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.appt-info-list .ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,133,255,.1); color: var(--blue);
  display: grid; place-items: center; flex: 0 0 auto;
}
.appt-info-list .ico svg { width: 20px; height: 20px; }
.appt-info-list .ttl { font-weight: 700; color: var(--ink); }
.appt-info-list .sub { color: var(--ink-2); font-size: 14px; }

/* === FAQ === */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 800px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 28px; height: 28px; flex: 0 0 auto;
  border-radius: 50%; background: rgba(0,133,255,.1); color: var(--blue);
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  transition: transform .2s, background .2s, color .2s;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-item .answer { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

/* === Compliance + Footer === */
.compliance-band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.compliance-band p {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin: 0;
  max-width: 1080px;
}
.compliance-band strong { color: var(--ink-2); }

.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand .agent-name { color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; }
.footer-brand p { font-size: 14px; margin: 8px 0 16px; max-width: 36ch; }
.footer-col h5 { color: #fff; font-family: var(--display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* tiny utility */
.kicker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Buffer affiliation badge in hero */
.affil {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.affil .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 12px;
  padding: 4px 10px; border-radius: 999px;
}
.affil .chip img { height: 14px; }

/* CTA pair */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* === Italic accent in display headlines (Buffer voice pattern) === */
.h-display em, .h-display i, .accent-italic {
  font-style: italic;
  font-weight: 900;
  color: var(--blue);
}
.webinar .h-display em, .newsletter .h-display em { color: var(--cyan); }

/* === Buffer geometric icon — colored square with rounded corners === */
.bf-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  flex: 0 0 auto;
}
.bf-icon svg { width: 36px; height: 36px; }
.bf-icon.blue   { background: var(--blue); color: #fff; }
.bf-icon.orange { background: var(--orange); color: #fff; }
.bf-icon.cyan   { background: var(--cyan); color: var(--ink); }
.bf-icon.green  { background: var(--green); color: var(--ink); }
.bf-icon.yellow { background: var(--yellow); color: var(--ink); }

/* === Three pillars (Inspire · Connect · Protect) === */
.pillars { background: #fff; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  background: var(--bg-2);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  border: 1px solid transparent;
  transition: border-color .2s, transform .2s;
}
.pillar:hover { border-color: rgba(0,133,255,.25); transform: translateY(-2px); }
.pillar .pnum {
  font-family: var(--display); font-weight: 800;
  font-size: 13px; letter-spacing: .14em;
  color: var(--blue); text-transform: uppercase;
}
.pillar h3 {
  font-family: var(--display); font-weight: 900;
  font-size: 24px; line-height: 1.15; letter-spacing: -.01em;
  margin: 0; color: var(--ink);
}
.pillar h3 em { font-style: italic; color: var(--blue); font-weight: 900; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* === 3-step "path to peace of mind" === */
.path-section { background: var(--bg-2); }
.path-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative;
}
@media (max-width: 900px) { .path-grid { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.step .step-num {
  font-family: var(--display); font-weight: 900;
  font-size: 64px; line-height: 1; letter-spacing: -.03em;
  color: var(--blue);
}
.step h3 {
  font-family: var(--display); font-weight: 900;
  font-size: 22px; line-height: 1.15; margin: 0;
  color: var(--ink);
}
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.step .step-arrow {
  display: none;
}
@media (min-width: 901px) {
  .step .step-arrow {
    display: grid; place-items: center;
    position: absolute; top: 56px; right: -22px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--blue); color: #fff;
    z-index: 2; box-shadow: 0 6px 14px -4px rgba(0,133,255,.5);
  }
  .step:last-child .step-arrow { display: none; }
}

/* === Free Tools === */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: 1fr; } }
.tool {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(0,133,255,.4); }
.tool h3 {
  font-family: var(--display); font-weight: 900;
  font-size: 22px; line-height: 1.15; margin: 0; color: var(--ink);
}
.tool p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.tool .tool-link {
  margin-top: auto; font-family: var(--display); font-weight: 800;
  font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
}
.tool .tool-link:hover { gap: 10px; }

/* Testimonial pull-quote */
.pullquote {
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl);
  padding: 48px;
  margin-top: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 700px) { .pullquote { grid-template-columns: 1fr; padding: 32px; gap: 20px; } }
.pullquote::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../assets/pattern-arrow-grid-blue.png");
  background-size: 200px; opacity: .06; pointer-events: none;
}
.pullquote .stars {
  font-size: 22px; letter-spacing: 4px; color: var(--yellow);
  display: flex; align-items: center; gap: 2px;
  position: relative; z-index: 1;
}
.pullquote .quote-body {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.35;
  letter-spacing: -.01em; color: #fff;
  position: relative; z-index: 1;
}
.pullquote .quote-body em { font-style: italic; color: var(--cyan); font-weight: 800; }
.pullquote .attribution {
  margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7);
  position: relative; z-index: 1;
}
.pullquote .attribution strong { color: #fff; font-weight: 700; }

/* Updated section-head — center option */
.section-head.center { max-width: 800px; }

/* === Mobile fixes — hero & quote tool centering / overflow ===
   Compliance feedback: on small screens the hero h1 was clipping on the
   right and the quote card sat off-center. These rules contain the hero
   content to the viewport and re-center the quote tool. */
@media (max-width: 700px) {
  /* Hero column: never let descendants push past the viewport */
  .hero { overflow-x: clip; }
  .hero > .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-grid { min-width: 0; }
  .hero-grid > * { min-width: 0; max-width: 100%; }

  /* Headline: ramp down + keep whole words intact (no mid-word hyphenation) */
  .hero h1.h1,
  .hero .h-display.h1 {
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
  }
  /* The forced <br> can push the second line past the edge — let it wrap */
  .hero h1 br { display: none; }

  .hero .lede { font-size: 16px; line-height: 1.5; }

  /* Badges & CTAs: wrap cleanly within the viewport */
  .hero .badge-row { gap: 6px; }
  .hero .badge { font-size: 12px; padding: 5px 10px; }
  .hero .cta-row { flex-wrap: wrap; gap: 10px; }
  .hero .cta-row .btn { flex: 1 1 100%; justify-content: center; }

  /* Quote card: re-center, contain padding, stop the qc-head from blowing out */
  .quote-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 22px;
    box-sizing: border-box;
  }
  .quote-card .qc-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quote-card h3 { font-size: 22px; }
  .quote-card .field input,
  .quote-card .field select { font-size: 16px; } /* keep ≥16px to stop iOS zoom */
}

/* Extra-narrow phones (≤ ~360px): tighten further so nothing clips */
@media (max-width: 380px) {
  .hero > .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1.h1,
  .hero .h-display.h1 { font-size: 26px; }
  .quote-card { padding: 18px; }
}

/* ============================================================
   Option A — full-bleed couple banner hero
   ============================================================ */
.hero.hero-banner-full {
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #006fd6;                /* fallback while image loads */
  background-image: url("../assets/hero-couple-banner.png");
  background-size: cover;
  background-position: center bottom; /* keep the couple (lower-right) in frame */
  background-repeat: no-repeat;
}
/* Replace the plus-pattern with a left→right legibility scrim */
.hero.hero-banner-full::before {
  background-image: linear-gradient(90deg,
    rgba(0,90,176,.62) 0%,
    rgba(0,90,176,.30) 38%,
    rgba(0,90,176,0) 60%);
  background-size: auto;
  z-index: 1;
}
.hero.hero-banner-full > .wrap { z-index: 2; }

.hero-banner-inner { width: 100%; }
.hero-banner-copy {
  max-width: 600px;
  padding: 64px 0;
  color: #fff;
}
.hero-banner-copy h1.h1,
.hero-banner-copy .h-display.h1 { color: #fff; }
.hero-banner-copy h1 em { color: var(--yellow); }
.hero-banner-lede { color: rgba(255,255,255,.95) !important; }
.hero-banner-lede strong { color: #fff !important; }

/* Affiliation chip on the banner — glassy, white text */
.affil-onhero {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.40);
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

/* Banner CTA buttons */
.btn-banner-white {
  background: #fff; color: var(--blue-700); border: none;
}
.btn-banner-white:hover { background: #f0f6ff; color: var(--blue-700); }
.btn-banner-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-banner-ghost:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }

/* ===== Quote band (relocated SimplyEnroll form) ===== */
.quote-band {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(0,133,255,.07), transparent 60%),
    var(--bg-2);
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.quote-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.quote-band-intro { max-width: 520px; }
.quote-band-intro h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }

/* Tablet / mobile */
@media (max-width: 1000px) {
  .quote-band-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .quote-band-intro { max-width: 100%; min-width: 0; }
  .quote-band-intro .cta-row { flex-wrap: wrap; }
  .quote-band-intro .cta-row .btn {
    flex: 1 1 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .quote-band .quote-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
/* Phones: center the intro copy above the quote tool */
@media (max-width: 760px) {
  .quote-band-intro { text-align: center; margin: 0 auto; }
  .quote-band-intro .eyebrow { display: inline-block; }
}
@media (max-width: 820px) {
  .hero.hero-banner-full {
    min-height: 0;
    background-position: right bottom;
    align-items: flex-start;
  }
  /* On phones, lay the copy over a stronger top-down scrim and let the
     couple sit beneath it so they stay visible at the bottom edge. */
  .hero.hero-banner-full::before {
    background-image: linear-gradient(180deg,
      rgba(0,90,176,.86) 0%,
      rgba(0,90,176,.62) 42%,
      rgba(0,90,176,.18) 72%,
      rgba(0,90,176,0) 100%);
  }
  .hero-banner-copy { padding: 40px 0 230px; max-width: 100%; }
  .hero-banner-copy h1.h1,
  .hero-banner-copy .h-display.h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .hero-banner-copy h1 br { display: none; }
  .hero-banner-badges { display: none; }   /* keep the phone hero tidy */
}
@media (max-width: 480px) {
  .hero-banner-copy { padding-bottom: 190px; }
}

/* ============================================================
   Green client CTA banner (lead-in to Schedule)
   ============================================================ */
.cta-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #2fe3a4;                 /* fallback while image loads */
  background-image: url("../assets/client-shield-banner.png");
  background-size: cover;
  background-position: left bottom;    /* keep the client (lower-left) in frame */
  background-repeat: no-repeat;
}
/* Light scrim on the right so the dark copy pops over the arrow pattern */
.cta-banner::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(270deg,
    rgba(255,255,255,.58) 0%,
    rgba(255,255,255,.20) 42%,
    rgba(255,255,255,0) 64%);
}
.cta-banner-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; justify-content: flex-end;
}
.cta-banner-copy { max-width: 540px; padding: 60px 0; }
.cta-banner-copy h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08; letter-spacing: -.02em;
  margin: 14px 0 0;
}
.cta-banner-copy h2 em { font-style: normal; color: var(--blue-700); }
.cta-banner-copy p {
  color: var(--ink-2); font-size: 17px; line-height: 1.55;
  margin: 16px 0 26px; max-width: 480px;
}
.cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.9);
  color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px;
}
.cta-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

@media (max-width: 820px) {
  .cta-banner {
    min-height: 0;
    align-items: flex-start;
    background-position: left bottom;
  }
  .cta-banner::before {
    background: linear-gradient(180deg,
      rgba(255,255,255,.78) 0%,
      rgba(255,255,255,.40) 46%,
      rgba(255,255,255,0) 80%);
  }
  .cta-banner-inner { justify-content: flex-start; }
  .cta-banner-copy { max-width: 100%; padding: 38px 0 260px; }
  .cta-banner-copy h2 { font-size: clamp(26px, 7.5vw, 34px); }
}
@media (max-width: 480px) {
  .cta-banner-copy { padding-bottom: 210px; }
}
