/* Fonts are hosted with the site (SIL Open Font License, see assets/fonts). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/assets/fonts/Syne-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* FOCAL site styles. Mobile first: base rules are for phones, wider screens are added below. */

:root {
  --bg: #FFFFFF;
  --alt: #F4F6FA;
  --card: #FFFFFF;
  --line: #E3E7EE;
  --text: #12151B;
  --muted: #535B6A;
  --accent: #2459E6;
  --highlight: #DCE7FF;
  --band: #E4ECFF;
  --band-muted: #3E4A63;
  --band-icon: #FFFFFF;
  --featured-bg: #F5F8FF;
  --cta-bg: #2459E6;
  --ring: #2459E6;
  --mark-centre: #1A3FA8;
  --shadow: 0 12px 32px rgba(18, 21, 27, 0.08);
  --ring-opacity: 0.14;
  --glow: rgba(47, 107, 240, 0.14);
  --glow-mid: rgba(47, 107, 240, 0.04);
  --alt-a: var(--alt);
  --glow-spot: rgba(47, 107, 240, 0.16);
  --header-bg: rgba(255, 255, 255, 0.6);
  --blue: #2F6BF0;
  --on-blue: #FFFFFF;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --max: 1160px;
  --gutter: 20px;
  --section: 64px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --display: "Syne", "Geist", sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0C0F15;
  --alt: #11141B;
  --card: #181C24;
  --line: #2A303B;
  --text: #F2F3F5;
  --muted: #B3B9C4;
  --accent: #8FB8FF;
  --highlight: #1E3A78;
  --band: #16264A;
  --band-muted: #B9C8EA;
  --band-icon: #1E3A78;
  --featured-bg: #182440;
  --cta-bg: #1D47B8;
  --ring: #8FB8FF;
  --mark-centre: #2F6BF0;
  --shadow: none;
  --ring-opacity: 0.12;
  --glow: rgba(47, 107, 240, 0.32);
  --glow-mid: rgba(20, 28, 45, 0.12);
  --alt-a: var(--alt);
  --glow-spot: rgba(47, 107, 240, 0.32);
  --header-bg: rgba(12, 15, 21, 0.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--blue); color: var(--on-blue); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; background: transparent; }
.section.alt { background: var(--alt-a); }
.section.band { background: var(--band); padding: 40px 0; }

.h1 { font-family: var(--display); font-size: 27px; line-height: 1.14; font-weight: 800; letter-spacing: -0.005em; text-transform: uppercase; }
.h1-page { font-family: var(--display); font-size: clamp(20px, 6.2vw, 25px); line-height: 1.16; font-weight: 800; letter-spacing: -0.005em; text-transform: uppercase; }
.h2 { font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; }
.h3 { font-size: 19px; line-height: 1.3; font-weight: 600; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); }
.intro { margin-top: 12px; margin-bottom: 32px; max-width: 600px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 18px; color: var(--muted); margin-bottom: 16px; }
.mono { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.brand { font-family: var(--display); font-weight: 800; font-size: 0.86em; letter-spacing: 0.02em; color: var(--accent); }
.mark { background: var(--highlight); padding: 0 10px; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 20px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: #2459E6; }
.btn-ghost { border-color: var(--line); background: var(--bg); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.link { color: var(--accent); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 30px; height: 30px; }
.logo .r { fill: none; stroke: var(--ring); stroke-linecap: round; }
.logo .c { fill: var(--mark-centre); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-primary { display: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--muted); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-menu { display: none; }
.mobile-menu { display: none; }
.menu-open .mobile-menu {
  display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: 69px; bottom: 0;
  height: calc(100dvh - 69px); overflow-y: auto; background: var(--bg);
  padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}
html.menu-lock, html.menu-lock body { overflow: hidden; }
html.menu-lock .ask { display: none; }
.mobile-menu a:not(.btn) {
  display: block; padding: 14px 4px; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu a[aria-current="page"] { font-weight: 600; }
.mobile-menu .btn { width: 100%; margin-top: auto; flex-shrink: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: transparent; padding: 48px 0 64px; }
.page-head { position: relative; overflow: hidden; background: transparent; padding: 48px 0; }
.rings { position: absolute; pointer-events: none; opacity: var(--ring-opacity); color: var(--ring); }
.hero .rings { width: 560px; height: 560px; right: -260px; top: -220px; }
.page-head .rings { width: 520px; height: 520px; right: -260px; top: -240px; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero .lede { margin-top: 24px; max-width: 540px; }

/* Cards and grids */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
a.card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--accent); }
.card.featured { background: var(--featured-bg); border: 1.5px solid var(--blue); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--highlight); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.icon svg { width: 22px; height: 22px; }
.icon-sm { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.icon-sm svg { width: 20px; height: 20px; }
.card .h3 { margin-top: 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card .strong { color: var(--text); font-weight: 500; font-size: 16px; }
.card .push { margin-top: auto; padding-top: 12px; }
.price { font-size: 20px; font-weight: 700; }
.row-item { display: flex; gap: 16px; align-items: flex-start; }
.row-item .h3 { font-size: 17px; margin: 0; }
.row-item p { margin-top: 4px; }

/* Media panels on service cards */
.media-card { padding: 0; overflow: hidden; gap: 0; }
.media-card .media {
  height: 132px; background: var(--alt); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.media-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.media-card .h3 { margin-top: 0; }
.mini-screen { width: 150px; height: 88px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-dots { display: flex; gap: 4px; }
.mini-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); }
.bar { height: 6px; border-radius: 3px; background: var(--line); }
.bar.title { height: 8px; width: 70%; background: var(--text); opacity: .8; }
.bar.go { height: 14px; width: 50px; border-radius: 4px; background: var(--blue); margin-top: auto; }
.flow { display: flex; align-items: center; }
.flow .node { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.flow .node.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow .node svg { width: 18px; height: 18px; }
.flow .wire { width: 22px; height: 2px; background: var(--blue); }
.chat { width: 160px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.bubble-out { align-self: flex-end; background: var(--blue); color: #fff; padding: 6px 10px; border-radius: 10px 10px 2px 10px; }
.bubble-in { align-self: flex-start; background: var(--card); border: 1px solid var(--line); color: var(--muted); padding: 6px 10px; border-radius: 10px 10px 10px 2px; }
.mini-phone { width: 54px; height: 96px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; }
.mini-phone .shot { height: 30px; border-radius: 6px; background: var(--highlight); }
.mini-phone .bar.go { width: auto; height: 10px; }

/* Review example card */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--accent); background: var(--highlight); padding: 4px 8px; border-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.stat { background: var(--alt); border-radius: var(--radius-sm); padding: 12px; }
.stat { padding: 10px; }
.stat b { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; }
.stat span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.fixes { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fixes li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 15px; }
.fixes .mono { font-size: 13px; }

/* Trust band */
.trust { display: grid; gap: 28px; }
.trust .icon { background: var(--band-icon); }
.trust b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.trust p { margin-top: 6px; color: var(--band-muted); font-size: 15px; }

/* Ready-made systems */
.systems { display: grid; gap: 16px; }
.phone-stage { background: var(--alt); border-radius: var(--radius-lg); padding: 32px 20px; display: flex; align-items: center; justify-content: center; }
.phone { width: 270px; max-width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 14px; box-shadow: var(--shadow); }
.phone-top { display: flex; flex-direction: column; align-items: center; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 17px; background: var(--highlight); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.phone-top span { font-size: 12px; font-weight: 600; margin-top: 6px; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 6px; font-size: 13px; line-height: 1.4; }
.thread .time { align-self: center; font-size: 11px; color: var(--muted); }
.thread .in { align-self: flex-start; max-width: 85%; background: var(--alt); padding: 9px 12px; border-radius: 14px 14px 14px 4px; }
.thread .out { align-self: flex-end; max-width: 85%; background: var(--blue); color: #fff; padding: 9px 12px; border-radius: 14px 14px 4px 14px; }
.thread .action { align-self: flex-start; background: var(--highlight); color: var(--accent); padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.system-price { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.note-band { margin-top: 16px; background: var(--band); border-radius: var(--radius-md); padding: 18px 22px; font-size: 15px; color: var(--band-muted); }
.note-band strong { color: var(--text); }

/* About split + sectors */
.split { display: grid; gap: 40px; align-items: center; }
.split .lede + .lede { margin-top: 16px; }
.split .links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.sectors { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sectors li { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; font-size: 15px; }
.sectors li b { font-size: 20px; color: var(--accent); }
.org { background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.org-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.org-head b { font-size: 20px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 500; font-size: 17px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }

/* Pricing table */
.price-table { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--card); }
.price-row:nth-child(even) { background: var(--alt); }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row b { font-size: 17px; }
.price-row p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price-row .amount { font-weight: 700; font-size: 17px; white-space: nowrap; }
.smaller { display: flex; flex-direction: column; gap: 12px; }
.smaller div { background: var(--alt); border-radius: 12px; padding: 16px 18px; }
.smaller .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.smaller p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.pricing { display: grid; gap: 40px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* Steps timeline */
.steps { position: relative; display: grid; gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 48px; height: 48px; border-radius: 24px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px;
  box-shadow: 0 0 0 6px var(--alt); position: relative; z-index: 1;
}
.step .card { flex-grow: 1; }

/* Founding band */
.founding { display: flex; flex-direction: column; gap: 20px; }
.founding b { font-size: 22px; }
.founding p { margin-top: 8px; color: var(--band-muted); }

/* Closing CTA */
.cta { position: relative; overflow: hidden; background: var(--cta-bg); color: #fff; text-align: center; padding: var(--section) 0; }
.cta .rings { width: 520px; height: 520px; right: -200px; top: -200px; opacity: 0.18; color: #fff; }
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-family: var(--display); font-size: 26px; line-height: 1.14; font-weight: 800; letter-spacing: -0.005em; text-transform: uppercase; }
.cta p { margin-top: 16px; font-size: 18px; color: #DCE6FF; max-width: 540px; }
.cta .btns { justify-content: center; }
.cta .btn-white { background: #fff; color: #1A3FA8; font-weight: 600; }
.cta .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.cta .btn-outline:hover { border-color: #fff; }
.cta .email { margin-top: 20px; color: #DCE6FF; font-size: 15px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: transparent; padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-direction: column; gap: 20px; }
.footer .logo-word { font-size: 16px; color: var(--text); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Tablet */
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founding { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --gutter: 24px; --section: 104px; }
  .h1 { font-size: 46px; }
  .h1-page { font-size: 42px; }
  .h2 { font-size: 40px; }
  .intro { margin-bottom: 48px; }
  .lede { font-size: 19px; }
  .hero { padding: 96px 0 104px; }
  .page-head { padding: 88px 0; }
  .hero .rings { width: 720px; height: 720px; right: -220px; top: -200px; }
  .page-head .rings { width: 620px; height: 620px; right: -200px; top: -220px; }
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
  .nav { min-height: 80px; }
  .logo svg { width: 34px; height: 34px; }
  .logo-word { font-size: 20px; }
  .nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
  .nav-links a { text-decoration: none; color: var(--muted); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
  .nav-links a[aria-current="page"] { font-weight: 600; }
  .nav-actions .btn-primary { display: inline-flex; }
  .menu-toggle, .mobile-menu, .menu-open .mobile-menu { display: none; }
  .nav-right { display: flex; align-items: center; gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { padding: 28px; }
  .systems { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
  .systems .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
  .split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .pricing { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--line); }
  .cta h2 { font-size: 40px; }
  .stat { padding: 12px; }
  .stat b { font-size: 20px; }
  .price-row { padding: 20px 24px; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Ask FOCAL chat */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ask { position: fixed; right: 16px; bottom: 16px; z-index: 60; }
.ask-launch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 14px;
  border-radius: 999px; border: 0; cursor: pointer; background: var(--text); color: var(--bg);
  box-shadow: 0 10px 30px rgba(10, 14, 24, 0.25); font-weight: 600; font-size: 15px;
}
.ask-launch svg { width: 26px; height: 26px; }
.ask-launch .r { fill: none; stroke: var(--bg); stroke-linecap: round; }
.ask-launch .c { fill: #2F6BF0; }
.ask-launch .word { font-family: var(--display); font-weight: 800; letter-spacing: 0.04em; font-size: 14px; }
.ask.is-open .ask-launch { display: none; }
.ask-panel {
  position: fixed; left: 8px; right: 8px; bottom: 8px; height: min(82vh, 640px);
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(10,14,24,.28);
  display: flex; flex-direction: column; overflow: hidden;
}
.ask-panel[hidden] { display: none; }
.ask-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.ask-title { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; }
.ask-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--alt); }
.ask-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ask-msg a { color: inherit; font-weight: 600; }
.from-focal { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.from-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips button {
  border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px;
  padding: 9px 14px; font-size: 14px; cursor: pointer; min-height: 40px;
}
.ask-chips button:hover { border-color: var(--accent); color: var(--accent); }
.ask-typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px 16px; }
.ask-typing i { width: 6px; height: 6px; border-radius: 3px; background: var(--muted); animation: askdot 1s infinite ease-in-out; }
.ask-typing i:nth-child(2) { animation-delay: .15s; }
.ask-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes askdot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--bg); }
.ask-input {
  flex: 1; min-height: 46px; max-height: 120px; resize: none; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 16px; background: var(--card); color: var(--text);
}
.ask-input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.ask-send { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ask-send:disabled { opacity: .5; cursor: default; }
.ask-note { font-size: 12px; color: var(--muted); padding: 0 16px 12px; background: var(--bg); }
.ask-note a { color: var(--accent); }
@media (min-width: 640px) {
  .ask { right: 24px; bottom: 24px; }
  .ask-panel { left: auto; right: 24px; bottom: 24px; width: 400px; }
}
@media (prefers-reduced-motion: reduce) { .ask-typing i { animation: none; } }

/* Lost leads calculator */
.calc-title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.calc-field { margin-top: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.calc-row label { color: var(--muted); }
.calc-row output { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 2px 0 0; cursor: pointer;
  --fill: 10%;
}
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue) var(--fill), var(--line) var(--fill)); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); margin-top: -9px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.calc input[type="range"]:focus-visible { outline: none; }
.calc input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--highlight); outline-offset: 2px; }
.calc-result { margin-top: 14px; background: var(--band); border-radius: 12px; padding: 16px; color: var(--band-muted); }
.calc-big { margin-top: 4px; color: var(--text); }
#calc-month { font-family: var(--font); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-unit { white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--band-muted); }
.calc-year { margin-top: 4px; }
.calc-year span { font-weight: 700; color: var(--text); }
.calc-pitch { margin-top: 14px; font-size: 15px; line-height: 1.5; }
.calc-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.calc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 14px; padding: 4px; background: var(--alt); border-radius: 12px; }
.calc-tabs button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  font-weight: 600; font-size: 15px; cursor: pointer;
}
.calc-tabs button[aria-selected="true"] { background: var(--highlight); color: var(--accent); }
.calc-panel[hidden] { display: none; }
.calc-num { font-family: var(--font); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Calculator pop-up */
.btn svg { flex-shrink: 0; }
.calc-dialog {
  width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; padding: 20px 20px 24px; border: 0;
  border-radius: 20px 20px 0 0; background: var(--bg); color: var(--text); box-shadow: 0 -10px 40px rgba(0,0,0,.25);
  overflow-y: auto;
}
.calc-dialog::backdrop { background: rgba(10, 14, 24, 0.55); }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-title { font-family: var(--font); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-transform: none; }
.calc-help { margin-top: 10px; font-size: 12px; }
@media (min-width: 640px) {
  .calc-dialog { width: 480px; margin: auto; border-radius: 20px; padding: 24px 28px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
}

/* Button rows: stack full width on phones, keep card pairs side by side */
.btns-card { margin-top: auto; padding-top: 16px; }
@media (max-width: 639px) {
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { width: 100%; }
  .btns.btns-card { flex-direction: row; }
  .btns.btns-card .btn { flex: 1 1 0; width: auto; }
  .founding .btn { width: 100%; }
}
/* Ask FOCAL: compact round button on phones so it covers less of the page */
@media (max-width: 639px) {
  body { padding-bottom: 80px; }
  .ask-launch { height: 52px; min-height: 52px; padding: 0 18px 0 12px; gap: 8px; border-radius: 999px; font-size: 16px; }
  .ask-launch .word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .ask-launch svg { width: 28px; height: 28px; }
}

/* Stacked paragraphs anywhere */
.lede + .lede { margin-top: 16px; }

/* Clickable cards: same cue everywhere */
a.card { color: inherit; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card.featured:hover { border-color: var(--blue); }
a.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.card-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.card-link svg { transition: transform .15s ease; }
a.card:hover .card-link svg { transform: translateX(3px); }
.system-price + .card-link { margin-top: 0; padding-top: 10px; }
.media-card .body { flex: 1; }
@media (prefers-reduced-motion: reduce) { a.card:hover { transform: none; } }

/* ---------- Motion (only when html.motion is set, so reduced-motion users and no-JS see everything still) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes lens { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: .55; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* Hero entrance */
.motion .hero-grid > div:first-child > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.motion .hero-grid > div:first-child > :nth-child(2) { animation-delay: .08s; }
.motion .hero-grid > div:first-child > :nth-child(3) { animation-delay: .18s; }
.motion .hero-grid > div:first-child > :nth-child(4) { animation-delay: .28s; }
.motion .hero-card { animation: rise .8s cubic-bezier(.2,.7,.2,1) .35s both; }
.motion .page-head .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.motion .page-head .wrap > :nth-child(2) { animation-delay: .08s; }
.motion .page-head .wrap > :nth-child(3) { animation-delay: .16s; }
.motion .page-head .wrap > :nth-child(4) { animation-delay: .24s; }

/* Highlight sweeps in behind the key words */
.motion .hero .mark, .motion .page-head .mark {
  background: linear-gradient(var(--highlight), var(--highlight)) no-repeat left / 0% 100%;
  animation: sweep .7s cubic-bezier(.6,0,.2,1) .55s forwards;
}

/* Rings breathe like a lens focusing */
.rings .ring { transform-box: fill-box; transform-origin: center; }
.motion .rings .ring { animation: lens 9s ease-in-out infinite; }
.motion .rings .ring-2 { animation-delay: -3s; }
.motion .rings .ring-3 { animation-delay: -6s; }

/* Hero card fixes appear one by one */
.motion .hero-card .fixes li { opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; }
.motion .hero-card.is-live .fixes li { opacity: 1; transform: none; }
.motion .hero-card.is-live .fixes li:nth-child(1) { transition-delay: 1.2s; }
.motion .hero-card.is-live .fixes li:nth-child(2) { transition-delay: 1.45s; }
.motion .hero-card.is-live .fixes li:nth-child(3) { transition-delay: 1.7s; }

/* Scroll reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion a.card[data-reveal].is-in:hover { transform: translateY(-2px); transition-delay: 0s; }

/* Phone conversation plays out */
.motion .thread > * { opacity: 0; }
.motion .thread.is-playing > * { animation: pop .45s cubic-bezier(.2,.7,.2,1) both; }
.motion .thread.is-playing > :nth-child(1) { animation-delay: .1s; }
.motion .thread.is-playing > :nth-child(2) { animation-delay: .6s; }
.motion .thread.is-playing > :nth-child(3) { animation-delay: 1.5s; }
.motion .thread.is-playing > :nth-child(4) { animation-delay: 2.4s; }
.motion .thread.is-playing > :nth-child(5) { animation-delay: 3.1s; }

/* Buttons: a touch of life */
.btn { transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.motion .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47,107,240,.32); }
.motion .btn:active { transform: translateY(0) scale(.98); }
.motion .ask-launch { animation: rise .6s cubic-bezier(.2,.7,.2,1) 1.2s both; transition: transform .15s ease; }
.motion .ask-launch:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .rings .ring, .hero .mark, .thread > *, [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Service pages */
.calc-inline { padding: 22px; }
.calc-inline .calc-head { margin-bottom: 2px; }
@media (min-width: 960px) {
  .steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-inline { padding: 28px; }
}

/* Service page pieces */
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 12px; }
.card.sign { flex-direction: row; align-items: center; gap: 14px; padding: 20px; }
.card.sign .strong { color: var(--text); margin: 0; }
.checks-1 { grid-template-columns: 1fr !important; gap: 14px; }
.checks-1 li { font-size: 16px; }
.result { color: var(--text) !important; }
.result .mono { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.mcr-price { margin-top: 20px; font-size: 16px; }
.video-slot { aspect-ratio: 16 / 9; max-width: 860px; border-radius: var(--radius-lg); background: var(--card); border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.video-slot .play { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 4px; }
.chips-lg li { font-size: 15px; padding: 10px 16px; }
.hero .phone-stage { justify-content: center; }

/* Button groups that should stack */
.btns.btns-col { flex-direction: column; align-items: stretch; }
.btns.btns-col .btn { width: 100%; flex: none; }
@media (max-width: 639px) {
  .btns.btns-card.btns-stack { flex-direction: column; }
  .btns.btns-card.btns-stack .btn { width: 100%; flex: none; }
}

@media (max-width: 639px) { .mark { padding: 0 6px; border-radius: 8px; } }

/* Glow: the hero and every second section after it. Blue light in the top corners plus a
   soft spotlight that follows the mouse or trackpad (static on touch screens). */
.hero, .page-head, .section.alt { position: relative; isolation: isolate; }
.hero::before, .page-head::before, .section.alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--glow-spot), transparent 70%),
    radial-gradient(ellipse 75% 140% at 0% 0%, var(--glow) 0%, var(--glow-mid) 45%, transparent 80%),
    radial-gradient(ellipse 75% 140% at 100% 0%, var(--glow) 0%, var(--glow-mid) 45%, transparent 80%);
  opacity: 0.7;
}
.section.alt::before { opacity: 0.55; }
@media (min-width: 640px) {
  .hero::before, .page-head::before { opacity: 1; }
  .section.alt::before { opacity: 0.75; }
}

/* Flow diagrams (Reactivation, Missed Call Rescue). Mobile: one column with down arrows and
   branch lanes. Desktop: a grid where each item sets its own cell with --ga. */
.h1 .accent-line { display: block; color: var(--accent); }
.fd { --arr: color-mix(in srgb, var(--muted) 75%, transparent); display: flex; flex-direction: column; align-items: stretch; max-width: 420px; margin: 0 auto; }
.fd-node {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 16px; text-align: center; font-size: 15px; line-height: 1.45; color: var(--muted);
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.fd-node b { color: var(--text); font-weight: 600; font-size: 16px; }
.fd-node.hl { background: var(--featured-bg); border: 1.5px solid var(--blue); }
.fd-node.q {
  background: var(--highlight); border: 0; box-shadow: none; border-radius: 0; color: var(--text);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); min-height: 104px; width: 200px; align-self: center;
  font-weight: 600; font-size: 17px;
}
.arr { position: relative; height: 44px; flex-shrink: 0; }
.arr::before { content: ""; position: absolute; left: calc(50% - 1px); top: 4px; bottom: 9px; width: 2px; background: var(--arr); border-radius: 2px; }
.arr::after { content: ""; position: absolute; left: calc(50% - 6px); bottom: 2px; border: 6px solid transparent; border-top: 8px solid var(--arr); border-bottom: 0; }
.arr.bi::before { top: 11px; }
.arr.bi > i { position: absolute; left: calc(50% - 6px); top: 2px; border: 6px solid transparent; border-bottom: 8px solid var(--arr); border-top: 0; }
.arr-lbl, .arr-lbl2 { position: absolute; left: calc(50% + 14px); top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.arr-lbl2 { display: none; }
.arr.bi .arr-lbl2 { display: block; left: auto; right: calc(50% + 14px); }
.lanes { display: grid; gap: 14px; margin-top: 18px; }
.fd > .lane { margin-top: 14px; }
.lane { border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; }
.lane-title { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 10px; text-align: center; }
.lane .arr:first-child, .lane .lane-title + .arr { display: none; }
.lane-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loop-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.loop-note svg { width: 16px; height: 16px; color: var(--accent); }
.loop { display: none; }
.d-only { display: none; }
.roles .card { gap: 16px; }
.roles .card .h3 { margin: 0; }
.roles .checks li { font-size: 15px; }
@media (min-width: 960px) {
  .fd {
    display: grid; max-width: none; margin: 0;
    grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr);
    grid-template-rows: auto 72px auto 72px auto;
  }
  .fd.fd-5 { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr); max-width: 940px; margin: 0 auto; }
  .fd > *, .fd .lanes > *, .fd .lane > *, .fd .lane-pair > * { grid-area: var(--ga); }
  .fd .lanes, .fd .lane, .fd .lane-pair { display: contents; }
  .fd .lane-title, .fd .loop-note, .fd .m-only { display: none; }
  .fd .lane .arr:first-child, .fd .lane .lane-title + .arr { display: block; }
  .fd .d-only { display: block; }
  .fd-node.q { width: auto; justify-self: center; min-width: 180px; min-height: 112px; align-self: center; }
  .arr { height: auto; min-height: 0; }
  /* right-pointing */
  .arr.r::before { left: 4px; right: 10px; top: calc(50% - 1px); bottom: auto; width: auto; height: 2px; }
  .arr.r::after { left: auto; right: 2px; bottom: auto; top: calc(50% - 6px); border: 6px solid transparent; border-left: 8px solid var(--arr); border-right: 0; }
  .arr.r.bi::before { left: 11px; }
  .arr.r.bi > i { left: 2px; top: calc(50% - 6px); border: 6px solid transparent; border-right: 8px solid var(--arr); border-left: 0; }
  .arr.r .arr-lbl { left: 50%; top: calc(50% - 24px); transform: translateX(-50%); }
  .arr.r .arr-lbl2 { display: block; right: auto; left: 50%; top: calc(50% + 8px); transform: translateX(-50%); }
  /* up-pointing */
  .arr.u::after { bottom: auto; top: 2px; border: 6px solid transparent; border-bottom: 8px solid var(--arr); border-top: 0; }
  .arr.u::before { top: 9px; bottom: 4px; }
  .arr .arr-lbl { left: calc(50% + 12px); }
  .loop { display: block; position: relative; grid-area: 1 / 3 / 2 / 5; }
  .loop::before { content: ""; position: absolute; left: calc((100% - 64px) / 2 - 1px); right: 0; top: 50%; bottom: -63px; border-top: 2px solid var(--arr); border-left: 2px solid var(--arr); border-top-left-radius: 14px; }
  .loop::after { content: ""; position: absolute; left: calc((100% - 64px) / 2 - 6px); bottom: -72px; border: 6px solid transparent; border-top: 8px solid var(--arr); border-bottom: 0; }
  .loop span { position: absolute; left: calc((100% - 64px) / 2 + 20px); top: calc(50% - 24px); font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
}

/* Demo video (vertical) */
.demo-split { display: grid; gap: 32px; align-items: center; }
.demo-video { justify-self: center; width: 100%; max-width: 300px; }
.demo-video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; border: 1px solid var(--line); background: #0C0F15; box-shadow: var(--shadow); object-fit: cover; }
@media (min-width: 960px) {
  .demo-split { grid-template-columns: 1fr 340px; gap: 64px; }
  .demo-video { max-width: 340px; }
}
.demo-text { max-width: 720px; }
.hero-video { max-width: 280px; margin-top: 8px; }
@media (min-width: 960px) { .hero-video { max-width: 320px; margin-top: 0; justify-self: end; } }
