/* QRAI Collect — sample site */
:root {
  --navy: #0b1f3a;
  --navy-2: #122a4a;
  --navy-3: #1b3d63;
  --ink: #142033;
  --muted: #5a6573;
  --line: #d5dbe3;
  --line-strong: #c3cad4;
  --paper: #f6f4ef;
  --paper-2: #efebe3;
  --white: #ffffff;
  --amber: #c8922a;
  --amber-2: #a6761c;
  --amber-soft: #f8eed8;
  --good: #1f6b4a;
  --good-soft: #e7f4ee;
  --warn: #8a4e14;
  --warn-soft: #f8ead8;
  --danger: #8b2e2e;
  --danger-soft: #f8e7e7;
  --info: #1d4f7a;
  --info-soft: #e7eef6;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 50px rgba(11, 31, 58, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --header-h: 64px;
  --banner-h: 36px;
  --max: 1120px;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-var.woff?v=5df8cfa5") format("woff");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("fonts/IBMPlexSerif-Regular.woff?v=a0661af7") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("fonts/IBMPlexSerif-SemiBold.woff?v=c88aacf7") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("fonts/IBMPlexSerif-Italic.woff?v=6eefa6fd") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-3); }
a:hover { color: var(--amber-2); }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Sample banner */
.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}
.sample-banner {
  background: var(--navy);
  color: #f3efe6;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  line-height: 1.4;
}
.sample-banner strong { color: var(--amber-soft); font-weight: 600; }

/* Header */
.site-header {
  background: rgba(246, 244, 239, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
}
.badge.ontario { border-color: #c9d6c8; background: #f3f7f2; color: var(--good); }
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 550;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { background: var(--navy-2); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #d4a338; color: var(--navy); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-good { background: var(--good); color: #fff; }
.btn-good:hover { background: #18553b; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #722424; }
.btn-warn { background: var(--warn); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.nav-tabs {
  width: 100%;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 0;
  margin: 4px 0 0;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  padding: 10px 12px 12px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-tabs a:hover { color: var(--navy); }
.nav-tabs a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--amber);
}
.nav-tabs .short { display: none; }
@media (max-width: 819px) {
  .nav-tabs {
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .nav-tabs .full { display: none; }
  .nav-tabs .short { display: inline; }
  .nav-tabs a { padding-left: 10px; padding-right: 10px; }
}

.view { display: none; padding: 28px 20px 64px; }
.view.is-active { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-2);
  font-weight: 600;
  margin: 0 0 8px;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); letter-spacing: -0.02em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.12; font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* Hero */
.hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 12px 0 20px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-card {
  background: var(--navy);
  color: #f4efe6;
  border-radius: 20px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.hero-card .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #d8c38a; margin-bottom: 8px; }
.hero-card .amount { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: #fff; }
.hero-card .sub { color: #c9d2dc; font-size: 14px; margin: 4px 0 14px; }
.hero-countdown {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
}
.hero-countdown .cd-label { font-size: 12px; color: #d8c38a; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-countdown .cd-value { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin-top: 2px; }
.hero-countdown .cd-note { font-size: 12.5px; color: #c9d2dc; margin-top: 6px; }

.section { margin: 48px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }

/* Steps */
.steps {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 16px 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-2);
  font-weight: 650;
  font-size: 13px;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Pricing */
.price-grid { display: grid; gap: 14px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.price-card.featured { border-color: var(--navy); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card.featured::before { content: ""; display: block; height: 5px; background: var(--amber); margin: -20px -20px 16px; }
.price-card .plan { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-card .cost { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin: 4px 0 8px; }
.price-card .cost span { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }
.price-card ul { margin: 0; padding: 0; list-style: none; }
.price-card li { padding: 6px 0 6px 0; border-top: 1px solid var(--paper-2); font-size: 14.5px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--navy); color: #fff; font-weight: 550; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .who { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }
.callout {
  background: var(--info-soft);
  border: 1px solid #d3deea;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
}
.callout.warn { background: var(--warn-soft); border-color: #ead4b4; }
.callout.good { background: var(--good-soft); border-color: #cfe4d8; }
.callout h3 { margin-bottom: 6px; }
.callout p:last-child { margin: 0; }

/* Forms */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.grid-2, .grid-3 { display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  width: 100%;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.28);
}
.deadlines {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.deadline {
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--amber-soft);
  border: 1px solid #ead8ad;
}
.deadline.later { background: var(--info-soft); border-color: #d3deea; }
.deadline .dl-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.deadline .dl-v { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; }
.file-list li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--paper-2); font-size: 14px;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Letter */
.letter-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 36px;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.letter-sheet::before {
  content: "DRAFT — pending lawyer review";
  position: absolute;
  top: 14px; right: 14px;
  background: var(--amber-soft);
  color: var(--warn);
  border: 1px solid #e0c48a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}
.letter-sheet.is-approved::before {
  content: "Approved & e-signed (sample)";
  background: var(--good-soft);
  color: var(--good);
  border-color: #b7d8c6;
}
.letter-sheet.is-changes::before {
  content: "Changes requested";
  background: var(--warn-soft);
  color: var(--warn);
}
.letterhead { border-bottom: 3px solid var(--navy); padding-bottom: 14px; margin: 12px 0 22px; }
.letterhead h2 { margin: 0; font-size: 1.35rem; }
.letterhead .office { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-style: italic; }
.letter-body { font-size: 15px; }
.letter-body .date { margin-bottom: 18px; }
.letter-meta { margin: 16px 0; padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--amber); }
.sig-block { margin-top: 28px; }
.sig-line { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--navy); }

/* Customer view */
.cust-hero {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cust-hero h1 { color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
.cust-hero .owed { font-size: 1.05rem; color: #d5dce6; margin: 4px 0 18px; }
.cust-hero .owed strong { color: #fff; font-size: 1.35rem; font-family: var(--serif); }
.tick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0 10px;
}
.tick-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 4px;
}
.tick-box .n { font-family: var(--serif); font-size: clamp(1.4rem, 6vw, 2.2rem); line-height: 1; color: var(--amber-soft); }
.tick-box .u { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #c9d2dc; margin-top: 4px; }
.tick-caption { color: #f0d48a; font-weight: 550; margin: 8px 0 0; font-size: 1.02rem; }
.tick-caption.expired { color: #f3c0c0; }
.resolve-grid { display: grid; gap: 12px; margin-top: 8px; }
.resolve-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow);
}
.resolve-card h3 { margin-bottom: 4px; }
.resolve-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.law-links { display: grid; gap: 8px; }
.law-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 550;
}
.law-links a span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.disclaimer {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 14px 16px;
}

/* Offers / log */
.offer {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--white);
  margin-bottom: 10px;
}
.offer .who { font-weight: 650; color: var(--navy); }
.offer .meta { font-size: 12.5px; color: var(--muted); }
.offer.accepted { border-color: #b7d8c6; background: var(--good-soft); }
.offer.declined { opacity: 0.75; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 16px 20px;
  border-left: 2px solid var(--line);
  margin-left: 8px;
}
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--paper);
}
.timeline .when { font-size: 12px; color: var(--muted); }
.timeline .what { font-size: 14.5px; }

/* Lawyer queue */
.queue-item {
  display: grid;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.queue-item .row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: start; }
.status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--warn);
}
.status.pending { background: var(--amber-soft); color: var(--warn); }
.status.approved { background: var(--good-soft); color: var(--good); }
.status.changes { background: var(--warn-soft); color: var(--warn); }
.status.sent { background: var(--info-soft); color: var(--info); }
.status.open { background: var(--info-soft); color: var(--info); }
.queue-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Settlement */
.settlement {
  border: 2px solid var(--good);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d5dce6;
  padding: 36px 20px 48px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 20px; }
.site-footer h2 { color: #fff; font-size: 1.3rem; }
.site-footer a { color: #f0d48a; }
.footer-qr { display: flex; gap: 14px; align-items: center; }
.footer-qr img { width: 96px; height: 96px; background: #fff; border-radius: 8px; padding: 4px; }
.fine { font-size: 12.5px; color: #aeb8c4; }

/* Modal + toast */
.modal-root[hidden], .toast[hidden] { display: none !important; }
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(11, 31, 58, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.modal {
  background: #fff;
  border-radius: 18px 18px 12px 12px;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 20px 20px 24px;
  box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 1.35rem; }
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: min(520px, calc(100% - 24px));
  font-size: 14.5px;
}

.role-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.2fr 0.9fr; gap: 40px; padding-top: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1.1fr 0.9fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .letter-sheet { padding: 44px 56px 56px; }
  .modal-root { align-items: center; }
  .modal { border-radius: 18px; padding: 28px; }
  .header-inner { padding-left: 24px; padding-right: 24px; }
  .view { padding-left: 24px; padding-right: 24px; }
  .resolve-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media (max-width: 719px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
  .price-table td { border-bottom: 0; padding: 2px 14px; }
  .price-table td:first-child { font-weight: 600; padding-top: 4px; color: var(--navy); }
  .price-table td:nth-child(2)::before { content: "Sample fee: "; color: var(--muted); font-weight: 500; }
  .price-table td:nth-child(3)::before { content: "Billed by: "; color: var(--muted); font-weight: 500; }
  .header-meta { margin-left: 0; }
}

/* Voice guide dock */
:root { --talk-dock-h: 128px; }
body {
  padding-bottom: calc(var(--talk-dock-h) + 12px + env(safe-area-inset-bottom, 0px));
}
.talk-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--navy);
  color: #f6f4ef;
  box-shadow: 0 -10px 32px rgba(11, 31, 58, 0.28);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}
.talk-dock-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
.talk-btn {
  flex: 0 0 auto;
  min-width: 176px;
  min-height: 72px;
  padding: 12px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 750;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.talk-btn svg { width: 28px; height: 28px; flex: 0 0 auto; }
.talk-btn:hover { background: #d4a338; }
.talk-btn:active { transform: scale(0.98); }
.talk-btn.on {
  background: #e8b84a;
  box-shadow: 0 0 0 5px rgba(200, 146, 42, 0.35);
}
.talk-btn.wait { opacity: 0.88; }
.talk-btn.speaking { animation: talk-breathe 1.6s ease-in-out infinite; }
.talk-btn:focus-visible { outline-color: #fff; }
@keyframes talk-breathe {
  0%, 100% { box-shadow: 0 0 0 5px rgba(200, 146, 42, 0.28); }
  50% { box-shadow: 0 0 0 10px rgba(200, 146, 42, 0.5); }
}
.talk-side { flex: 1 1 auto; min-width: 0; }
.talk-caption {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.4;
  color: #efe9dc;
}
.talk-actions { display: flex; gap: 8px; margin-top: 8px; }
.talk-aux {
  min-height: 48px;
  min-width: 80px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #3a5270;
  background: var(--navy-2);
  color: #fff;
  font-weight: 650;
  font-size: 1.02rem;
  cursor: pointer;
}
.talk-aux:hover { background: var(--navy-3); }
.talk-aux[hidden] { display: none !important; }

.signup-confirm[hidden] { display: none !important; }
.signup-confirm {
  position: fixed;
  z-index: 61;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--talk-dock-h) + 10px + env(safe-area-inset-bottom, 0px));
  width: min(640px, calc(100% - 24px));
  background: var(--good-soft);
  color: var(--navy);
  border: 2px solid var(--good);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1.05rem;
  line-height: 1.4;
}
.signup-confirm-x {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 64px;
  border: 1px solid var(--good);
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  font-weight: 650;
  cursor: pointer;
}

.toast { bottom: calc(var(--talk-dock-h) + 16px + env(safe-area-inset-bottom, 0px)); }

.voice-fill input,
.voice-fill textarea,
input.voice-fill,
textarea.voice-fill {
  background: var(--amber-soft);
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  animation: voice-fill-flash 1.15s ease;
}
@keyframes voice-fill-flash {
  0% { background: #fff4c8; }
  100% { background: var(--amber-soft); }
}
.voice-highlight {
  outline: 4px solid var(--amber) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px rgba(200, 146, 42, 0.35);
  animation: voice-hl 0.9s ease-in-out 3;
  position: relative;
  z-index: 3;
}
@keyframes voice-hl {
  0%, 100% { box-shadow: 0 0 0 6px rgba(200, 146, 42, 0.28); }
  50% { box-shadow: 0 0 0 12px rgba(200, 146, 42, 0.5); }
}
#how-title, #pricing, #intake-form, .view, .btn, .talk-btn { scroll-margin-top: 120px; scroll-margin-bottom: 170px; }

@media (max-width: 719px) {
  :root { --talk-dock-h: 188px; }
  .talk-dock-inner { flex-wrap: wrap; gap: 10px; }
  .talk-btn { width: 100%; min-height: 68px; font-size: 1.22rem; }
  .talk-side { width: 100%; }
  .talk-aux { flex: 1 1 0; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-btn.speaking, .voice-highlight, .voice-fill input, .voice-fill textarea {
    animation: none;
  }
}

@media (max-width: 719px) {
  .signup-confirm { font-size: 0.98rem; padding: 12px 12px; }
}
