/* CallCatch waitlist lander — mobile-first, Ontario trades vibe */

:root {
  --teal-950: #0a1f24;
  --teal-900: #0f2d33;
  --teal-800: #164049;
  --teal-700: #1c5560;
  --teal-600: #247384;
  --teal-500: #2d8f9e;
  --teal-100: #d4eef2;
  --cream: #f4f1ea;
  --cream-dark: #e8e3d8;
  --ink: #142226;
  --ink-muted: #4a5c61;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-hover: #a84c1e;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(10, 31, 36, 0.18);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1080px;
  --narrow: 640px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-900);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-900);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 34, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-900);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--teal-600), var(--teal-900));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal-800);
}

.nav-cta {
  display: none;
  background: var(--teal-800);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--teal-900);
  color: var(--white) !important;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-block;
  }

  .nav a:not(.nav-cta) {
    display: inline;
  }
}

@media (max-width: 639px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    display: inline-block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: rgba(28, 85, 96, 0.35);
}

.btn-ghost:hover {
  background: rgba(28, 85, 96, 0.08);
  color: var(--teal-900);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(45, 143, 158, 0.12), transparent 55%),
    var(--cream);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding-block: 1.5rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--teal-950);
}

.lede {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.hero-card {
  background: var(--teal-900);
  color: var(--cream);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-100);
  opacity: 0.85;
}

.sms-bubble {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px 16px 16px 4px;
  padding: 1rem 1.15rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.sms-bubble p {
  margin: 0;
}

.sms-bubble p + p {
  margin-top: 0.65rem;
}

.sms-stop {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.card-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--teal-100);
  opacity: 0.8;
}

/* Bands & sections */
.band {
  padding: 2.75rem 0;
}

.band-muted {
  background: var(--teal-900);
  color: var(--cream);
}

.band-muted h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.band-muted p {
  margin: 0;
  color: rgba(244, 241, 234, 0.88);
  font-size: 1.05rem;
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  color: var(--teal-950);
  text-align: center;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.steps li {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-950);
}

.steps p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* Pricing */
.section-pricing {
  background: linear-gradient(180deg, transparent, rgba(28, 85, 96, 0.06));
}

.price-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 28px rgba(10, 31, 36, 0.08);
}

.price-amount {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal-950);
  line-height: 1;
}

.price-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-right: 0.1rem;
}

.price-amount .period {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.price-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: left;
}

.price-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-top: 1px solid var(--cream-dark);
  color: var(--ink);
  font-size: 0.98rem;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--teal-600);
}

/* Waitlist */
.section-waitlist {
  background: var(--cream-dark);
}

.waitlist-intro {
  margin: -0.5rem auto 1.75rem;
  text-align: center;
  color: var(--ink-muted);
  max-width: 32em;
}

.waitlist-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(20, 34, 38, 0.08);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-950);
}

.field input,
.field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(20, 34, 38, 0.18);
  border-radius: 8px;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--teal-500);
  outline-offset: 1px;
  border-color: var(--teal-600);
  background: var(--white);
}

.field-note {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

.casl {
  font-style: italic;
}

.form-success {
  background: var(--white);
  border: 2px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.form-success p {
  margin: 0;
  color: var(--teal-900);
}

.trust-line {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-800);
}

/* Footer */
.site-footer {
  background: var(--teal-950);
  color: rgba(244, 241, 234, 0.75);
  padding: 2rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-inner p {
  margin: 0.35rem 0;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer-domain {
  font-size: 0.8rem;
  color: var(--teal-100);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

/* Who */
.section-who {
  padding-top: 0;
}

.section-who p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  text-align: center;
  font-size: 1.05rem;
}

.who-not {
  margin-top: 0.5rem !important;
  font-size: 0.98rem !important;
}

/* CASL line in pricing */
.casl-line {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
  text-align: left;
}

/* Pain band sub */
.band-sub {
  margin-top: 1rem !important;
  font-style: italic;
  opacity: 0.95;
}

.band-muted strong {
  color: var(--white);
}

/* Hero demo note */
.hero-demo-note {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 36em;
}

/* FAQ */
.section-faq {
  background: var(--white);
}

.faq-list {
  margin: 0;
  padding: 0;
}

.faq-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--cream-dark);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--cream-dark);
}

.faq-item dt {
  font-weight: 700;
  color: var(--teal-950);
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.faq-item dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Demo note near waitlist */
.demo-note {
  background: rgba(28, 85, 96, 0.08);
  border: 1px solid rgba(28, 85, 96, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.demo-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--teal-900);
  line-height: 1.45;
}

/* Checkbox field */
.field-check {
  margin-bottom: 1.35rem;
}

.check-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500 !important;
  cursor: pointer;
  line-height: 1.4;
}

.check-label input {
  width: auto !important;
  margin-top: 0.2rem;
  accent-color: var(--teal-700);
}

/* Footer stubs & links */
.footer-links {
  margin: 0.5rem 0 !important;
}

.footer-links a {
  color: var(--teal-100);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-stub {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  text-align: left;
  max-width: 40em;
  margin-inline: auto;
}

.footer-stub p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.85;
}

.footer-copy {
  margin-top: 1.25rem !important;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Waitlist error state + hidden safety */
[hidden] {
  display: none !important;
}

.form-error {
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}
.agents-mcp pre{overflow-x:auto;background:rgba(0,0,0,.06);padding:.6rem;border-radius:6px;font-size:.8rem;white-space:pre}
.agents-mcp code{word-break:break-all}
