/* Anyone Intelligent — pilot site styles */
:root {
  --ink: #172027;
  --paper: #f7f4ec;
  --coral: #ff775a;
  --coral-dark: #e85f43;
  --teal: #0d756d;
  --leaf: #c5dd72;
  --line: #d9d4c9;
  --muted: #687077;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(24, 36, 39, 0.09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 16px; border-radius: 0 0 10px 0; z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- nav ---------- */
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-weight: 850; letter-spacing: -0.065em; font-size: 22px;
  text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap;
}
.brand span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px;
  border-radius: 50%; background: var(--coral); color: #fff; font-size: 14px;
  letter-spacing: -0.08em; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.button) { font-weight: 700; text-decoration: none; font-size: 14px; color: #354047; }
.nav-links a:not(.button):hover { color: var(--coral-dark); }

/* ---------- buttons ---------- */
.button {
  border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 800;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; background: var(--ink); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12); }
.button:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12); }
.button.coral { background: var(--coral); }
.button.coral:hover { background: var(--coral-dark); }
.button.light { background: #fff; color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.small { padding: 10px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 8px; color: var(--teal);
  font-size: 12.5px; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase;
}
.dot { width: 9px; height: 9px; background: var(--coral); border-radius: 50%; flex: none; }
.hero {
  padding: clamp(48px, 7vw, 84px) 0 64px;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 80px); letter-spacing: -0.075em; line-height: 0.97;
  margin: 18px 0 24px; max-width: 720px; font-weight: 850;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p { font-size: clamp(17px, 2vw, 20px); color: #475058; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 540px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--teal); font-weight: 700; }
.hero-note .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(13, 117, 109, 0.45); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 117, 109, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(13, 117, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 117, 109, 0); }
}

/* conversation visual */
.visual { position: relative; padding-bottom: 58px; }
.phone {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: 28px;
  box-shadow: var(--shadow); padding: 14px; transform: rotate(-1.5deg); max-width: 430px; margin-left: auto;
}
.phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 12px; }
.phone-bar .who { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 13.5px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--leaf);
  display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #33420e; flex: none;
}
.counter {
  font-size: 11.5px; font-weight: 800; color: var(--teal); background: #e7f2ef;
  padding: 5px 9px; border-radius: 99px; white-space: nowrap;
}
.thread { display: grid; gap: 9px; padding: 4px 6px 14px; }
.bubble {
  padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.42;
  background: #f1ede4; max-width: 88%; border-bottom-left-radius: 5px;
}
.bubble.you { background: var(--ink); color: #fff; justify-self: end; border-radius: 16px; border-bottom-right-radius: 5px; }
.bubble.bye { background: #fbe9e4; border: 1px dashed #f3b7a8; }
.thread-label { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 0 8px; }
.visual-tag {
  position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff;
  border-radius: 14px; padding: 12px 16px; font-size: 12.5px; font-weight: 700;
  box-shadow: var(--shadow); transform: rotate(2deg); max-width: 230px;
}
.visual-tag small { display: block; color: #bdc7c2; font-weight: 500; margin-top: 3px; }

/* ---------- trust strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 17px 0; font-size: 13.5px; font-weight: 700; color: #46515a;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.check {
  display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%;
  background: var(--leaf); color: #33420e; font-size: 11px; font-weight: 900; flex: none; font-style: normal;
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: #efebe1; border-block: 1px solid #e2dccf; }
.section h2 {
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.06em; line-height: 1.02;
  margin: 14px 0 16px; max-width: 720px; font-weight: 850;
}
.lead { font-size: 18px; color: #4b555d; max-width: 640px; margin: 0; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.card {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: var(--radius);
  padding: 26px; box-shadow: 0 2px 0 rgba(23, 32, 39, 0.03);
}
.card .num {
  font-size: 12px; font-weight: 900; letter-spacing: 0.12em; color: var(--coral-dark);
  display: block; margin-bottom: 14px;
}
.card h3 { font-size: 19px; letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; }
.card p { color: #59636b; margin: 0; font-size: 14.5px; }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.step p { margin: 0; color: #59636b; font-size: 14.5px; }

/* ---------- demo ---------- */
.demo-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.demo {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.demo-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 17px; border-bottom: 1px solid #ece7dc; font-size: 12.5px; font-weight: 800;
}
.demo-top .online { color: var(--teal); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.demo-chat { padding: 18px; display: grid; gap: 9px; min-height: 240px; align-content: start; max-height: 330px; overflow-y: auto; }
.demo-chat .msg {
  background: #f1ede4; padding: 10px 13px; border-radius: 14px; border-bottom-left-radius: 4px;
  font-size: 14px; max-width: 88%; justify-self: start;
}
.demo-chat .msg.you { background: var(--ink); color: #fff; justify-self: end; border-radius: 14px; border-bottom-right-radius: 4px; }
.composer { display: flex; gap: 8px; padding: 13px 15px; border-top: 1px solid #ece7dc; background: #faf7f0; }
.composer input {
  flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px;
  background: #fff; font-size: 14px; min-width: 0;
}
.composer button {
  border: 0; border-radius: 10px; background: var(--coral); color: #fff;
  font-weight: 800; padding: 0 17px; font-size: 14px;
}
.composer button:disabled { opacity: 0.45; cursor: not-allowed; }
.demo-note { font-size: 12px; color: var(--muted); margin: 0; padding: 0 18px 16px; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #4b555d; }
.checks .check { margin-top: 2px; }

/* ---------- pool / waitlist ---------- */
.pool { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.pool-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.pool-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #4b555d; }
.pool-points b { color: var(--ink); }
.pool-stat {
  display: inline-flex; align-items: baseline; gap: 10px; background: #e7f2ef; color: var(--teal);
  border-radius: 14px; padding: 12px 16px; margin-top: 26px; font-size: 13.5px; font-weight: 700;
}
.pool-stat[hidden] { display: none; }
.pool-stat strong { font-size: 22px; letter-spacing: -0.04em; color: var(--ink); }

.form-card {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.form-card h3 { margin: 0 0 6px; font-size: 23px; letter-spacing: -0.045em; }
.form-card > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.field { margin-bottom: 15px; }
.field > label, .group-label {
  display: block; font-size: 12px; font-weight: 850; letter-spacing: 0.03em;
  margin-bottom: 6px; text-transform: uppercase; color: #3c474e;
}
.field .optional { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.field input[type="email"], .field input[type="text"], .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
  background: #fff; color: var(--ink);
}
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(13, 117, 109, 0.12); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.role {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--line); border-radius: 11px; padding: 11px 6px; font-size: 12.5px;
  font-weight: 750; cursor: pointer; background: #fff; color: #3c474e; line-height: 1.25;
}
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role:has(input:checked) { border-color: var(--teal); background: #e7f2ef; color: var(--teal); }
.role:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.consents { display: grid; gap: 10px; margin: 18px 0 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4b555d; line-height: 1.4; }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--teal); }
.consent a { color: var(--teal); font-weight: 700; }
.form-card .button { width: 100%; margin-top: 14px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: 13.5px; min-height: 20px; }
.form-status.error { color: #b3341c; }
.form-status.ok { color: var(--teal); font-weight: 700; }
.form-fine { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.success { display: none; text-align: center; padding: 12px 0; }
.success.show { display: block; }
.success .big-check {
  width: 52px; height: 52px; border-radius: 50%; background: var(--leaf); color: #33420e;
  display: grid; place-items: center; font-size: 24px; font-weight: 900; margin: 0 auto 16px;
}
.success h3 { font-size: 24px; }
.success p { color: #4b555d; font-size: 14.5px; max-width: 380px; margin: 0 auto 18px; }
.share-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.copy-status { font-size: 12px; color: var(--teal); margin-top: 10px; min-height: 16px; }

/* ---------- faq ---------- */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
details {
  background: var(--white); border: 1px solid #e4dfd4; border-radius: 13px; padding: 17px 20px;
}
details[open] { border-color: #cfc8b8; }
summary { font-weight: 800; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--coral-dark); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: #59636b; font-size: 14.5px; max-width: 680px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line); padding: 34px 0 46px; display: flex;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: 26px 0 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.06em; margin: 30px 0 8px; }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal h2 { font-size: 21px; letter-spacing: -0.03em; margin: 36px 0 10px; }
.legal p, .legal li { color: #3f4a51; font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--teal); }
.legal .back { display: inline-block; margin-top: 26px; font-weight: 800; color: var(--ink); text-decoration: none; }

/* ---------- misc ---------- */
.hidden { display: none !important; }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: all 0.2s ease; z-index: 80; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .visual { max-width: 460px; margin-inline: auto; width: 100%; padding-bottom: 54px; }
  .phone { transform: none; }
  .visual-tag { left: 0; bottom: 0; }
  .demo-grid, .pool { grid-template-columns: 1fr; gap: 34px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .nav { height: 70px; }
  .nav-links a:not(.button) { display: none; }
  .nav-links .button { padding: 10px 15px; font-size: 13px; }
  .hero { padding-top: 24px; padding-bottom: 46px; }
  .hero h1 { margin-top: 14px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .trust { font-size: 12.5px; gap: 10px 18px; }
  .roles { grid-template-columns: 1fr; }
  .role { justify-content: flex-start; padding: 12px 14px; text-align: left; }
  .pool-stat { display: flex; flex-wrap: wrap; }
  .footer { flex-direction: column; }
  .demo-chat { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
