/* Layout: centered dark funnel in a 1120px column, one orange accent; cards only where content is a set */
/* Headline font is self-hosted (no requests to Google): Archivo, SIL Open Font License, trimmed to the characters used. Body text uses the device's own font. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 700 800; font-stretch: 112%; font-style: normal; font-display: swap; }
:root {
  --bg: #0f1115;
  --surface: #151820;
  --surface-2: #1c2029;
  --line: #2a2f3a;
  --fg: #eef0f3;
  --muted: #9ba2ae;
  --accent: #f96400;
  --accent-2: #ffb26b;
  --accent-ink: #1b0d02;
  --accent-soft: rgba(249, 100, 0, 0.12);
  --neutral-soft: rgba(255, 255, 255, 0.06);
  --toast-bg: #f5f6f8;
  --toast-fg: #14161b;
  --toast-muted: #5b6170;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
main { overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(15, 17, 21, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.logo { display: flex; align-items: center; flex: none; color: var(--accent); text-decoration: none; border-radius: 6px; }
.logo svg { display: block; width: 169px; height: 34px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--fg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  padding: 15px 26px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--accent); }
.btn-primary .arrow { transition: transform .2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Type */
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 7vw, 80px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.eyebrow {
  display: inline-block; justify-self: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(249,100,0,.3);
  padding: 7px 14px; border-radius: 999px;
}
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 62ch; }
.fine { font-size: 13px; color: var(--muted); }
.mark {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: draw .9s .5s cubic-bezier(.2,.8,.2,1) both;
}

/* Sections */
section { padding-block: clamp(64px, 9vw, 110px); }
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; margin-bottom: 48px; }
.section-head .lead { margin: 0 auto; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding-block: clamp(64px, 10vw, 120px) clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(249,100,0,.16), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; gap: 28px; justify-items: center; text-align: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks svg { flex: none; margin-top: 4px; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 720px; margin-top: 12px; }
.stat { padding: 18px 12px 0; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-stretch: 112%; font-size: clamp(28px, 4vw, 38px); color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }
.built-for { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 920px; padding-top: 8px; }
.built-for .label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-right: 4px; }
.chip { font-size: 14px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--neutral-soft); color: var(--fg); white-space: nowrap; }

/* Load sequence (resting state is visible) */
.rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; } .d5 { animation-delay: .4s; } .d6 { animation-delay: .48s; }

/* Scroll reveal: only where the browser supports it; content is never hidden otherwise */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear forwards; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .toast { animation: toastIn linear forwards; animation-timeline: view(); animation-range: entry 10% entry 100%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { background-size: 0% .1em; } to { background-size: 100% .1em; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249,100,0,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(249,100,0,0); } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(249,100,0,.45); }
.card p { color: var(--muted); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent);
}
.pain .icon { background: var(--neutral-soft); color: var(--fg); }

/* What we do: copy + phone mock */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split-copy .eyebrow { justify-self: start; }
.split-copy h2 { font-size: clamp(30px, 3.4vw, 40px); }
.line { display: block; }
.svc-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.svc-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 18px; border-top: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list h3 { font-size: 19px; }
.svc-list p { color: var(--muted); font-size: 16px; margin-top: 4px; }

.phone-stage { position: relative; order: -1; justify-self: start; width: min(310px, 100%); }
.phone {
  background: #0a0c0f; border: 1px solid #303644; border-radius: 42px; padding: 10px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 6px #12151b;
}
.screen { background: var(--surface-2); border-radius: 33px; overflow: hidden; }
.notch { display: flex; justify-content: center; padding-top: 10px; }
.notch i { display: block; width: 84px; height: 22px; border-radius: 12px; background: #0a0c0f; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 12px/1 var(--display); }
.post-head b { display: block; font-size: 13px; line-height: 1.25; }
.post-head small { display: block; font-size: 11px; color: var(--muted); line-height: 1.25; }
.post-head .dots { margin-left: auto; color: var(--muted); letter-spacing: 2px; font-weight: 700; }
.creative {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; align-content: end; gap: 6px; padding: 22px 20px;
  background:
    radial-gradient(120% 80% at 90% 5%, rgba(249,100,0,.5), transparent 60%),
    linear-gradient(160deg, #272c37 0%, #101318 72%);
}
.creative .kb { position: absolute; top: 10px; right: 4%; width: 62%; }
.creative .kicker { position: relative; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent-2); }
.creative .big { position: relative; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 50px; line-height: .9; letter-spacing: -.02em; color: #fff; }
.creative .sub { position: relative; font-size: 14px; color: #cfd4dc; }
.post-cta { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px 18px; font-size: 13px; font-weight: 700; border-top: 1px solid var(--line); }
.post-cta span:last-child { color: var(--accent); }
.toasts { position: absolute; left: 228px; top: 96px; width: 240px; display: grid; gap: 10px; }
.toast {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: var(--toast-bg); color: var(--toast-fg);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.75);
}
.t-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.toast:first-child .t-icon { animation: pulse 2.4s 1s infinite; }
.toast b { display: block; font-size: 13.5px; line-height: 1.25; }
.toast small { display: block; font-size: 12px; line-height: 1.3; color: var(--toast-muted); }
.mock-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 16px; }

/* Steps */
.step-num { display: flex; align-items: center; gap: 14px; }
.step-num .icon { border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.step-num span { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 44px; line-height: 1; color: rgba(249,100,0,.3); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { color: var(--accent); flex: none; }
.center { text-align: center; display: grid; gap: 12px; justify-items: center; margin-top: 44px; }

/* Results report */
.report { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.report-head b { font-family: var(--display); font-stretch: 112%; font-size: 19px; }
.tag { font-size: 13px; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow > div { padding: 28px; border-right: 1px solid var(--line); min-width: 0; }
.flow > div:last-child { border-right: 0; background: var(--accent-soft); }
.flow small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.flow strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin-top: 6px; font-variant-numeric: tabular-nums; }
.flow > div:last-child strong { color: var(--accent); }
.flow span { font-size: 14px; color: var(--muted); }
.report-foot { padding: 18px 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.exp { margin-top: 28px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.exp-note { font-size: 15px; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; color: var(--muted); }

/* Final CTA */
.final .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.final-copy { display: grid; gap: 20px; justify-items: start; }
.contact { display: grid; gap: 18px; }
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-row b { display: block; line-height: 1.3; }
.contact-row span { color: var(--muted); font-size: 15px; }
.contact-row a { color: var(--muted); font-size: 15px; }
.contact-row a:hover { color: var(--fg); }
.wrap-any { overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* Booking page */
.book-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.book-copy { display: grid; gap: 22px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.calendly-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 700px; }
.calendly-inline-widget { min-width: 280px; height: 700px; }
.cal-fallback { height: 700px; display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); }
.cal-fallback .icon { margin: 0 auto; width: 60px; height: 60px; }
.progress { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.progress i { display: block; height: 4px; width: 40px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--accent); }

/* Thank-you page */
.thanks { text-align: center; display: grid; gap: 24px; justify-items: center; }
.badge-ok {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); animation: pop .6s cubic-bezier(.2,1.4,.4,1) both;
}
.when { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; }
.next { text-align: left; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Cookie banner (only shown when a Meta Pixel ID is set) */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--surface-2); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -20px 40px -20px rgba(0,0,0,.6);
  animation: rise .4s ease both;
}
.cookie-inner {
  max-width: 1120px; margin: 0 auto; padding-block: 14px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.cookie-inner p { font-size: 15px; color: var(--muted); max-width: 70ch; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-width: 112px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .final .wrap, .book-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .phone-stage { order: 0; justify-self: center; }
  .toasts { left: auto; right: -8px; width: 214px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow > div:nth-child(2) { border-right: 0; }
  .flow > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .book-copy { position: static; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 360px; }
  .stat { padding: 14px 0; }
  .cta-row { width: 100%; }
  .cta-row .btn { width: 100%; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow > div:last-child { border-bottom: 0; }
  .card, .report-head, .flow > div, .report-foot { padding-left: 22px; padding-right: 22px; }
  .creative .big { font-size: 44px; }
}
@media (max-width: 400px) {
  .site-header .wrap { gap: 12px; }
  .logo svg { width: 139px; height: 28px; }
  .toasts { width: 200px; gap: 8px; }
  .toast { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}