/* BookedLine marketing site. Separate from app.css so the dashboard is untouched. */
:root {
  --paper: #f8f8f6;
  --paper-2: #f0f0ec;
  --card: #ffffff;
  --ink: #151b2a;
  --ink-2: #3b414b;
  --muted: #6b717c;
  --line: rgba(21, 27, 42, 0.1);
  --line-2: rgba(21, 27, 42, 0.16);
  --orange: #dc790a;
  --orange-2: #bf6506;
  --orange-dim: rgba(220, 121, 10, 0.1);
  --green: #12a150;
  --green-dim: rgba(18, 161, 80, 0.12);
  --red: #e5383b;
  --night: #10151f;
  --night-2: #1a2133;
  --night-3: #252e44;
  --night-line: rgba(255, 255, 255, 0.08);
  --night-ink: #e8ecf3;
  --night-muted: #8b95a7;
  --display: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --r: 20px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body.site {
  margin: 0; font-weight: 400; letter-spacing: -.005em;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.site h1, .site h2, .site h3, .site p { margin: 0; overflow-wrap: break-word; }
.site a:not(.b) { color: inherit; }
.site img, .site svg { display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s;
  white-space: nowrap;
}
.b:active { transform: translateY(1px); }
.b-primary { background: var(--orange); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset; }
.b-primary:hover { background: var(--orange-2); }
.b-dark { background: var(--ink); color: #fff; }
.b-dark:hover { background: #252e44; }
.b-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.b-line:hover { background: rgba(21,27,42,.04); }
.b-ghost { background: transparent; color: var(--ink-2); padding: 0 14px; }
.b-ghost:hover { color: var(--ink); }
.b-lg { min-height: 50px; padding: 0 22px; font-size: 16px; }
.b-sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; font-weight: 500; border-radius: 9px; }
.b-soft { background: #ebe9e4; color: var(--ink); }
.b-soft:hover { background: #e0ddd6; }
.b svg { width: 18px; height: 18px; }
:focus-visible { outline: 3px solid rgba(220, 121, 10, .45); outline-offset: 2px; }

/* Announcement bar */
.announce { background: var(--ink); color: #e7e9ee; font-size: 14px; text-align: center; padding: 10px 16px; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); margin-left: 6px; }
.announce a:hover { color: #f6c27f; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: -.025em; text-decoration: none; justify-self: start; }
.logo img { width: 34px; height: 34px; }
.wm { font-weight: 800; color: var(--ink); }
.wm em { font-style: normal; font-weight: 500; color: var(--orange); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links .l {
  display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 8px;
  font: 400 15px/1 var(--body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-links .l:hover, .dd.open .l { background: #f3f3f0; }
.nav-links .l[aria-current] { font-weight: 600; }
.nav-links .l[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -17px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav-links .l { position: relative; }
.mnav > a[aria-current] { font-weight: 700; color: var(--orange); }
.chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dd { position: relative; }
.dd.open .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px;
  box-shadow: 0 24px 48px -16px rgba(21,27,42,.22); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd-menu.narrow { width: 340px; grid-template-columns: 1fr; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; text-decoration: none; }
.dd-menu a:hover { background: #f6f5f1; }
.dd-menu b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dd-foot { grid-column: 1 / -1; justify-content: space-between; align-items: center !important; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px !important; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink); }
.dd-foot svg { width: 16px; height: 16px; }
.dd-menu small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.di { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.di svg { width: 17px; height: 17px; }
.nav-cta { display: flex; gap: 8px; align-items: center; justify-self: end; }
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 9px; background: #f3f2ee; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: #fff; padding: 8px 16px 20px; display: grid; }
.mnav[hidden] { display: none; }
.mnav > a { padding: 14px 4px; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

/* Demo control (scenario picker + play) */
.demo-ctl { display: flex; width: min(380px, 100%); margin: 0 auto 16px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.demo-ctl .sel { flex: 1; position: relative; display: flex; }
.demo-ctl .sel::after { content: ""; position: absolute; right: 14px; top: 50%; margin-top: -3px; border: 5px solid transparent; border-top-color: var(--ink); pointer-events: none; }
.demo-ctl select { flex: 1; appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 500 14.5px var(--body); color: var(--ink); padding: 0 34px 0 14px; height: 46px; cursor: pointer; min-width: 0; }
.demo-ctl .b { border-radius: 0; min-height: 46px; padding: 0 16px; }
.demo-ctl .b svg { width: 14px; height: 14px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 82% 30%, rgba(220, 121, 10, .16), transparent 70%),
    radial-gradient(520px 320px at 10% 10%, rgba(18, 161, 80, .08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid > *, .wl > *, .faq-grid > *, .calc > *, .dash-body > * { min-width: 0; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.hero h1 {
  font: 700 clamp(2.75rem, 5.4vw, 4.3rem)/1 var(--display); padding-bottom: .08em;
  letter-spacing: -.035em;
}
.hero h1 .hl { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .28em; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); margin-top: 30px; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--green); }

/* Phone demo */
.demo { position: relative; }
.phone {
  width: min(380px, 100%); margin-inline: auto;
  background: var(--night); color: var(--night-ink);
  border-radius: 44px; padding: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 0 8px #252e44, 0 40px 80px -24px rgba(21, 27, 42, .55), 0 18px 40px -20px rgba(220, 121, 10, .35);
}
.screen { background: linear-gradient(180deg, #1a2133, #10151f 40%); border-radius: 32px; padding: 18px 16px 16px; height: 560px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.notch { width: 96px; height: 26px; background: #000; border-radius: 999px; margin: -6px auto 10px; }
.call-head { text-align: center; padding-bottom: 12px; border-bottom: 1px solid var(--night-line); }
.call-head .who { font: 700 17px/1.2 var(--display); }
.call-head .meta { font-size: 12px; color: var(--night-muted); margin-top: 4px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.call-head .meta .rec { color: #34d399; display: inline-flex; align-items: center; gap: 5px; }
.wave { display: flex; gap: 3px; height: 22px; align-items: center; justify-content: center; margin-top: 10px; }
.wave i { width: 3px; border-radius: 3px; background: var(--orange); height: 4px; transition: height .12s; }
.wave.on i { animation: bar 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.15s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 20px; } }
.feed { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding-top: 12px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; animation: rise .35s ease both; }
.msg small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-bottom: 2px; }
.msg.caller { background: var(--night-3); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.ai { background: var(--orange); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg.sys { align-self: center; max-width: 100%; background: transparent; border: 1px dashed rgba(255,255,255,.18); color: var(--night-muted); font: 500 11.5px/1.4 var(--mono); padding: 6px 10px; border-radius: 10px; }
.msg.sys.bad { color: #fca5a5; border-color: rgba(248, 113, 113, .45); }
.msg.sys.ok { color: #6ee7b7; border-color: rgba(52, 211, 153, .45); }
.typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast {
  position: absolute; left: 50%; top: 22px; transform: translate(-50%, -140%); width: calc(100% - 24px);
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; padding: 11px 13px;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1.2); z-index: 3;
}
.toast.show { transform: translate(-50%, 0); }
.toast .ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.toast .ti svg { width: 18px; height: 18px; }
.toast b { display: block; font-size: 13px; }
.toast span { font-size: 12px; color: var(--muted); }
.float-card {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 20px 40px -18px rgba(21,27,42,.3); font-size: 13px; display: flex; gap: 10px; align-items: center;
}
.float-card .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .fi svg { width: 17px; height: 17px; }
.float-card b { display: block; font-size: 13px; }
.float-card span { color: var(--muted); font-size: 12px; }
.fc-1 { left: -24px; top: 330px; animation: bob 6s ease-in-out infinite; }
.fc-2 { right: -12px; bottom: 90px; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Integration strip */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.strip p { font-size: 14px; color: var(--muted); font-weight: 500; }
.strip ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.strip li { font: 700 18px/1 var(--display); letter-spacing: -.02em; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; opacity: .8; }
.strip li svg { width: 20px; height: 20px; }

/* Sections */
.sec { padding: 112px 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.tag { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.sec h2 { font: 700 clamp(2rem, 4.2vw, 3.25rem)/1.04 var(--display); letter-spacing: -.03em; margin-top: 16px; }
.sec .sub { font-size: 1.125rem; color: var(--ink-2); margin-top: 18px; max-width: 40rem; }
.sec-head.center .sub { margin-inline: auto; }

/* Problem */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pain article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.pain .time { font: 600 13px/1 var(--mono); color: var(--muted); }
.pain h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; margin: 14px 0 10px; }
.pain p { color: var(--ink-2); font-size: 15px; }
.pain .out { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.pain .out svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }

/* Calculator */
.calc { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: var(--night-ink); border-radius: 28px; overflow: hidden; }
.calc-in { padding: 44px; display: grid; gap: 30px; }
.slider label { display: flex; justify-content: space-between; font-size: 15px; color: var(--night-muted); margin-bottom: 12px; }
.slider label output { font: 700 20px/1 var(--display); color: #fff; }
.slider input[type=range] { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: var(--night-3); outline: none; }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.slider input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); cursor: pointer; }
.calc-out { padding: 44px; background: radial-gradient(500px 300px at 70% 20%, rgba(220, 121, 10, .3), transparent 70%), var(--night-2); display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--night-line); }
.calc-out .k { font-size: 15px; color: var(--night-muted); }
.calc-out .big { font: 700 clamp(3rem, 6vw, 4.75rem)/1 var(--display); letter-spacing: -.03em; margin: 12px 0 6px; color: #fff; font-variant-numeric: tabular-nums; }
.calc-out .yr { color: var(--night-muted); font-size: 15px; }
.calc-out .yr b { color: #fff; }
.calc-out .note { margin-top: 26px; font-size: 13px; color: var(--night-muted); line-height: 1.5; }
.calc-out .b { margin-top: 24px; align-self: flex-start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; }
.step { position: relative; padding: 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-dim); color: var(--orange); font: 700 16px/40px var(--display); text-align: center; }
.step h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; margin: 20px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step .chip { margin-top: 18px; display: inline-flex; gap: 6px; align-items: center; font: 500 12px/1 var(--mono); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: var(--ink-2); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.tile h3 { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 8px; max-width: 30rem; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.tile .ic svg { width: 22px; height: 22px; }
.t-a { grid-column: span 4; background: var(--night); color: var(--night-ink); border-color: var(--night); }
.t-a p { color: var(--night-muted); }
.t-b { grid-column: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-f { grid-column: span 3; } .t-g { grid-column: span 3; }
.ic-o { background: var(--orange-dim); color: var(--orange); }
.ic-g { background: var(--green-dim); color: var(--green); }
.ic-r { background: rgba(229, 56, 59, .1); color: var(--red); }
.ic-b { background: rgba(37, 99, 235, .1); color: #2563eb; }
.ic-n { background: rgba(255,255,255,.08); color: #fff; }
.mini-log { margin-top: auto; padding-top: 26px; display: grid; gap: 8px; }
.mini-log div { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 11px 14px; font-size: 13.5px; }
.mini-log .t { font: 500 12px/1 var(--mono); color: var(--night-muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.p-red { background: rgba(248, 113, 113, .14); color: #f87171; }
.p-green { background: rgba(52, 211, 153, .14); color: #34d399; }
.p-orange { background: rgba(220, 121, 10, .16); color: #f0a04b; }
.p-blue { background: rgba(96, 165, 250, .14); color: #60a5fa; }
.sms { margin-top: auto; padding-top: 22px; display: grid; gap: 6px; }
.sms .bub { font-size: 13px; padding: 9px 12px; border-radius: 14px; max-width: 92%; }
.sms .in { background: var(--paper-2); border-bottom-left-radius: 4px; }
.sms .outb { background: #2563eb; color: #fff; justify-self: end; border-bottom-right-radius: 4px; font-weight: 600; }
.lang { margin-top: auto; padding-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.lang span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.lang span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Dashboard preview */
.dash-sec { background: var(--night); color: var(--night-ink); }
.dash-sec .sub { color: var(--night-muted); }
.dash {
  margin-top: 56px; border-radius: 22px; border: 1px solid var(--night-line); background: var(--night-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3241; }
.dash-bar .url { margin-left: 12px; font: 500 12px/1 var(--mono); color: var(--night-muted); background: var(--night); border-radius: 8px; padding: 7px 12px; }
.dash-body { display: grid; grid-template-columns: 210px 1fr; min-height: 480px; }
.dash-side { border-right: 1px solid var(--night-line); padding: 18px 12px; display: grid; align-content: start; gap: 2px; }
.dash-side .bn { display: flex; gap: 9px; align-items: center; font: 700 15px/1 var(--display); padding: 4px 8px 18px; }
.dash-side .bn i { width: 26px; height: 26px; border-radius: 7px; background: #fff url(/logo.svg) center/22px no-repeat; flex: none; }
.dash-side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; color: var(--night-muted); text-decoration: none; }
.dash-side a.on { background: var(--night-3); color: #fff; }
.dash-side a svg { width: 16px; height: 16px; }
.dash-main { padding: 26px; }
.dash-main .hd { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.dash-main h4 { margin: 0; font: 700 22px/1.1 var(--display); }
.dash-main .hd span { color: var(--night-muted); font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.kpi { background: var(--night); border: 1px solid var(--night-line); border-radius: 14px; padding: 16px; }
.kpi .l { font-size: 12.5px; color: var(--night-muted); }
.kpi .v { font: 700 28px/1 var(--display); margin-top: 10px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12px; color: #34d399; margin-top: 6px; }
.rows { margin-top: 16px; border: 1px solid var(--night-line); border-radius: 14px; overflow: hidden; }
.row { display: grid; grid-template-columns: 70px 1.3fr 1.6fr auto; gap: 14px; align-items: center; padding: 13px 16px; font-size: 13.5px; border-top: 1px solid var(--night-line); }
.row:first-child { border-top: 0; }
.row .t { font: 500 12px/1 var(--mono); color: var(--night-muted); }
.row .c { color: var(--night-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row b { font-weight: 600; }
.sample { margin-top: 14px; font-size: 12.5px; color: var(--night-muted); text-align: center; }

/* White label */
.wl { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.wl ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.wl li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.wl li svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 1px; }
.wl li b { color: var(--ink); }
.brander { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(21,27,42,.25); }
.brander .ctl { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brander input[type=text] { flex: 1; min-width: 160px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 14px; font: 500 15px var(--body); color: var(--ink); }
.sw { display: flex; gap: 8px; }
.sw button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.prev { margin-top: 18px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; --bc: #dc790a; }
.prev-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.prev-top .m { width: 28px; height: 28px; border-radius: 8px; background: var(--bc); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--display); transition: background .3s; }
.prev-top b { font: 700 16px/1 var(--display); }
.prev-in { padding: 18px 16px; display: grid; gap: 12px; }
.prev-in .greet { font-size: 14px; background: var(--paper); border-radius: 12px; padding: 12px 14px; color: var(--ink-2); }
.prev-in .greet b { color: var(--ink); }
.prev-in .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prev-in .box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.prev-in .box .l { font-size: 12px; color: var(--muted); }
.prev-in .box .v { font: 700 22px/1.1 var(--display); margin-top: 6px; }
.prev-btn { height: 42px; border-radius: 10px; background: var(--bc); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; transition: background .3s; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.plan.pop { background: var(--night); color: var(--night-ink); border-color: var(--night); position: relative; box-shadow: 0 40px 80px -40px rgba(21,27,42,.6); }
.plan.pop .badge { position: absolute; top: -13px; left: 32px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.plan h3 { font: 700 20px/1 var(--display); }
.plan .who { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan.pop .who { color: var(--night-muted); }
.plan .amt { font: 700 52px/1 var(--display); letter-spacing: -.03em; margin: 26px 0 4px; }
.plan .amt span { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan.pop .amt span { color: var(--night-muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.plan.pop li svg { color: #34d399; }
.plan .b { margin-top: auto; width: 100%; }
.plan.pop .b-line { color: #fff; border-color: rgba(255,255,255,.2); }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font: 600 18px/1.35 var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 40rem; }

/* CTA */
.cta { padding: 0 0 112px; }
.cta-box {
  border-radius: 32px; padding: 72px 48px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(135deg, #dc790a, #b85d05);
}
.cta-box h2 { font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.02 var(--display); letter-spacing: -.03em; max-width: 46rem; margin: 0 auto; }
.cta-box p { font-size: 1.125rem; opacity: .9; margin: 18px auto 0; max-width: 34rem; }
.cta-box .hero-actions { justify-content: center; }
.cta-box .b-dark { background: var(--ink); }
.cta-box .b-wl { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .b-wl:hover { background: rgba(255,255,255,.22); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #fff; padding: 64px 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 15px; margin: 16px 0 20px; max-width: 22rem; }
.foot-col { display: grid; align-content: start; gap: 12px; }
.foot-col h4 { margin: 0 0 4px; font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot-col a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* Page header (sub-pages) */
.phero { padding: 96px 0 40px; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 90% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000 30%, transparent 75%); opacity: .7; }
.phero h1 { font: 700 clamp(2.5rem, 5.2vw, 4.25rem)/1.02 var(--display); letter-spacing: -.035em; margin-top: 18px; max-width: 16ch; }
.phero .sub { font-size: 1.2rem; color: var(--ink-2); margin-top: 22px; max-width: 40rem; }
.phero .hero-actions { margin-top: 32px; }
.sec.tight { padding-top: 48px; }

/* Link cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.lcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.lcard:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(21,27,42,.35); }
.lcard .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 22px; }
.lcard .ic svg { width: 20px; height: 20px; }
.lcard h3 { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; }
.lcard p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
a:hover .more svg { transform: translateX(3px); }

/* Split cards (home) */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.scard { display: flex; flex-direction: column; min-height: 300px; border-radius: 22px; padding: 40px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.scard:hover { transform: translateY(-2px); box-shadow: 0 30px 60px -36px rgba(21,27,42,.5); }
.site .scard.dark { background: var(--night); color: var(--night-ink); border-color: var(--night); }
.scard.dark .tag { color: #f0a04b; }
.scard h3 { font: 700 clamp(1.7rem, 2.8vw, 2.3rem)/1.1 var(--display); letter-spacing: -.03em; margin-top: 18px; }
.scard p { font-size: 16px; color: var(--ink-2); margin-top: 12px; max-width: 26rem; }
.scard.dark p { color: var(--night-muted); }
.scard.dark .more { color: #fff; }

/* Plans: two-up and comparison table */
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.ptable { margin: 48px auto 0; max-width: 920px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.pt-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 15px 22px; border-top: 1px solid var(--line); font-size: 15px; align-items: center; }
.pt-row:first-child { border-top: 0; }
.pt-row span:not(:first-child) { text-align: center; color: var(--ink-2); }
.pt-h { background: var(--paper); font-weight: 700; }
.pt-h span:first-child { color: var(--muted); font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.faq-wide { max-width: 860px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-grid, .wl, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--night-line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: span 2; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .nav .wrap { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 760px) {
  .nav-cta .b-sm { display: none; }
  .nav .wrap { height: 64px; }
  .announce { font-size: 13px; padding: 9px 12px; }
  .hero { padding-top: 32px; }
  .pain, .steps, .cards4, .split2, .plans.two { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .phero { padding: 56px 0 24px; }
  .scard { padding: 28px; min-height: 0; }
  .pt-row { grid-template-columns: 1.6fr repeat(3, 1fr); padding: 12px 14px; font-size: 13.5px; }
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f, .t-g { grid-column: span 1; }
  .sec { padding: 80px 0; }
  .calc-in, .calc-out { padding: 28px; }
  .row { grid-template-columns: 56px 1fr auto; }
  .row .c { display: none; }
  .fc-1, .fc-2 { display: none; }
  .cta-box { padding: 52px 22px; }
  .strip ul { gap: 22px; }
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions .b-lg { flex: 1 1 auto; }
  .screen { height: 500px; }
  .kpi .v { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .fc-1, .fc-2, .pulse::after, .wave.on i { animation: none; }
}

/* ---------- Login page (works with app.css + agency brand --accent) ---------- */
body.auth-page { margin: 0; font-family: var(--body); }
.auth-page .auth { grid-template-columns: 1fr 1fr; }
.auth-page .auth-left {
  background: radial-gradient(600px 400px at 80% 10%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%), var(--night);
  padding: 36px 48px; position: relative; overflow: hidden;
}
.auth-page .auth-left .brand { font: 700 19px/1 var(--display); gap: 10px; }
.auth-page .auth-left .brand img { width: 32px; height: 32px; }
.auth-page .auth-left h1 { font: 700 clamp(2.4rem, 4.4vw, 3.75rem)/1 var(--display); letter-spacing: -.035em; margin-top: auto; max-width: 30rem; }
.auth-page .auth-left .lead { color: var(--night-muted); font-size: 1.06rem; max-width: 28rem; margin: 18px 0 32px; }
.auth-page .auth-left .kicker { color: color-mix(in srgb, var(--accent) 70%, #fff); font-family: var(--mono); }
.auth-page .auth-call { max-width: 400px; display: grid; gap: 8px; margin-bottom: auto; }
.auth-page .auth-call .msg { display: block; font-size: 13.5px; max-width: 86%; padding: 10px 13px; border-radius: 16px; margin: 0; color: var(--night-ink); }
.auth-page .auth-call .msg small { display: block; margin: 0 0 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.auth-page .auth-call .msg.caller { background: var(--night-3); justify-self: start; border-bottom-left-radius: 6px; }
.auth-page .auth-call .msg.ai { color: #fff; justify-self: end; border-bottom-right-radius: 6px; }
.auth-page .auth-call .msg.sys { justify-self: center; max-width: 100%; width: auto; background: transparent; font: 500 11.5px/1.4 var(--mono); padding: 6px 10px; border-radius: 10px; }
.auth-page .auth-call .msg.ai { background: var(--accent); }
.auth-page .auth-right { background: var(--paper); }
:root[data-theme="dark"] .auth-page .auth-right { background: var(--bg); }
.auth-page .auth-box h2 { font: 700 30px/1.1 var(--display); letter-spacing: -.03em; }
.auth-page .auth-box input { border-radius: 12px; min-height: 46px; }
.auth-page .auth-box .btn.primary.lg { min-height: 50px; border-radius: 999px; font-size: 15px; }
@media (max-width: 860px) {
  .auth-page .auth { grid-template-columns: 1fr; }
  .auth-page .auth-left { padding: 28px 24px 36px; }
  .auth-page .auth-call { display: none; }
  .auth-page .auth-left h1 { margin-top: 40px; font-size: 2.2rem; }
  .auth-page .auth-left .lead { margin-bottom: 0; }
}
