/* Briefcase / IntakeOS site */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #111318;
  --ink-2: #2a2e37;
  --muted: #5d6270;
  --faint: #7c818d;
  --line: #e8e5de;
  --line-2: #d9d5cb;
  --accent: #3352c4;
  --accent-soft: #eef1fc;
  --ok: #2c7a4f;
  --warn: #b5482f;
  --dark: #0f1115;
  --dark-2: #171a21;
  --dark-line: #2a2e38;
  --dark-text: #e9eaee;
  --dark-muted: #a0a6b2;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17,19,24,.04), 0 0 0 1px rgba(17,19,24,.06);
  --shadow-hover: 0 18px 40px -24px rgba(17,19,24,.28), 0 0 0 1px rgba(17,19,24,.08);
  --shadow-lg: 0 40px 80px -32px rgba(17,19,24,.32), 0 0 0 1px rgba(17,19,24,.07);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: 24px;
  --section: 120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0efeb; transform: translateY(-1px); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,249,246,.85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.brand img { border-radius: 7px; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; }
.brand-sep { color: var(--line-2); font-weight: 400; }
.brand-product { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--muted); transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(17,19,24,.05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 16px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* Shared section parts */
section { padding: var(--section) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(44,122,79,.14); }
.eyebrow-light { color: var(--dark-muted); }
.section-head { max-width: 780px; margin-bottom: 56px; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; font-weight: 600; }
.sub { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 600px; }
.sub-light { color: var(--dark-muted); }

/* Hero */
.hero { position: relative; padding: 72px 0 32px; }
.hero::before { content: ""; position: absolute; inset: -68px 0 auto 0; height: 760px; z-index: -1; pointer-events: none; background:
  radial-gradient(620px 320px at 82% 22%, rgba(51,82,196,.09), transparent 70%),
  radial-gradient(520px 260px at 8% 8%, rgba(181,72,47,.05), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
h1 em { display: block; color: var(--accent); }
.lede { margin-top: 24px; max-width: 520px; font-size: 19px; color: var(--muted); }
.hero .actions { margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; margin-right: 6px; color: var(--ok); font-weight: 700; }
.hero-visual { position: relative; }
.frame { overflow: hidden; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f3f2ee; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dedad1; }
.frame-bar span { margin: 0 auto; padding-right: 40px; font-size: 12px; color: var(--faint); }
.hero-visual .frame { width: 116%; transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-visual .frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-radius: 12px; font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(17,19,24,.28), 0 0 0 1px rgba(17,19,24,.06); animation: float 7s ease-in-out infinite; }
.chip .ok { color: var(--ok); font-weight: 700; }
.chip .warn { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.chip-a { left: -28px; top: 16%; }
.chip-b { left: 8%; bottom: -16px; animation-delay: -2.3s; }
.chip-c { right: -36px; top: 54%; animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Channels */
.channels { padding: 80px 0 16px; }
.channels p { margin-bottom: 20px; text-align: center; font-size: 14px; color: var(--faint); }
.channels ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.channels li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.channels svg, .ic svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channels svg { width: 18px; height: 18px; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.problem-grid article { padding: 36px 32px 40px; background: var(--bg); }
.num { font: italic 400 40px/1 var(--serif); color: var(--faint); }
.problem-grid h3 { margin: 20px 0 10px; font-size: 20px; font-weight: 600; }
.problem-grid p { color: var(--muted); }

/* How it works */
.how { background: #fff; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.step-list { display: grid; gap: 4px; }
.step-list button { display: flex; gap: 16px; width: 100%; padding: 18px 20px; background: none; border: 0; border-radius: 14px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color .2s; }
.step-list button:hover { background: var(--bg); }
.step-list button[aria-selected="true"] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.step-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.step-list button[aria-selected="true"] .step-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-body strong { display: block; font-size: 17px; font-weight: 600; line-height: 30px; }
.step-d { display: none; margin-top: 4px; font-size: 15px; color: var(--muted); }
.step-list button[aria-selected="true"] .step-d { display: block; }
.frame-step { position: sticky; top: 100px; background: var(--bg); }
.frame-step img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; transition: opacity .25s; }
.frame-step img.is-phone { object-fit: contain; object-position: center; padding: 24px 0; background: linear-gradient(180deg, #f3f2ee, var(--bg)); }
.frame-step img.fading { opacity: 0; }

/* Dark: AI receptionist */
.dark { background: var(--dark); color: var(--dark-text); }
.dark h2 { color: #fff; }
.recep-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ticks { display: grid; gap: 14px; margin-top: 32px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ticks strong { font-weight: 600; color: var(--ink); }
.ticks-light li { color: var(--dark-muted); }
.ticks-light strong { color: #fff; }
.call { padding: 20px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.call-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 4px 6px 16px; border-bottom: 1px solid var(--dark-line); font-size: 13px; color: var(--dark-muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #fff; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 100% { box-shadow: 0 0 0 10px rgba(229,72,77,0); } }
.call-lines { display: grid; gap: 10px; padding-top: 16px; }
.call-lines li { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.call-lines .ai { background: #252935; color: #fff; border-bottom-left-radius: 4px; }
.call-lines .caller { justify-self: end; background: #fff; color: var(--ink); border-bottom-right-radius: 4px; }
.call-lines .note { justify-self: center; max-width: none; padding: 8px 14px; font-size: 13px; text-align: center; color: #8fd3ab; background: rgba(44,122,79,.15); border: 1px solid rgba(44,122,79,.35); border-radius: 999px; }
.js .call-lines li { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.js .call-lines li.on { opacity: 1; transform: none; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feature-grid article:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.ic svg { width: 21px; height: 21px; }
.feature-grid h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; }
.feature-grid p { font-size: 15.5px; color: var(--muted); }

/* Walkthroughs */
.walk { background: #fff; border-block: 1px solid var(--line); }
.player { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.player-main { align-self: start; overflow: hidden; background: #000; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.player-main video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.playlist { display: grid; align-content: start; gap: 8px; }
.playlist button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; background: none; border: 0; border-radius: 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color .15s; }
.playlist button:hover { background: var(--bg); }
.playlist button[aria-pressed="true"] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.thumb { position: relative; flex: none; width: 124px; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.dur { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(17,19,24,.8); color: #fff; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.playlist strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.playlist small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Security */
.sec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.sec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sec-cols > div { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-cols h3 { font-size: 18px; }
.sec-cols .ticks { margin-top: 20px; font-size: 15.5px; }

/* Pilot */
.pilot { padding-top: 24px; }
.pilot-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pilot-steps li { position: relative; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.pilot-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 34px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; background: var(--bg); color: var(--faint); font-size: 14px; }
.pilot-steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.pilot-steps h3 { margin-bottom: 8px; font-size: 18px; }
.pilot-steps p { font-size: 15.5px; color: var(--muted); }

/* About */
.about { background: #fff; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid p { font-size: 18px; color: var(--muted); }
.about-grid p + p { margin-top: 18px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 40px 22px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1.5px; background: var(--muted); transition: transform .2s; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Call to action */
.cta { padding: 24px 0 var(--section); }
.cta-box { position: relative; overflow: hidden; padding: 88px 32px; background: var(--dark); border-radius: 28px; text-align: center; color: #fff; }
.cta-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 240px at 50% 0%, rgba(51,82,196,.32), transparent 70%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-box h2 em { color: #a9b9ff; }
.cta-box > p { max-width: 560px; margin: 20px auto 0; font-size: 19px; color: var(--dark-muted); }
.cta-box .actions { justify-content: center; margin-top: 36px; }
.cta-box .cta-mail { margin-top: 24px; font-size: 15px; }
.cta-mail a { color: #fff; }

/* Footer */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand p { max-width: 360px; margin-top: 12px; color: var(--muted); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.foot-cols nav { display: grid; align-content: start; gap: 10px; }
.foot-cols h4 { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--ink); }
.foot-cols a { text-decoration: none; color: var(--muted); }
.foot-cols a:hover { color: var(--ink); }
.foot-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* Tablet */
@media (max-width: 1080px) {
  :root { --section: 96px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .steps, .recep-grid, .sec-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual .frame { width: 100%; transform: none; }
  .chip-a { left: -8px; }
  .chip-c { right: -8px; }
  .frame-step { position: static; order: -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .player { grid-template-columns: 1fr; }
  .pilot-steps { grid-template-columns: 1fr 1fr; }
  .pilot-steps li:not(:last-child)::after { display: none; }
}
/* Phone */
@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 80px; }
  body { font-size: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-solid { height: 36px; padding: 0 14px; font-size: 14px; }
  .brand-sep, .brand-product { display: none; }
  .hero { padding-top: 40px; }
  .lede, .sub { font-size: 17px; }
  .hero .actions .btn { flex: 1; }
  .chip { padding: 7px 10px; font-size: 12px; }
  .chip-c { display: none; }
  .problem-grid, .feature-grid, .sec-cols, .pilot-steps { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .step-list button { padding: 14px 12px; }
  .thumb { width: 100px; }
  .cta-box { padding: 64px 20px; border-radius: 20px; }
  .cta-box .actions .btn { flex: 1; }
  .call-lines li { max-width: 94%; }
  .foot-cols { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .call-lines li { opacity: 1; transform: none; }
}
