/* Booked Owl — site styles. No build step. */
:root {
  --night-900: #070d22;
  --night-800: #0b1533;
  --night-700: #122048;
  --night-600: #1b2d5e;
  --night-line: rgba(255, 255, 255, 0.12);
  --amber: #f6a623;
  --amber-600: #e08a0b;
  --amber-soft: #ffe2b0;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #16203a;
  --ink-soft: #4a5672;
  --line: #e3dccd;
  --ok: #2f9e6b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(7, 13, 34, 0.12);
  --max: 1120px;
  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img, svg { max-width: 100%; }
a { color: var(--amber-600); text-underline-offset: 3px; }
a:hover { color: var(--night-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.7rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.5rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--amber); color: var(--night-900); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 800;
}
.skip-link:focus { left: 8px; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-light { background: var(--cream); }
.section-white { background: var(--paper); }
.section-night {
  color: #e9edf8;
  background-color: var(--night-800);
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 30%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 12%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 81% 58%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 7% 88%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 92%, rgba(255,255,255,.5) 50%, transparent 51%),
    linear-gradient(180deg, var(--night-900), var(--night-800) 60%, var(--night-700));
  background-size: 420px 420px, 380px 380px, 500px 500px, 460px 460px, 520px 520px, 400px 400px, 440px 440px, 480px 480px, 100% 100%;
}
.section-night h2, .section-night h3 { color: #fff; }
.section-night a:not(.btn) { color: var(--amber); }
.section-night .muted { color: #b7c0da; }

.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-600); margin-bottom: 12px;
}
.section-night .eyebrow { color: var(--amber); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; }
.section-night .lead { color: #c9d1e8; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.small { font-size: 0.92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 999px;
  font-family: inherit; font-size: 1.08rem; font-weight: 800; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--night-900); box-shadow: 0 6px 18px rgba(246,166,35,.35); }
.btn-primary:hover { background: #ffb840; color: var(--night-900); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-dark { background: var(--night-800); color: #fff; }
.btn-dark:hover { background: var(--night-600); color: #fff; }
.btn-outline { background: transparent; color: var(--night-800); border-color: var(--night-800); }
.btn-outline:hover { background: var(--night-800); color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 13, 34, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--night-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand span b { color: var(--amber); font-weight: 900; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: #d7ddef; text-decoration: none; font-weight: 700; font-size: 0.98rem; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { color: var(--amber); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--night-900); }
.nav .btn { min-height: 46px; padding: 10px 18px; font-size: 0.98rem; margin-left: 8px; }
@media (max-width: 880px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.1rem; }
  .brand svg { width: 36px; height: 36px; }
  .nav .btn { padding: 10px 14px; font-size: 0.92rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: #d4dbef; font-weight: 700; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--amber); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 48px 0 64px; } }

/* Demo card */
.demo-card {
  background: linear-gradient(160deg, #15255a, #0d1838);
  border: 1px solid rgba(246,166,35,.35);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  color: #e9edf8;
}
.demo-card h2 { font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.demo-card p { color: #c2cae3; font-size: 1rem; }
.demo-phone {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 72px; width: 100%;
  margin: 18px 0 10px; padding: 14px 18px; border-radius: 16px;
  background: var(--amber); color: var(--night-900); text-decoration: none;
  font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 900; letter-spacing: 0.01em;
}
.demo-phone:hover { background: #ffb840; color: var(--night-900); }
.demo-phone svg { width: 28px; height: 28px; flex: none; }
.demo-phone.is-pending { background: rgba(255,255,255,.08); color: #e9edf8; border: 2px dashed rgba(246,166,35,.6); font-size: 1.1rem; }
.demo-note { font-size: 0.88rem; color: #9fa9c8; margin: 0; }
.demo-audio { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--night-line); }
.demo-audio h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.demo-audio audio { width: 100%; height: 48px; }
.demo-audio .audio-missing { display: none; font-size: 0.92rem; color: #9fa9c8; margin: 6px 0 0; }
.demo-audio.no-audio audio { display: none; }
.demo-audio.no-audio .audio-missing { display: block; }

/* ---------- Problem / stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.stat-num { font-size: 2.6rem; font-weight: 900; color: var(--night-800); line-height: 1; margin-bottom: 10px; }
.stat-num span { color: var(--amber-600); }
.stat p { margin: 0 0 10px; }
.stat .source { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); margin-top: 36px;
}
.calc-inputs { padding: 32px; display: grid; gap: 22px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; margin-bottom: 8px; }
.field label output { font-size: 1.15rem; color: var(--night-800); background: var(--amber-soft); padding: 2px 10px; border-radius: 8px; white-space: nowrap; }
.field .hint { font-size: 0.86rem; color: var(--ink-soft); margin: 6px 0 0; }
input[type="range"] { width: 100%; height: 44px; accent-color: var(--amber-600); cursor: pointer; margin: 0; }
.calc-result {
  padding: 32px; color: #e9edf8;
  background: linear-gradient(160deg, var(--night-700), var(--night-900));
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result .label { font-weight: 800; color: #c2cae3; margin-bottom: 4px; }
.calc-big { font-size: clamp(2.6rem, 7vw, 3.8rem); font-weight: 900; color: var(--amber); line-height: 1.05; margin-bottom: 6px; }
.calc-sub { color: #c2cae3; margin-bottom: 20px; }
.calc-lines { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 0.98rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.15); padding-bottom: 8px; }
.calc-lines b { color: #fff; white-space: nowrap; }
.calc-compare { background: rgba(246,166,35,.12); border: 1px solid rgba(246,166,35,.35); border-radius: 12px; padding: 14px 16px; font-size: 0.98rem; color: #f0e2c8; margin-bottom: 18px; }
.calc-compare b { color: #fff; }
.calc-fine { font-size: 0.82rem; color: #9fa9c8; margin: 14px 0 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-inputs, .calc-result { padding: 24px 20px; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255,255,255,.05); border: 1px solid var(--night-line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber); color: var(--night-900); font-weight: 900; font-size: 1.2rem; margin-bottom: 14px;
}
.step p { color: #c2cae3; margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.call-sample {
  margin: 40px auto 0; max-width: 720px;
  background: rgba(255,255,255,.04); border: 1px solid var(--night-line); border-radius: var(--radius-lg); padding: 24px;
}
.call-sample h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); }
.bubble { padding: 12px 16px; border-radius: 16px; margin: 10px 0; max-width: 88%; font-size: 1rem; }
.bubble.owl { background: #22346d; color: #eef2fb; border-bottom-left-radius: 4px; }
.bubble.caller { background: var(--amber-soft); color: var(--night-900); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble small { display: block; font-weight: 800; font-size: 0.78rem; opacity: .75; margin-bottom: 2px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--night-800); color: var(--amber); margin-bottom: 16px; }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Integrations ---------- */
.integrations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.int-box { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: var(--paper); }
.int-box.now { border: 2px solid var(--ok); }
.int-box h3 { display: flex; align-items: center; gap: 10px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-ok { background: #dff3e9; color: #1d6b47; }
.tag-ask { background: #eef0f6; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
@media (max-width: 760px) { .integrations { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pilot {
  margin: 36px 0 28px; border-radius: var(--radius-lg); padding: 28px;
  background: linear-gradient(120deg, #fff4df, #ffe7bd); border: 2px solid var(--amber);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.pilot h3 { font-size: 1.5rem; margin-bottom: 6px; }
.pilot p { margin: 0; color: #4b3a1a; }
.pilot .price-inline { font-size: 2.2rem; font-weight: 900; color: var(--night-800); }
.pilot .price-inline small { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 760px) { .pilot { grid-template-columns: 1fr; padding: 22px; } }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; position: relative; }
.tier.featured { border: 2px solid var(--night-800); box-shadow: var(--shadow); }
.tier .badge { position: absolute; top: -14px; left: 24px; background: var(--night-800); color: var(--amber); font-weight: 800; font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.tier h3 { font-size: 1.35rem; margin-bottom: 2px; }
.tier .for { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 16px; }
.price { font-size: 2.6rem; font-weight: 900; color: var(--night-800); line-height: 1; }
.price small { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.setup { font-size: 0.95rem; color: var(--ink-soft); margin: 8px 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 1rem; flex: 1; align-content: start; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checks li.no { color: #8a93a8; }
.checks li.no::before { background: #d9dde7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price-notes { margin-top: 22px; font-size: 0.95rem; color: var(--ink-soft); }
.price-notes li { margin-bottom: 4px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.guarantee .seal { width: 150px; height: 150px; }
.guarantee p { color: #c9d1e8; }
.guarantee .fine { font-size: 0.9rem; color: #9fa9c8; }
@media (max-width: 700px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee .seal { margin: 0 auto; width: 120px; height: 120px; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 800; font-size: 1.08rem; position: relative; min-height: 64px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--night-800); color: var(--amber);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta-box { text-align: center; }
.cta-box .btn-row { justify-content: center; margin-top: 24px; }
.cta-box .email-line { margin-top: 18px; color: #c2cae3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-900); color: #a9b2cd; padding: 48px 0 32px; font-size: 0.95rem; border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: #d7ddef; text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid var(--night-line); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 56px 0 40px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 2.8rem); }
.legal { background: var(--paper); padding: 48px 0 72px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; padding-top: 0.4em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4em; }
.legal .toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.legal .toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.legal .toc a { display: inline-block; padding: 3px 0; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }
.callout { background: #fff4df; border-left: 5px solid var(--amber); padding: 16px 20px; border-radius: 8px; margin: 1.2em 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.98rem; }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.legal th { background: var(--cream); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 20px; }
.notfound svg.big-owl { width: 160px; height: 160px; margin-bottom: 12px; }
.notfound h1 { color: #fff; }
.notfound .btn-row { justify-content: center; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
