:root {
  --bg: #f4ece2;
  --bg-deep: #eadcce;
  --paper: #fffaf3;
  --ink: #1d1713;
  --ink-soft: #5a4d43;
  --line: rgba(29, 23, 19, 0.1);
  --cyan: #0f8f9c;
  --cyan-deep: #0a6d77;
  --amber: #d4783a;
  --chat: #161c20;
  --chat-line: #2ee0d0;
  --radius: 1.25rem;
  --shadow: 0 18px 50px rgba(61, 36, 18, 0.12);
  --header-h: 4.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(15, 143, 156, 0.12), transparent 55%),
    radial-gradient(800px 420px at 100% 8%, rgba(212, 120, 58, 0.12), transparent 50%),
    var(--bg);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1, h2, h3 {
  font-family: Unbounded, Manrope, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead,
.section-lead {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 38rem;
}

.section-lead {
  margin-bottom: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ef;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(29, 23, 19, 0.16);
}

.btn:hover { background: #2b221c; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover { background: rgba(29, 23, 19, 0.05); }

.btn-small {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
}

.text-link {
  align-self: center;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: visible;
  height: var(--header-h);
  background: rgba(244, 236, 226, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo-mark {
  color: var(--cyan);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
}

.nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover { color: var(--cyan-deep); }
.nav .btn { color: #fff8ef; }

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  cursor: pointer;
}

.nav-burger span,
.nav-burger span:before,
.nav-burger span:after {
  display: block;
  width: 1.3rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}

.nav-burger span:before,
.nav-burger span:after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-burger span:before { top: -6px; }
.nav-burger span:after { top: 6px; }

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid,
.abilities-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-art,
.abilities-art,
.cta-art {
  margin: 0;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-deep);
}

.hero-art img,
.abilities-art img,
.cta-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.abilities-art img { aspect-ratio: 3 / 4; }

/* Sections */
.section { padding: 4.5rem 0; }

.essence { background: linear-gradient(180deg, transparent, rgba(255, 250, 243, 0.7) 18%); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card,
.platform {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.15rem;
  box-shadow: 0 8px 24px rgba(61, 36, 18, 0.05);
}

.card p,
.platform p {
  color: var(--ink-soft);
  margin: 0;
}

/* Chat phones */
.chats {
  background: #122024;
  color: #e8f6f4;
}

.chats .eyebrow { color: var(--chat-line); }
.chats h2 { color: #fff; }
.chats .section-lead { color: #b7cdc9; }

.chat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.phone {
  background: linear-gradient(180deg, #1b262b, #12181b);
  border: 1px solid rgba(46, 224, 208, 0.28);
  border-radius: 1.5rem;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.phone-bar {
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid rgba(46, 224, 208, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chat-line);
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem;
}

.bubble {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  padding: 0.7rem 0.75rem 0.5rem;
  background: #1e272c;
}

.bubble.bot {
  border-color: rgba(46, 224, 208, 0.45);
  background: #173035;
}

.bubble .who {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--chat-line);
  margin-bottom: 0.3rem;
}

.bubble p {
  margin: 0;
  color: #eef7f5;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bubble blockquote {
  margin: 0 0 0.45rem;
  padding: 0.35rem 0.5rem;
  border-left: 2px solid rgba(46, 224, 208, 0.55);
  color: #93b4af;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bubble time {
  display: block;
  margin-top: 0.4rem;
  text-align: right;
  color: #7f9995;
  font-size: 0.7rem;
}

/* Abilities */
.ability-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.ability-list li {
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.ability-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

/* Platforms */
.platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform.featured {
  background: #122024;
  color: #e8f6f4;
  border-color: transparent;
}

.platform.featured p { color: #b7cdc9; }
.platform.featured .btn { margin-top: 1rem; }

/* CTA + footer */
.cta {
  padding: 4.5rem 0 3rem;
}

.site-footer {
  background: #1d1713;
  color: #efe6db;
  padding: 3rem 0 1.4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer .logo { color: #fff8ef; }
.site-footer p,
.footer-col a {
  color: #cbbfb2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col h3 {
  color: #fff8ef;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--chat-line); }

.footer-copy {
  border-top: 1px solid rgba(255, 248, 239, 0.1);
  padding-top: 1rem;
}

.footer-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: #9c9084;
}

@media (max-width: 980px) {
  .hero-grid,
  .abilities-grid,
  .cta-grid,
  .cards,
  .chat-grid,
  .platform-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 2rem; }

  .nav-burger { display: grid; }

  .nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.2rem;
    background: rgba(244, 236, 226, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav { display: flex; }

  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span:before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:after { top: 0; transform: rotate(-45deg); }

  .abilities-art img,
  .cta-art img { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .wrap { width: min(1140px, calc(100% - 1.25rem)); }
  .section { padding: 3.2rem 0; }
  .bubble p { font-size: 0.9rem; }
}
