/* SpeekMynd AI — speekmynd.site paid-ad conversion environment
   Palette sampled from official SpeekMynd logo assets (pure-black ground, cyan-to-blue gradient). */

:root {
  --black: #000000;
  --ink: #0A0C10;
  --ink-2: #1E2733;
  --ink-soft: #4A5567;
  --line: #E3E8EF;
  --line-strong: #C9D2DE;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FB;

  --cyan: #00CBEA;
  --blue: #05A2D2;
  --blue-deep: #1B64AC;
  --blue-press: #124E8C;
  --navy: #092C47;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.32rem + 0.65vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.55rem + 1.25vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.65rem + 2.25vw, 3.9rem);
  --step-stat: clamp(2.9rem, 2.1rem + 3.6vw, 5rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.1; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-press); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-block: 10px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 190px; height: auto; }
@media (max-width: 400px) { .brand img { width: 146px; } }

.header-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: var(--step--1);
  color: #fff;
  background: var(--blue-deep);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--blue-press); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 17px 30px;
  min-height: 54px;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-primary:disabled { background: #8FA3BC; cursor: not-allowed; }
.btn-full { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- Section furniture ---------- */

section { padding-block: clamp(48px, 7vw, 88px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--black); color: #fff; }
.section-dark h2 { color: #fff; }

.eyebrow {
  display: block;
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-press);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--cyan); }

.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 62ch; }
.section-dark .lede { color: rgba(255, 255, 255, 0.78); }

.measure { max-width: 68ch; }

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

.hero { padding-block: clamp(40px, 6vw, 76px); }
.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: var(--step-1); color: var(--ink-soft); max-width: 56ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* ---------- Call-flow visual ---------- */

.flow {
  background: var(--black);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  color: #fff;
}
.flow-title {
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.flow-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.flow-list li {
  position: relative;
  padding: 0 0 22px 44px;
  counter-increment: step;
}
.flow-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--black);
  background: linear-gradient(140deg, var(--cyan), var(--blue));
}
.flow-list li::after {
  content: "";
  position: absolute;
  left: 13.5px;
  top: 30px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--blue), rgba(255, 255, 255, 0.12));
}
.flow-list li:last-child { padding-bottom: 0; }
.flow-list li:last-child::after { display: none; }
.flow-list strong { display: block; font-size: var(--step-0); }
.flow-list span { color: rgba(255, 255, 255, 0.7); font-size: var(--step--1); }

.wave { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-bottom: 18px; }
.wave i {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--blue));
  animation: pulse 1.9s ease-in-out infinite;
}
.wave i:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave i:nth-child(2) { height: 62%; animation-delay: .12s; }
.wave i:nth-child(3) { height: 100%; animation-delay: .24s; }
.wave i:nth-child(4) { height: 74%; animation-delay: .36s; }
.wave i:nth-child(5) { height: 44%; animation-delay: .48s; }
.wave i:nth-child(6) { height: 86%; animation-delay: .6s; }
.wave i:nth-child(7) { height: 36%; animation-delay: .72s; }
@keyframes pulse { 0%, 100% { transform: scaleY(0.72); } 50% { transform: scaleY(1); } }

/* ---------- Stats ---------- */

.stat-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: 34px;
}
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }

.stat { border-top: 2px solid rgba(255, 255, 255, 0.16); padding-top: 20px; }
.stat b {
  display: block;
  font-size: var(--step-stat);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.stat p { color: rgba(255, 255, 255, 0.85); font-size: var(--step-0); }

.source-note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.72);
  max-width: 78ch;
}
.source-note a { color: var(--cyan); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.section-alt .card { background: #fff; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: var(--step--1); }

.cap { border-left: 3px solid var(--blue); }

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

.compare { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 820px) { .compare { grid-template-columns: repeat(2, 1fr); } }

.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
}
.compare-col.is-speekmynd { border-color: var(--blue); box-shadow: 0 1px 0 var(--blue) inset; }
.compare-col h3 {
  font-size: var(--step--1);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 800;
}
.compare-col.is-speekmynd h3 { color: var(--blue-press); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; }
.steps li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: var(--step-0);
}
.steps li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Yours list ---------- */

.yours { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .yours { grid-template-columns: repeat(2, 1fr); } }
.yours li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: var(--step-0);
  font-weight: 600;
}
.yours li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--cyan), var(--blue));
}

/* ---------- Guardrails ---------- */

.rails { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .rails { grid-template-columns: repeat(2, 1fr); } }
.rails li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: var(--step-0);
}
.rails li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: var(--blue);
}

/* ---------- Industries ---------- */

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.tags li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
}

/* ---------- Transcript ---------- */

.script {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.script-head {
  background: var(--black);
  color: #fff;
  padding: 14px 20px;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.script-body { padding: 8px 20px 20px; }
.line { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.line.is-agent span { color: var(--blue-press); }
.line p { font-size: var(--step-0); }
.script-foot {
  padding: 16px 20px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* ---------- Form ---------- */

.booking-shell {
  margin-top: 36px;
  display: grid;
  gap: 24px;
}
@media (min-width: 940px) { .booking-shell { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.booking-aside .rails li { color: var(--ink-soft); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}

.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  list-style: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.progress li {
  flex: 1;
  padding-top: 10px;
  border-top: 3px solid var(--line-strong);
  color: var(--ink-soft);
}
.progress li[aria-current="step"] { border-top-color: var(--blue-deep); color: var(--blue-press); }
.progress li.is-done { border-top-color: var(--blue); color: var(--blue-press); }

.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-weight: 700;
  font-size: var(--step--1);
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  min-height: 52px;
}
.field input:hover, .field select:hover { border-color: var(--ink-soft); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #B3261E; }

.err {
  display: none;
  margin-top: 6px;
  font-size: var(--step--1);
  font-weight: 600;
  color: #B3261E;
}
.err.is-shown { display: block; }

.fineprint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }
.fineprint a { color: var(--blue-press); }

.form-status { margin-top: 16px; font-size: var(--step--1); font-weight: 600; }
.form-status[data-tone="error"] { color: #B3261E; }

.hidden { display: none !important; }

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Step 2 scheduling ---------- */

.confirm-head {
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin-bottom: 22px;
}
.confirm-head h3 { margin-bottom: 6px; }
.confirm-head p { color: var(--ink-soft); font-size: var(--step--1); }

.cal-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 780px;
}
.cal-frame iframe { width: 100%; height: 800px; border: 0; display: block; }

/* Google's booking page needs room. On narrow screens the panel padding and page
   gutter squeeze it to ~287px and the second day column gets clipped, so let the
   calendar run full-bleed and reclaim roughly 100px. */
@media (max-width: 760px) {
  .cal-frame {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .cal-frame iframe { height: 760px; }
  .cal-fallback { margin-top: 20px; }
}

.cal-fallback {
  margin-top: 16px;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.notice {
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.notice h3 { margin: 0 0 8px; font-size: var(--step-0); letter-spacing: -0.008em; }
.notice p { font-size: var(--step--1); color: var(--ink-soft); }

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

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 40px;
  font-size: var(--step--1);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}
.site-footer img { width: 176px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(255, 255, 255, 0.86); }
.legal { width: 100%; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
