/* botrabbit.ai - Ink & Ember palette
   Palette switched 2026-07-05 (was Signal Teal). Swap the :root vars to re-theme. */

:root {
  --ink: #141414;
  --ink-soft: #241c16;
  --teal: #c05a2e;
  --teal-bright: #e8a44c;
  --offwhite: #f4f1ec;
  --paper: #ffffff;
  --text: #1a2230;
  --text-muted: #5b6675;
  --line: #e3e8ec;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 24px rgba(17, 24, 39, 0.06);
  --radius: 14px;
  --maxw: 1120px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: #cbd3df; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--paper { background: var(--paper); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 14px;
}

.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 640px; }
.section--dark .lead { color: #aeb8c6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 247, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
/* multiply drops the mark's white background into the light header so it blends seamlessly */
.brand img { height: 68px; width: auto; display: block; mix-blend-mode: multiply; }
.brand .dot-ai { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--teal); text-decoration: none; }
.nav a.active { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--teal-bright); box-shadow: 0 8px 20px rgba(192, 90, 46, 0.3); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--onDark { background: var(--teal); color: var(--ink); }
.btn--onDark:hover { background: var(--teal-bright); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, rgba(232, 164, 76, 0.16), transparent 60%), var(--ink);
  color: #fff;
  padding: 96px 0 88px;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #b7c1d0; margin-bottom: 32px; }
.hero .tagline {
  font-family: var(--font-head);
  color: var(--teal-bright);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card .num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price--feature { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.price .amount { font-family: var(--font-head); font-size: 2.6rem; color: var(--ink); font-weight: 700; }
.price .amount small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.price li { padding: 7px 0 7px 26px; position: relative; color: var(--text-muted); }
.price li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.price .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.1rem;
}
.step h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink), var(--ink-soft));
  color: #fff;
  border-radius: 20px;
  padding: 52px 44px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #aeb8c6; max-width: 520px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--paper);
  color: var(--text);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(192, 90, 46, 0.15);
}
.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #8b95a5;
  padding: 44px 0 32px;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: #b7c1d0; }
.site-footer .brand { color: #fff; }
/* invert turns the black mark white; lighten drops its (now-black) box into the dark footer */
.site-footer .brand img { filter: invert(1); mix-blend-mode: lighten; }
.foot-links { display: flex; gap: 22px; font-size: 0.92rem; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: rgba(192, 90, 46, 0.1);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Hamburger / mobile nav ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; margin: 0 auto;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Wave motif (echoes the mark's broadcast arcs) ---------- */
.wave-mark { display: block; width: 54px; height: 20px; }
.wave-mark path { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; }
.eyebrow-wave { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.eyebrow-wave .eyebrow { margin-bottom: 0; }
.section--dark .wave-mark path { stroke: var(--teal-bright); }

/* ---------- Hero two-column + agent mock (homepage only) ---------- */
.hero--split .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-visual { min-width: 0; }
.agent-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  position: relative;
}
.agent-card__bar { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.agent-card__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(232, 164, 76, 0.2);
}
.agent-card__title { font-family: var(--font-head); font-size: 0.92rem; color: #fff; font-weight: 600; }
.agent-card__tag {
  margin-left: auto; font-family: var(--font-head); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #6f7a8a;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 3px 8px;
}
.bubble {
  border-radius: 13px; padding: 11px 14px; font-size: 0.9rem; line-height: 1.45;
  margin-bottom: 10px; max-width: 86%;
}
.bubble--in { background: rgba(255, 255, 255, 0.09); color: #d7deea; border-top-left-radius: 3px; }
.bubble--out {
  background: var(--teal); color: var(--ink); margin-left: auto;
  border-top-right-radius: 3px; font-weight: 500;
}
.agent-card__meta {
  display: flex; gap: 18px; margin-top: 14px; padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem; color: #8b95a5;
}
.agent-card__meta b { color: #c7cfdb; font-weight: 600; }

/* ---------- Example agents ---------- */
.examples-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.agent-example {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.agent-example__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(192, 90, 46, 0.1); display: grid; place-items: center;
}
.agent-example__icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.agent-example h3 { font-size: 1.05rem; margin: 0 0 5px; }
.agent-example p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Price anchor band ---------- */
.anchor {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  margin-top: 34px; background: var(--paper); box-shadow: var(--shadow);
}
.anchor__col { padding: 32px 26px; text-align: center; border-right: 1px solid var(--line); }
.anchor__col:last-child { border-right: 0; }
.anchor__col--feature { background: var(--ink); color: #fff; }
.anchor__label {
  font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.anchor__col--feature .anchor__label { color: var(--teal-bright); }
.anchor__price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.anchor__col--feature .anchor__price { color: #fff; }
.anchor__note { font-size: 0.86rem; color: var(--text-muted); margin-top: 10px; line-height: 1.4; }
.anchor__col--feature .anchor__note { color: #aeb8c6; }

/* ---------- Founder pull-quote ---------- */
.quote { max-width: 840px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.32;
  color: #fff; margin: 20px 0; letter-spacing: -0.01em;
}
.quote cite { font-style: normal; color: var(--teal-bright); font-size: 0.95rem; font-family: var(--font-head); }

/* ---------- Statement band (oversized editorial line) ---------- */
.statement-band { padding: 96px 0; text-align: center; }
.statement-band .wrap { max-width: 780px; }
.statement-lead {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin: 0 0 18px;
}
.statement-punch {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}
.statement-punch .accent-word { color: var(--teal); letter-spacing: 0.04em; }

/* ---------- Founder (About) ---------- */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: start; }
.founder__photo { position: sticky; top: 100px; max-width: 280px; margin: 0 auto; }
.founder__photo img {
  width: 100%; height: auto; display: block;
  border-radius: 18px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover;
  /* source photo's face sits right-of-center with blank background on the left;
     shift the crop window right so the face lands centered in the frame, not the raw image center */
  object-position: 80% center;
}
.founder__photo::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 18px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(17,24,39,0.06);
}
.founder__bio .eyebrow { margin-bottom: 10px; }
.founder__bio h2 { margin-bottom: 16px; }

.founder-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
}
.founder-stat .num {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 1.35rem; color: var(--teal); line-height: 1.1; margin-bottom: 6px;
}
.founder-stat .label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Trust row ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.trust__item h3 { font-size: 1.08rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.trust__item h3 svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.9; flex: none; }
.trust__item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero--split .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: 2; }
  .grid--3, .steps, .examples-grid, .trust, .founder-stats { grid-template-columns: 1fr 1fr; }
  .price-grid, .contact-grid, .grid--2 { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder__photo { max-width: 240px; position: static; }
  .anchor { grid-template-columns: 1fr; }
  .anchor__col { border-right: 0; border-bottom: 1px solid var(--line); }
  .anchor__col:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .statement-band { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--offwhite); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 24px 18px; display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
}
@media (max-width: 560px) {
  .grid--3, .steps, .examples-grid, .trust, .founder-stats { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
