/* Your AI Receptionist · a product by NiKeSo */
:root {
  --bg: #f3f4f3;
  --surface: #ffffff;
  --tone: #e7e9e7;
  --ink: #0f1311;
  --muted: #454c48;
  --dark: #0c1310;
  --dark-2: #141f19;
  --dark-3: #1b2a22;
  --dark-ink: #e9f0eb;
  --dark-muted: #8e9c94;
  --lime: #c8f43a;
  --lime-ink: #0b1203;
  --pink: #ff4f7b;

  --small: .875rem;
  --body: 1.0625rem;
  --lead: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  --head: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --display: clamp(2.6rem, 1.4rem + 4.6vw, 5.25rem);

  --margin: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--body)/1.55 "Satoshi", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; font-size: 1.25rem; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 700 1rem/1 "Satoshi", "Segoe UI", sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); } .btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-plain { background: transparent; color: var(--ink); padding: 0 6px; text-decoration: underline; text-underline-offset: 5px; }

/* nav */
.nav { display: flex; align-items: center; gap: 28px; padding-top: 24px; padding-bottom: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.125rem; letter-spacing: -0.02em; }
.brand span { font-size: var(--small); color: var(--muted); }
.nav nav { margin-left: auto; display: flex; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; }

/* HOME hero: headline + actions on one row, the real dashboard large beneath */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 56px; row-gap: 48px; align-items: end; padding-top: 40px; padding-bottom: 96px; }
.hero > .reveal:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
.hero > .reveal:first-child .lead { margin-top: 0; }
.hero .actions { grid-column: 2; margin-top: -28px; }
.shot { grid-column: 1 / -1; margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 20px; background: var(--dark); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: var(--small); }
.hero h1 { font-size: var(--display); }
.hero p.lead { font-size: var(--lead); color: var(--muted); margin-top: 24px; max-width: 34ch; }
.hero .actions { display: flex; gap: 14px; align-items: center; margin-top: 36px; flex-wrap: wrap; }

/* live demo card (a piece of the real product) */
.demo { background: var(--dark); color: var(--dark-ink); border-radius: 20px; padding: 18px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--dark-2); border-radius: 12px; padding: 4px; }
.tabs button { border: 0; background: none; color: var(--dark-muted); padding: 9px 6px; border-radius: 9px; font: 600 .875rem "Satoshi", sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--dark-ink); }
.tabs button[aria-selected="true"] { background: var(--dark-3); color: var(--lime); }
.demo-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }
.chat { display: grid; gap: 8px; align-content: start; min-height: 230px; }
.bubble { padding: 10px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.45; max-width: 95%; animation: rise .45s var(--ease) both; }
.bubble small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 2px; }
.bubble.caller { background: var(--dark-3); justify-self: end; }
.bubble.caller small { color: var(--lime); }
.bubble.ai { background: var(--dark-2); }
.bubble.ai small { color: var(--pink); }
.map { background: var(--dark-2); border-radius: 12px; padding: 12px; display: grid; gap: 6px; align-content: start; }
.map-head { display: flex; justify-content: space-between; font-size: .8rem; color: var(--dark-muted); }
.map-head b { color: var(--lime); }
.map-row { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; padding: 7px 9px; background: var(--dark-3); border-radius: 8px; animation: rise .45s var(--ease) both; }
.map-row span { color: var(--dark-muted); }
.map-done { margin-top: 4px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: .85rem; padding: 8px 10px; border-radius: 8px; text-align: center; animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* HOME how it works */
.how { padding-top: 120px; padding-bottom: 120px; }
.how h2, .section-head { font-size: var(--head); max-width: 18ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }
.step .when { display: block; font-weight: 700; color: var(--ink); font-size: var(--small); margin-bottom: 14px; padding: 6px 10px; background: var(--tone); border-radius: 999px; width: max-content; }

/* dark CTA band */
.cta { background: var(--dark); color: var(--dark-ink); border-radius: 28px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: end; }
.cta h2 { font-size: var(--head); max-width: 16ch; }
.cta p { color: var(--dark-muted); margin-top: 16px; max-width: 42ch; font-size: var(--lead); }

/* footer */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 40px; color: var(--muted); font-size: var(--small); flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--ink); }

/* FEATURES page */
.page-head { padding-top: 48px; padding-bottom: 72px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.page-head h1 { font-size: var(--display); }
.page-head p { font-size: var(--lead); color: var(--muted); max-width: 40ch; }
.group { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding-top: 56px; padding-bottom: 56px; }
.group + .group { background: none; }
.group h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); position: sticky; top: 24px; align-self: start; }
.group h2 + p { color: var(--muted); margin-top: 12px; max-width: 30ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--muted); }
.band { background: var(--surface); border-radius: 24px; }
/* small product fragments next to each feature group */
.ui { margin-top: 28px; background: var(--dark); color: var(--dark-ink); border-radius: 16px; padding: 14px; display: grid; gap: 8px; max-width: 360px; font-size: .9rem; }
.ui-b { padding: 9px 11px; border-radius: 11px; max-width: 92%; }
.ui-b.caller { background: var(--dark-3); justify-self: end; }
.ui-b.ai { background: var(--dark-2); }
.ui-hint { color: var(--lime); font-weight: 700; font-size: .8rem; }
.ui-wa { background: #123a2b; border-radius: 11px; padding: 10px 12px; }
.ui-wa b { display: block; margin-bottom: 4px; }
.ui-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ui-btns span { background: #0f2d22; color: #67e0a6; text-align: center; padding: 8px; border-radius: 8px; font-size: .82rem; }
.ui-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: var(--dark-2); padding: 9px 11px; border-radius: 10px; }
.ui-row span { color: var(--dark-muted); }
.ui-row em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--lime); color: var(--lime-ink); }
.ui-row em.arrived { background: #f6b93b; }

/* PRICING page */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--surface); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.pick { background: var(--dark); color: var(--dark-ink); }
.plan .amt { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.plan .amt small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.pick .amt small, .plan.pick li { color: var(--dark-muted); }
.plan .fit { color: var(--muted); margin-top: -6px; }
.plan.pick .fit { color: var(--dark-muted); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--ink); font-weight: 700; margin-right: 8px; }
.plan.pick li::before { color: var(--lime); }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 18px; color: var(--muted); font-size: var(--small); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.extra { background: var(--tone); border-radius: 20px; padding: 28px; }
.extra h3 { margin-bottom: 8px; }
.extra p { color: var(--muted); }
.extra .tag { display: inline-block; margin-top: 14px; font-weight: 700; font-size: var(--small); }
.calc label { display: grid; gap: 6px; font-size: var(--small); color: var(--muted); margin-top: 12px; }
.calc .row { display: flex; align-items: center; gap: 12px; }
.calc input[type=range] { flex: 1; accent-color: var(--ink); }
.calc output { min-width: 3.2em; font-weight: 700; color: var(--ink); }
.calc input[type=number] { font: inherit; padding: 8px 10px; border: 0; border-radius: 8px; background: var(--surface); width: 140px; }
.calc-result { margin-top: 14px; color: var(--ink) !important; }
.calc-result b { background: var(--lime); padding: 0 .25em; border-radius: 4px; }
.faq { padding-top: 96px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq h2 { font-size: var(--head); }
.faq details { border-radius: 14px; padding: 16px 20px; transition: background-color .2s; }
.faq details[open] { background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 56ch; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* tablet + phone */
@media (max-width: 980px) {
  .hero, .page-head, .group, .faq { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 0; padding-top: 24px; }
  .hero > .reveal:first-child { grid-template-columns: 1fr; gap: 20px; }
  .hero .actions { grid-column: 1; margin-top: 8px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans, .extras { grid-template-columns: 1fr; }
  .group h2 { position: static; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .steps, .feats { grid-template-columns: 1fr; }
  .demo-body { grid-template-columns: 1fr; }
  .tabs button { font-size: .8rem; padding: 9px 2px; }
  .how { padding-top: 72px; padding-bottom: 72px; }
}

/* ================= lively home ================= */
.hero { grid-template-columns: 0.9fr 1.1fr; align-items: center; column-gap: 48px; padding-top: 8px; padding-bottom: 56px; min-height: calc(100svh - 96px); }
.hero-text h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.75rem); }
.hero-text .lead { margin-top: 20px; }
.hero-text .actions { margin-top: 30px; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -0.06em; right: -0.06em; bottom: 0.08em; height: 0.36em; background: var(--lime); z-index: -1; border-radius: 6px; transform-origin: left; animation: sweep .9s .4s var(--ease) both; }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.live-chip { display: inline-flex; align-items: center; gap: 10px; font-size: var(--small); font-weight: 600; background: var(--surface); padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
.live-chip i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

.hero-visual { position: relative; perspective: 1400px; }
.hero-visual .shot { margin: 0; transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; transition: transform .8s var(--ease); animation: floaty 6s ease-in-out infinite; }
.hero-visual:hover .shot { transform: rotateY(0) rotateX(0); }
.hero-visual .shot img { width: 100%; max-height: 62svh; object-fit: cover; object-position: top left; border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(12,19,16,.55); }
@keyframes floaty { 50% { translate: 0 -8px; } }
.toasts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.toasts li { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 10px 14px; border-radius: 14px; box-shadow: 0 14px 30px -12px rgba(12,19,16,.35); white-space: nowrap; opacity: 0; animation: toast 10s var(--ease) infinite; }
.toasts li b { font-size: 1rem; }
.toasts .t1 { top: -14px; left: 8%; animation-delay: .6s; }
.toasts .t2 { top: 22%; right: -18px; animation-delay: 2.2s; }
.toasts .t3 { bottom: 30%; left: -26px; animation-delay: 3.8s; background: var(--lime); color: var(--lime-ink); }
.toasts .t4 { bottom: 8%; right: 6%; animation-delay: 5.4s; }
.toasts .t5 { bottom: -16px; left: 22%; animation-delay: 7s; }
@keyframes toast { 0% { opacity: 0; transform: translateY(14px) scale(.92); } 6%, 30% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }

.ticker { background: var(--dark); color: var(--dark-ink); overflow: hidden; padding: 20px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.ticker-track span::after { content: "✦"; color: var(--lime); margin-left: 56px; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.step { background: var(--surface); border-radius: 20px; padding: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -24px rgba(12,19,16,.35); }
.step .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); font-size: 1.3rem; margin-bottom: 16px; }
.step .when { margin-bottom: 10px; }
.how { padding-top: 96px; padding-bottom: 96px; }

.cta { background: var(--lime); color: var(--lime-ink); }
.cta p { color: #2b3a12; }
.cta .btn-lime { background: var(--ink); color: var(--lime); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; row-gap: 40px; }
  .hero-visual .shot { transform: none; }
  .toasts .t2 { right: 0; } .toasts .t3 { left: 0; }
}
@media (max-width: 640px) { .toasts li { font-size: .78rem; padding: 8px 10px; } .toasts .t5 { display: none; } }
@media (prefers-reduced-motion: reduce) { .toasts li { opacity: 1; } .toasts .t4, .toasts .t5 { display: none; } .hl::after { transform: none; } }

/* downloads */
.downloads { padding-top: 96px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.downloads h2 { font-size: var(--head); }
.dl-list { display: grid; gap: 12px; }
.dl { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--surface); border-radius: 18px; padding: 18px 20px; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.dl:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(12,19,16,.35); }
.dl-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--dark); color: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.dl b { display: block; } .dl small { color: var(--muted); }
.dl-go { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 980px) { .downloads { grid-template-columns: 1fr; gap: 24px; } }

.dl-list { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .dl-list { grid-template-columns: 1fr; } }
