/* ==========================================================================
   Expert Level AI Agents
   Design tokens, layout and components.
   Values mirror the Claude Design source (Expert Level AI Agents.dc.html);
   everything below the desktop breakpoint is new responsive work.
   ========================================================================== */

:root {
  /* Surfaces */
  --cream:        #faf7f2;
  --cream-warm:   #f6efe6;
  --cream-deep:   #f6f2ea;
  --paper:        #ffffff;
  --paper-1:      #fdfcfa;
  --paper-2:      #fffefc;
  --forest:       #16241c;
  --sand:         #fbf5ec;
  --clay:         #f4e6dc;
  --clay-hover:   #efdbcd;
  --bubble:       #f4f0e7;

  /* Ink */
  --ink:          #1c1f1c;
  --ink-strong:   #141613;
  --ink-body:     #4a4e47;
  --ink-muted:    #8a8e83;
  --ink-soft:     #2b2f2a;

  /* Ink on dark */
  --on-dark:      #f7f4ee;
  --on-dark-1:    #e2e8e2;
  --on-dark-2:    #dfe6e0;
  --on-dark-3:    #cdd8d0;
  --on-dark-4:    #c3d1c8;
  --on-dark-5:    #b6c4bb;
  --on-dark-6:    #a9b8ae;
  --on-dark-7:    #94a89b;
  --on-dark-8:    #8fa598;

  /* Accents */
  --rust:         #a8452a;
  --rust-deep:    #8f3d26;
  --rust-light:   #d2795a;
  --rust-soft:    #c9836b;
  --rust-bar:     #b5583d;
  --green:        #2f6b4f;
  --green-dark:   #234f3a;
  --green-bright: #3d8663;
  --green-pale:   #7fb094;
  --green-mint:   #a8d3b8;

  /* Lines */
  --line:         #e7e5df;
  --line-warm:    #e7e2d6;
  --line-soft:    #eee9dd;
  --line-faint:   #f0ece2;
  --line-dash:    #ddd6c8;
  --line-strong:  #d8d1c1;
  --line-clay:    #e6cfc0;
  --line-clay-2:  #dcbda9;
  --line-sand:    #e7d9c9;
  --line-ring:    #cfd8d1;

  /* Type */
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Motion + metrics */
  --ease:      cubic-bezier(.16, 1, .3, 1);
  --shell:     1180px;
  --shell-wide:1240px;
  --gutter:    40px;
  --section-y: 72px;
  --nav-h:     84px;
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* The design uses lists and figures purely for semantics — no UA chrome. */
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }

a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: var(--on-dark);
  padding: 12px 20px; border-radius: 0 0 10px 10px; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--on-dark); }

/* ------------------------------------------------------------ Keyframes -- */

@keyframes el-caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes el-pulse { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }

/* -------------------------------------------------------- Scroll reveal -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease) var(--reveal-delay, 0s),
    transform 0.9s var(--ease) var(--reveal-delay, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Content must never be trapped behind a missing observer. */
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .bar__fill { transition: none !important; }
  .dot, .caret { animation: none !important; }
}

/* ------------------------------------------------------------- Layout --- */

.shell { max-width: var(--shell); margin: 0 auto; }
.shell--wide { max-width: var(--shell-wide); }
.shell--980 { max-width: 980px; }
.shell--900 { max-width: 900px; }
.shell--860 { max-width: 860px; }
.shell--840 { max-width: 840px; }

.section { padding: var(--section-y) var(--gutter); }
.section--hairline-top { border-top: 1px solid var(--line); }
.section--hairline-bottom { border-bottom: 1px solid var(--line); }
.section--dark { background: var(--forest); }
.section--tint { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }

/* -------------------------------------------------------------- Type ---- */

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rust);
}
.eyebrow--light { color: var(--rust-light); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.display em { font-style: italic; }
.display--hero { font-size: clamp(38px, 6.4vw, 70px); line-height: 1.04; }
.display--xl   { font-size: clamp(34px, 5.6vw, 62px); line-height: 1.05; }
.display--lg   { font-size: clamp(32px, 4.9vw, 54px); line-height: 1.08; }
.display--md   { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; }
.display--sm   { font-size: clamp(29px, 4.4vw, 50px); line-height: 1.08; }
.display--xs   { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; }
.display--2xs  { font-size: clamp(27px, 3.9vw, 44px); line-height: 1.12; }
.display--3xs  { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.14; letter-spacing: -.01em; }
.display--on-dark { color: var(--on-dark); }

.lede {
  font-family: var(--serif);
  color: var(--ink-body);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5;
}
.lede--on-dark { color: var(--on-dark-5); }

.note { font-size: 15px; color: var(--ink-muted); }
.note--sm { font-size: 14px; }
.note--xs { font-size: 13px; }
.note--on-dark { color: var(--on-dark-8); }

.tabular { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Buttons --- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 15px 32px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }

/* On the dark sections the primary button lifts instead of deepening. */
.btn--primary-on-dark { background: var(--green); color: #fff; }
.btn--primary-on-dark:hover { background: var(--green-bright); color: #fff; }

.btn--clay {
  background: var(--clay);
  color: var(--rust-deep);
  border-color: var(--line-clay);
}
.btn--clay:hover {
  background: var(--clay-hover);
  color: var(--rust-deep);
  border-color: var(--line-clay-2);
}

.btn--lg { font-size: 16px; padding: 16px 36px; }

.link-underline {
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid #c9c4b6;
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.link-underline:hover { color: var(--green); border-bottom-color: var(--green); }

.cta-row {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- Nav ----- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(22, 36, 28, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s;
}
.nav.is-in { opacity: 1; transform: none; }
.no-js .nav { opacity: 1; transform: none; }

.nav__inner {
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: block; }
.brand__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--on-dark);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.brand__name em { color: var(--rust-light); font-style: italic; }
.brand__tag {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--on-dark-8);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link { font-size: 14px; color: var(--on-dark-4); }
.nav__link:hover { color: var(--on-dark); }
.nav__link[aria-current="page"] {
  color: var(--on-dark);
  border-bottom: 1px solid var(--rust-light);
  padding-bottom: 2px;
}
.nav__cta {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 9px;
  display: inline-block;
  transition: background-color .22s ease;
}
.nav__cta:hover { background: var(--green-dark); color: #fff; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
  color: var(--on-dark-4);
  cursor: pointer;
}
.nav__toggle:hover { color: var(--on-dark); }
.nav__toggle svg { width: 18px; height: 18px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* -------------------------------------------------------------- Hero ---- */

.hero {
  padding: 118px var(--gutter) var(--section-y);
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 62%);
}
.hero__inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.hero .eyebrow { margin-bottom: 34px; display: block; }
.hero__sub { max-width: 760px; margin: 34px auto 0; }
.hero__points {
  max-width: 620px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__points p { font-size: 17px; line-height: 1.7; color: var(--ink-body); }
.hero__points strong { font-weight: 600; color: var(--ink); }
.hero .cta-row { margin-top: 48px; }

/* Layered "delegated" demo card */
.demo { max-width: 940px; margin: 96px auto 0; position: relative; }
.demo__sheet {
  position: absolute;
  border-radius: 12px 12px 0 0;
  height: 22px;
  box-shadow: 0 -1px 0 rgba(28, 31, 28, .05);
}
.demo__sheet--back  { left: 34px; right: 34px; top: -22px; background: var(--paper-1); }
.demo__sheet--front { left: 17px; right: 17px; top: -11px; background: var(--paper-2); }

.demo__window {
  position: relative;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 26px 70px -30px rgba(28, 31, 28, .22);
  overflow: hidden;
}
.demo__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-faint);
}
.demo__lights { display: flex; gap: 7px; }
.demo__lights span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e2ddd0; display: block;
}
.demo__title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.demo__status {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: block;
  animation: el-pulse 1.8s infinite;
}

.demo__body { padding: 34px 34px 40px; min-height: 290px; }

.demo__ask { display: flex; justify-content: flex-end; margin-bottom: 30px; }
.demo__ask-bubble {
  background: var(--bubble);
  border-radius: 14px 14px 4px 14px;
  padding: 15px 20px;
  max-width: 74%;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  text-align: left;
}
.caret {
  display: inline-block;
  width: 1.5px; height: 17px;
  background: var(--rust);
  margin-left: 2px;
  vertical-align: -3px;
  animation: el-caret 1s infinite;
}

.demo__answer { display: flex; gap: 18px; align-items: flex-start; text-align: left; }
.avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--green);
}
.demo__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.demo__name { font-family: var(--serif); font-size: 20px; color: var(--ink-strong); }
.demo__role {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.demo__reply {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.62;
  color: var(--ink-soft);
  min-height: 100px;
}
.demo__caption {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------- Ledger --- */

.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .eyebrow { display: block; margin-bottom: 22px; }
.section-head--wide { max-width: 860px; margin-bottom: 78px; }
.section-head--roster { max-width: 860px; margin-bottom: 90px; }
.section-head--800 { max-width: 800px; margin-bottom: 76px; }
.section-head--820 { max-width: 820px; margin-bottom: 78px; }
.section-head--faq { max-width: none; margin-bottom: 70px; }
.section-head .lede { margin-top: 28px; }
.section-head .eyebrow + .display { margin-top: 0; }

.ledger {
  max-width: 580px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  box-shadow: 0 24px 60px -36px rgba(28, 31, 28, .25);
  padding: 34px 44px 32px;
}
.ledger__cap {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line-dash);
}
.ledger__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-faint);
}
.ledger__label { font-family: var(--serif); font-size: 19px; color: var(--ink-strong); }
.ledger__sub { font-size: 12px; color: var(--ink-muted); margin-top: 3px; }
.ledger__sub--green { color: var(--green); }
.ledger__price { font-family: var(--serif); font-size: 19px; color: var(--rust); }
.ledger__price--green { color: var(--green); }

.ledger__row--total { padding: 18px 0 22px; border-bottom: 0; }
.ledger__total {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--rust);
  letter-spacing: -.02em;
}
.ledger__pivot {
  border-top: 1px dashed var(--line-dash);
  padding: 24px 0 16px;
  text-align: center;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink-strong);
}
.ledger__pivot em { font-style: italic; color: var(--green); }
.ledger__row--offer {
  padding: 13px 0 15px;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
.ledger__row--yours { padding: 18px 0 0; border-bottom: 0; }
.ledger__yours {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--green);
  letter-spacing: -.02em;
}

.pricing-flag {
  max-width: 580px;
  margin: 28px auto 0;
  padding: 16px 24px;
  border: 1px solid var(--line-sand);
  background: var(--sand);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--rust-deep);
}

/* Savings bars */
.savings { max-width: 820px; margin: 88px auto 0; text-align: center; }
.savings .eyebrow { display: block; margin-bottom: 22px; }
.bars {
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: 140px 1fr 110px;
  row-gap: 18px;
  column-gap: 20px;
  align-items: center;
  text-align: left;
}
.bars__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bar { height: 30px; border-radius: 6px; overflow: hidden; }
.bar--trad { background: #f3e4da; }
.bar--ours { background: #e6efe9; }
.bar__fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition: width 1.4s var(--ease) var(--bar-delay, .1s);
}
.bar__fill--trad { background: var(--rust-bar); }
.bar__fill--ours { background: var(--green); }
.bars__value { font-family: var(--serif); font-size: 22px; color: var(--rust); }
.bars__value--green { color: var(--green); }

.savings__claim { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 23px); color: var(--ink-body); margin-top: 40px; }
.savings__claim strong { font-weight: 500; color: var(--green); }
.savings__pitch {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 25px);
  line-height: 1.45;
  color: var(--ink-strong);
  margin: 52px auto 0;
  max-width: 620px;
}
.savings__pitch em { font-style: italic; color: var(--rust); }
.savings .cta-row { margin-top: 40px; }

/* ------------------------------------------------------- Compare cards -- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.panel { padding: 44px 42px 48px; }
.panel--light {
  background: var(--paper);
  box-shadow: 0 20px 60px -34px rgba(28, 31, 28, .2);
}
.panel--dark {
  background: var(--forest);
  margin-top: 40px;
  box-shadow: 0 24px 70px -34px rgba(22, 36, 28, .5);
}
.panel__kicker {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.panel__kicker--on-dark { color: var(--on-dark-8); }
.panel__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.2;
  color: var(--ink-strong);
  margin-bottom: 32px;
}
.panel__title--on-dark { color: var(--on-dark); }
.panel__title em { font-style: italic; color: var(--rust); }
.panel__title--on-dark em { color: var(--rust-light); }

.checklist { display: flex; flex-direction: column; }
.checklist li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
}
.checklist p { font-size: 16px; line-height: 1.7; color: var(--ink-body); }
.checklist .mark { font-size: 15px; line-height: 1.7; flex-shrink: 0; }
.checklist .mark--no { color: var(--rust); }
.checklist .mark--yes { color: var(--green-pale); }

.checklist--on-dark li { border-top-color: rgba(255, 255, 255, .1); }
.checklist--on-dark p { color: var(--on-dark-3); }
.checklist--on-dark strong { font-weight: 600; color: var(--on-dark); }

.compare-outro { text-align: center; margin-top: 82px; }
.compare-outro p:first-child {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.3;
  color: var(--ink-strong);
}
.compare-outro em { font-style: italic; color: var(--rust); }
.compare-outro p + p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 23px);
  color: var(--ink-body);
  margin-top: 22px;
}

/* ---------------------------------------------------------- Guarantee --- */

.section--guarantee { padding-top: 96px; }

.guarantee {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 24px 60px -40px rgba(28, 31, 28, .25);
}
.guarantee__ribbon {
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 14px 34px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.guarantee__ribbon-num { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.guarantee__ribbon-txt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.guarantee__inner {
  border: 1px solid var(--line-warm);
  border-radius: 3px;
  padding: 60px 56px 44px;
  text-align: center;
}
.guarantee__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  margin-top: 40px;
  text-align: left;
}
.guarantee__item { padding: 20px 0; border-top: 1px solid var(--line); }
.guarantee__item:nth-child(3), .guarantee__item:nth-child(4) { border-bottom: 1px solid var(--line); }
.guarantee__item-head { display: flex; gap: 12px; align-items: baseline; }
.guarantee__item-head .mark { color: var(--green); font-size: 14px; }
.guarantee__item-title { font-family: var(--serif); font-size: 20px; color: var(--ink-strong); }
.guarantee__item p { margin: 8px 0 0 26px; font-size: 15px; line-height: 1.65; color: var(--ink-body); }
.guarantee__close { font-family: var(--serif); font-size: 24px; color: var(--rust); margin-top: 34px; }
.guarantee__close em { font-style: italic; }
.guarantee__trust { font-size: 13px; color: var(--ink-muted); margin-top: 12px; }

/* ------------------------------------------------------------ Fit grid -- */

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.fit__card { border: 1px solid rgba(255, 255, 255, .12); padding: 40px 38px 44px; }
.fit__card--yes { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); }
.fit__kicker {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fit__kicker--no { color: var(--rust-soft); }
.fit__kicker--yes { color: var(--green-pale); }
.fit__list { display: flex; flex-direction: column; }
.fit__list li {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 17px;
  line-height: 1.6;
}
.fit__card--no .fit__list li { color: var(--on-dark-7); }
.fit__card--yes .fit__list li { color: var(--on-dark-2); }
.fit__list strong { font-weight: 600; color: #fff; }

.fit-outro { text-align: center; margin-top: 80px; }
.fit-outro em { font-style: italic; color: var(--rust-light); }
.fit-outro .btn { margin-top: 36px; }

/* ------------------------------------------------------------- Roster --- */

.tier { margin-bottom: 74px; }
.tier:last-child { margin-bottom: 0; }
.tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 34px;
}
.tier__name { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); color: var(--ink-strong); line-height: 1.1; }
.tier__count {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.agent {
  background: var(--paper);
  border: 1px solid var(--line-warm);
  border-radius: 12px;
  padding: 30px 28px 32px;
}
.agent[data-reveal] {
  transition:
    opacity .8s var(--ease) var(--reveal-delay, 0s),
    transform .8s var(--ease) var(--reveal-delay, 0s),
    box-shadow .3s ease,
    border-color .3s ease;
}
.agent:hover {
  box-shadow: 0 18px 44px -26px rgba(28, 31, 28, .28);
  border-color: var(--line-strong);
}
.agent__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent__badge {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-ring);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--green);
}
.agent__name { font-family: var(--serif); font-size: 23px; line-height: 1.15; color: var(--ink-strong); }
.agent__role {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust-deep);
  margin-bottom: 16px;
  min-height: 30px;
}
.agent__blurb { font-size: 15px; line-height: 1.72; color: var(--ink-body); }

/* ------------------------------------------------------- Testimonials --- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; }
.quote { border: 1px solid rgba(255, 255, 255, .12); padding: 36px 34px 34px; }
.quote--step-1 { margin-top: 26px; }
.quote--step-2 { margin-top: 52px; }
.quote__stars { color: var(--rust-light); font-size: 13px; letter-spacing: .28em; margin-bottom: 26px; }
.quote__text {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.62;
  color: var(--on-dark-1);
}
.quote__who {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  color: var(--on-dark-7);
}

/* ---------------------------------------------------------------- FAQ --- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--ink-strong);
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq__plus {
  color: var(--rust);
  font-size: 22px;
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq__answer {
  margin: 0;
  padding: 0 90px 30px 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink-body);
}

/* ---------------------------------------------------------- Final CTA --- */

.final { max-width: 900px; margin: 0 auto; text-align: center; }
.final .eyebrow { display: block; margin-bottom: 32px; }
.final__line { margin: 38px auto 0; max-width: 720px; }
.final__line + .final__line { margin-top: 18px; }
.final .btn { margin-top: 48px; }

/* ------------------------------------------------------------- Footer --- */

.footer {
  background: var(--forest);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 72px var(--gutter) 48px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.footer__brand { font-family: var(--serif); font-size: 24px; color: var(--on-dark); }
.footer__brand em { font-style: italic; color: var(--rust-light); }
.footer__about {
  margin-top: 18px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--on-dark-6);
}
.footer__head {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-8);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__links a { font-size: 15px; color: var(--on-dark-4); }
.footer__links a:hover { color: var(--on-dark); }
.footer__legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: var(--on-dark-8);
}

/* ---------------------------------------------------------- Chat dock --- */

.dock {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.dock__pill {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  padding: 14px 24px;
  border: 0;
  cursor: pointer;
  border-radius: 22px 22px 6px 22px;
  box-shadow: 0 14px 34px -12px rgba(22, 36, 28, .5);
  transition: background-color .22s ease;
}
.dock__pill:hover { background: var(--green-dark); color: #fff; }

.dots { display: flex; align-items: center; gap: 5px; }
.dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-mint);
  display: block;
  animation: el-pulse 1.4s infinite;
}
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }

.chat {
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: var(--paper);
  border-radius: 18px 18px 6px 18px;
  box-shadow: 0 30px 80px -30px rgba(22, 36, 28, .45);
  border: 1px solid var(--line-warm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat[hidden] { display: none; }

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--forest);
}
.chat__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--green-mint);
  flex-shrink: 0;
}
.chat__id { flex: 1; min-width: 0; }
.chat__name { font-family: var(--serif); font-size: 17px; color: var(--on-dark); line-height: 1.1; }
.chat__status {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-8);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chat__status .dot { background: var(--green-pale); }
.chat__close {
  background: transparent;
  border: 0;
  color: var(--on-dark-4);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}
.chat__close:hover { color: #fff; }

.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--cream);
}
.msg { display: flex; }
.msg--user { justify-content: flex-end; }
.msg--bot { justify-content: flex-start; }
.msg__bubble {
  max-width: 82%;
  padding: 12px 15px;
  font-size: 14.5px;
  line-height: 1.6;
  white-space: pre-wrap;
}
.msg--user .msg__bubble {
  border-radius: 14px 14px 4px 14px;
  background: var(--green);
  color: #fff;
}
.msg--bot .msg__bubble {
  border-radius: 14px 14px 14px 4px;
  background: var(--paper);
  color: var(--ink);
}

.chat__typing { display: flex; justify-content: flex-start; }
.chat__typing[hidden] { display: none; }
.chat__typing > div {
  padding: 14px 16px;
  border-radius: 14px 14px 14px 4px;
  background: var(--paper);
  border: 1px solid var(--line-warm);
  display: flex;
  gap: 5px;
  align-items: center;
}
.chat__typing .dot { animation-duration: 1.4s; }
.chat__typing .dot:nth-child(2) { animation-delay: .2s; }
.chat__typing .dot:nth-child(3) { animation-delay: .4s; }

.chat__starters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 18px 12px;
  background: var(--cream);
}
.chat__starters[hidden] { display: none; }
.chat__starter {
  background: var(--paper);
  border: 1px solid var(--line-warm);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--green);
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .2s ease;
}
.chat__starter:hover { border-color: var(--green); }

.chat__form {
  display: flex;
  gap: 10px;
  padding: 14px 14px 14px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}
.chat__input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.chat__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .22s ease;
}
.chat__send:hover { background: var(--green-dark); }

/* ------------------------------------------------------- Pricing page --- */

.hero--pricing { padding-top: 104px; }
.hero--pricing .hero__inner { max-width: 980px; }
.hero--pricing .eyebrow { margin-bottom: 30px; }
.hero--pricing .lede { max-width: 720px; margin: 32px auto 0; }
.hero__note {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 620px;
  margin: 16px auto 0;
}
.hero__flag {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 26px;
  border: 1px solid var(--line-sand);
  background: var(--sand);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rust-deep);
}

.section--plans { padding: 24px var(--gutter) 120px; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line-warm);
  border-radius: 14px;
  padding: 38px 36px 36px;
  display: flex;
  flex-direction: column;
}
.plan[data-reveal] {
  transition:
    opacity .9s var(--ease) var(--reveal-delay, 0s),
    transform .9s var(--ease) var(--reveal-delay, 0s),
    box-shadow .3s ease;
}
.plan:hover { box-shadow: 0 24px 60px -36px rgba(28, 31, 28, .28); }

.plan--feature {
  position: relative;
  background: var(--forest);
  border-color: transparent;
  box-shadow: 0 30px 70px -36px rgba(22, 36, 28, .6);
}
.plan--feature:hover { box-shadow: 0 30px 70px -36px rgba(22, 36, 28, .6); }

.plan__flag {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--rust);
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan__tier {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.plan--feature .plan__tier { color: var(--on-dark-8); }
.plan__for {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink-body);
  margin-top: 12px;
  min-height: 54px;
}
.plan--feature .plan__for { color: var(--on-dark-5); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.plan--feature .plan__price { border-bottom-color: rgba(255, 255, 255, .12); }
.plan__figure {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink-strong);
}
.plan--feature .plan__figure { color: var(--on-dark); }
.plan__cycle { font-size: 14px; color: var(--ink-muted); }
.plan--feature .plan__cycle { color: var(--on-dark-8); }

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 0 30px;
  flex: 1;
}
.plan__features li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
}
.plan__features li:first-child { color: var(--ink); font-weight: 500; }
.plan__features .mark { color: var(--green); font-size: 13px; line-height: 1.8; flex-shrink: 0; }
.plan--feature .plan__features li { color: var(--on-dark-3); }
.plan--feature .plan__features li:first-child { color: var(--on-dark); }
.plan--feature .plan__features .mark { color: var(--green-pale); }

.plan .btn { display: block; padding: 14px 24px; }

.plans-note { text-align: center; margin-top: 48px; font-size: 14px; color: var(--ink-muted); }

/* ==========================================================================
   Responsive — the design source is desktop-only; everything below is new.
   ========================================================================== */

@media (max-width: 1080px) {
  :root { --gutter: 30px; --section-y: 64px; }
  .roster, .quotes { grid-template-columns: repeat(2, 1fr); }
  .quote--step-1, .quote--step-2 { margin-top: 0; }
  .panel { padding: 38px 34px 40px; }
  .guarantee__inner { padding: 56px 38px 40px; }
  .footer__grid { gap: 44px; }
  .demo { margin-top: 72px; }
  .faq__answer { padding-right: 40px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 78px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 36, 28, .985);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 22px;
  }
  .nav__links[hidden] { display: none; }
  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 16px;
  }
  .nav__link[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); }
  .nav__cta { margin-top: 18px; text-align: center; padding: 14px 22px; font-size: 15px; }

  .compare, .fit, .plans, .guarantee__grid { grid-template-columns: 1fr; }
  .compare { gap: 24px; }
  .fit { gap: 24px; }
  .panel--dark { margin-top: 0; }
  .guarantee__grid { column-gap: 0; margin-top: 28px; }
  .guarantee__item:nth-child(3) { border-bottom: 0; }
  .plans { gap: 44px; }
  .plan--feature { order: -1; }
  .plan__for { min-height: 0; }

  .hero { padding-top: 88px; }
  .hero--pricing { padding-top: 80px; }
  .hero__points { margin-top: 36px; }
  .hero .cta-row { margin-top: 36px; }
  .cta-row { gap: 16px; }

  .demo__body { padding: 26px 22px 30px; min-height: 0; }
  .demo__bar { padding: 16px 20px; }
  .demo__reply { font-size: 19px; min-height: 0; }
  .demo__ask-bubble { max-width: 88%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand-col { grid-column: 1 / -1; }

  .section-head, .section-head--wide, .section-head--roster,
  .section-head--800, .section-head--820 { margin-bottom: 48px; }
  .compare-outro, .fit-outro { margin-top: 56px; }
  .savings { margin-top: 64px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 52px; --nav-h: 74px; }

  .brand__name { font-size: 22px; }
  .brand__tag { font-size: 9px; }
  .nav__inner { padding: 14px var(--gutter); gap: 14px; }

  .hero { padding-top: 64px; }
  .hero--pricing { padding-top: 58px; }
  .section--guarantee { padding-top: 72px; }
  .section--plans { padding-bottom: 80px; }

  .btn { width: 100%; padding: 15px 24px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .link-underline { text-align: center; }

  .roster, .quotes { grid-template-columns: 1fr; }
  .agent__role { min-height: 0; }

  .ledger { padding: 26px 22px 24px; }
  .ledger__row { flex-wrap: wrap; gap: 4px 16px; }
  .ledger__total { font-size: 30px; }
  .ledger__yours { font-size: 34px; }
  .pricing-flag { padding: 14px 18px; }

  .bars { grid-template-columns: 1fr; row-gap: 8px; }
  .bars__label { margin-top: 10px; }
  .bars__value { text-align: right; }

  .tier__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tier__count { text-align: left; }

  .panel { padding: 30px 22px 32px; }
  .guarantee { padding: 6px; }
  .guarantee__inner { padding: 48px 20px 32px; }
  .guarantee__ribbon { padding: 11px 24px; }
  .guarantee__ribbon-num { font-size: 24px; }
  .fit__card { padding: 30px 22px 32px; }
  .quote { padding: 28px 22px 26px; }
  .plan { padding: 32px 24px 30px; }

  .faq summary { padding: 22px 0; gap: 16px; }
  .faq__answer { padding: 0 0 24px; font-size: 16px; }

  .footer { padding: 56px var(--gutter) 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }

  /* Panel gets the full width; the pill stays compact so it covers less page. */
  .dock { right: 16px; bottom: 16px; left: 16px; align-items: flex-end; }
  .dock__pill { border-radius: 18px 18px 6px 18px; padding: 13px 20px; }
  .chat {
    width: 100%;
    max-width: none;
    height: min(560px, calc(100dvh - 130px));
  }

  /* Keep the last line of the page clear of the floating pill. */
  .footer { padding-bottom: 96px; }
}
