/* Conversion layer: keeps Holodeck's palette and gives the contact a direct path. */
.ari__offer { margin: 0; max-width: 590px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.ari__text { max-width: 650px; gap: 8px; }
.ari__h1 { max-width: 650px; }
.ari__name { margin-top: 2px; }
.home-contact {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 124px;
  width: min(620px, calc(100% - 32px));
  translate: -50% 0;
  padding: 16px 20px;
  border: 1px solid rgba(var(--cyan-rgb), .28);
  border-radius: 20px;
  background: rgba(10, 20, 30, .92);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .2);
  touch-action: auto;
  user-select: text;
  -webkit-user-select: text;
}
.is-open .home-contact { visibility: hidden; pointer-events: none; }
.home-brief { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 20px; }
.home-brief__copy h2 { margin: 0 0 5px; font-family: var(--f-display); font-size: 20px; line-height: 1.2; }
.home-brief__copy p { margin: 0; color: var(--text-2); font-size: 12px; line-height: 1.5; }
.home-brief__direct { grid-column: 1 / -1; justify-self: start; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.home-brief > .cta { justify-content: center; white-space: nowrap; }
.lead-form { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin: 0 auto; }
.lead-form label { font-size: 14px; color: var(--text); }
.lead-form input:not([type="hidden"]), .lead-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(var(--cyan-rgb), .35);
  border-radius: 12px;
  outline: none;
  background: rgba(10, 16, 24, .75);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--cyan); }
.lead-form textarea { min-height: 90px; resize: vertical; }
.lead-form__row { display: flex; gap: 10px; }
.lead-form__row .cta { flex: none; border-radius: 12px; min-height: 46px; }
.lead-form .cta:disabled { opacity: .65; cursor: default; }
.lead-form__selection { margin: 0; color: var(--amber); font-size: 13px; line-height: 1.45; }
.lead-form--compact .lead-form__selection { font-size: 12px; }
.lead-form__clear { align-self: flex-start; padding: 0; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; }
.lead-form__hint { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.lead-form__status { margin: 0; color: var(--cyan); font-size: 14px; line-height: 1.5; }
.lead-form__status:empty { display: none; }
.lead-form__status.is-error { color: var(--amber); }
.lead-form__optional { font-size: 13px; color: var(--text-2); }
.lead-form__optional summary { cursor: pointer; padding: 3px 0; }
.lead-form__optional summary span { color: var(--muted); }
.lead-form__optional[open] { display: flex; flex-direction: column; }
.lead-form__optional[open] label { display: block; margin: 12px 0 8px; }
.home-contact:has(.lead-form__optional[open]) { max-height: calc(100% - 92px); overflow: auto; }
.brief-intro { max-width: 640px; margin: 0 auto 20px; color: var(--text-2); line-height: 1.6; }
.guided-brief { max-width: 640px; margin: 0 auto; }
.guided-brief > summary { color: var(--cyan); cursor: pointer; font-size: 15px; }
.guided-brief[open] > summary { margin-bottom: 24px; }
.direct-contact { max-width: 640px; margin: 28px auto 0; border-top: 1px solid rgba(var(--cyan-rgb), .2); padding-top: 18px; }
.direct-contact > summary { color: var(--muted); cursor: pointer; font-size: 14px; }
.direct-contact[open] > summary { margin-bottom: 18px; }
.brief-progress { margin: 0; color: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.brief-review { padding: 18px; border: 1px solid rgba(var(--cyan-rgb), .4); border-radius: 16px; background: rgba(var(--cyan-rgb), .04); }
.brief-review__list { display: grid; gap: 12px; margin: 0; }
.brief-review__list > div { display: grid; grid-template-columns: minmax(90px, .6fr) minmax(0, 1fr); gap: 10px; }
.brief-review dt { color: var(--muted); font-size: 13px; }
.brief-review dd { margin: 0; color: var(--text); font-size: 15px; overflow-wrap: anywhere; }
.brief-review__note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.reply.brief-submit { min-height: 44px; background: var(--cyan); color: var(--bg); font-weight: 600; }
.reply.brief-back { border-style: dashed; color: var(--muted); }
.reply.is-selected { border-color: var(--cyan); background: rgba(var(--cyan-rgb), .14); }
.service-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(var(--cyan-rgb), .18); font-size: 14px; line-height: 1.6; }
.service-links > span { flex-basis: 100%; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.service-links a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 719px) {
  .home-brief { gap: 8px 12px; }
  .home-brief__copy h2 { font-size: 17px; }
  .home-brief__copy p { font-size: 11px; }
  .home-brief__direct { font-size: 11px; }
  .home-brief > .cta { padding: 12px 14px; font-size: 13px; }
  .ari { top: 72px; gap: 8px; }
  .ari__orb, .ari__core { width: 56px; height: 56px; }
  .ari__core { gap: 10px; }
  .ari__eye { width: 7px; height: 17px; }
  .ari__pulse { inset: -10px; }
  .ari__pulse--far { inset: -20px; }
  .ari__text { gap: 7px; }
  .ari__h1 { max-width: 540px; font-size: 21px; line-height: 1.2; }
  .ari__offer { max-width: 460px; font-size: 12px; }
  .ari__name, .ari__speech { display: none; }
  .home-contact { bottom: calc(100px + env(safe-area-inset-bottom)); padding: 12px 14px; border-radius: 16px; }
  .lead-form { gap: 8px; }
  .lead-form--compact .lead-form__selection { display: none; }
  .lead-form__row { gap: 7px; }
  .lead-form__row .cta { padding: 10px 12px; font-size: 13px; }
  .lead-form--compact input:not([type="hidden"]) { font-size: 16px; padding: 11px 10px; }
  .lead-form--compact .lead-form__row .cta { max-width: 110px; }
  .lead-form__hint { font-size: 10px; }
  .dock { gap: 8px; }
  .dock__hint { font-size: 9px; letter-spacing: .06em; }
}
@media (max-width: 719px) and (max-height: 620px) {
  .ari { top: 72px; }
  .ari__orb { display: none; }
  .ari__h1 { font-size: 19px; }
  .ari__offer { font-size: 11px; }
  .tilt { display: none; }
  .home-contact { bottom: calc(98px + env(safe-area-inset-bottom)); }
  .js .home-contact:has(.lead-form__optional[open]) { max-height: calc(100% - 184px - env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .home-brief { grid-template-columns: 1fr; }
  .home-brief > .cta { width: 100%; min-height: 44px; }
  .lead-form__row { flex-direction: column; }
  .lead-form--compact .lead-form__row .cta { max-width: none; min-height: 40px; }
  .ari__offer { display: none; }
}
html:not(.js) .ari { position: relative; display: flex; left: auto; top: auto; translate: none; margin: 0 auto 28px; }
html:not(.js) .ari__orb, html:not(.js) .ari__name, html:not(.js) .ari__speech { display: none; }
html:not(.js) .home-contact { position: relative; left: auto; bottom: auto; translate: none; margin: 0 auto 32px; }
html:not(.js) .guided-brief { display: none; }
@media (max-width: 480px) {
  .brief-review__list > div { grid-template-columns: 1fr; gap: 3px; }
}
.case__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
