:root{
  --blue:#0070F8; --blue-hover:#005CD6; --blue-quiet:#EBF3FE;
  --ink:#141414; --body:#4A4744; --muted:#8A8781;
  --bg:#FFFFFF; --surface:#F7F6F4; --border:#E6E4E1;
  --green:#16A34A;
  --gutter:20px; --maxw:1120px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--body);
  font-family:"DM Sans",system-ui,-apple-system,sans-serif;
  font-size:17px; line-height:1.55; font-weight:400;
  overflow-x:hidden;
}
img{max-width:100%; display:block}
h1,h2,h3{color:var(--ink); margin:0; font-weight:800}
h1{font-size:34px; line-height:1.05; letter-spacing:-.03em}
h2{font-size:26px; line-height:1.10; letter-spacing:-.02em}
h3{font-size:20px; line-height:1.20; letter-spacing:-.01em; font-weight:700}
p{margin:0}

.wrap{max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter)}
.band{background:var(--surface)}
section{padding-block:48px}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid var(--border); background:var(--bg)}
.site-header .wrap{display:flex; align-items:center; padding-block:16px}
.logo{width:150px; height:auto}

/* ---------- hero ---------- */
.hero{padding-top:32px; padding-bottom:40px; text-align:center}
.eyebrow{
  font-size:14px; font-weight:500; line-height:1.4;
  color:var(--muted); letter-spacing:.01em; margin-bottom:12px;
}
.hero h1{max-width:840px; margin:0 auto}
h1 em{font-style:normal; color:var(--blue)}
h1 u{
  text-decoration:none; position:relative; white-space:nowrap;
}
h1 u::after{
  content:""; position:absolute; left:0; right:0; bottom:.02em;
  height:.09em; border-radius:2px; background:var(--blue);
}
.hero .video{margin-top:20px}
.hero .btn{margin-top:20px}
.hero .micro{margin-top:12px}

/* ---------- video ---------- */
.video{
  position:relative; width:100%; padding-top:56.25%;
  border:1px solid var(--border); border-radius:12px;
  overflow:hidden; background:#000;
}
.video iframe{position:absolute; inset:0; width:100%; height:100%; border:0}

/* ---------- button ---------- */
.btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; max-width:440px; margin-inline:auto;
  min-height:60px; padding:19px 34px;
  background:var(--blue); color:#fff;
  font:800 17px/1 "DM Sans",system-ui,sans-serif;
  letter-spacing:-.01em;
  text-decoration:none; border-radius:12px;
  box-shadow:0 1px 2px rgba(0,60,140,.20), 0 6px 16px -4px rgba(0,112,248,.45);
  transition:background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover{
  background:var(--blue-hover); transform:translateY(-1px);
  box-shadow:0 2px 4px rgba(0,60,140,.22), 0 10px 24px -6px rgba(0,112,248,.5);
}
.btn:active{transform:translateY(0)}
.btn svg{width:18px; height:18px; fill:none; stroke:#fff; stroke-width:2.5;
  stroke-linecap:round; stroke-linejoin:round; flex:none;
  transition:transform 150ms ease}
.btn:hover svg{transform:translateX(3px)}
.proof{margin-top:22px; display:flex; flex-direction:column; align-items:center; gap:8px}
.stars{display:flex; gap:3px}
.stars svg{width:17px; height:17px; fill:#16A34A}
.proof-text{font-size:14px; font-weight:500; color:var(--muted)}
.micro{font-size:14px; font-weight:500; line-height:1.4; color:var(--muted)}

/* ---------- case studies ---------- */
.section-head{text-align:center; max-width:720px; margin:0 auto 32px}
.section-sub{margin-top:12px; font-size:17px; line-height:1.55; color:var(--body)}
.grid{display:grid; grid-template-columns:1fr; gap:16px}
.card{
  background:var(--bg); border:1px solid var(--border);
  border-radius:12px; overflow:hidden; text-decoration:none;
  display:block; transition:border-color 150ms ease;
}
.card:hover{border-color:var(--blue)}
.card .thumb{position:relative; aspect-ratio:16/9; background:#000}
.card .thumb img{width:100%; height:100%; object-fit:cover}
.card .play{
  position:absolute; inset:0; display:grid; place-items:center;
}
.card .play span{
  width:56px; height:56px; border-radius:50%;
  background:rgba(0,0,0,.65); display:grid; place-items:center;
}
.card .play svg{width:20px; height:20px; margin-left:3px; fill:#fff}
.card h3{padding:16px; font-size:17px; line-height:1.35}

/* ---------- cta band ---------- */
.cta-band{text-align:center}
.cta-band h2{margin-bottom:20px}

/* ---------- footer ---------- */
.site-footer{background:var(--surface); border-top:1px solid var(--border); padding-block:32px; text-align:center}
.site-footer .flogo{width:120px; margin:0 auto 16px}
.site-footer p{font-size:14px; color:var(--muted); line-height:1.6}
.site-footer a{color:var(--muted)}
.site-footer nav{margin-top:8px; font-size:14px}
.site-footer nav a{color:var(--muted); text-decoration:none; margin:0 6px}
.site-footer nav a:hover{text-decoration:underline}

/* ---------- desktop ---------- */
@media (min-width:768px){
  :root{--gutter:24px}
  section{padding-block:64px}
  h1{font-size:52px}
  h2{font-size:32px}
  h3{font-size:24px}
  body{font-size:18px}
  .hero{padding-top:48px}
  .eyebrow{font-size:15px}
  .btn{width:auto; display:inline-flex}
  .grid{grid-template-columns:repeat(2,1fr); gap:24px}
  .hero .video{max-width:860px; margin-inline:auto}
}
@media (min-width:1024px){
  .grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- application page ---------- */
.form-head{text-align:center; max-width:720px; margin:0 auto 28px}
.form-head h1{font-size:28px}
.tf-wrap{
  max-width:820px; margin:0 auto;
  border:1px solid var(--border); border-radius:12px;
  overflow:hidden; background:var(--bg);
  box-shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 28px -12px rgba(0,0,0,.14);
}
.tf-wrap [data-tf-live]{height:640px}
.tf-wrap [data-tf-live] iframe{height:640px !important; display:block}

/* ---------- thank you page ---------- */
.ty-hero{text-align:center; padding-bottom:8px}
.ty-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue-quiet); color:var(--blue);
  font-size:14px; font-weight:700; padding:8px 16px; border-radius:999px;
  margin-bottom:16px;
}
.ty-badge svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round}
.step{max-width:820px; margin:0 auto; padding-top:32px}
.step + .step{margin-top:40px; padding-top:40px; border-top:1px solid var(--border)}
.step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  background:var(--blue); color:#fff;
  font-size:15px; font-weight:800; margin-bottom:12px;
}
.step h2{font-size:22px; margin-bottom:16px}

@media (min-width:768px){
  .form-head h1{font-size:36px}
  .step h2{font-size:26px}
  .tf-wrap [data-tf-live]{height:680px}
  .tf-wrap [data-tf-live] iframe{height:680px !important}
}

/* ---------- legal pages ---------- */
.legal{max-width:760px; margin:0 auto}
.legal h1{font-size:32px; margin-bottom:8px}
.legal .meta{font-size:14px; color:var(--muted); line-height:1.7; padding-bottom:24px; border-bottom:1px solid var(--border); margin-bottom:28px}
.legal h2{font-size:20px; margin:32px 0 10px}
.legal h2:first-of-type{margin-top:0}
.legal p{margin-bottom:14px}
.legal ul{margin:0 0 14px; padding-left:22px}
.legal li{margin-bottom:7px}
.legal a{color:var(--blue); font-weight:500}
@media (min-width:768px){ .legal h1{font-size:40px} .legal h2{font-size:23px} }

/* ---------- sticky header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  /* No backdrop-filter: on a sticky element it causes the header to detach and
     repaint mid-page on scroll, leaving a blank band. Solid background instead. */
  transform:translateZ(0);
}
.site-header .wrap{justify-content:space-between; gap:12px}
.btn-nav{
  display:inline-flex; align-items:center; gap:7px;
  background:var(--blue); color:#fff; text-decoration:none;
  font:800 14px/1 "DM Sans",system-ui,sans-serif; letter-spacing:-.01em;
  padding:11px 18px; border-radius:100px; white-space:nowrap;
  box-shadow:0 1px 2px rgba(0,60,140,.18), 0 4px 12px -3px rgba(0,112,248,.4);
  transition:background 150ms ease, transform 150ms ease;
}
.btn-nav:hover{background:var(--blue-hover); transform:translateY(-1px)}
.btn-nav svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.75;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- proof badge ---------- */
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue-quiet); border:1px solid rgba(0,112,248,.18);
  color:var(--blue); font-size:13px; font-weight:700; letter-spacing:-.01em;
  padding:7px 15px; border-radius:100px; margin-bottom:14px;
}
.badge svg{width:14px;height:14px;fill:var(--blue);flex:none}

/* ---------- hero subhead (objection killer) ---------- */
.hero-sub{
  max-width:520px; margin:14px auto 0;
  font-size:18px; line-height:1.45; font-weight:500; color:var(--body);
}

/* ---------- dark band ---------- */
.band-dark{background:#0C0D10; color:#C9C7C4}
.band-dark h2,.band-dark h3{color:#fff}
.band-dark .card{background:#15171C; border-color:#24262E}
.band-dark .card:hover{border-color:var(--blue)}
.band-dark .section-sub{color:#9C9A97}

/* ---------- case study card: name + result line ---------- */
.card .who{
  padding:0 16px 16px; margin-top:-6px;
  font-size:14px; font-weight:600; color:var(--muted);
  display:flex; align-items:center; gap:6px;
}
.card .who b{color:var(--blue); font-weight:800}
.band-dark .card .who{color:#8E8C89}

@media (min-width:768px){
  .hero-sub{font-size:20px}
  .badge{font-size:14px}
  .btn-nav{font-size:15px; padding:12px 22px}
}

/* ---------- booking page ---------- */
.cal-wrap{
  max-width:900px; margin:0 auto;
  border:1px solid var(--border); border-radius:12px; overflow:hidden;
  background:var(--bg);
  box-shadow:0 1px 2px rgba(0,0,0,.04), 0 8px 28px -12px rgba(0,0,0,.14);
}
.form-head .badge{margin-bottom:16px}
.form-head .hero-sub{margin-top:10px}
/* height is set dynamically from Calendly's page_height events (see book.html) */
