/* Owlwise AI landing page. Brand: blue #0A7FCB, cyan #22E6F2, ink, white. Logo always on white. */
:root {
  --blue: #0A7FCB;
  --cyan: #22E6F2;
  --ink: #05070A;
  --ink-2: #0B1620;
  --night: #03070C;
  --text: #0E1A24;
  --muted: #5B6875;
  --line: #E3ECF2;
  --soft: #F4F9FC;
  --white: #FFFFFF;
  --red: #FF3B30;
  --grad: linear-gradient(90deg, #0A7FCB 0%, #22E6F2 100%);
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(10, 127, 203, .35);
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --ui: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 700;
  text-decoration: none; padding: 14px 26px; font-size: 16px; line-height: 1; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 19px 32px; font-size: 18px; }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 12px 30px -12px rgba(5, 7, 10, .55); }
.btn-grad { background: var(--grad); color: var(--ink); box-shadow: 0 14px 40px -14px rgba(34, 230, 242, .6); }
.btn-grad:hover { box-shadow: 0 18px 50px -12px rgba(34, 230, 242, .75); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.ico { width: 20px; height: 20px; fill: currentColor; }
.link-btn { color: var(--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header (white, so the logo keeps its colours) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 50px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.link-try { font-weight: 600; text-decoration: none; color: var(--text); }
.link-try:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 88px 0 104px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(50% 55% at 22% 18%, rgba(10, 127, 203, .38) 0%, transparent 70%),
  radial-gradient(40% 50% at 88% 70%, rgba(34, 230, 242, .16) 0%, transparent 70%),
  linear-gradient(180deg, #050D16 0%, #03070C 100%); }
.hero-grid > *, .demo-grid > *, .book-grid > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--ui); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--cyan);
  border: 1px solid rgba(34, 230, 242, .35); background: rgba(34, 230, 242, .08); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .74); margin: 22px 0 34px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px 22px; }
.cta-block { display: flex; flex-direction: column; gap: 10px; }
.cta-note { font-family: var(--ui); font-size: 13.5px; color: rgba(255, 255, 255, .55); padding-left: 6px; }

/* hero visual: notification story */
.hero-visual { display: flex; flex-direction: column; gap: 14px; font-family: var(--ui); }
.note { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 22px;
  background: rgba(246, 246, 250, .92); color: #000; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); }
.note-missed { opacity: .62; transform: scale(.96); }
.note-live { box-shadow: 0 0 0 2px rgba(34, 230, 242, .65), 0 24px 70px -18px rgba(34, 230, 242, .45); }
.note-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.note-icon svg { width: 26px; height: 26px; fill: #fff; stroke: none; }
.note-icon.red { background: var(--red); }
.note-icon.cyan { background: var(--cyan); }
.note-icon.cyan svg { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.note-icon.mark { background: #fff; border: 1px solid #E6EBEF; }
.note-icon.mark img { width: 38px; }
.note-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.note-top { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(60, 60, 67, .65); }
.note-text b { font-size: 16px; margin-top: 1px; }
.note-text > span { font-size: 14.5px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-arrow { display: flex; align-items: center; gap: 10px; padding-left: 26px; color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.note-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bars { display: flex; gap: 3px; align-items: center; height: 26px; }
.bars i { width: 3px; height: 100%; border-radius: 3px; background: var(--grad); animation: eq 1s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.2s; } .bars i:nth-child(3) { animation-delay: -.5s; } .bars i:nth-child(4) { animation-delay: -.1s; }
.bars i:nth-child(5) { animation-delay: -.7s; } .bars i:nth-child(6) { animation-delay: -.3s; } .bars i:nth-child(7) { animation-delay: -.6s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.kicker { font-family: var(--ui); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section h2 + p, .demo-copy p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* demo */
.demo { background: var(--soft); }
.demo-grid { display: grid; grid-template-columns: 1fr 440px; grid-template-areas: "copy card" "try card"; gap: 0 64px; align-items: center; }
.demo-copy { grid-area: copy; align-self: end; }
.demo-try { grid-area: try; align-self: start; }
.callcard { grid-area: card; }
.try-label { font-weight: 700; color: var(--text); font-size: 15px; margin-top: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chips li { font-family: var(--ui); font-size: 15px; background: #fff; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; }

.callcard { position: relative; overflow: hidden; background: var(--night); color: #fff; border-radius: 32px; padding: 30px 30px 26px; text-align: center;
  box-shadow: 0 40px 100px -40px rgba(3, 7, 12, .8); }
.callcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 0%, rgba(10, 127, 203, .45), transparent 70%); pointer-events: none; }
.callcard > * { position: relative; }
.callcard-top { display: flex; align-items: center; gap: 14px; text-align: left; }
.agent-av { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px rgba(34, 230, 242, .3); }
.agent-av img { width: 40px; }
.agent-name { font-weight: 700; font-size: 18px; }
.agent-status { display: flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 14px; color: rgba(255, 255, 255, .65); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #6B7785; }
.callcard[data-state="live"] .dot { background: #34D399; box-shadow: 0 0 0 5px rgba(52, 211, 153, .2); }
.callcard[data-state="connecting"] .dot { background: var(--cyan); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
/* holographic orb (drawn by orb.js) */
.orb-wrap { position: relative; width: min(300px, 82%); aspect-ratio: 1; margin: 4px auto 0; }
.orb { display: block; width: 100%; height: 100%; }
.callbtn { position: relative; width: 104px; height: 104px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--grad);
  box-shadow: 0 0 0 6px rgba(34, 230, 242, .15), 0 18px 50px -12px rgba(34, 230, 242, .7); transition: transform .15s ease, background .2s ease; }
.callbtn:hover { transform: scale(1.04); }
.callbtn .ico-call { width: 42px; height: 42px; fill: var(--ink); transition: transform .3s ease; }
.callbtn .ring { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(34, 230, 242, .6); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.callcard[data-state="live"] .callbtn, .callcard[data-state="connecting"] .callbtn { background: var(--red); box-shadow: 0 18px 50px -12px rgba(255, 59, 48, .7); }
.callcard[data-state="live"] .callbtn .ico-call, .callcard[data-state="connecting"] .callbtn .ico-call { fill: #fff; transform: rotate(135deg); }
.callcard[data-state="live"] .ring, .callcard[data-state="connecting"] .ring { display: none; }
.callcard-label { font-weight: 700; font-size: 18px; margin-top: 16px; }
.callcard-after { display: none; margin-top: 8px; font-family: var(--ui); font-size: 15px; }
.callcard-after a { color: var(--cyan); font-weight: 600; }
.callcard[data-state="ended"] .callcard-after, .callcard[data-state="unavailable"] .callcard-after, .callcard[data-state="error"] .callcard-after { display: block; }
.fine { font-family: var(--ui); font-size: 12.5px; color: rgba(255, 255, 255, .45); margin-top: 16px; }

/* problem */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 20px 50px -40px rgba(5, 7, 10, .4); }
.pcard p { color: var(--muted); margin-top: 8px; }
.pcard-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #EAF6FC; margin-bottom: 18px; }
.pcard-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcard-ico.red { background: #FFECEB; }
.pcard-ico.red svg { fill: var(--red); stroke: none; }

/* how it works */
.how { background: var(--soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 30px; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cyan); font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 8px; }

/* features */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 44px auto 0; max-width: 860px; }
.feature-grid li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); flex: none; position: relative; }
.tick::after { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* who */
.who { background: var(--soft); }
.tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.tags li { background: #fff; border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; font-weight: 600; }
.who-line { color: var(--muted); font-size: 18px; margin-top: 28px; }

/* faq */
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
summary { list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; font-size: 17px; }
details a { color: var(--blue); font-weight: 600; }

/* booking */
.book { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.book-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.book-copy p { color: rgba(255, 255, 255, .72); font-size: 18px; margin-top: 18px; }
.calendly-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.calendly-slot { min-height: 700px; display: grid; place-items: center; }
.calendly-slot .calendly-inline-widget { width: 100%; height: 700px; }
.calendly-alt { grid-column: 2; font-family: var(--ui); font-size: 14px; color: rgba(255, 255, 255, .55); text-align: center; margin-top: -36px; }
.calendly-alt a { color: var(--cyan); }

/* footer (white, logo in its own colours) */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-logo { height: 48px; width: auto; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }

/* legal pages */
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 17px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }

/* mobile bar */
.mobile-bar { display: none; }

/* reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid, .book-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "try"; gap: 28px; }
  .cards3, .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .calendly-slot, .calendly-slot .calendly-inline-widget { min-height: 1050px; height: 1050px; }
  .calendly-alt { grid-column: 1; margin-top: -24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .brand img { height: 42px; }
  .link-try { display: none; }
  .header-nav .btn-sm { padding: 10px 16px; font-size: 14px; }
  .hero { padding: 36px 0 56px; }
  .eyebrow { font-size: 12.5px; padding: 6px 12px; margin-bottom: 18px; }
  h1 { font-size: clamp(38px, 11vw, 46px); }
  h2 { font-size: clamp(28px, 8.4vw, 36px); }
  .lede { font-size: 17px; margin: 16px 0 26px; }
  .hero-ctas { gap: 14px; }
  .cta-block { width: 100%; gap: 7px; }
  .cta-note { text-align: center; padding-left: 0; }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { padding: 18px 24px; font-size: 17px; }
  .hero-visual { gap: 10px; }
  .note { padding: 12px 14px; border-radius: 18px; gap: 12px; }
  .note-icon { width: 40px; height: 40px; border-radius: 10px; }
  .note-icon svg { width: 22px; height: 22px; }
  .note-icon.mark img { width: 32px; }
  .note-text b { font-size: 15px; }
  .note-text > span { font-size: 13.5px; }
  .note-arrow { padding-left: 18px; font-size: 12px; }
  .bars { display: none; }
  .section { padding: 60px 0; }
  .section h2 + p, .demo-copy p { font-size: 17px; }
  .callcard { padding: 24px 20px 22px; border-radius: 28px; }
  .orb-wrap { width: min(260px, 80%); }
  .callbtn { width: 92px; height: 92px; }
  .chips li { font-size: 14px; padding: 9px 14px; }
  .try-label { margin-top: 0; }
  .pcard, .step { padding: 24px; }
  .feature-grid li { font-size: 17px; padding: 14px 0; }
  .tags li { padding: 10px 16px; font-size: 15px; }
  summary { font-size: 17px; }
  details { padding: 18px 2px; }
  .calendly-card { border-radius: 22px; }
  .site-footer { padding-bottom: 104px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease; }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { padding: 15px 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
