:root {
  --ink: #f8f7ff;
  --ink-soft: #cbc8dc;
  --muted: #8f8ca4;
  --night: #080812;
  --night-soft: #10101d;
  --panel: rgba(18, 17, 32, .84);
  --panel-solid: #151424;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --ember: #ff7a45;
  --ember-bright: #ffb16d;
  --violet: #9b87ff;
  --success: #67e0aa;
  --danger: #ff8f99;
  --focus: #ffd0a8;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--night);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(126, 82, 255, .16), transparent 38rem),
    radial-gradient(circle at 92% 12%, rgba(255, 105, 65, .12), transparent 34rem),
    var(--night);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

[hidden] { display: none !important; }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #120f18;
  background: #fff;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 174, 113, .52);
  border-radius: 9px 9px 12px 9px;
  background: linear-gradient(145deg, rgba(255, 125, 69, .24), rgba(118, 83, 255, .15));
  box-shadow: 0 0 22px rgba(255, 122, 69, .16);
  transform: rotate(-5deg);
}

.brand__mark::before,
.brand__mark::after,
.brand__mark span {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember-bright);
  box-shadow: 0 0 10px var(--ember);
}

.brand__mark::before { transform: translate(-6px, -3px); }
.brand__mark::after { transform: translate(6px, 3px); }
.brand__mark span { width: 6px; height: 6px; }

.brand__word { font-size: 19px; }

.brand__product {
  padding-left: 9px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.header-link {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.header-link:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
}

main {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 146px);
}

.maintenance {
  display: grid;
  width: min(700px, calc(100% - 40px));
  min-width: 0;
  min-height: 62vh;
  margin: 0 auto;
  padding: 72px 0;
  align-content: center;
  justify-items: start;
}

.maintenance h1 {
  max-width: 680px;
  margin: 18px 0 16px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.maintenance p {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 18px;
}

.maintenance__note { font-size: 14px !important; }

.imagine {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 100px) 0 48px;
}

.atmosphere {
  position: absolute;
  z-index: -1;
  inset: -120px 0 auto;
  height: 720px;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .72;
}

.atmosphere__orb--one {
  top: 38px;
  left: 13%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(132, 88, 255, .26), rgba(132, 88, 255, 0) 69%);
  animation: drift 13s ease-in-out infinite alternate;
}

.atmosphere__orb--two {
  top: 5px;
  right: 6%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 105, 58, .2), rgba(255, 105, 58, 0) 69%);
  animation: drift 16s ease-in-out -5s infinite alternate-reverse;
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}

@keyframes drift {
  from { transform: translate3d(-14px, -8px, 0) scale(.98); }
  to { transform: translate3d(24px, 16px, 0) scale(1.06); }
}

.hero {
  width: min(890px, 100%);
  min-width: 0;
  margin: 0 auto 44px;
  text-align: center;
  transition: margin .44s ease, opacity .35s ease, transform .44s ease;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ember-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow__spark {
  width: 7px;
  height: 7px;
  border-radius: 2px 5px 2px 5px;
  background: var(--ember-bright);
  box-shadow: 0 0 14px var(--ember);
  transform: rotate(45deg);
}

.hero h1 {
  margin: 20px 0 20px;
  color: var(--ink);
  font-size: clamp(48px, 7.6vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, var(--ink) 10%, #c3b9ff 52%, var(--ember-bright) 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero > p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  text-wrap: balance;
}

.hero__proof {
  display: flex;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }

.hero__proof i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(103, 224, 170, .6);
}

.is-engaged .imagine { padding-top: 28px; }

.is-engaged .hero {
  margin-bottom: 22px;
  transform: translateY(-8px);
}

.is-engaged .hero .eyebrow,
.is-engaged .hero > p,
.is-engaged .hero__proof { display: none; }

.is-engaged .hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.is-engaged .hero h1 br { display: none; }
.is-engaged .hero h1 span::before { content: " "; }

.conversation {
  width: min(760px, 100%);
  min-width: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(25, 23, 43, .92), rgba(13, 13, 25, .92));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  backdrop-filter: blur(18px);
}

.conversation__head {
  display: flex;
  min-width: 0;
  min-height: 68px;
  padding: 13px 18px;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .018);
}

.conversation__head > div:last-child {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.conversation__head strong { font-size: 14px; }

.conversation__head span {
  color: var(--muted);
  font-size: 12px;
}

.guide-avatar {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border: 1px solid rgba(255, 160, 92, .35);
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(255, 123, 69, .22), rgba(119, 84, 255, .2));
}

.guide-avatar::before,
.guide-avatar::after,
.guide-avatar span {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--ember-bright);
  box-shadow: 0 0 10px rgba(255, 122, 69, .75);
}

.guide-avatar::before { width: 5px; height: 5px; transform: translate(-7px, -4px); }
.guide-avatar::after { width: 5px; height: 5px; transform: translate(7px, 4px); }
.guide-avatar span { width: 7px; height: 7px; }

.transcript {
  display: grid;
  min-width: 0;
  max-height: min(48vh, 450px);
  padding: 24px 22px 12px;
  align-content: start;
  gap: 15px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

.message {
  display: flex;
  width: 100%;
  min-width: 0;
}

.message--user { justify-content: flex-end; }

.message__bubble {
  max-width: min(82%, 560px);
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 7px 17px 17px 17px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .045);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.message--user .message__bubble {
  border-color: rgba(255, 141, 79, .26);
  border-radius: 17px 7px 17px 17px;
  color: #fff7ef;
  background: linear-gradient(145deg, rgba(255, 117, 61, .22), rgba(141, 90, 255, .17));
}

.message__bubble p { margin: 0; }
.message__bubble p + p { margin-top: 8px; }

.quick-replies {
  display: flex;
  min-width: 0;
  padding: 8px 22px 13px;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-reply,
.summary-card__edit {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 164, 101, .26);
  border-radius: 999px;
  color: #ffd5b3;
  background: rgba(255, 119, 60, .07);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.quick-reply:hover,
.summary-card__edit:hover {
  border-color: rgba(255, 171, 107, .56);
  background: rgba(255, 119, 60, .12);
  transform: translateY(-1px);
}

.composer {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 18, .38);
}

.composer__field {
  display: flex;
  min-width: 0;
  padding: 5px 5px 5px 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.composer__field:focus-within {
  border-color: rgba(255, 164, 101, .5);
  box-shadow: 0 0 0 3px rgba(255, 122, 69, .08);
}

.composer input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.composer input::placeholder { color: #77738a; }

.composer__send {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: #1a0f0b;
  background: linear-gradient(135deg, var(--ember-bright), var(--ember));
  box-shadow: 0 8px 22px rgba(255, 105, 54, .22);
  cursor: pointer;
}

.composer__send:hover { filter: brightness(1.08); }

.composer__send:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  cursor: not-allowed;
}

.composer__send svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.composer__meta {
  display: flex;
  min-height: 21px;
  padding: 5px 3px 0;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

[data-imagine-input-error]:not(:empty) { color: var(--danger); }

.summary-card {
  display: grid;
  width: min(100%, 590px);
  min-width: 0;
  margin-left: 0;
  padding: 17px;
  gap: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.summary-card__title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.summary-card__list { display: grid; gap: 1px; margin: 0; }

.summary-card__row {
  display: grid;
  min-width: 0;
  padding: 11px 0;
  grid-template-columns: 115px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.summary-card__row dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-card__row dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.summary-card__edit {
  min-height: 34px;
  padding: 6px 10px;
  color: var(--ink-soft);
  border-color: var(--line);
  background: transparent;
  font-size: 11px;
}

.summary-card__confirm {
  width: 100%;
  min-height: 48px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button--primary {
  color: #1b0e08;
  background: linear-gradient(135deg, var(--ember-bright), var(--ember));
  box-shadow: 0 12px 32px rgba(255, 106, 54, .2);
}

.button--secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, .045);
}

.button:disabled { opacity: .52; cursor: not-allowed; }

.job-panel,
.result-card {
  display: grid;
  min-width: 0;
  margin: 18px;
  padding: clamp(23px, 5vw, 38px);
  justify-items: center;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 123, 64, .13), transparent 48%),
    rgba(255, 255, 255, .025);
}

.job-panel__spark {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  place-items: center;
  border: 1px solid rgba(255, 159, 90, .3);
  border-radius: 19px;
  background: rgba(255, 120, 61, .08);
  animation: pulse 2.4s ease-in-out infinite;
}

.job-panel__spark::before,
.job-panel__spark::after,
.job-panel__spark span {
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px 5px 2px 5px;
  background: var(--ember-bright);
  box-shadow: 0 0 12px var(--ember);
  transform: rotate(45deg);
}

.job-panel__spark::before { translate: -11px -6px; scale: .65; }
.job-panel__spark::after { translate: 11px 6px; scale: .65; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); }
  50% { box-shadow: 0 0 0 9px rgba(255, 122, 69, .055); }
}

.job-panel__kicker,
.result-card__kicker {
  margin: 0;
  color: var(--ember-bright);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.job-panel h2,
.result-card h2 {
  max-width: 560px;
  margin: 8px 0 7px;
  font-size: clamp(23px, 5vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.job-panel > p:not(.job-panel__kicker),
.result-card > p:not(.result-card__kicker) {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.job-panel > .job-panel__support {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.job-panel__track[hidden],
.milestones[hidden] {
  display: none;
}

.job-panel__track {
  width: min(100%, 520px);
  height: 8px;
  margin: 24px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .075);
}

.job-panel__track span {
  display: block;
  width: 4%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--ember-bright));
  box-shadow: 0 0 14px rgba(255, 140, 76, .42);
  transition: width .5s ease;
}

.milestones {
  display: grid;
  width: min(100%, 520px);
  margin: 0 0 22px;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.milestones li {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.milestones li span {
  width: 9px;
  height: 9px;
  border: 2px solid #4b485b;
  border-radius: 50%;
  background: var(--panel-solid);
}

.milestones li.is-active { color: var(--ink); }
.milestones li.is-active span { border-color: var(--ember-bright); box-shadow: 0 0 10px rgba(255, 154, 91, .5); }
.milestones li.is-done { color: var(--success); }
.milestones li.is-done span { border-color: var(--success); background: var(--success); }

.job-panel__actions {
  display: flex;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.job-panel.is-error {
  border-color: rgba(255, 104, 117, .3);
  background: rgba(255, 75, 90, .04);
}

.job-panel.is-error .job-panel__spark { animation: none; border-color: rgba(255, 104, 117, .4); }

.result-card__check {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(103, 224, 170, .38);
  border-radius: 20px;
  color: var(--success);
  background: rgba(103, 224, 170, .08);
  box-shadow: 0 0 34px rgba(103, 224, 170, .1);
}

.result-card__check svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-card__actions {
  display: flex;
  width: min(100%, 500px);
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.result-card__actions .button { flex: 1 1 190px; }

.privacy-note {
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.privacy-note span { color: var(--ember-bright); }

body.is-auth-open { overflow: hidden; }

.auth-overlay {
  position: fixed;
  z-index: 80;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 4vw, 42px);
  border: 0;
  color: var(--ink);
  background: rgba(4, 4, 10, .78);
  overflow: auto;
  overscroll-behavior: contain;
}

.auth-overlay:not([open]) { display: none; }

.auth-overlay::backdrop {
  background: rgba(4, 4, 10, .78);
  backdrop-filter: blur(10px);
}

.auth-overlay__surface {
  display: grid;
  width: min(100%, 980px);
  height: min(780px, calc(100dvh - clamp(36px, 8vw, 84px)));
  min-height: 540px;
  margin: auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--panel-solid);
  box-shadow: 0 34px 120px rgba(0, 0, 0, .58);
}

.auth-overlay__head {
  display: flex;
  min-width: 0;
  padding: 18px 20px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(155, 135, 255, .08), rgba(255, 122, 69, .07));
}

.auth-overlay__head > div { min-width: 0; }

.auth-overlay__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--ember-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.auth-overlay__head h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.auth-overlay__head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-overlay__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.auth-overlay__close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.auth-overlay__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.auth-overlay__body {
  min-width: 0;
  min-height: 0;
  background: #fff;
}

.auth-overlay iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.auth-overlay__footer {
  display: flex;
  min-width: 0;
  min-height: 66px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 18, .72);
}

.auth-overlay__footer > p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.auth-overlay__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.auth-overlay__actions .button {
  min-height: 42px;
  padding: 9px 13px;
  font-size: 12px;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  min-height: 70px;
  margin: 0 auto;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #777487;
  font-size: 11px;
}

@media (max-width: 680px) {
  .site-header,
  .imagine,
  .site-footer { width: min(100% - 28px, 1180px); }

  .site-header { min-height: 64px; }
  .brand__product { display: none; }
  .header-link { min-height: 40px; padding: 9px 13px; }

  .imagine { padding-top: 42px; padding-bottom: 34px; }
  .hero { margin-bottom: 28px; }
  .hero h1 { margin-top: 16px; font-size: clamp(40px, 12vw, 58px); }
  .hero > p { font-size: 16px; }
  .hero__proof { display: grid; justify-items: start; width: fit-content; margin: 22px auto 0; }

  .is-engaged .imagine { padding-top: 16px; }
  .is-engaged .hero { margin-bottom: 12px; }
  .is-engaged .hero h1 { font-size: 25px; }

  .conversation { border-radius: 20px; }
  .conversation__head { min-height: 62px; padding: 11px 14px; }
  .transcript { max-height: min(49svh, 420px); padding: 18px 14px 8px; gap: 12px; }
  .message__bubble { max-width: 91%; padding: 11px 13px; font-size: 14px; }
  .quick-replies { padding: 8px 14px 11px; gap: 7px; }
  .quick-reply { min-height: 40px; padding: 8px 11px; font-size: 12px; }
  .composer { padding: 9px 10px 10px; }
  .composer__field { padding-left: 13px; }
  .composer__meta { padding-inline: 2px; }

  .summary-card { padding: 14px; }
  .summary-card__row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 9px; }
  .summary-card__row dt { grid-column: 1; }
  .summary-card__row dd { grid-column: 1; }
  .summary-card__edit { grid-column: 2; grid-row: 1 / span 2; }

  .job-panel,
  .result-card { margin: 12px; padding: 24px 14px; }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 8px; }
  .result-card__actions { display: grid; }

  .auth-overlay { padding: 0; }

  .auth-overlay__surface {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
  }

  .auth-overlay__head {
    padding: calc(13px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 13px calc(14px + env(safe-area-inset-left));
    gap: 11px;
  }

  .auth-overlay__head h2 { font-size: 20px; }
  .auth-overlay__head p { font-size: 12px; line-height: 1.4; }
  .auth-overlay__close { width: 40px; height: 40px; flex-basis: 40px; }
  .auth-overlay__body {
    min-height: 0;
  }

  .auth-overlay__footer {
    padding: 9px calc(10px + env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .auth-overlay__footer > p { text-align: center; }
  .auth-overlay__actions { display: grid; grid-template-columns: 1fr 1fr; }

  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

@media (max-width: 390px) {
  .site-header,
  .imagine,
  .site-footer { width: calc(100% - 20px); }
  .brand__word { font-size: 17px; }
  .header-link { font-size: 12px; }
  .hero h1 { font-size: 38px; }
  .quick-reply { max-width: 100%; white-space: normal; text-align: left; }
}

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

@media (forced-colors: active) {
  .eyebrow__spark,
  .hero__proof i,
  .milestones li span { forced-color-adjust: none; }
  .conversation,
  .composer__field,
  .message__bubble,
  .summary-card,
  .job-panel,
  .result-card { border: 1px solid CanvasText; }
}
