/* ── OmnIA — showcase site ───────────────────────────────────────────────
   Restrained, product-first look: light neutral ground, near-black ink for
   text and primary actions, one deep green accent used sparingly (wordmark,
   links, checks, chat bubbles). One typeface (Instrument Sans). Structure
   comes from spacing and hairlines, not from gradients or glows.
   No JavaScript: the chat animation is CSS and respects reduced motion.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --subtle: #f3f3ef;
  --line: #e5e4de;
  --line-strong: #d6d5ce;
  --ink: #111316;
  --text: #2a2e35;
  --muted: #646a73;
  --accent: #0f6b52;
  --accent-hover: #0b5641;
  --accent-soft: #e6f2ec;
  --radius: 14px;
  --max: 1120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
strong { font-weight: 600; color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ── Wordmark ───────────────────────────────────────────────────────────── */
.brand {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.brand span { color: var(--accent); }
.brand:hover { color: var(--ink); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2d33; color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececea; color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 0.92rem; }
@media (max-width: 640px) {
  .nav .hide-sm { display: none; }
  .nav .btn { padding: 8px 13px; font-size: 0.88rem; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 88px; }
@media (min-width: 960px) { .hero { padding: 104px 0 112px; } }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  margin-bottom: 26px;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero .lede { font-size: 1.16rem; color: var(--muted); max-width: 33rem; margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .facts {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: 40px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
}
.hero .facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Conversation mock-up, presented on a neutral panel */
.showcase {
  position: relative;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
@media (max-width: 480px) { .showcase { padding: 16px; } }
.chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(17, 19, 22, 0.04), 0 12px 32px rgba(17, 19, 22, 0.08);
  max-width: 420px; margin: 0 auto;
}
.chat .head {
  display: flex; align-items: center; gap: 12px;
  padding: 2px 4px 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.chat .avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; letter-spacing: -0.02em;
}
.chat .head b { display: block; font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.chat .head span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.chat .head span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22a06b; }
.chat .msgs { display: flex; flex-direction: column; gap: 8px; }
.msg {
  max-width: 86%; padding: 10px 13px; border-radius: 14px;
  font-size: 0.92rem; line-height: 1.45;
  opacity: 0; transform: translateY(6px);
  animation: msg-in .45s var(--ease) forwards;
}
.msg.in { background: var(--subtle); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--accent-soft); color: #0d3a2d; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg:nth-child(1) { animation-delay: .2s; }
.msg:nth-child(2) { animation-delay: .8s; }
.msg:nth-child(3) { animation-delay: 1.4s; }
.msg:nth-child(4) { animation-delay: 2s; }
.msg:nth-child(5) { animation-delay: 2.6s; }
@keyframes msg-in { to { opacity: 1; transform: none; } }
.chat .score {
  margin-top: 14px; padding: 11px 13px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.82rem; color: var(--muted);
}
.chat .score b { color: var(--accent); font-weight: 600; white-space: nowrap; }
.booked {
  position: absolute; left: 50%; bottom: -18px; transform: translate(-50%, 8px);
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px 8px 9px; font-size: 0.86rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(17, 19, 22, 0.1);
  opacity: 0;
  animation: badge-in .5s var(--ease) 3.3s forwards;
}
@keyframes badge-in { to { opacity: 1; transform: translate(-50%, 0); } }
.booked .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.booked .dot svg { width: 12px; height: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg { animation: none; opacity: 1; transform: none; }
  .booked { animation: none; opacity: 1; transform: translate(-50%, 0); }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 80px 0; }
@media (min-width: 960px) { section { padding: 112px 0; } }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 52px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* Three-column rows separated by hairlines (problem, steps, trust) */
.cols { display: grid; gap: 36px; }
@media (min-width: 860px) { .cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.col { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.col h3 { margin-bottom: 8px; }
.col p { color: var(--muted); font-size: 0.98rem; }
.col .num {
  display: block; margin-bottom: 18px;
  font-size: 0.88rem; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.col .ic { display: block; width: 22px; height: 22px; color: var(--accent); margin-bottom: 18px; }

/* Features: heading on the left, list on the right */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
  .split .section-head { position: sticky; top: 112px; margin-bottom: 0; }
}
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.feature-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.feature-list svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.feature-list b { display: block; color: var(--ink); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; }
.feature-list span { display: block; color: var(--muted); font-size: 0.97rem; margin-top: 3px; }

/* Final call to action */
.cta-section { padding-top: 0; }
.cta {
  background: var(--ink); color: rgba(255, 255, 255, 0.72);
  border-radius: 20px; padding: 56px 28px;
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; padding: 64px 64px; gap: 48px; } }
.cta h2 { color: #fff; }
.cta p { margin-top: 14px; max-width: 34rem; font-size: 1.05rem; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--surface); }
.legal-hero .wrap, .legal .wrap { max-width: 760px; }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.legal-hero .effective { color: var(--muted); margin-top: 14px; }
.legal { padding: 40px 0 104px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin-top: 44px; margin-bottom: 8px; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li { margin: 7px 0; }
.legal li::marker { color: var(--muted); }
.legal .box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-top: 20px;
}
.legal .box h2 { margin-top: 0; font-size: 1.15rem; }
.placeholder {
  background: #fff4cc; color: #6b5200; border-radius: 4px;
  padding: 1px 6px; font-weight: 600; white-space: nowrap;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer .brand { font-size: 1.2rem; }
.site-footer .tagline { margin-top: 12px; max-width: 26rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a, .site-footer .legal-line a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover, .site-footer .legal-line a:hover { color: var(--ink); }
.site-footer .legal-line { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.86rem; }
