/* DrOzGPT landing. Flat surfaces, one accent colour, no gradients.
   Fonts: Bricolage Grotesque (headings) + Onest (text). */

:root {
  --ink: #0b1720;
  --text: #1c2730;
  --muted: #5d6973;
  --muted-2: #8a959e;
  --line: #e6ebee;

  --blue: #0a96d1;
  --blue-ink: #08324a;
  --btn: #a5dcf5;
  --btn-hover: #c7eafa;

  --sky: #e8f5fc;
  --cream: #fdf9ef;
  --grey: #f4f6f7;
  --navy: #0c2f44;

  --r-lg: 24px;
  --r: 16px;
  --r-sm: 8px;

  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Onest", system-ui, sans-serif;

  /* name still used by landing.js-generated markup */
  --teal: var(--blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
}
h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: .95; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; line-height: 1.2; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 520px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--r-sm);
  background: var(--btn);
  color: var(--blue-ink);
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.btn:hover { background: var(--btn-hover); }
.btn-ghost { background: #fff; border: 1px solid #cfe3ee; font-weight: 500; }
.btn-ghost:hover { background: var(--sky); }
.btn-sm { padding: 9px 20px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 12px; z-index: 50; padding: 0 24px; margin-top: 12px; }
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
  padding: 0 14px 0 18px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 6px 30px rgba(11, 23, 32, .07);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand .mark { display: block; width: 40px; height: 40px; }
.nav nav { display: flex; gap: 6px; }
.nav nav a { padding: 6px 12px; border-radius: var(--r-sm); }
.nav nav a:hover { background: var(--grey); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 24px; }
.nav-signin { padding: 10px 12px; border-radius: var(--r-sm); font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-signin:hover { background: var(--grey); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line); place-items: center; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { color: var(--muted); font-size: .9rem; }
.hero-note b { color: var(--text); font-weight: 600; }
.hero-note svg { vertical-align: -2px; margin-right: 4px; color: var(--blue); }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--ink); }
.hero-stats small { color: var(--muted); font-size: .9rem; }
.hero-visual {
  height: 540px;
  background: var(--sky);
  border-radius: var(--r-lg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-visual .robot, .hero-visual .doc { height: 90%; width: auto; }
.hero-visual { position: relative; }
.hero-tag { position: absolute; top: 24px; left: 26px; color: var(--muted); font-size: .95rem; line-height: 1.3; }
.hero-tag b { color: var(--ink); font-weight: 600; }
.hero-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(11, 23, 32, .08); }
.hero-card b { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.hero-card small { display: block; color: var(--muted); font-size: .8rem; }
.hero-card .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.hero-card .logos { display: inline-flex; flex-shrink: 0; }
.hero-card .logos span { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-left: -8px; }
.hero-card .logos span:first-child { margin-left: 0; }
.hero-card .logos img { width: 14px; height: 14px; }
.hc1 { right: 18px; bottom: 104px; }
.hc2 { left: 18px; bottom: 24px; }
.hero-chip { position: absolute; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 24px rgba(11, 23, 32, .08); }
.hero-chip img { width: 22px; height: 22px; }
.hch1 { top: 26px; right: 26px; }
.hch2 { top: 42%; left: 30px; }
/* gentle idle motion: the robot floats a little and waves now and then */
.robo-float { animation: robo-float 5s ease-in-out infinite; }
.robo-shadow { transform-origin: 150px 352px; animation: robo-shadow 5s ease-in-out infinite; }
.robo-arm { transform-origin: 228px 262px; animation: robo-wave 7s ease-in-out infinite; }
.robot-review .robo-float, .robot-review .robo-shadow { animation-delay: -1.7s; }
.robot-cheer .robo-float, .robot-cheer .robo-shadow { animation-delay: -3.1s; }
@keyframes robo-float { 50% { transform: translateY(-5px); } }
@keyframes robo-shadow { 50% { transform: scale(.94); } }
@keyframes robo-wave { 0%, 62%, 100% { transform: rotate(0); } 68%, 80% { transform: rotate(14deg); } 74%, 86% { transform: rotate(-8deg); } }
/* robot heads and faces are moved by landing.js to follow the pointer */
.robo-head { transform-origin: 150px 200px; }
.robo-eyes { transform-origin: 150px 112px; animation: robo-blink 4.2s infinite; }
.robot-review .robo-eyes { animation-delay: -1.5s; }
.robot-cheer .robo-eyes { animation-delay: -2.8s; }
@keyframes robo-blink { 0%, 93%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }

/* ---------- models row ---------- */
.models { padding: 40px 0 16px; text-align: center; }
.models h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: 0; margin-bottom: 24px; }
.models-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px; color: var(--muted); font-size: 1.05rem; font-weight: 500; }
.models-row span { display: inline-flex; align-items: center; gap: 10px; }
.models-row img { width: 22px; height: 22px; }
.models-row span { padding: 6px 12px; border-radius: var(--r-sm); cursor: default; transition: background .15s; }
.models-row span:hover { background: var(--grey); }
.models-row b { font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--cream); }
.section-head { margin-bottom: 44px; max-width: 760px; }
.section-head p { margin-top: 18px; font-size: 1.15rem; max-width: 520px; }

/* intro pair */
.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.card-lime {
  position: relative;
  min-height: 420px;
  padding: 48px;
  border-radius: var(--r-lg);
  background: var(--sky);
  overflow: hidden;
}
.card-lime > div { max-width: 56%; }
.card-lime h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 16px; }
.card-lime p { margin-bottom: 28px; }
.card-lime .btn { background: #fff; }
.card-lime .btn:hover { background: var(--btn-hover); }
.card-lime .robot, .card-lime .doc { position: absolute; right: 28px; bottom: 0; height: 86%; width: auto; }
.card-teal { padding: 40px; border-radius: var(--r-lg); background: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.card-teal .row { display: flex; gap: 16px; align-items: flex-start; }
.card-teal .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.card-teal b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.card-teal p { color: var(--muted); font-size: .95rem; }

/* steps */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { padding: 32px; border-radius: var(--r); background: #fff; display: flex; flex-direction: column; gap: 12px; }
.svc .num { font-family: var(--display); font-size: 3.2rem; font-weight: 600; line-height: 1; color: var(--blue); }
.svc .ico { display: none; }
.svc p { color: var(--muted); }
.svc .visual { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted-2); }
.svc .visual img { width: 20px; height: 20px; }
.svc .visual small { font-size: .82rem; }
.svc .visual svg { width: 18px; height: 18px; flex-shrink: 0; }

/* topics */
.specialty-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.specialty { padding: 10px 16px; border-radius: var(--r-sm); background: var(--grey); font-size: .98rem; transition: background .15s; }
.specialty > span { display: none; }
.specialty:hover { background: var(--sky); }
.specialty[aria-pressed=true] { background: var(--ink); color: #fff; }

/* ---------- composer ---------- */
.composer { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.composer-intro h2 { margin-bottom: 18px; }
.composer-intro .lead { margin-bottom: 28px; }
.composer-mascot { height: 280px; border-radius: var(--r-lg); background: #fff; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 20px; }
.composer-mascot .robot, .composer-mascot .doc { height: 92%; width: auto; }
.privacy-small { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.privacy-small small { display: block; color: var(--muted); font-weight: 400; }
.privacy-small svg { color: var(--blue); flex-shrink: 0; }

.composer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.composer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.composer-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.mode-label { font-size: .8rem; padding: 4px 10px; border-radius: 6px; background: var(--grey); color: var(--muted); }
.mode-label.live { background: var(--sky); color: var(--blue-ink); }
.mode-label.demo { background: #fff4e0; color: #8a5200; }
.selected-topic { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; padding: 12px 0 6px; }
.selected-topic b { color: var(--ink); }
.selected-topic button { width: 22px; height: 22px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; }
.selected-topic button svg { width: 11px; height: 11px; }
.prompt-hints { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 12px; }
.prompt-hints > span { flex-basis: 100%; font-size: .8rem; color: var(--muted-2); }
.prompt-hints > button { background: var(--sky); color: var(--blue-ink); border-radius: var(--r-sm); padding: 7px 12px; font-size: .88rem; }
.prompt-hints > button:hover { background: var(--btn-hover); }
textarea#health-prompt {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  margin: 8px 0 12px;
  padding: 14px 16px;
  border: 1px solid #d5dde2;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea#health-prompt:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.upload-zone { position: relative; border: 1px dashed #b9c6cd; border-radius: 10px; min-height: 76px; }
.upload-zone > button:first-child { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; }
.upload-zone > button:first-child > span:first-child { width: 42px; height: 42px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.upload-zone b { display: block; font-weight: 600; }
.upload-zone small { display: block; color: var(--muted); font-size: .85rem; }
.upload-zone.has-file { border-style: solid; border-color: var(--blue); background: var(--sky); }
.upload-zone.drag { border-color: var(--blue); background: var(--sky); }
.upload-zone .remove-file { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--muted); }
.upload-disclosure { color: var(--muted); font-size: .85rem; margin: 12px 0 18px; }
.consents { display: grid; gap: 10px; margin: 0 0 18px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.45; color: var(--text); cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.model-overlap { display: flex; align-items: center; }
.model-overlap > span { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-left: -8px; }
.model-overlap > span:first-child { margin-left: 0; }
.model-overlap small { margin-left: 10px; color: var(--muted); font-size: .88rem; }
.composer-fine { display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: .82rem; margin-top: 16px; }
.composer-fine svg { width: 14px; height: 14px; }
.error-message { color: #a12b48; background: #fff1f4; border-radius: var(--r-sm); margin-top: 12px; padding: 11px 13px; font-size: .9rem; }
.sample-button { margin-top: 16px; color: var(--blue-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 8px; }
.sample-button svg { width: 16px; height: 16px; }

/* ---------- results ---------- */
.results-section { background: var(--grey); padding: 72px 0 80px; scroll-margin-top: 96px; }
.results-section .section-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.results-section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.results-description { color: var(--muted); max-width: 480px; font-size: 1rem; margin: 0; }
.redflag { color: #8f2a45; background: #fff0f3; border: 1px solid #f3c7d2; border-radius: var(--r); padding: 16px 20px; margin: 0 0 24px; font-size: .95rem; }
.redflag b { display: block; font-size: 1.02rem; }
.results-section.is-loading .section-head,
.results-section.is-loading .perspectives,
.results-section.is-loading .summary-card,
.results-section.is-loading .results-actions { display: none; }

/* loading card shown while the models answer */
.loader { max-width: 640px; margin: 0 auto 28px; padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-align: center; }
.loader-wait { font-size: .85rem; color: var(--muted-2); margin-bottom: 6px; }
.loader h3 { font-size: 1.5rem; min-height: 1.2em; }
.loader-bar { height: 8px; margin: 22px 0 18px; border-radius: 4px; background: var(--grey); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--blue); transition: width .6s ease; }
.loader-count { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.loader-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.loader-logos { display: inline-flex; }
.loader-logos span { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-left: -7px; }
.loader-logos span:first-child { margin-left: 0; }
.loader-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 22px; padding: 16px; border-radius: var(--r); background: var(--grey); text-align: left; }
.loader-model { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: .95rem; font-weight: 500; }
.loader-note { margin-top: 18px; color: var(--muted-2); font-size: .82rem; }

/* membership dialog for follow-up questions */
.paywall { width: min(460px, calc(100vw - 32px)); padding: 36px 32px 28px; border: 0; border-radius: var(--r-lg); color: var(--text); text-align: center; }
.paywall::backdrop { background: rgba(11, 23, 32, .55); }
.paywall-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.paywall-close:hover { background: var(--grey); }
.paywall img { margin: 0 auto 14px; }
.paywall h3 { font-size: 1.7rem; margin-bottom: 10px; }
.paywall p { color: var(--muted); }
.plans { display: grid; gap: 10px; margin: 22px 0 18px; text-align: left; }
.plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.plan input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.plan > span { flex: 1; }
.plan b { display: block; color: var(--ink); }
.plan small { color: var(--muted); font-size: .85rem; }
.plan em { font-style: normal; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--blue-ink); }
.plan strong { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
/* price comparison, shown only while the annual plan is selected */
.paywall .plan-worth, .pricing-worth { display: none; font-size: .92rem; line-height: 1.45; }
.paywall .plan-worth { margin: -6px 0 18px; text-align: left; }
.plan-worth b, .pricing-worth b { color: var(--ink); }
.plans:has(input[value=annual]:checked) + .plan-worth, .pricing-plans:has(input[value=annual]:checked) + .pricing-worth { display: block; }
.paywall ul { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; color: var(--text); font-size: .95rem; }
.paywall li { padding: 4px 0 4px 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a96d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") left 8px / 16px no-repeat; }
.paywall .btn { width: 100%; }
.paywall-later { margin-top: 12px; color: var(--muted); font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
#paywall-soon p { margin-bottom: 22px; }
#captcha-box { min-height: 70px; margin: 20px 0 8px; display: flex; justify-content: center; }

.perspectives { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.model-tabs { display: flex; flex-direction: column; gap: 6px; }
.model-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; text-align: left; font-weight: 500; color: var(--text); }
.model-tab:hover { background: #e9edef; }
.model-tab[aria-selected=true] { background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); font-weight: 600; }
.model-tab .model-icon { background: #fff; border: 1px solid var(--line); }
.model-tab-name { flex: 1; }
.phone-grid { min-width: 0; }
.phone { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.phone.active { display: block; }
.phone-header { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.phone-header strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.phone-header small { display: block; color: var(--muted-2); font-size: .8rem; }
.model-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--grey); display: grid; place-items: center; flex-shrink: 0; }
.model-icon img { width: 18px; height: 18px; }
.model-state { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: #e8f8ee; color: #2f9a5c; display: grid; place-items: center; flex-shrink: 0; }
.model-state.waiting, .model-state.streaming { background: var(--sky); }
.model-state.waiting > span, .model-state.streaming > span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 1.6s infinite; }
.model-state.error { background: #ffedf2; color: #d3607b; font-weight: 800; font-size: .7rem; }
.phone-answer { padding: 20px 24px; min-height: 260px; max-height: 520px; overflow-y: auto; overflow-wrap: anywhere; scrollbar-width: thin; }
.phone-answer > *, .summary-body > * { max-width: 760px; }
.phone-answer p, .summary-body p { margin: 0 0 12px; }
.phone-answer h3, .summary-body h2, .summary-body h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 20px 0 8px; letter-spacing: 0; line-height: 1.3; }
.phone-answer > h3:first-child, .summary-body > h3:first-child { margin-top: 0; }
.phone-answer ul, .phone-answer ol, .summary-body ul, .summary-body ol { padding-left: 20px; margin: 0 0 12px; }
.phone-answer li, .summary-body li { margin-bottom: 6px; }
.phone-answer code, .summary-body code { background: var(--grey); border-radius: 4px; padding: 0 4px; font-size: .9em; }
.phone-answer .err { color: #a12b48; }
.thinking { text-align: center; margin-top: 70px; color: var(--muted-2); font-size: .9rem; }
.thinking > span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin: 0 3px; animation: pulse 1.2s infinite; }
.thinking > span:nth-child(2) { animation-delay: .2s; }
.thinking > span:nth-child(3) { animation-delay: .4s; }
.thinking small { display: block; margin-top: 12px; }
.caret { display: inline-block; width: 6px; height: .9em; background: var(--blue); border-radius: 2px; margin-left: 2px; vertical-align: -2px; animation: pulse 1.2s infinite; }
.phone-footer { padding: 12px 24px; color: var(--muted-2); font-size: .82rem; border-top: 1px solid var(--line); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.summary-card { margin-top: 20px; }
.summary-card .composer-top { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-card .composer-top > span:first-child { font-size: 1.5rem; }
.summary-body.phone-answer { padding: 0; min-height: 0; max-height: none; }
.followup { display: flex; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.followup input { flex: 1; border: 1px solid #d5dde2; border-radius: var(--r-sm); padding: 10px 14px; font: inherit; }
.followup input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.results-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.results-actions .medical-note { flex-basis: 100%; color: var(--muted-2); font-size: .82rem; }
.results-thread { margin-top: 40px; padding-top: 30px; border-top: 1px solid #d5dde2; }
.thread-label { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.results-thread .phone { display: block; margin-bottom: 12px; }
.results-thread .phone-answer { min-height: 0; max-height: 260px; }

/* ---------- reviews ---------- */
#reviews { background: var(--sky); }
.review-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.trust { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.trust b { color: var(--ink); }
.stars { color: #f0a800; letter-spacing: 1px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card { background: #fff; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review-card .stars { font-size: .85rem; }
.review-card h3 { font-size: 1.15rem; }
.review-card p { color: var(--text); font-size: .98rem; flex: 1; }
.review-person { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.review-person > span { display: none; }
.review-person small { display: block; color: var(--muted-2); font-size: .76rem; }
.review-note { color: var(--muted); font-size: .8rem; margin-top: 24px; }

/* ---------- press ---------- */
.press { padding: 48px 0; }
.press .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.press .label { font-size: .9rem; color: var(--muted); }
.press .logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; opacity: .5; filter: grayscale(1); }
.press .logos img { height: 22px; width: auto; }
.press small { flex-basis: 100%; color: var(--muted-2); font-size: .78rem; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid h2 { margin-bottom: 18px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); flex-shrink: 0; margin: 0 4px 4px 0; transition: transform .15s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-list details p { color: var(--muted); padding: 0 0 22px; }
.faq-list details p a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- legal pages ---------- */
.doc { max-width: 800px; padding-top: 56px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.doc-updated { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.doc-note { padding: 22px 24px; border-radius: var(--r); background: var(--sky); }
.doc-note p + p { margin-top: 10px; }
.doc h2 { font-size: 1.5rem; letter-spacing: 0; line-height: 1.2; margin: 40px 0 12px; }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: .92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--grey); font-weight: 600; }

/* ---------- privacy choices banner ---------- */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 40px rgba(11, 23, 32, .16); font-size: .92rem; }
.consent-bar p { flex: 1; color: var(--text); }
.consent-bar a { text-decoration: underline; text-underline-offset: 2px; }
.consent-bar-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- cta + footer ---------- */
.cta { background: var(--navy); padding: 72px 0 0; }
.cta .box { background: #fff; border-radius: var(--r-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
footer { background: var(--navy); color: #b9c9d3; padding: 56px 0 32px; font-size: .95rem; }
footer .top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 22px; }
footer .brand { color: #fff; }
footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
footer nav a:hover { color: #fff; }
footer small { display: block; color: #8fa3b0; font-size: .82rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav nav { display: none; }
  .menu-toggle { display: grid; }
  .nav.open nav { display: flex; flex-direction: column; position: absolute; top: 76px; left: 24px; right: 24px; background: #fff; padding: 12px; border-radius: var(--r); box-shadow: 0 6px 30px rgba(11, 23, 32, .1); }
  .hero { padding-top: 36px; }
  .hero .wrap, .composer, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; }
  .section { padding: 64px 0; }
  .cards3 { grid-template-columns: 1fr; }
  .results-section .section-head { display: block; }
  .perspectives { grid-template-columns: minmax(0, 1fr); }
  .model-tabs { flex-direction: row; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
  .model-tab { width: auto; flex-shrink: 0; white-space: nowrap; }
  .results-description { margin-top: 14px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 12px; }
  .nav-cta .btn { padding: 9px 16px; }
  .hero-visual { height: 420px; }
  .hero-tag { top: 16px; left: 18px; font-size: .88rem; }
  .hero-card { padding: 9px 12px; gap: 9px; }
  .hero-card b { font-size: .82rem; }
  .hero-card small { font-size: .74rem; }
  .hero-card .ico { width: 30px; height: 30px; }
  .hc1 { right: 10px; bottom: 84px; }
  .hc2 { left: 10px; bottom: 14px; }
  .hero-chip { width: 38px; height: 38px; border-radius: 12px; }
  .hch1 { top: 16px; right: 16px; }
  .hch2 { left: 14px; }
  .hero-stats { gap: 24px; }
  .card-lime, .card-teal, .cta .box { padding: 28px; }
  .card-lime { min-height: 0; }
  .card-lime > div { max-width: none; }
  .card-lime .robot, .card-lime .doc { display: none; }
  .composer-card { padding: 20px; }
  .review-head { display: block; }
  .trust { margin-top: 14px; }
  .review-grid { grid-template-columns: 1fr; }
  .consent-bar { flex-direction: column; align-items: stretch; }
  .consent-bar-actions .btn { flex: 1; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border-bottom: 0; }
  .doc tr { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
  .phone-header, .phone-answer, .phone-footer { padding-left: 16px; padding-right: 16px; }
  .loader { padding: 28px 18px; }
  .loader-models { grid-template-columns: 1fr; }
}
@media print {
  .consent-bar, .loader, .paywall, .nav, .hero, .models, .section:not(.results-section), .press, .cta, footer, .results-actions, .followup, .scroll-hint { display: none !important; }
  .results-section { background: #fff; padding: 0; }
  .perspectives { display: block; }
  .model-tabs { display: none; }
  .phone { display: block; margin-bottom: 14px; page-break-inside: avoid; }
  .phone-answer { max-height: none; overflow: visible; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Sign-in, registration and account pages */
.auth-page { background: var(--sky); min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 32px 40px; background: var(--navy); color: #fff; }
.auth-side .brand { color: #fff; }
.auth-side-copy { margin: auto 0; max-width: 400px; }
.auth-side-copy h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.05; }
.auth-side-copy ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; color: #d3e4ee; }
.auth-side-copy li { display: flex; align-items: center; gap: 10px; }
.auth-side-copy svg { flex: none; color: var(--btn); }
.auth-side-robot { position: absolute; right: -24px; bottom: -24px; width: 200px; height: 200px; opacity: .95; }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; }
.auth-brand-small { display: none; }
.auth-card { width: 100%; max-width: 440px; padding: 32px; background: #fff; border-radius: var(--r-lg); box-shadow: 0 6px 30px rgba(11, 23, 32, .07); }
.auth-card h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.01em; outline: none; }
.auth-sub { margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 20px 0; padding: 4px; background: var(--grey); border-radius: 10px; }
.auth-tabs button { padding: 9px 8px; border-radius: var(--r-sm); font-weight: 500; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(11, 23, 32, .1); }
.auth-terms { margin-bottom: 16px; }
.auth-terms[hidden] { display: none; }
.auth-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border: 1px solid #cfd8de; border-radius: var(--r-sm); background: #fff; font-weight: 500; color: var(--ink); transition: background .15s; }
.auth-google:hover { background: var(--grey); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted-2); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.auth-input { display: block; width: 100%; padding: 12px 14px; border: 1px solid #cfd8de; border-radius: var(--r-sm); background: #fff; font: inherit; color: var(--ink); }
.auth-input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.auth-submit { width: 100%; margin-top: 12px; }
.auth-foot { max-width: 440px; font-size: .8rem; line-height: 1.5; text-align: center; color: var(--muted); }
.auth-single { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 488px; margin: 0 auto; padding: 40px 24px; }
.auth-facts { margin: 20px 0 8px; }
.auth-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.auth-facts dt { color: var(--muted); }
.auth-facts dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.auth-danger { display: block; margin: 20px auto 0; font-size: .875rem; color: #a12b48; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) {
  .auth-shell { display: block; }
  .auth-side { display: none; }
  .auth-brand-small { display: inline-flex; }
  .auth-main { min-height: 100vh; justify-content: flex-start; padding-top: 28px; }
  .auth-card { padding: 24px 20px; border-radius: var(--r); }
}

@media (max-width: 480px) {
  .nav { padding: 0 12px; }
  .nav .wrap { gap: 8px; }
  .nav .brand { font-size: 1.25rem; }
  .nav-cta { gap: 4px; }
  .nav-cta .btn { display: none; }
}

/* Chat */
.chat-page { background: #fff; overflow: hidden; }
.chat-page [hidden] { display: none !important; }
.chat-app { display: grid; grid-template-columns: 280px minmax(0, 1fr); height: 100dvh; }
.chat-side { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: var(--sky); overflow-y: auto; }
.chat-side-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.chat-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--ink); }
.chat-icon-btn:hover { background: var(--grey); }
.chat-side-close { display: none; }
.chat-new { width: 100%; gap: 8px; padding: 11px 16px; }
.chat-models h2 { margin: 4px 4px 6px; font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.chat-model { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--r-sm); font-size: .92rem; color: var(--ink); cursor: pointer; }
.chat-model:hover { background: #fff; }
.chat-model input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.chat-model img { flex: none; }
.chat-private { display: flex; gap: 10px; margin-top: auto; padding: 12px; border-radius: var(--r); background: #fff; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.chat-private svg { flex: none; margin-top: 1px; color: var(--blue); }
.chat-private b { color: var(--ink); }
.chat-side-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--muted); }
.chat-account { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.chat-side-foot nav { display: flex; flex: none; gap: 10px; }
.chat-side-foot a:hover { text-decoration: underline; }
.chat-scrim { position: fixed; inset: 0; z-index: 30; background: rgba(11, 23, 32, .4); }
.chat-main { display: flex; flex-direction: column; min-width: 0; height: 100dvh; }
.chat-main.is-empty { justify-content: center; }
.chat-main.is-empty .chat-scroll { flex: 0 1 auto; }
.chat-main.is-empty .chat-thread { display: none; }
.chat-main:not(.is-empty) .chat-empty { display: none; }
.chat-bar { display: none; align-items: center; justify-content: space-between; padding: 6px 8px; }
.chat-bar .brand { font-size: 1.2rem; }
.chat-bar .brand .mark { width: 32px; height: 32px; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.chat-empty { display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 0 auto; padding: 16px 24px 24px; text-align: center; }
.chat-empty img { width: 120px; height: 120px; }
.chat-empty h1 { margin-top: 8px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.chat-empty p { margin-top: 10px; color: var(--muted); }
.chat-suggest { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 24px; }
.chat-suggest button { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .92rem; line-height: 1.35; text-align: left; color: var(--text); transition: background .15s, border-color .15s; }
.chat-suggest button:hover { background: var(--sky); border-color: #cfe3ee; }
.chat-thread { max-width: 800px; margin: 0 auto; padding: 28px 24px 12px; }
.chat-msg { margin-bottom: 24px; }
.chat-user { display: flex; justify-content: flex-end; }
.chat-bubble { max-width: 78%; padding: 10px 16px; border-radius: 18px; background: var(--sky); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-bubble small { display: block; margin-top: 4px; color: var(--muted); }
.chat-ai { display: flex; gap: 12px; }
.chat-avatar { flex: none; width: 32px; height: 32px; }
.chat-ai-body { flex: 1; min-width: 0; padding-top: 4px; }
.chat-ai-body .redflag { margin-bottom: 14px; }
.chat-answer:empty { display: none; }
.chat-answer > :last-child { margin-bottom: 0; }
.chat-table { overflow-x: auto; margin: 0 0 12px; }
.chat-table table { border-collapse: collapse; font-size: .92rem; }
.chat-table th, .chat-table td { padding: 6px 10px; border: 1px solid var(--line); text-align: left; }
.chat-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--r); background: var(--sky); font-size: .9rem; color: var(--blue-ink); }
.chat-status > span:nth-child(2) { flex: 1 1 220px; }
.chat-spinner { flex: none; width: 16px; height: 16px; border: 2px solid var(--btn); border-top-color: var(--blue); border-radius: 50%; animation: chat-spin .8s linear infinite; }
@keyframes chat-spin { to { transform: rotate(360deg); } }
.chat-logos { display: inline-flex; gap: 4px; }
.chat-logo { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; opacity: .45; }
.chat-logo.is-done { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.chat-logo.is-failed { opacity: .3; }
.chat-actions { margin-top: 10px; }
.chat-action { padding: 4px 10px; border-radius: var(--r-sm); font-size: .85rem; color: var(--muted); }
.chat-action:hover { background: var(--grey); color: var(--ink); }
.chat-error { margin-top: 8px; color: #a12b48; }
.chat-muted { color: var(--muted); }
.chat-views { margin-top: 10px; border-top: 1px solid var(--line); }
.chat-views > summary { padding: 12px 2px; font-size: .92rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.chat-tabs { display: flex; gap: 6px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: thin; }
.chat-tab { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--text); }
.chat-tab[aria-pressed="true"] { background: var(--sky); border-color: #cfe3ee; font-weight: 600; color: var(--ink); }
.chat-panel { padding: 16px; border-radius: var(--r); background: var(--grey); }
.chat-panel > :last-child { margin-bottom: 0; }
.chat-next { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.chat-next-title { margin: 0 0 2px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.chat-next-q { max-width: 100%; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .92rem; line-height: 1.35; text-align: left; color: var(--text); transition: background .15s, border-color .15s; }
.chat-next-q::after { content: " →"; color: var(--blue); }
.chat-next-q:hover { background: var(--sky); border-color: #cfe3ee; }
/* clarifying questions inside an answer (dzform.js) */
.dz-form { max-width: 560px; margin: 14px 0 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.dz-form-title { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.dz-form-q { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.dz-form-q:last-of-type { border-bottom: 0; }
.dz-form-legend { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: 8px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.dz-form-val { flex: none; font-variant-numeric: tabular-nums; font-weight: 700; }
.dz-form-range { --dz-fill: 50%; display: block; width: 100%; height: 22px; margin: 4px 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dz-form-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--dz-fill), var(--grey) var(--dz-fill)); }
.dz-form-range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--grey); }
.dz-form-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--blue); }
.dz-form-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -6px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.dz-form-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.dz-form-ends { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--muted); }
.dz-form-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .95rem; cursor: pointer; }
.dz-form-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.dz-form-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: var(--r-sm); background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.dz-form-submit:hover { background: var(--blue-ink); }
.dz-form.is-sent { opacity: .65; }
.dz-form.is-sent .dz-form-submit { cursor: default; background: var(--muted); }
/* On a wide screen every model's answer stands in its own column, wider than the thread. */
.chat-board { display: none; }
.chat-ai-body .chat-upsell { margin-top: 16px; }
@media (min-width: 1100px) {
  .chat-scroll { container-type: inline-size; }
  .chat-views { display: none; }
  .chat-board {
    --board-w: min(100cqw - 48px, 1480px);
    display: block;
    width: var(--board-w);
    margin: 18px 0 0 calc(332px - var(--board-w) / 2); /* centred in the scroll area: the thread is 800px with 24px padding, the answer 44px in */
  }
  .chat-board-title { margin: 0 0 10px; font-family: var(--font); font-size: .92rem; font-weight: 600; color: var(--ink); }
  .chat-cols { display: grid; grid-auto-columns: minmax(205px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .chat-col { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
  .chat-col-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); }
  .chat-col-head::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--btn); animation: chat-blink 1s ease-in-out infinite alternate; }
  .chat-col.is-done .chat-col-head::after { background: var(--blue); animation: none; }
  .chat-col.is-failed .chat-col-head::after { background: #c9cfd4; animation: none; }
  .chat-col-body { height: 460px; padding: 12px 14px; overflow-y: auto; font-size: .88rem; scrollbar-width: thin; }
  .chat-col-body h3 { font-size: 1rem; }
  .chat-col-body > :last-child { margin-bottom: 0; }
}
@keyframes chat-blink { to { opacity: .3; } }
.chat-dock { flex: none; width: 100%; max-width: 800px; margin: 0 auto; padding: 8px 24px 12px; }
.chat-notice { margin: 0 0 8px; }
.chat-composer { padding: 10px 10px 8px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 6px 30px rgba(11, 23, 32, .07); }
.chat-composer:focus-within { border-color: #a9d6ec; }
.chat-composer textarea { display: block; width: 100%; min-height: 28px; max-height: 200px; padding: 4px 6px 4px 0; border: 0; outline: 0; resize: none; background: none; font: inherit; color: var(--ink); }
.chat-composer textarea::placeholder { color: var(--muted-2); }
.chat-composer-row { display: flex; align-items: center; gap: 6px; margin-left: -8px; }
.chat-count { flex: 1; font-size: .82rem; color: var(--muted); }
.chat-send { display: inline-grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--btn); color: var(--blue-ink); transition: background .15s; }
.chat-send:hover { background: var(--btn-hover); }
.chat-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chat-file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 6px 4px 10px; border-radius: var(--r-sm); background: var(--grey); font-size: .82rem; overflow-wrap: anywhere; }
.chat-file button { width: 20px; height: 20px; border-radius: 50%; line-height: 1; color: var(--muted); }
.chat-fine { margin-top: 8px; text-align: center; font-size: .75rem; color: var(--muted); }
.chat-notice.is-ok { color: #17603a; background: #e7f6ed; }
.chat-signin p { flex: 1 1 260px; margin: 0; }
.chat-signin-links { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-carry { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--sky); font-size: .9rem; color: var(--blue-ink); }
.chat-consent { max-width: 560px; }
.chat-consent .consents { margin: 14px 0; text-align: left; }
.chat-consent-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
@media (max-width: 860px) {
  .chat-app { grid-template-columns: minmax(0, 1fr); }
  .chat-side { position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(300px, 86vw); transform: translateX(-100%); transition: transform .2s; }
  .chat-side.is-open { transform: none; }
  .chat-side-close { display: inline-grid; }
  .chat-bar { display: flex; }
  .chat-main.is-empty { justify-content: flex-start; }
  .chat-main.is-empty .chat-scroll { flex: 1; }
  .chat-empty { padding: 8px 16px 16px; }
  .chat-empty img { width: 88px; height: 88px; }
  .chat-suggest { grid-template-columns: 1fr; }
  .chat-thread { padding: 16px 16px 8px; }
  .chat-dock { padding: 6px 12px 10px; }
  .chat-bubble { max-width: 88%; }
  .chat-ai { gap: 8px; }
  .chat-avatar { width: 26px; height: 26px; }
}
.chat-guide { align-self: flex-start; padding: 0 4px; font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.chat-guide:hover { color: var(--ink); }
.is-touring .consent-bar { display: none; }
.tour { position: fixed; inset: 0; z-index: 70; overflow: hidden; }
.tour-hole { position: absolute; border-radius: var(--r); box-shadow: 0 0 0 3px var(--btn), 0 0 0 200vmax rgba(8, 20, 30, .74); transition: left .25s, top .25s, width .25s, height .25s; }
.tour-hole.is-none { box-shadow: 0 0 0 200vmax rgba(8, 20, 30, .74); }
.tour-card { position: absolute; width: min(340px, calc(100vw - 32px)); padding: 20px; border-radius: var(--r); background: #fff; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); transition: left .25s, top .25s; }
.tour-count { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tour-card h2 { margin: 0 0 6px; font-size: 1.35rem; color: var(--ink); }
.tour-text { margin: 0 0 16px; font-size: .95rem; line-height: 1.5; color: var(--text); }
.tour-actions { display: flex; align-items: center; gap: 8px; }
.tour-skip { margin-right: auto; font-size: .9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media print { .chat-side, .chat-dock, .chat-bar, .tour { display: none !important; } .chat-app, .chat-main { display: block; height: auto; } .chat-page { overflow: visible; } }

/* Membership */
.pricing { max-width: 640px; }
.pricing-head { text-align: center; }
.pricing-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; }
.pricing-head p { margin-top: 10px; color: var(--muted); }
.pricing-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.pricing-plan { position: relative; display: grid; gap: 4px; padding: 18px 20px; border: 2px solid transparent; border-radius: var(--r); background: #fff; cursor: pointer; box-shadow: 0 6px 30px rgba(11, 23, 32, .07); }
.pricing-plan:has(input:checked) { border-color: var(--blue); }
.pricing-plan:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.pricing-plan input { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.pricing-name { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.pricing-name em { padding: 2px 8px; border-radius: 999px; background: var(--sky); font-size: .75rem; font-style: normal; color: var(--blue-ink); }
.pricing-price { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.pricing-price small { font-family: var(--font); font-size: .9rem; font-weight: 400; color: var(--muted); }
.pricing-note { font-size: .85rem; color: var(--muted); }
.pricing-worth { max-width: 520px; text-align: center; color: var(--muted); }
.pricing .auth-card { max-width: none; }
.pricing-features { display: grid; gap: 8px; margin: 0 0 18px; padding-left: 20px; }
.pricing .auth-foot { max-width: none; margin-top: 14px; }
.pricing-back { font-size: .9rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.chat-upsell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--sky); color: var(--ink); }
@media (max-width: 560px) { .pricing-plans { grid-template-columns: 1fr; } }
