/* Local integration: retain the repository's animated hero media. */
.hero { background-image: url("/assets/images/hero.png"); }
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-bg-video.is-ready { opacity: 1; }
.hero-video-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #080809;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero.is-video-fading .hero-video-fade { opacity: 1; }
.hero::before, .hero::after { z-index: 1; }
.hero-shade { z-index: 1; }

/* Let the looping footage remain visible while retaining a quiet contrast veil. */
.hero::before {
  background:
    linear-gradient(90deg, rgba(5,5,6,.72) 0%, rgba(7,7,8,.58) 38%, rgba(8,8,9,.28) 70%, rgba(8,8,9,.42) 100%),
    linear-gradient(180deg, rgba(5,5,6,.08) 0%, rgba(8,8,9,.04) 44%, rgba(8,8,9,.48) 100%);
}
.hero-content h1 { text-shadow: 0 3px 34px rgba(0,0,0,.72); }
.hero-intro { text-shadow: 0 2px 18px rgba(0,0,0,.9); }

/* Use the higher optical centre seen in the reference rather than the exact
   mathematical centre of the remaining viewport. */
.hero .hero-content {
  padding-top: 52px;
  padding-bottom: 132px;
}

/* Full-grid aligned shines, capped and paused off-screen for lower paint cost. */
.hero-grid-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid-glow i {
  --glow-width: 292px;
  --glow-height: 196px;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--glow-width);
  height: var(--glow-height);
  opacity: var(--glow-opacity, .62);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 1px, rgba(255, 24, 40, .52) 2px, transparent 3px),
    linear-gradient(rgba(255, 255, 255, .96) 1px, rgba(255, 24, 40, .52) 2px, transparent 3px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 118px 72px at 50% 50%, #000 0%, #000 12%, rgba(0,0,0,.8) 28%, rgba(0,0,0,.3) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 118px 72px at 50% 50%, #000 0%, #000 12%, rgba(0,0,0,.8) 28%, rgba(0,0,0,.3) 58%, transparent 82%);
  contain: layout paint style;
  will-change: transform, opacity;
}
.hero-grid-glow i:nth-child(2) {
  --glow-width: 180px;
  --glow-height: 300px;
  -webkit-mask-image: radial-gradient(ellipse 54px 108px at 50% 50%, #000 0%, rgba(0,0,0,.8) 25%, rgba(0,0,0,.22) 60%, transparent 84%);
  mask-image: radial-gradient(ellipse 54px 108px at 50% 50%, #000 0%, rgba(0,0,0,.8) 25%, rgba(0,0,0,.22) 60%, transparent 84%);
}
.hero-grid-glow i:nth-child(3) {
  display: none;
}

/* Skip layout and paint for long sections until they approach the viewport. */
main > section:not(.hero):not(.foghorn-workspace),
main > footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

body.chat-open { overflow: hidden; }
body.chat-open .hero-bg-video,
body.chat-open .hero-grid-glow { visibility: hidden; }
body.info-open { overflow: hidden; }
.dock-mark img { width: 100%; height: 100%; object-fit: cover; }
.prompt-send-icon {
  width: 23px;
  height: 23px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.prompt-launch > i,
.prompt-form button { place-items: center; }
.prompt-form button { display: grid; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 8px 22px rgba(213,1,13,.2); }
.prompt-form { align-items: flex-end; }
.prompt-form textarea {
  color: #161618;
  background: transparent;
  border: 0;
  outline: 0;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  max-height: 132px;
  margin: 0;
  padding: 13px 15px;
  overflow-x: hidden;
  overflow-y: hidden;
  resize: none;
  font-size: 15px;
  line-height: 1.55;
  scrollbar-width: thin;
  scrollbar-color: #c9c9cc transparent;
}
.prompt-form textarea.is-scrollable { overflow-y: auto; }
.prompt-form textarea::placeholder { color: #727278; }
.chat-compose:has(.immersive-form textarea:focus:not(:placeholder-shown)) .immersive-suggestions { opacity: 0; pointer-events: none; max-height: 0; margin-bottom: 0; padding-bottom: 0; overflow: hidden; }
.chat-compose:has(.immersive-form textarea:focus:not(:placeholder-shown)) .compose-foot { display: none; }
.prompt-launch:hover .prompt-send-icon,
.prompt-form button:hover .prompt-send-icon { transform: translate(2px,-2px); }
.prompt-form button:disabled .prompt-send-icon { transform: none; }

/* Hero AI composer: one quiet, modern interaction surface rather than a
   conventional form card. Behaviour remains owned by the existing launcher. */
.hero .ask-card {
  width: min(720px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero .ask-card::before { display: none; }

.hero .ask-head {
  min-height: 38px;
  padding: 0 9px 10px;
  gap: 10px;
}

.hero .mini-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  box-shadow: 0 7px 22px rgba(213, 1, 13, .28);
}

.hero .ask-head strong {
  color: rgba(255, 255, 255, .96);
  font-size: 12px;
  letter-spacing: -.015em;
}

.hero .ask-head small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  letter-spacing: .01em;
}

.hero .ask-head .online {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  background: rgba(10, 10, 12, .46);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero .ask-head .online::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  background: #58dda0;
  box-shadow: 0 0 12px rgba(88, 221, 160, .7);
}

.hero .prompt-launch.hero-prompt {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 66px;
  padding: 7px 8px 7px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .075), transparent 36%),
    rgba(11, 11, 13, .86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .055),
    0 22px 58px rgba(0, 0, 0, .38);
  backdrop-filter: blur(20px) saturate(1.08);
  transition:
    border-color 320ms ease,
    box-shadow 420ms cubic-bezier(.22, 1, .36, 1),
    background-color 320ms ease;
}

.hero .prompt-launch.hero-prompt > span {
  min-width: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: -.012em;
  text-align: left;
}

.hero .prompt-launch.hero-prompt > .hero-prompt-rotator {
  display: flex;
  align-items: center;
  min-height: 1.65em;
  overflow: visible;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-prompt-rotator::after {
  content: "";
  flex: 0 0 auto;
  width: 1px;
  height: 1.05em;
  margin-left: 3px;
  background: rgba(255, 255, 255, .72);
  opacity: .85;
  animation: hero-prompt-caret 1.05s steps(1, end) infinite;
}

.hero-prompt-rotator.is-paused::after {
  animation: none;
  opacity: .3;
}

@keyframes hero-prompt-caret {
  0%, 52% { opacity: .85; }
  53%, 100% { opacity: .18; }
}

.hero .prompt-launch.hero-prompt > i {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: #d5010d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 8px 24px rgba(213, 1, 13, .3);
}

.hero .prompt-launch.hero-prompt .prompt-send-icon {
  width: 21px;
  height: 21px;
  stroke-width: 2.15;
  transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .hero .prompt-launch.hero-prompt:hover {
    border-color: rgba(255, 255, 255, .3);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .075),
      0 26px 68px rgba(0, 0, 0, .44);
  }

  .hero .prompt-launch.hero-prompt:hover .prompt-send-icon {
    transform: translate(2px, -2px);
  }
}

.hero .hero-prompt-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 11px 0;
  color: rgba(255, 255, 255, .43);
  font-size: 9px;
  letter-spacing: .035em;
}

.hero .hero-prompt-note > span {
  --ui-icon-size: 10px;
  color: #ef1827;
  filter: drop-shadow(0 0 5px rgba(239, 24, 39, .48));
}

.conversation-trust-note > .ui-icon,
.trust-grid article > .ui-icon { --ui-icon-size: 17px; }

.showcase-result > span { display: inline-flex; align-items: center; gap: 5px; }
.showcase-result > span > .ui-icon { --ui-icon-size: 12px; color: #61cf95; }

@media (max-width: 760px) {
  .hero .ask-card { width: 100%; }
  .hero .ask-head { padding-inline: 4px; }
  .hero .prompt-launch.hero-prompt {
    grid-template-columns: minmax(0, 1fr) 44px;
    min-height: 60px;
    padding: 7px 7px 7px 16px;
    border-radius: 16px;
  }
  .hero .prompt-launch.hero-prompt > span { font-size: 13px; }
  .hero .prompt-launch.hero-prompt > i { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-prompt-rotator::after { display: none; }
}
.service-card li:not(:last-child)::after { content: " ·"; }
.thinking p::after { content: "…"; }

/* Coastline demo replay states. */
.showcase-question {
  opacity: 0;
  position: relative;
  overflow: hidden;
  transform: translateY(8px);
  transform-origin: right center;
  will-change: width, min-height, transform, opacity;
  transition:
    width .9s cubic-bezier(.16,1,.3,1),
    min-height .9s cubic-bezier(.16,1,.3,1),
    opacity .34s ease,
    transform .52s cubic-bezier(.22,1,.36,1),
    background-color .45s ease,
    border-color .45s ease,
    box-shadow .55s ease;
}
.showcase-thinking,
.showcase-answer { transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), visibility 0s linear .45s; }
.showcase-question::before {
  content: "Ask Coastline about your stay…";
  position: absolute;
  top: 50%;
  left: 18px;
  color: rgba(229,239,235,.48);
  letter-spacing: .01em;
  transform: translateY(-50%);
  white-space: nowrap;
  transition: opacity .32s ease, transform .48s cubic-bezier(.22,1,.36,1);
}
.showcase-question.is-typing::before,
.showcase-question.is-complete::before { opacity: 0; transform: translateY(-58%); }
.showcase-question > i { opacity: 0; visibility: hidden; }
.showcase-question.is-typing > i { opacity: 1; visibility: visible; }
.showcase-question.is-complete > i { opacity: 0; visibility: hidden; animation: none; }
.showcase-question > span { display: inline; }
.conversation-showcase.is-question .showcase-question,
.conversation-showcase.is-thinking .showcase-question,
.conversation-showcase.is-answer .showcase-question { opacity: 1; transform: none; }
.showcase-thinking { opacity: 0; visibility: hidden; transform: translateY(7px); pointer-events: none; animation: none; }
.conversation-showcase.is-thinking .showcase-thinking { opacity: 1; visibility: visible; transform: none; }
.conversation-showcase:not(.is-thinking) .showcase-thinking { opacity: 0; visibility: hidden; }
.conversation-showcase.is-answer .showcase-answer { opacity: 1; visibility: visible; transform: none; }
.conversation-showcase:not(.is-answer) .showcase-answer { opacity: 0; transform: translateY(8px); }
.conversation-showcase:not(.is-answer) .showcase-result { opacity: 0; }

/* Polished conversational-site information panel. */
.conversation-info-layer {
  padding: clamp(18px, 3vw, 36px);
  background: rgba(3, 3, 5, .88);
}
.conversation-info-modal {
  width: min(1060px, calc(100% - 12px));
  max-height: min(900px, calc(100dvh - clamp(36px, 6vw, 72px)));
  border-color: rgba(255, 255, 255, .16);
  border-radius: 12px;
  box-shadow: 0 42px 120px rgba(0,0,0,.8), 0 0 0 1px rgba(213,1,13,.08);
}
.conversation-info-topbar {
  min-height: 58px;
  padding: 0 18px 0 22px;
  background: rgba(20,20,23,.96);
}
.conversation-info-topbar button {
  min-height: 36px;
  padding: 4px 4px 4px 12px;
  border-color: rgba(255,255,255,.13);
  border-radius: 5px;
  transition: border-color .2s ease, background .2s ease;
}
.conversation-info-topbar button:hover { background: #242428; border-color: rgba(255,255,255,.25); }
.conversation-info-topbar button:focus-visible { outline: 2px solid rgba(236,48,58,.8); outline-offset: 2px; }
.conversation-info-topbar i { border-radius: 3px; }
.conversation-info-body {
  max-height: calc(min(900px, 100dvh - clamp(36px, 6vw, 72px)) - 59px);
  scrollbar-width: thin;
  scrollbar-color: #8e2229 #151517;
}
.conversation-info-body::-webkit-scrollbar { width: 8px; }
.conversation-info-body::-webkit-scrollbar-track { background: #151517; }
.conversation-info-body::-webkit-scrollbar-thumb { background: #8e2229; border: 2px solid #151517; border-radius: 999px; }
.conversation-info-hero { padding: clamp(52px, 6vw, 74px); }
.conversation-info-hero h2 { max-width: 760px; font-size: clamp(44px, 5.2vw, 66px); }
.conversation-info-benefits,
.conversation-examples,
.conversation-trust { padding: clamp(42px, 5vw, 60px); }
.info-section-head { grid-template-columns: 34px minmax(0,1fr); margin-bottom: 27px; }
.info-section-head h3 { max-width: 720px; font-size: clamp(29px, 3.2vw, 40px); }
.benefit-grid { border: 0; gap: 12px; }
.benefit-grid article {
  min-height: 164px;
  padding: 22px;
  border: 1px solid #343439;
  border-radius: 5px;
  background: linear-gradient(145deg,#1b1b1e,#171719);
}
.benefit-grid h4 { margin-top: 24px; }
.brand-voice-callout {
  grid-template-columns: 130px minmax(0,1fr);
  align-items: center;
  margin-top: 12px;
  padding: 22px;
  border-radius: 5px;
  background: linear-gradient(115deg,rgba(213,1,13,.13),rgba(25,25,28,.75) 52%,rgba(25,25,28,.95));
}
.example-grid { gap: 12px; }
.example-grid article { min-height: 350px; border-radius: 5px; }
.trust-grid article { border-radius: 5px; }
.conversation-info-reassurance { padding: clamp(42px, 5vw, 60px); }

@media (max-width: 760px) {
  .conversation-info-layer { padding: 0; }
  .conversation-info-modal { width: 100%; max-height: 100dvh; border-radius: 0; }
  .conversation-info-body { max-height: calc(100dvh - 62px); }
  .conversation-info-hero,
  .conversation-info-benefits,
  .conversation-examples,
  .conversation-trust,
  .conversation-info-reassurance { padding-left: 20px; padding-right: 20px; }
  .brand-voice-callout { grid-template-columns: 1fr; }
}

/* Accessibility: readable type, contrast and keyboard interaction. */
html { font-size: 16px; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-synthesis: none; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #ff4650; outline-offset: 2px; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; color: #111; background: #fff; border: 3px solid var(--red); border-radius: 4px; padding: 11px 15px; font-size: 14px; font-weight: 700; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.kicker,
.location-pill,
.conversation-toolbar > div > span,
.immersive-toolbar > div > span,
.answer-eyebrow,
.guide-eyebrow,
.info-section-head > span,
.info-section-head p,
.conversation-choice span,
.brand-voice-callout > span,
.conversation-info-reassurance > div > span,
.example-sector,
.work-meta span,
.contact-form label,
.inline-contact-fields label,
.service-number { font-size: 12px; line-height: 1.35; letter-spacing: .09em; }

.ask-head small,
.online,
.conversation-ready p,
.conversation-toolbar small,
.immersive-toolbar small,
.history-item small,
.answer-mode,
.thinking p,
.immersive-thinking p,
.hero-prompt-note,
.dock-copy small,
.chat-brand small,
.chat-progress,
.scroll-note,
.compose-foot,
.conversation-choice p,
.conversation-trust-note p,
.showcase-top > div > small,
.showcase-status > i,
.showcase-status > small,
.showcase-thinking p,
.showcase-answer > span,
.showcase-result > span,
.showcase-path,
.footer-bottom,
.benefit-grid p,
.brand-voice-callout p,
.example-response p,
.trust-grid p,
.trust-caveat,
.guide-summary > p:last-of-type,
.adaptive-copy > p:last-child,
.guide-items p,
.save-panel > p,
.preview-service-cards p,
.preview-chat-example > p,
.preview-steps p,
.grounded-card-grid p,
.grounded-cta p,
.inline-contact-head > p:last-child,
.inline-contact-note,
.inline-contact-success > p:last-of-type { color: #b8b8be; font-size: 12px; line-height: 1.6; letter-spacing: .015em; }

.history-toggle,
.save-toggle,
.suggestions button,
.conversation-actions button,
.work-info-link,
.approach-copy > a,
.contact-form button,
.thanks button,
.footer-grid > div,
.conversation-info-topbar button,
.conversation-info-hero > button,
.conversation-info-reassurance > button,
.showcase-result button,
.summary-email-form button,
.copy-summary,
.inline-contact-demo a,
.inline-contact-submit,
.inline-contact-success button,
.mobile-guide-card > button { font-size: 12px; line-height: 1.25; letter-spacing: .055em; }
.history-toggle,
.save-toggle { min-height: 40px; padding: 9px 12px; border-radius: 4px; }
.conversation-toolbar .mobile-conversation-count { display: none; }
.history-toggle { color: #f1f1f3; background: #222225; border-color: #505056; }
.history-toggle:hover { background: #2a2a2e; }
.save-toggle { color: #d8f2e3; background: #183326; border-color: #397a58; }
.save-toggle:hover,
.save-toggle[aria-expanded="true"] { color: #fff; background: #214932; border-color: #61cf95; }
.save-toggle > span { font-size: 17px; font-weight: 700; }
.suggestions button { min-height: 36px; padding: 9px 12px; color: #dddde1; border-color: #46464c; }

@media (min-width: 901px) {
  .immersive-toolbar {
    display: grid;
    grid-template-columns: max-content minmax(0,1fr) max-content max-content;
    align-items: center;
    column-gap: 8px;
  }
  .immersive-toolbar .conversation-meta { grid-column: 1; }
  .immersive-toolbar .toolbar-actions { display: contents; }
  .immersive-toolbar .history-toggle { grid-column: 3; }
  .immersive-toolbar .save-toggle { grid-column: 4; }
}

@media (901px <= width <= 1300px) {
  .immersive-toolbar { padding-inline: 14px; }
  .conversation-meta > .conversation-meta-copy,
  .conversation-meta > small { display: none; }
  .conversation-toolbar .mobile-conversation-count {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
  }
  .mobile-conversation-count img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: block;
    box-shadow: 0 7px 18px rgba(213,1,13,.28);
  }
  .mobile-conversation-count strong {
    position: absolute;
    top: -1px;
    right: -1px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #101012;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    display: grid;
    place-items: center;
    font: 800 10px/1 Inter,Arial,sans-serif;
  }
}

.immersive-history,
.save-drawer { top: 63px; }
.save-panel { width: min(510px,100%); border-radius: 5px; }
.save-panel-head span { font-size: 11px; line-height: 1.35; }
.save-panel-head > button { min-width: 40px; min-height: 40px; font-size: 21px; }
.save-summary-meta { display: flex; justify-content: space-between; gap: 16px; border: 1px solid #34343a; background: #111113; padding: 13px 14px; margin-bottom: 12px; }
.save-summary-meta strong { color: #f0f0f2; font-size: 13px; line-height: 1.4; }
.save-summary-meta span { color: #9b9ba1; font-size: 11px; line-height: 1.4; text-align: right; }
.save-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.download-summary,
.copy-summary { min-height: 44px; font-size: 12px; letter-spacing: .035em; }
.download-summary { color: #0b1b12; cursor: pointer; background: #61cf95; border: 1px solid #79dfaa; border-radius: 3px; display: flex; justify-content: center; align-items: center; gap: 9px; font-weight: 700; }
.download-summary:hover { background: #79dfaa; }
.download-summary .ui-icon { --ui-icon-size: 18px; }
.download-summary:disabled,
.copy-summary:disabled { cursor: not-allowed; opacity: .45; }
.save-status { min-height: 20px; margin: 10px 0 0 !important; color: #b8e8cb !important; font-size: 12px !important; line-height: 1.5 !important; }

.history-item > span:first-child { font-size: 11px; }
.history-item strong { color: #f0f0f2; font-size: 13px; line-height: 1.4; }
.asked span { color: #f26b73; font-size: 11px; letter-spacing: .1em; }
.asked p { color: #e2e2e5; font-size: 14px; line-height: 1.55; }
.answer-mode { color: #b0b0b6; }
.answer-contact > span { font-size: 11px; }
.answer p { font-size: 15px; line-height: 1.65; }
.compose-foot { color: #a4a4aa; }
.compose-foot > span:last-child { color: #aaaab0; }

.service-card p { opacity: 1; }
.service-card ul { opacity: 1; border-top-width: 1px; }
.service-card li { font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .065em; }
.service-dark p { color: #c5c5ca; }
.service-dark ul { border-top-color: #69696f; }
.service-dark li { color: #d2d2d7; }
.service-red p { color: #fff; }
.service-red ul { border-top-color: rgba(255,255,255,.72); }
.service-red li { color: #fff; }
.service-light p { color: #49494e; }
.service-light ul { border-top-color: #67676c; }
.service-light li { color: #424247; }
.conversation-choice p { color: #b6b6bc; font-size: 13px; }
.conversation-trust-note p { color: #b7beb9; font-size: 12px; }
.showcase-top > div > small { color: #b4c8c6; font-size: 11px; }
.showcase-status > i,
.showcase-status > small { font-size: 11px !important; }
.showcase-status > small { color: #a8bfbe !important; }
.showcase-thinking p { color: #e2ebe8; font-size: 12px; }
.showcase-answer > span { font-size: 11px; }
.showcase-answer p { font-size: 13px; line-height: 1.65; }
.showcase-result > span,
.showcase-result button { font-size: 11px; }
.showcase-path { color: #a8bdbc; font-size: 11px; }
.showcase-path b { font-size: 11px; }
.showcase-path i { color: #829c9c; }

/* Real-world conversational examples: question, reasoning, answer, action. */
.example-grid { gap: 16px; }
.example-grid article { min-height: 650px; padding: 26px; }
.example-sector { font-size: 11px; line-height: 1.35; letter-spacing: .11em; }
.example-question { margin: 22px 0 18px; font-size: 17px; line-height: 1.45; }
.example-question > span,
.example-thinking > b,
.example-response > b {
  display: block;
  margin-bottom: 8px;
  font: 700 11px/1.35 Inter,Arial,sans-serif;
  letter-spacing: .1em;
}
.example-question > span { color: #a7a7ad; }
.example-thinking {
  background: #211719;
  border: 1px solid #563036;
  border-left: 3px solid var(--red);
  padding: 15px 16px;
}
.example-thinking > b { color: #ff626b; }
.example-thinking p,
.example-response p { margin: 0; font-size: 13px; line-height: 1.62; }
.example-thinking p { color: #c8c8cd; }
.example-response { margin-top: 12px; padding: 16px; }
.example-response > b { color: #73dda6; }
.example-response p { color: #f0f6f2; }
.example-grid strong { margin-top: auto; padding-top: 17px; color: #d0d0d5; font-size: 12px; line-height: 1.55; }
.example-grid strong b { color: #fff; margin-bottom: 7px; font-size: 11px; }

.contact-form label { color: #eeeef0; }
.contact-form .optional { color: #c2c2c7; font-size: 11px; }
.inline-contact-fields input,
.inline-contact-fields select,
.inline-contact-fields textarea { font-size: 14px; }
.footer-grid > div,
.footer-bottom { font-size: 12px; }

.conversation-info-topbar > span { color: #b5b5ba; font-size: 11px; letter-spacing: .11em; }
.benefit-grid b,
.example-response > b,
.example-grid strong b,
.journey-grid span,
.trust-grid article > span,
.adaptive-browser-bar small,
.adaptive-mini-nav span,
.guide-items article > span,
.preview-service-cards article > span,
.preview-chat-example > span,
.preview-chat-example b,
.preview-steps article > span,
.grounded-source-note,
.grounded-source-note span,
.grounded-card-grid article > span,
.grounded-card-grid small,
.grounded-details > div > span,
.grounded-cta > span,
.inline-contact-fields label small { font-size: 11px; line-height: 1.4; letter-spacing: .07em; }
.example-grid strong,
.preview-chat-example strong,
.preview-proof-points { font-size: 12px; line-height: 1.55; }

@media (max-width: 900px) {
  .immersive-toolbar {
    min-height: 58px;
    padding: 7px 10px;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 8px;
  }
  .conversation-meta { min-width: 0; }
  .conversation-meta > .conversation-meta-copy,
  .conversation-meta > small { display: none; }
  .conversation-toolbar .mobile-conversation-count {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
  }
  .mobile-conversation-count img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: block;
    box-shadow: 0 7px 18px rgba(213,1,13,.28);
  }
  .mobile-conversation-count strong {
    position: absolute;
    top: -1px;
    right: -1px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #101012;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    display: grid;
    place-items: center;
    font: 800 10px/1 Inter,Arial,sans-serif;
  }
  .toolbar-actions {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.22fr);
    gap: 6px;
  }
  .history-toggle,
  .save-toggle {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 9px;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    line-height: 1.08;
    text-align: center;
  }
  .history-toggle > span,
  .save-toggle > span { font-size: 16px; }
  .immersive-history,
  .save-drawer { top: 55px; }
  .save-actions { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .example-grid article { min-height: 0; padding: 22px; }
}

/* Contact form is a review-only demonstration until a secure endpoint is chosen. */
.form-status { color: #fff; margin-top: 18px; font-size: 12px; line-height: 1.55; }
.contact-form.is-review { border-color: rgba(255,255,255,.3); }
.contact-form.is-review .form-status { border-left: 3px solid #61cf95; background: #202023; padding: 14px 15px; }
.contact-form.is-complete .form-status { color: #d8f5e4; }

/* Dynamic website guide content used by the local conversational demo. */
.adaptive-page { overflow: hidden; scrollbar-width: none; }
.adaptive-page::-webkit-scrollbar { display: none; }
.adaptive-page > .grounded-webview { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; }
.guide-welcome {
  flex: 1;
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(52px, 7vh, 76px) clamp(30px, 5vw, 58px) 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(213,1,13,.16), transparent 34%),
    linear-gradient(145deg, #111113 0%, #0d0d0f 72%);
}
.guide-welcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.guide-welcome-mark { display: flex; gap: 5px; align-items: end; height: 20px; margin-bottom: 30px; }
.guide-welcome-mark span { width: 4px; border-radius: 5px; background: var(--red); box-shadow: 0 0 15px rgba(213,1,13,.45); }
.guide-welcome-mark span:nth-child(1) { height: 9px; }
.guide-welcome-mark span:nth-child(2) { height: 20px; }
.guide-welcome-mark span:nth-child(3) { height: 14px; }
.guide-welcome-eyebrow {
  color: #f2434d;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.guide-welcome-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #61cf95; box-shadow: 0 0 10px rgba(97,207,149,.55); }
.guide-welcome h2 { color: #fff; max-width: 520px; margin: 0; font-size: clamp(38px, 4.4vw, 62px); line-height: .98; letter-spacing: -.045em; }
.guide-welcome-intro { color: #b8b8be; max-width: 570px; margin: 22px 0 0; font-size: 14px; line-height: 1.7; }
.guide-welcome-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 650px; margin-top: 42px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.13); }
.guide-welcome-path article { display: flex; gap: 13px; min-height: 104px; padding: 19px 16px; background: rgba(18,18,20,.96); }
.guide-welcome-path article > span { color: #f2434d; flex: none; padding-top: 2px; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.guide-welcome-path strong { color: #f4f4f5; display: block; font-size: 13px; line-height: 1.35; }
.guide-welcome-path small { color: #96969d; display: block; margin-top: 7px; font-size: 11px; line-height: 1.45; }
.guide-welcome-trust { color: #9d9da3; display: flex; align-items: center; gap: 9px; margin: 22px 0 0; font-size: 11px; line-height: 1.5; }
.guide-welcome-trust i { width: 6px; height: 6px; border-radius: 50%; background: #61cf95; box-shadow: 0 0 10px rgba(97,207,149,.45); }
.chat-welcome { position: relative; }
.chat-welcome::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  top: -88px;
  left: -92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,1,13,.12), transparent 70%);
  pointer-events: none;
}
.chat-welcome .ready-orb { box-shadow: 0 0 34px rgba(213,1,13,.2); }
.chat-welcome .kicker { color: #f2434d; margin-bottom: 10px; font-size: 10px; letter-spacing: .13em; }
.chat-welcome h3 { max-width: 620px; }
.chat-welcome > .chat-welcome-copy { color: #b6b6bc; max-width: 590px; margin-top: 20px; font-size: 15px; line-height: 1.7; }
.chat-welcome > .chat-welcome-note {
  color: #98989f;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 590px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.11);
  font-size: 12px;
  line-height: 1.55;
}
.chat-welcome-note i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #61cf95; box-shadow: 0 0 10px rgba(97,207,149,.5); }
.immersive-exchange .asked {
  position: relative;
  width: fit-content;
  min-width: min(220px, 100%);
  max-width: 84%;
  margin: 0 8px 28px auto;
  padding: 15px 19px 17px;
  border: 1px solid rgba(242,67,77,.32);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 100%, rgba(213,1,13,.15), transparent 42%),
    linear-gradient(145deg, #242126, #1a191c 72%);
  box-shadow:
    0 18px 38px rgba(0,0,0,.28),
    inset 0 1px rgba(255,255,255,.045);
  animation: question-bubble-in .38s cubic-bezier(.22,1,.36,1) both;
}
.immersive-exchange .asked.is-arriving {
  animation: question-arrive-in .72s cubic-bezier(.16,1,.3,1) both;
}
.immersive-exchange .asked > span {
  color: #f15a62;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.immersive-exchange .asked > span::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(213,1,13,.65);
}
.immersive-exchange .asked > p {
  color: #f2f2f3;
  margin: 0;
  overflow: visible;
  white-space: pre-wrap;
  overflow-wrap: normal;
  word-break: normal;
  text-overflow: clip;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.assistant-response {
  width: min(760px,100%);
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-items: start;
  gap: 13px;
}
.assistant-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  background: var(--red);
  box-shadow: 0 10px 28px rgba(213,1,13,.2);
}
.assistant-avatar::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255,255,255,.22);
  pointer-events: none;
}
.assistant-avatar img { width: 100%; height: 100%; object-fit: cover; }
.immersive-exchange .assistant-response .answer {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 17px 19px 18px;
  border: 1px solid #303035;
  border-left-width: 1px;
  border-radius: 5px 15px 15px 15px;
  background: linear-gradient(145deg,#1a1a1d,#161618 72%);
  box-shadow: 0 15px 38px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.025);
}
.immersive-exchange .assistant-response .answer > p {
  color: #ededee;
  margin: 0;
  font-size: clamp(15px,1.25vw,18px);
  line-height: 1.65;
  letter-spacing: -.012em;
}
.experience-controller {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 15px 15px;
  overflow: hidden;
  border: 1px solid rgba(242,67,77,.38);
  border-radius: 5px;
  background:
    radial-gradient(circle at 100% 0, rgba(213,1,13,.16), transparent 42%),
    rgba(8,8,10,.52);
}
.experience-controller[hidden] { display: none; }
.experience-controller::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: #f2434d;
  box-shadow: 0 0 16px rgba(242,67,77,.65);
}
.experience-controller-head { display:flex; align-items:center; gap:8px; color:#f15a62; font-size:8px; font-weight:800; letter-spacing:.15em; }
.experience-controller-head i { width:6px; height:6px; border-radius:50%; background:#f2434d; box-shadow:0 0 0 4px rgba(242,67,77,.1); animation:experience-live-pulse 1.8s ease-in-out infinite; }
.experience-controller > strong { color:#f5f5f6; font:700 14px/1.3 "Space Grotesk",sans-serif; }
.experience-controller > p { margin:0; color:#a9a9af; font-size:11px; line-height:1.5; }
.experience-controller > small { margin-top:3px; padding:8px 9px; color:#e7e7e9; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.035); font-size:10px; line-height:1.35; }
.experience-controller > button { width:fit-content; min-height:34px; margin-top:3px; padding:0; border:0; color:#fff; background:transparent; font:700 10px/1 Inter,sans-serif; text-decoration:underline; text-decoration-color:#f2434d; text-underline-offset:4px; cursor:pointer; }
@keyframes experience-live-pulse { 50% { opacity:.45; transform:scale(.72); } }
.immersive-exchange .conversation-word {
  display: inline-block !important;
  width: auto !important;
  white-space: nowrap;
}
.immersive-exchange .conversation-character {
  display: inline-block !important;
  width: auto !important;
  opacity: 0;
  filter: blur(3px);
  transform: translateY(5px) scale(.985);
  animation: conversation-character-in .42s var(--character-delay, 0ms) cubic-bezier(.22,1,.36,1) forwards;
}
.immersive-exchange.is-thinking .assistant-avatar { animation: assistant-thinking 1.35s ease-in-out infinite; }
.immersive-exchange.is-thinking .assistant-response .answer {
  overflow: hidden;
  border-color: rgba(242,67,77,.42);
  background:
    radial-gradient(circle at 0 50%, rgba(213,1,13,.13), transparent 48%),
    linear-gradient(145deg,#1b1a1d,#151517 72%);
}
.immersive-exchange.is-thinking .assistant-response .answer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f2434d 38%, #fff 50%, #f2434d 62%, transparent);
  transform: translateX(-100%);
  animation: assistant-thinking-sweep 1.8s cubic-bezier(.45,0,.55,1) infinite;
  box-shadow: 0 0 14px rgba(242,67,77,.55);
}
.assistant-thinking-state {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.assistant-thinking-state[hidden] { display: none; }
.thinking-signal {
  width: 47px;
  height: 34px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-left: 2px solid var(--red);
}
.thinking-signal i {
  width: 3px;
  height: 9px;
  border-radius: 999px;
  background: #f2434d;
  transform-origin: 50% 50%;
  animation: assistant-thinking-bars 1.05s cubic-bezier(.45,0,.55,1) infinite;
  box-shadow: 0 0 9px rgba(242,67,77,.42);
}
.thinking-signal i:nth-child(2) { animation-delay: .11s; }
.thinking-signal i:nth-child(3) { animation-delay: .22s; }
.thinking-signal i:nth-child(4) { animation-delay: .33s; }
.thinking-copy { min-width: 0; display: grid; gap: 7px; }
.thinking-copy > strong {
  color: #f5f5f6;
  font: 700 14px/1.25 Space Grotesk, Arial, sans-serif;
  letter-spacing: -.01em;
}
.thinking-phases {
  position: relative;
  display: block;
  height: 15px;
  color: #9d9da3;
  font-size: 10px;
  line-height: 15px;
}
.thinking-phases > span {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  white-space: nowrap;
  animation: assistant-thinking-copy 4.8s ease-in-out infinite;
}
.thinking-phases > span:nth-child(2) { animation-delay: 1.6s; }
.thinking-phases > span:nth-child(3) { animation-delay: 3.2s; }
@keyframes assistant-thinking {
  50% { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(213,1,13,.08), 0 12px 32px rgba(213,1,13,.34); }
}
@keyframes assistant-thinking-bars {
  0%, 100% { height: 8px; opacity: .45; }
  50% { height: 26px; opacity: 1; }
}
@keyframes assistant-thinking-sweep {
  0% { transform: translateX(-100%); }
  58%, 100% { transform: translateX(100%); }
}
@keyframes assistant-thinking-copy {
  0%, 8% { opacity: 0; transform: translateY(4px); }
  14%, 27% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-4px); }
}
.answer-resource {
  color: #f2f2f3;
  width: 100%;
  margin-top: 17px;
  padding: 13px 15px;
  border: 1px solid rgba(242,67,77,.34);
  border-radius: 4px;
  background:
    radial-gradient(circle at 100% 50%, rgba(213,1,13,.17), transparent 38%),
    rgba(255,255,255,.025);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 4px 16px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.answer-resource:hover { border-color: rgba(242,67,77,.68); background-color: rgba(213,1,13,.07); transform: translateY(-1px); }
.answer-resource > span { color: #f15a62; grid-column: 1; font-size: 8px; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.answer-resource > strong { color: #f4f4f5; grid-column: 1; font: 700 13px/1.3 Space Grotesk,sans-serif; }
.answer-resource > i { color: #fff; grid-column: 2; grid-row: 1 / 3; font-size: 18px; font-style: normal; }
@keyframes question-bubble-in {
  from { opacity: 0; transform: translate(10px,8px) scale(.98); }
  to { opacity: 1; transform: translate(0) scale(1); }
}
@keyframes question-arrive-in {
  0% { opacity: 0; filter: blur(8px); transform: translate(18px,20px) scale(.94); box-shadow: 0 5px 12px rgba(0,0,0,.1); }
  58% { opacity: 1; filter: blur(0); transform: translate(-2px,-2px) scale(1.012); box-shadow: 0 23px 52px rgba(213,1,13,.17), inset 0 1px rgba(255,255,255,.06); }
  100% { opacity: 1; filter: blur(0); transform: translate(0) scale(1); box-shadow: 0 18px 38px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.045); }
}
@keyframes conversation-character-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}
.guide-summary { flex: 1; min-height: 210px; padding: clamp(30px,4.5vh,48px) clamp(24px,5vw,58px); background: radial-gradient(circle at 92% 8%,#d5010d2e,transparent 38%),#101011; }
.guide-summary .guide-eyebrow { margin-bottom: 16px; }
.guide-summary h2 { color: #fff; max-width: 620px; margin: 0; font-size: clamp(34px,3.8vw,56px); line-height: .98; }
.guide-summary > p:last-of-type { color: #aaaab0; max-width: 610px; margin: 18px 0 0; font-size: 11px; line-height: 1.65; }
.guide-points { flex: none; color: #171719; background: #f2f2f0; padding: 16px clamp(24px,5vw,58px) 20px; }
.guide-points article { border-bottom: 1px solid #c9c9c8; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 11px 0; }
.guide-points article > span { color: var(--red); font-size: 11px; font-weight: 700; }
.guide-points strong { font: 700 14px/1.3 Space Grotesk,sans-serif; }
.guide-points.is-dense { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; padding-top: 12px; padding-bottom: 14px; }
.guide-points.is-dense article { grid-template-columns: 28px 1fr; gap: 8px; padding: 8px 0; }
.guide-points.is-dense strong { font-size: 11px; line-height: 1.3; }

/* Approved presentation system for the live website panel. */
[data-guide-content][data-presentation="concise"] .guide-summary { display: flex; flex-direction: column; justify-content: center; }
[data-guide-content][data-presentation="benefits"] .guide-summary { background: radial-gradient(circle at 88% 12%,rgba(213,1,13,.24),transparent 40%),#101011; }
.guide-points--benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; padding: 0 clamp(24px,5vw,58px); background: #cfcfce; }
.guide-points--benefits article { min-height: 118px; border: 0; padding: 22px 18px; display: flex; flex-direction: column; justify-content: space-between; background: #f2f2f0; }
.guide-points--benefits article > span { font-size: 10px; }
.guide-points--benefits strong { max-width: 180px; font-size: 13px; line-height: 1.4; }

[data-guide-content][data-presentation="steps"] .guide-summary { background: linear-gradient(120deg,#101011 55%,#25070a); }
.guide-points--steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding-top: 24px; padding-bottom: 25px; }
.guide-points--steps article { position: relative; display: block; border: 0; padding: 0 12px 0 0; }
.guide-points--steps article:not(:last-child)::after { content: ""; position: absolute; top: 2px; right: -14px; color: #a7a7a5; font-size: 15px; }
.guide-points--steps article > span { display: block; margin-bottom: 13px; }
.guide-points--steps strong { display: block; max-width: 180px; }

[data-guide-content][data-presentation="examples"] .guide-summary { background: radial-gradient(circle at 82% 18%,rgba(213,1,13,.2),transparent 34%),linear-gradient(135deg,#111113,#171719); }
.guide-points--examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 15px; padding-bottom: 16px; }
.guide-points--examples article { position: relative; min-height: 88px; border: 1px solid #d4d4d1; border-radius: 3px; padding: 15px 16px 14px 42px; display: block; background: #f7f7f5; }
.guide-points--examples article::before { content: "“"; position: absolute; top: 7px; left: 14px; color: var(--red); font: 700 30px/1 Georgia,serif; }
.guide-points--examples article > span { display: block; margin-bottom: 7px; font-size: 8px; letter-spacing: .12em; }
.guide-points--examples strong { font-size: 12px; line-height: 1.42; }

[data-guide-content][data-presentation="comparison"] .guide-summary { background: linear-gradient(110deg,#101011 48%,#211114); }
.guide-points--comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 16px; padding-bottom: 17px; }
.guide-points--comparison article { min-height: 82px; border: 1px solid #cececc; border-top: 3px solid #222225; padding: 14px 16px; display: block; background: #f8f8f6; }
.guide-points--comparison article:nth-child(even) { border-top-color: var(--red); }
.guide-points--comparison article > span { display: block; margin-bottom: 8px; }
.guide-points--comparison strong { font-size: 12px; line-height: 1.4; }

[data-guide-content][data-presentation="recommendation"] .guide-summary { background: radial-gradient(circle at 84% 8%,rgba(213,1,13,.31),transparent 38%),#101011; }
.guide-points--recommendation { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; padding-top: 15px; padding-bottom: 16px; }
.guide-points--recommendation article { border: 1px solid #d1d1cf; padding: 13px 15px; display: grid; grid-template-columns: 30px 1fr; align-content: center; background: #f8f8f6; }
.guide-points--recommendation article:first-child { grid-row: span 2; min-height: 116px; color: #fff; border-color: #bf0711; background: linear-gradient(145deg,#df0712,#a80009); }
.guide-points--recommendation article:first-child > span { color: #fff; }
.guide-points--recommendation strong { font-size: 12px; line-height: 1.4; }
.guide-points--recommendation article:first-child strong { font-size: 15px; line-height: 1.35; }

[data-guide-content][data-presentation="recap"] .guide-summary { min-height: 175px; background: linear-gradient(125deg,#101011 62%,#22090b); }
.guide-points--recap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
.guide-points--recap article { min-height: 54px; }
.guide-points--recap strong { font-size: 11px; font-weight: 600; line-height: 1.4; }
.guide-next-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  flex: none;
  padding: 22px clamp(24px,5vw,58px) 24px;
  overflow: hidden;
  color: #f5f5f6;
  border-top: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 95% 20%, rgba(213,1,13,.16), transparent 36%),
    linear-gradient(140deg, #18181b, #101012 72%);
}
.guide-next-step::before {
  content: "";
  position: absolute;
  width: 2px;
  top: 22px;
  bottom: 24px;
  left: 0;
  background: linear-gradient(var(--red), rgba(213,1,13,.2));
  box-shadow: 0 0 16px rgba(213,1,13,.35);
}
.guide-next-copy { max-width: 410px; }
.guide-next-copy > p { color: #f2434d; margin: 0 0 9px; font-size: 9px; font-weight: 700; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; }
.guide-next-copy h3 { color: #fff; margin: 0; font-size: clamp(20px,2vw,28px); line-height: 1.1; letter-spacing: -.025em; }
.guide-next-copy > span { color: #a8a8ae; display: block; max-width: 390px; margin-top: 8px; font-size: 11px; line-height: 1.55; }
.guide-next-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 178px; }
.guide-next-actions button { min-height: 40px; border-radius: 3px; padding: 0 14px; font-family: inherit; font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .055em; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.guide-next-actions button:hover { transform: translateY(-1px); }
.guide-primary-action { color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #eb111c; background: linear-gradient(135deg, #e40713, #bb000a); box-shadow: 0 9px 24px rgba(213,1,13,.18); }
.guide-primary-action:hover { background: linear-gradient(135deg, #f01824, #ca000b); }
.guide-secondary-action { color: #bdbdc2; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #3b3b40; background: rgba(255,255,255,.025); }
.guide-secondary-action:hover { color: #fff; border-color: #5a5a60; background: rgba(255,255,255,.055); }
.guide-next-actions i { flex: none; font-size: 15px; font-style: normal; font-weight: 500; }
.inline-contact-demo { color: #171719; background: #f2f2f0; padding: 34px clamp(24px,5vw,58px); }
.inline-contact-demo h2 { margin: 0; font-size: clamp(34px,4vw,52px); }
.inline-contact-demo p { color: #55555a; margin: 12px 0 22px; font-size: 13px; line-height: 1.6; }
.inline-contact-demo a { color: #fff; background: var(--red); display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }

/* Keep dynamically rendered guide content on the same readable scale. */
.guide-summary > p:last-of-type { color: #b8b8be; font-size: 13px; line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hero-grid-glow i { display: none; }
  .immersive-exchange .asked { animation: none; }
  .immersive-exchange.is-thinking .assistant-avatar { animation: none; }
  .immersive-exchange.is-thinking .assistant-response .answer::after,
  .thinking-signal i,
  .thinking-phases > span { animation: none; }
  .thinking-signal i { height: 17px; opacity: 1; }
  .thinking-phases > span:first-child { opacity: 1; transform: none; }
}

/*
 * Adaptive presentation canvas.
 * The assistant chooses the information architecture. The interface supplies
 * a safe set of expressive, branded compositions rather than a fixed mini-site.
 */
.grounded-webview[data-presentation] {
  --canvas-pad: clamp(26px,4vw,48px);
  --canvas-gap: clamp(18px,2.4vw,30px);
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr) auto;
  gap: var(--canvas-gap);
  min-height: 0;
  padding: var(--canvas-pad);
  overflow: hidden;
  color: #f5f5f6;
  background:
    radial-gradient(circle at 88% 12%,rgba(213,1,13,.22),transparent 31%),
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(213,1,13,.035) 1px,transparent 1px),
    #0f0f11;
  background-size: auto,52px 52px,52px 52px,auto;
}
.grounded-webview[data-presentation]::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42%;
  aspect-ratio: 1;
  right: -15%;
  bottom: -31%;
  border: 1px solid rgba(213,1,13,.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(213,1,13,.035),
    0 0 0 72px rgba(213,1,13,.024),
    0 0 80px rgba(213,1,13,.11);
}
.grounded-webview[data-presentation] > .guide-summary,
.grounded-webview[data-presentation] > .guide-points,
.grounded-webview[data-presentation] > .guide-next-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.grounded-webview[data-presentation] > .guide-summary {
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.grounded-webview[data-presentation] .guide-summary .guide-eyebrow {
  margin: 0 0 18px;
  color: #f43b46;
  font-size: 8px;
  letter-spacing: .17em;
}
.grounded-webview[data-presentation] .guide-summary h2 {
  max-width: 530px;
  color: #fff;
  font-size: clamp(38px,4.25vw,60px);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.grounded-webview[data-presentation] .guide-summary > p:last-of-type {
  max-width: 470px;
  margin-top: 20px;
  color: #b7b7bd;
  font-size: clamp(11px,1.05vw,14px);
  line-height: 1.62;
}
.grounded-webview[data-presentation] .guide-signal {
  width: 118px;
  height: 118px;
  right: -2px;
  top: 4px;
  transform: none;
  opacity: .52;
}
.grounded-webview[data-presentation] .guide-signal span:nth-child(1) { width: 38px; height: 38px; }
.grounded-webview[data-presentation] .guide-signal span:nth-child(2) { width: 72px; height: 72px; }
.grounded-webview[data-presentation] .guide-signal span:nth-child(3) { width: 108px; height: 108px; }
.grounded-webview[data-presentation] .guide-signal b { display: none; }

.grounded-webview[data-presentation] > .guide-points {
  grid-column: 7 / 13;
  grid-row: 1;
  align-self: stretch;
  display: grid;
  gap: 10px;
  padding: 0;
  color: #f5f5f6;
  background: transparent;
}
.grounded-webview[data-presentation] .guide-point {
  position: relative;
  min-height: 0;
  padding: clamp(16px,2vw,22px);
  overflow: hidden;
  color: #f4f4f5;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.grounded-webview[data-presentation] .guide-point > span {
  color: #f3414b;
  font-size: 8px;
  letter-spacing: .16em;
}
.grounded-webview[data-presentation] .guide-point strong {
  max-width: none;
  color: inherit;
  font-size: clamp(11px,1.12vw,14px);
  line-height: 1.42;
}
.grounded-webview[data-presentation] > .guide-next-step {
  grid-column: 1 / 13;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(185px,34%);
  align-items: center;
  gap: 22px;
  min-height: 0;
  padding: 17px 18px 17px 22px;
  border: 1px solid rgba(240,54,65,.28);
  border-left: 3px solid var(--red);
  background: linear-gradient(100deg,rgba(255,255,255,.045),rgba(213,1,13,.09));
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.grounded-webview[data-presentation] > .guide-next-step::before { display: none; }
.grounded-webview[data-presentation] .guide-next-copy > p { margin-bottom: 6px; font-size: 7px; }
.grounded-webview[data-presentation] .guide-next-copy h3 { font-size: clamp(18px,1.8vw,25px); }
.grounded-webview[data-presentation] .guide-next-copy > span { margin-top: 5px; font-size: 9px; line-height: 1.42; }
.grounded-webview[data-presentation] .guide-next-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  min-width: 0;
}
.grounded-webview[data-presentation] .guide-next-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  font-size: 8px;
}

/* One strong statement with the next action beside it. */
.grounded-webview[data-presentation="concise"] {
  grid-template-rows: minmax(0,1fr);
  background:
    linear-gradient(112deg,transparent 0 61%,rgba(213,1,13,.13) 61% 62%,transparent 62%),
    radial-gradient(circle at 79% 48%,rgba(213,1,13,.22),transparent 28%),
    #0f0f11;
}
.grounded-webview[data-presentation="concise"] > .guide-summary {
  grid-column: 1 / 8;
  grid-row: 1;
}
.grounded-webview[data-presentation="concise"] > .guide-next-step {
  grid-column: 8 / 13;
  grid-row: 1;
  align-self: center;
  grid-template-columns: 1fr;
  padding: clamp(22px,3vw,32px);
}
.grounded-webview[data-presentation="concise"] .guide-next-actions { margin-top: 6px; }

/* Benefits become a varied visual landscape, not a row of equal cards. */
.grounded-webview[data-presentation="benefits"] > .guide-points {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
}
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(1) {
  grid-row: span 2;
  justify-content: flex-end;
  background: linear-gradient(155deg,#e10814,#970009);
  border-color: #ed202b;
}
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(1) > span { color: #fff; }
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(1) strong { font-size: clamp(16px,1.8vw,23px); line-height: 1.12; }
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(2) { background: #242427; }
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(3) { color: #171719; background: #d7d2c8; }
.grounded-webview[data-presentation="benefits"] .guide-point:nth-child(4) { grid-column: span 2; background: rgba(213,1,13,.12); }

/* Steps read as a directional journey across the full canvas. */
.grounded-webview[data-presentation="steps"] > .guide-summary { grid-column: 1 / 6; }
.grounded-webview[data-presentation="steps"] > .guide-points {
  grid-column: 6 / 13;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 0;
  counter-reset: guide-step;
}
.grounded-webview[data-presentation="steps"] .guide-point {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  padding: 14px 4px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.13);
  background: transparent;
}
.grounded-webview[data-presentation="steps"] .guide-point:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.grounded-webview[data-presentation="steps"] .guide-point::after {
  display: block;
  content: "";
  position: absolute;
  width: 34%;
  height: 1px;
  right: 0;
  top: -1px;
  background: var(--red);
}
.grounded-webview[data-presentation="steps"] .guide-point > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border: 1px solid rgba(240,56,66,.5);
  border-radius: 50%;
}

/* Examples become an editorial scenario board with deliberately varied tones. */
.grounded-webview[data-presentation="examples"] {
  background:
    radial-gradient(circle at 18% 105%,rgba(213,1,13,.25),transparent 38%),
    linear-gradient(135deg,#111113 0 67%,#1a1113 67%);
}
.grounded-webview[data-presentation="examples"] > .guide-summary { grid-column: 1 / 7; }
.grounded-webview[data-presentation="examples"] > .guide-points {
  grid-column: 7 / 13;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
}
.grounded-webview[data-presentation="examples"] .guide-point {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px,2vw,22px);
  border-color: rgba(255,255,255,.13);
  background: #1b1b1e;
}
.grounded-webview[data-presentation="examples"] .guide-point::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 15px;
  left: auto;
  color: rgba(255,255,255,.22);
  font: 700 38px/1 Georgia,serif;
}
.grounded-webview[data-presentation="examples"] .guide-point:nth-child(2) {
  color: #fff;
  border-color: #e41621;
  background: linear-gradient(145deg,#de0712,#a90009);
}
.grounded-webview[data-presentation="examples"] .guide-point:nth-child(2) > span { color: #fff; }
.grounded-webview[data-presentation="examples"] .guide-point:nth-child(3) { color: #171719; background: #c9c3b9; }
.grounded-webview[data-presentation="examples"] .guide-point:nth-child(3)::before { color: rgba(0,0,0,.18); }
.grounded-webview[data-presentation="examples"] .guide-point:nth-child(4) { background: rgba(213,1,13,.12); }

/* Comparisons use a true split decision surface. */
.grounded-webview[data-presentation="comparison"] > .guide-summary { grid-column: 1 / 5; }
.grounded-webview[data-presentation="comparison"] > .guide-points {
  grid-column: 5 / 13;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,.14);
}
.grounded-webview[data-presentation="comparison"] .guide-point {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px,2.5vw,28px);
  border: 0;
  background: #19191c;
}
.grounded-webview[data-presentation="comparison"] .guide-point:nth-child(even) { background: #251114; }

/* Recommendations put the best-fit direction in the visual lead. */
.grounded-webview[data-presentation="recommendation"] > .guide-summary { grid-column: 1 / 6; }
.grounded-webview[data-presentation="recommendation"] > .guide-points {
  grid-column: 6 / 13;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
}
.grounded-webview[data-presentation="recommendation"] .guide-point:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  border-color: #ee1d28;
  background: linear-gradient(150deg,#ec101c,#9f0008 78%);
}
.grounded-webview[data-presentation="recommendation"] .guide-point:first-child > span { color: #fff; }
.grounded-webview[data-presentation="recommendation"] .guide-point:first-child strong { font-size: clamp(16px,1.7vw,22px); line-height: 1.16; }
.grounded-webview[data-presentation="recommendation"] .guide-point:not(:first-child) { background: rgba(255,255,255,.055); }

/* Recaps read like a conversation timeline. */
.grounded-webview[data-presentation="recap"] > .guide-summary { grid-column: 1 / 5; }
.grounded-webview[data-presentation="recap"] > .guide-points {
  grid-column: 5 / 13;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: center;
  gap: 0 18px;
}
.grounded-webview[data-presentation="recap"] .guide-point {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 8px;
  padding: 11px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.13);
  background: transparent;
}

@media (max-height: 760px) and (min-width: 901px) {
  .grounded-webview[data-presentation] {
    --canvas-pad: 24px;
    --canvas-gap: 17px;
  }
  .grounded-webview[data-presentation] .guide-summary h2 { font-size: clamp(34px,3.75vw,50px); }
  .grounded-webview[data-presentation] .guide-summary > p:last-of-type { margin-top: 14px; font-size: 11px; }
  .grounded-webview[data-presentation] > .guide-next-step { padding: 13px 15px 13px 18px; }
  .grounded-webview[data-presentation] .guide-next-copy > span { display: none; }
}

@media (width <= 900px) {
  .mobile-guide-host .grounded-webview[data-presentation] {
    --canvas-pad: 18px;
    --canvas-gap: 13px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0,1fr) auto;
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-summary,
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-points,
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-next-step {
    grid-column: 1;
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-summary {
    grid-row: 1;
    min-height: 0;
    padding: 0;
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-points {
    grid-row: 2;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(0,1fr));
    min-height: 0;
    padding: 0;
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-next-step {
    grid-row: 3;
    grid-template-columns: minmax(0,1fr) auto;
    padding: 13px 14px;
  }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-summary h2 {
    max-width: calc(100% - 70px);
    font-size: clamp(29px,7.8vw,38px);
  }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-summary > p:last-of-type {
    max-width: calc(100% - 54px);
    margin-top: 10px;
    font-size: 10px;
  }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-point { padding: 11px; }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-point strong { font-size: 10px; }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-next-copy > span { display: none; }
  .mobile-guide-host .grounded-webview[data-presentation] .guide-next-actions { min-width: 190px; }
  .mobile-guide-host .grounded-webview[data-presentation="concise"] {
    grid-template-rows: minmax(0,1fr) auto;
  }
  .mobile-guide-host .grounded-webview[data-presentation="concise"] > .guide-summary { grid-row: 1; }
  .mobile-guide-host .grounded-webview[data-presentation="concise"] > .guide-next-step { grid-row: 2; }
}

/* Balanced hero navigation: centre the menu independently of unequal edge items. */
@media (min-width: 1101px) {
  .hero > .nav.shell {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 210px;
    column-gap: 28px;
    height: 78px;
    padding-top: 8px;
  }

  .hero > .nav .brand {
    justify-self: start;
  }

  .hero > .nav .brand img {
    width: 190px;
  }

  .hero > .nav .nav-links {
    justify-self: center;
    gap: 32px;
  }

  .hero > .nav .nav-links a {
    padding: 31px 0 27px;
  }

  .hero > .nav .nav-links a::after {
    bottom: 20px;
  }

  .hero > .nav .nav-cta {
    justify-self: end;
    position: relative;
    width: 162px;
    min-height: 44px;
    padding-inline: 18px;
    overflow: hidden;
    isolation: isolate;
  }
}

.hero > .nav .nav-cta-label,
.hero > .nav .nav-cta-contact {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transition:
    opacity 420ms cubic-bezier(.8, 0, .2, 1),
    filter 500ms cubic-bezier(.8, 0, .2, 1),
    transform 560ms cubic-bezier(.8, 0, .2, 1);
  will-change: opacity, filter, transform;
}

.hero > .nav .nav-cta-label {
  opacity: 1;
  filter: blur(0);
  font-size: 11px;
  letter-spacing: .14em;
  transform: translate3d(0, 0, 0);
}

.hero > .nav .nav-cta-contact {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 13px, 0) scale(.76) rotate(-7deg);
}

.hero > .nav .nav-cta-contact svg {
  width: 25px;
  height: 25px;
  overflow: visible;
}

/* The CTA surface stays completely static. Hover only exchanges its content. */
.hero > .nav .nav-cta:hover,
.hero > .nav .nav-cta:focus-visible,
.hero > .nav .nav-cta:active {
  color: #fff;
  background: var(--red);
  filter: none;
  transform: none;
  box-shadow: 0 8px 24px rgba(213, 1, 13, .24);
}

@media (hover: hover) and (pointer: fine) {
  .hero > .nav .nav-cta:hover .nav-cta-label {
    opacity: 0;
    filter: blur(4px);
    transform: translate3d(0, -13px, 0) scale(.96);
  }

  .hero > .nav .nav-cta:hover .nav-cta-contact {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.hero > .nav .nav-cta:focus-visible .nav-cta-label {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, -13px, 0) scale(.96);
}

.hero > .nav .nav-cta:focus-visible .nav-cta-contact {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* Keep the full navigation tidy between desktop and the existing mobile menu. */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero > .nav.shell {
    width: min(100% - 32px, 1000px);
    height: 74px;
    padding-top: 8px;
  }

  .hero > .nav .brand img {
    width: clamp(158px, 19vw, 178px);
  }

  .hero > .nav .nav-links {
    gap: clamp(16px, 2.2vw, 25px);
    font-size: 10px;
  }

  .hero > .nav .nav-links a {
    padding: 28px 0 25px;
  }

  .hero > .nav .nav-links a::after {
    bottom: 18px;
  }

  .hero > .nav .nav-cta {
    width: 132px;
    min-height: 42px;
    gap: 7px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .hero > .nav .nav-cta-label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero > .nav .nav-cta-label,
  .hero > .nav .nav-cta-contact {
    transition-duration: .001ms !important;
  }
}

@media (max-width: 760px) {
  .hero > .nav.shell {
    padding-top: 8px;
  }

  .hero .hero-content.shell {
    width: min(100% - 30px, 520px);
    min-height: 100svh;
    padding: 92px 0 126px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero .location-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 25px;
    padding: 8px 14px;
    border: 1px solid rgba(213, 1, 13, .62);
    border-radius: 999px;
    color: rgba(255, 255, 255, .76);
    background: rgba(9, 9, 11, .48);
    font-size: 8px;
    line-height: 1;
    letter-spacing: .15em;
    backdrop-filter: blur(10px);
  }

  .hero .hero-content h1 {
    width: 100%;
    max-width: 390px;
    margin: 0;
    font-size: clamp(38px, 10.6vw, 46px);
    line-height: .96;
    letter-spacing: -.055em;
    text-align: center;
  }

  .hero .hero-intro {
    max-width: 350px;
    margin: 24px auto 30px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.58;
    text-align: center;
  }

  .hero .ask-card {
    width: min(100%, 380px);
    margin-inline: auto;
  }

  .hero .hero-prompt-note {
    justify-content: center;
  }
}

/* One focus language across the whole site. Fields use an inset treatment so
   focus never creates the oversized double border seen in the adaptive view. */
:where(input, select, textarea):focus-visible {
  outline: 0 !important;
  border-color: #ff4650 !important;
  box-shadow: inset 0 0 0 1px rgba(255,70,80,.78), 0 0 0 3px rgba(213,1,13,.12) !important;
}
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid #ff4650 !important;
  outline-offset: 2px !important;
}
@media (width <= 900px) {
  .hero-bg-video { object-position: 58% center; }
  .guided-panel { display: none; }
}
@media (width <= 1180px) {
  .guide-welcome-path { grid-template-columns: 1fr; }
  .guide-welcome-path article { min-height: 76px; }
  .guide-next-step { grid-template-columns: 1fr; align-items: start; }
  .guide-next-actions { flex-direction: row; min-width: 0; }
  .guide-next-actions button { flex: 1; }
}

/* Give the adaptive presentation a true half-stage on desktop and a little
   more room on laptops. This preserves the generated design without dictating
   its internal layout, while the mobile experience remains full screen. */
.chat-canvas { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
@media (901px <= width <= 1300px) {
  .chat-canvas { grid-template-columns: minmax(0,60%) minmax(0,40%); }
  .guided-panel { padding: 18px; }
  .guided-panel .adaptive-browser-bar { display: none; }
}
@media (max-height: 760px) and (min-width: 901px) {
  .guide-summary { min-height: 170px; padding-top: 24px; padding-bottom: 24px; }
  .guide-summary h2 { font-size: clamp(32px,3.4vw,48px); }
  .guide-summary > p:last-of-type { margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .guide-points { padding-top: 9px; padding-bottom: 11px; }
  .guide-points article { padding: 8px 0; }
  .guide-next-step { padding-top: 16px; padding-bottom: 17px; }
  .guide-next-step::before { top: 16px; bottom: 17px; }
  .guide-next-copy > span { margin-top: 6px; }
}
@media (width <= 760px) {
  .hero-grid-glow i:nth-child(2) { display: none; }
  .immersive-exchange .asked { max-width: 92%; margin-right: 5px; padding: 13px 15px 14px; }
  .immersive-exchange .asked > p { font-size: 14px; }
  .assistant-response { grid-template-columns: 34px minmax(0,1fr); gap: 9px; }
  .assistant-avatar { width: 34px; height: 34px; border-radius: 9px; }
  .immersive-exchange .assistant-response .answer { padding: 14px 14px 15px; border-radius: 4px 13px 13px 13px; }
  .immersive-exchange .assistant-response .answer > p { font-size: 15px; line-height: 1.58; }
  .prompt-form textarea { min-height: 46px; max-height: 118px; padding: 10px 12px; font-size: 16px; }
}

/* Desktop live demo: one Foghorn conversation controls one client website. */
.client-experience-bar { display:none; }
.resume-client-demo { display:none; }
.workspace-exit > i,
.workspace-exit > strong { display:none; }
.foghorn-workspace .immersive-form:has(textarea[placeholder]:not([placeholder=""])) .interface-prompt-rotator { display:none; }

@media (min-width: 901px) {
  .resume-client-demo:not([hidden]) {
    position:absolute; z-index:24; top:28px; left:clamp(28px,4.2vw,64px); min-height:42px;
    display:grid; grid-template-columns:auto auto; grid-template-rows:auto auto; column-gap:11px; align-items:center;
    padding:8px 13px 8px 14px; border:1px solid rgba(255,255,255,.16); border-radius:999px;
    color:#f5f5f6; background:rgba(20,20,22,.9); box-shadow:0 12px 32px rgba(0,0,0,.24); cursor:pointer;
  }
  .resume-client-demo span { grid-column:1; color:#f15a62; font:800 7px/1 Inter,sans-serif; letter-spacing:.13em; }
  .resume-client-demo strong { grid-column:1; font:700 10px/1.25 Inter,sans-serif; }
  .resume-client-demo i { grid-column:2; grid-row:1/3; --ui-icon-size:14px; color:#f15a62; transition:transform .25s ease; }
  .resume-client-demo:hover i { transform:translateX(3px); }
  .foghorn-workspace.is-client-experience {
    --client-accent:#315f9a;
    --client-accent-rgb:49,95,154;
    --client-surface:#101719;
    --client-panel:#0d1214;
    --client-line:rgba(255,255,255,.12);
  }
  .foghorn-workspace.is-client-experience[data-client-theme="outdoors"] { --client-accent:#4f9a72; --client-accent-rgb:79,154,114; --client-surface:#111b17; --client-panel:#0d1512; }
  .foghorn-workspace.is-client-experience[data-client-theme="hospitality"] { --client-accent:#d06b4c; --client-accent-rgb:208,107,76; --client-surface:#1b1512; --client-panel:#15100e; }
  .foghorn-workspace.is-client-experience[data-client-theme="clinical"] { --client-accent:#42a9b5; --client-accent-rgb:66,169,181; --client-surface:#101a1d; --client-panel:#0c1416; }
  .foghorn-workspace.is-client-experience[data-client-theme="artisan"] { --client-accent:#d06a4c; --client-accent-rgb:208,106,76; --client-surface:#1b1512; --client-panel:#15110f; }
  .foghorn-workspace.is-client-experience[data-client-theme="property"] { --client-accent:#b68a61; --client-accent-rgb:182,138,97; --client-surface:#1a1815; --client-panel:#14120f; }
  .foghorn-workspace.is-client-experience[data-client-theme="retail"] { --client-accent:#a779ca; --client-accent-rgb:167,121,202; --client-surface:#19141d; --client-panel:#130f17; }
  .foghorn-workspace.is-client-experience[data-client-theme="technical"] { --client-accent:#50a4cd; --client-accent-rgb:80,164,205; --client-surface:#101820; --client-panel:#0b1117; }
  .foghorn-workspace.is-client-experience[data-client-theme="wellness"] { --client-accent:#91a86b; --client-accent-rgb:145,168,107; --client-surface:#171a12; --client-panel:#11140d; }

  .foghorn-workspace.is-client-experience .guided-panel { padding:0; background:#eef2ea; }
  .foghorn-workspace.is-client-experience .adaptive-site-preview { border:0; border-radius:0; box-shadow:none; }
  .foghorn-workspace.is-client-experience .adaptive-browser-bar,
  .foghorn-workspace.is-client-experience .adaptive-mini-nav,
  .foghorn-workspace.is-client-experience .workspace-site-layer,
  .foghorn-workspace.is-client-experience .viewer-page,
  .foghorn-workspace.is-client-experience .viewer-icon-switch { display:none !important; }
  .foghorn-workspace.is-client-experience .adaptive-page,
  .foghorn-workspace.is-client-experience [data-guide-content],
  .foghorn-workspace.is-client-experience .system-simulation-host { height:100%; }

  .foghorn-workspace.is-client-experience .chat-experience.is-workspace .chat-panel {
    background:var(--client-panel);
    transition:clip-path var(--system-morph-speed) var(--onyx-curtain-ease), background-color .55s ease;
  }
  .client-experience-bar {
    position:relative;
    z-index:20;
    flex:0 0 70px;
    min-height:70px;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:center;
    gap:18px;
    padding:0 138px 0 clamp(24px,3vw,52px);
    border-bottom:1px solid var(--client-line);
    background:color-mix(in srgb,var(--client-surface) 94%,black);
  }
  .client-experience-bar[hidden] { display:none; }
  .client-experience-brand { display:flex; align-items:center; gap:11px; min-width:0; }
  .client-experience-brand > span:last-child { min-width:0; }
  .client-experience-brand strong,
  .client-experience-brand small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
  .client-experience-brand strong { color:#f4f6f5; font:700 13px/1.25 "Space Grotesk",sans-serif; }
  .client-experience-brand small { margin-top:3px; color:#89958f; font:500 9px/1.25 Inter,sans-serif; }
  .client-experience-mark { width:30px; height:30px; flex:none; display:grid; place-items:center; border:1px solid rgba(var(--client-accent-rgb),.5); border-radius:9px; background:rgba(var(--client-accent-rgb),.13); }
  .client-experience-mark i { width:10px; height:10px; border-radius:50%; background:var(--client-accent); box-shadow:0 0 0 5px rgba(var(--client-accent-rgb),.12); }

  .foghorn-workspace.is-client-experience .workspace-exit {
    --workspace-exit-inset:28px;
    top:28px;
    right:28px;
    width:auto;
    height:32px;
    display:flex;
    gap:7px;
    padding:0 11px;
    border-color:var(--client-line);
    border-radius:999px;
    background:rgba(0,0,0,.22);
    color:#c7ceca;
    box-shadow:none;
  }
  .foghorn-workspace.is-client-experience .workspace-exit > i { --ui-icon-size:13px; display:inline-block; }
  .foghorn-workspace.is-client-experience .workspace-exit > strong { display:block; font:700 9px/1 Inter,sans-serif; }
  .foghorn-workspace.is-client-experience .workspace-exit > span { display:none; }
  .foghorn-workspace.is-client-experience .workspace-exit:hover { color:#fff; background:rgba(var(--client-accent-rgb),.2); }

  .foghorn-workspace.is-client-experience .chat-messages {
    display:flex;
    align-items:center;
    padding:clamp(36px,5vw,82px) clamp(28px,4.5vw,72px);
    background:radial-gradient(circle at 18% 18%,rgba(var(--client-accent-rgb),.1),transparent 35%),var(--client-panel);
  }
  .foghorn-workspace.is-client-experience .immersive-exchange { width:100%; }
  .foghorn-workspace.is-client-experience .immersive-exchange .asked {
    max-width:82%;
    margin-bottom:24px;
    border-color:rgba(var(--client-accent-rgb),.35);
    background:linear-gradient(145deg,rgba(var(--client-accent-rgb),.18),rgba(255,255,255,.035));
    box-shadow:0 18px 38px rgba(0,0,0,.24);
  }
  .foghorn-workspace.is-client-experience .immersive-exchange .asked > span { color:var(--client-accent); }
  .foghorn-workspace.is-client-experience .immersive-exchange .asked > span::before { background:var(--client-accent); box-shadow:0 0 10px rgba(var(--client-accent-rgb),.6); }
  .foghorn-workspace.is-client-experience .assistant-avatar { border-color:rgba(213,1,13,.45); background:#d5010d; box-shadow:0 10px 28px rgba(213,1,13,.22); }
  .foghorn-workspace.is-client-experience .immersive-exchange .assistant-response .answer { border-color:var(--client-line); background:linear-gradient(145deg,var(--client-surface),var(--client-panel)); }
  .foghorn-workspace.is-client-experience .chat-compose { border-color:var(--client-line); background:var(--client-panel); }
  .foghorn-workspace.is-client-experience .immersive-form { border-color:rgba(var(--client-accent-rgb),.32); background:rgba(255,255,255,.045); }
  .foghorn-workspace.is-client-experience .immersive-form button { background:var(--client-accent); box-shadow:0 8px 24px rgba(var(--client-accent-rgb),.3); }
  .foghorn-workspace.is-client-experience .interface-prompt-rotator { display:none; }
  .foghorn-workspace.is-client-experience .immersive-form textarea { caret-color:auto !important; }
  .foghorn-workspace.is-client-experience .immersive-suggestions { display:none !important; }
}

/* Mobile access to the same LLM-generated website view used on desktop. */
.mobile-guide-topbar,
.mobile-guide-host { display: none; }

@media (width <= 900px) {
  .mobile-guide-card {
    position: relative;
    color: #f4f4f5;
    width: 100%;
    margin-top: 14px;
    padding: 14px 48px 14px 15px;
    overflow: hidden;
    border: 1px solid rgba(213,1,13,.5);
    border-radius: 4px;
    background:
      radial-gradient(circle at 100% 20%, rgba(213,1,13,.22), transparent 42%),
      linear-gradient(135deg,#1a1517,#141416 62%);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
    cursor: pointer;
  }
  .mobile-guide-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(#ff2631,var(--red));
    box-shadow: 0 0 16px rgba(213,1,13,.45);
  }
  .mobile-guide-card > span {
    color: #f2434d;
    font-size: 8px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .mobile-guide-card > strong { color: #fff; font: 700 14px/1.25 Space Grotesk,sans-serif; }
  .mobile-guide-card > small { color: #99999f; font-size: 9px; line-height: 1.35; }
  .mobile-guide-card > i {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-style: normal;
    transform: translateY(-50%);
  }
  .mobile-guide-card:hover { border-color: rgba(242,67,77,.82); }
  .mobile-guide-card:focus-visible { outline-color: #ff4650; }

  .mobile-preview-drawer {
    z-index: 100;
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    background: #0a0a0c;
    grid-template-rows: auto minmax(0,1fr);
    transform: translateY(3%) scale(.985);
    transform-origin: 50% 100%;
    transition: opacity .25s ease, transform .42s cubic-bezier(.22,1,.36,1), visibility .25s;
  }
  .mobile-preview-drawer.is-open { display: grid; transform: translateY(0) scale(1); }
  .mobile-guide-topbar {
    color: #f2f2f3;
    min-height: calc(52px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 10px 0;
    border-bottom: 1px solid #343438;
    background: linear-gradient(90deg,#121214,#171316);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }
  .mobile-guide-topbar > div { display: none; }
  .mobile-guide-topbar > div { min-width: 0; }
  .mobile-guide-topbar span {
    color: #ed303a;
    display: block;
    margin-bottom: 4px;
    font-size: 8px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .14em;
  }
  .mobile-guide-topbar strong {
    color: #f4f4f5;
    display: block;
    overflow: hidden;
    font: 700 12px/1.2 Space Grotesk,sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-guide-topbar button {
    color: #f1f1f3;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .mobile-guide-topbar button i {
    color: #ef1d28;
    --ui-icon-size: 19px;
  }
  .mobile-guide-host {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    display: block;
  }
  .mobile-guide-host .adaptive-site-preview {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #0e0e10;
    box-shadow: none;
  }
  .mobile-guide-host .adaptive-browser-bar,
  .mobile-guide-host .adaptive-mini-nav { display: none; }
  .mobile-guide-host .adaptive-page { width: 100%; height: 100%; min-height: 0; }
  .mobile-guide-host .generated-presentation-host { width: 100%; height: 100%; min-height: 0; }
  .mobile-guide-host .grounded-webview { width: 100%; height: 100%; min-height: 0; }
  .mobile-guide-host .guide-summary { min-height: 190px; padding: 28px 20px 24px; }
  .mobile-guide-host .guide-summary .guide-eyebrow { margin-bottom: 12px; }
  .mobile-guide-host .guide-summary h2 { font-size: clamp(31px,9.2vw,42px); line-height: .98; }
  .mobile-guide-host .guide-summary > p:last-of-type { margin-top: 13px; font-size: 11px; line-height: 1.5; }
  .mobile-guide-host .guide-points { padding-left: 20px; padding-right: 20px; }
  .mobile-guide-host .guide-points--benefits,
  .mobile-guide-host .guide-points--comparison,
  .mobile-guide-host .guide-points--recommendation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mobile-guide-host .guide-points--benefits article { min-height: 82px; padding: 13px 11px; }
  .mobile-guide-host .guide-points--benefits strong,
  .mobile-guide-host .guide-points--comparison strong,
  .mobile-guide-host .guide-points--recommendation strong { font-size: 10px; line-height: 1.35; }
  .mobile-guide-host .guide-points--steps { gap: 10px; padding-top: 17px; padding-bottom: 18px; }
  .mobile-guide-host .guide-points--steps article:not(:last-child)::after { right: -8px; }
  .mobile-guide-host .guide-points--steps strong { font-size: 10px; }
  .mobile-guide-host .guide-points--examples { gap: 7px; padding-top: 10px; padding-bottom: 11px; }
  .mobile-guide-host .guide-points--examples article { min-height: 70px; padding: 11px 10px 10px 32px; }
  .mobile-guide-host .guide-points--examples article::before { left: 10px; font-size: 24px; }
  .mobile-guide-host .guide-points--examples strong { font-size: 10px; }
  .mobile-guide-host .guide-next-step { grid-template-columns: 1fr; gap: 13px; padding: 17px 20px 18px; }
  .mobile-guide-host .guide-next-copy h3 { font-size: 21px; }
  .mobile-guide-host .guide-next-copy > span { font-size: 9px; line-height: 1.45; }
  .mobile-guide-host .guide-next-actions { flex-direction: row; }
  .mobile-guide-host .guide-next-actions button { min-height: 38px; font-size: 9px; }
}

/* One crisp local Phosphor Bold icon system for every fixed interface control. */
.ui-icon {
  --ui-icon-size: 18px;
  color: currentColor;
  width: var(--ui-icon-size);
  height: var(--ui-icon-size);
  flex: 0 0 var(--ui-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
}

.ui-icon::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: var(--ui-icon-image) center / contain no-repeat;
  mask: var(--ui-icon-image) center / contain no-repeat;
  transform-origin: 50% 50%;
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}

.ui-icon--arrow-up-right { --ui-icon-image: url("/assets/icons/presentation/arrow-up-right-bold.svg"); }
.ui-icon--arrow-left { --ui-icon-image: url("/assets/icons/presentation/arrow-right-bold.svg"); transform: rotate(180deg); }
.ui-icon--arrow-right { --ui-icon-image: url("/assets/icons/presentation/arrow-right-bold.svg"); }
.ui-icon--arrow-up { --ui-icon-image: url("/assets/icons/presentation/arrow-up-bold.svg"); }
.ui-icon--arrow-down { --ui-icon-image: url("/assets/icons/presentation/arrow-down-bold.svg"); }
.ui-icon--chevron-right { --ui-icon-image: url("/assets/icons/presentation/caret-right-bold.svg"); }
.ui-icon--chevron-down { --ui-icon-image: url("/assets/icons/presentation/caret-down-bold.svg"); }
.ui-icon--plus { --ui-icon-image: url("/assets/icons/presentation/plus-bold.svg"); }
.ui-icon--minus { --ui-icon-image: url("/assets/icons/presentation/minus-bold.svg"); }
.ui-icon--x { --ui-icon-image: url("/assets/icons/presentation/x-bold.svg"); }
.ui-icon--check { --ui-icon-image: url("/assets/icons/presentation/check-bold.svg"); }
.ui-icon--sparkle { --ui-icon-image: url("/assets/icons/presentation/sparkle-bold.svg"); }
.ui-icon--download { --ui-icon-image: url("/assets/icons/presentation/download-simple-bold.svg"); }

:is(a,button):hover > :is(
  .ui-icon--arrow-right,
  .ui-icon--arrow-up,
  .ui-icon--arrow-down,
  .ui-icon--chevron-right,
  .ui-icon--chevron-down
)::before {
  transform: rotate(7deg) translate(1px,-1px);
}

:is(a,button):hover > .ui-icon--arrow-up-right::before {
  transform: rotate(45deg);
}

:is(a,button):active > :is(
  .ui-icon--arrow-right,
  .ui-icon--arrow-up,
  .ui-icon--arrow-down,
  .ui-icon--chevron-right,
  .ui-icon--chevron-down
)::before {
  transform: rotate(3deg) scale(.94);
}

:is(a,button):active > .ui-icon--arrow-up-right::before {
  transform: rotate(45deg) scale(.94);
}

:is(
  .nav-cta,
  .mobile-menu-cta,
  .conversation-actions button,
  .contact-form > button,
  .conversation-info-hero > button,
  .conversation-info-reassurance > button,
  .guide-next-actions button,
  .inline-contact-submit,
  .showcase-result button,
  .mobile-info-cta,
  .approach-copy > a,
  .work-info-link,
  .answer-resource,
  .answer-contact
) > .ui-icon {
  --ui-icon-size: 19px;
}

.nav-cta > .ui-icon,
.mobile-menu-cta > .ui-icon,
.conversation-actions button:first-child > .ui-icon,
.contact-form > button > .ui-icon,
.conversation-info-hero > button > .ui-icon,
.conversation-info-reassurance > button > .ui-icon,
.guide-primary-action > .ui-icon,
.inline-contact-submit > .ui-icon,
.showcase-result button > .ui-icon {
  color: #fff;
}

.prompt-form button {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 22px rgba(213,1,13,.2);
}
.prompt-send-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
  shape-rendering: geometricPrecision;
  transform-box: fill-box;
  transform-origin: center;
}
.prompt-form button:hover .prompt-send-icon,
.prompt-launch:hover .prompt-send-icon { transform: rotate(45deg); }

.service-icon {
  width: 52px;
  height: 52px;
  border: 2px solid currentColor;
  border-radius: 2px;
  display: grid;
  place-items: center;
  font: 800 27px/1 Space Grotesk,sans-serif;
  box-shadow: none;
  transform: none;
}
.service-dark .service-icon { color: #fff; background: transparent; box-shadow: none; }
.service-red .service-icon { color: #111113; background: transparent; border-color: currentColor; box-shadow: none; }
.service-light .service-icon { color: #151517; background: transparent; border-color: currentColor; box-shadow: none; }
.service-icon--arrow::before {
  content: "";
  width: 27px;
  height: 27px;
  background: currentColor;
  -webkit-mask: url("/assets/icons/presentation/arrow-up-right-bold.svg") center / contain no-repeat;
  mask: url("/assets/icons/presentation/arrow-up-right-bold.svg") center / contain no-repeat;
}

.suggestions button {
  min-height: 38px;
  padding: 8px 11px;
  border-width: 1px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: Space Grotesk,sans-serif;
  font-weight: 700;
  animation: suggestion-pill-in .34s cubic-bezier(.22,1,.36,1) both;
}
.suggestions button:nth-child(2) { animation-delay: 45ms; }
.suggestions button:nth-child(3) { animation-delay: 90ms; }
@keyframes suggestion-pill-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.suggestions button::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  color: #f33b46;
  background: currentColor;
  -webkit-mask: url("/assets/icons/presentation/arrow-up-right-bold.svg") center / contain no-repeat;
  mask: url("/assets/icons/presentation/arrow-up-right-bold.svg") center / contain no-repeat;
  transform-origin: center;
  transition: transform .22s cubic-bezier(.22,1,.36,1), color .2s;
}
.suggestions button:hover::after {
  color: #fff;
  transform: rotate(45deg);
}

:is(.chat-close > i,.conversation-info-topbar button > i,.mobile-guide-topbar button > i) {
  --ui-icon-size: 17px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
:is(.save-toggle > span,.history-toggle > span) {
  --ui-icon-size: 17px;
  border: 0;
  border-radius: 0;
}
.mobile-guide-card > i { --ui-icon-size: 18px; }
.dock-arrow.ui-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}
.dock-arrow.ui-icon::before { width: 17px; height: 17px; }

.guide-points--steps article:not(:last-child)::after {
  content: "";
  width: 15px;
  height: 15px;
  background: #a7a7a5;
  -webkit-mask: url("/assets/icons/presentation/arrow-right-bold.svg") center / contain no-repeat;
  mask: url("/assets/icons/presentation/arrow-right-bold.svg") center / contain no-repeat;
}

@media (width <= 760px) {
  .suggestions button { min-height: 38px; }
  :is(.guide-primary-action > i,.guide-secondary-action > i) { --ui-icon-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .suggestions button { animation: none; }
  .ui-icon::before,
  .suggestions button::after { transition: none; }
}

/* Premium Foghorn composition for every LLM-generated live website view. */
.guide-summary {
  position: relative;
  isolation: isolate;
  flex: 0 1 285px;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background-color: #101011;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,1,13,.055) 1px, transparent 1px),
    radial-gradient(circle at 88% 18%, rgba(213,1,13,.24), transparent 38%);
  background-size: 54px 54px, 54px 54px, auto;
}
.guide-summary > :not(.guide-signal) { position: relative; z-index: 2; }
.guide-summary h2 { max-width: calc(100% - 150px); }
.guide-summary > p:last-of-type { max-width: min(500px,calc(100% - 170px)); }

.guide-signal {
  position: absolute;
  z-index: 1;
  width: 154px;
  height: 154px;
  right: clamp(18px,4vw,45px);
  top: 50%;
  transform: translateY(-50%);
  opacity: .9;
}
.guide-signal span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(242,56,67,.42);
  border-left-color: transparent;
  border-radius: 50%;
  transform: translate(-50%,-50%) rotate(-25deg);
}
.guide-signal span:nth-child(1) { width: 52px; height: 52px; }
.guide-signal span:nth-child(2) { width: 94px; height: 94px; border-color: rgba(242,56,67,.25); border-left-color: transparent; }
.guide-signal span:nth-child(3) { width: 136px; height: 136px; border-color: rgba(255,255,255,.1); border-left-color: transparent; }
.guide-signal i {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 7px rgba(213,1,13,.12), 0 0 24px rgba(213,1,13,.6);
}
.guide-signal b {
  position: absolute;
  right: 1px;
  bottom: 0;
  color: rgba(255,255,255,.32);
  letter-spacing: .22em;
  font: 700 7px/1 Inter,sans-serif;
}

.guide-points--benefits {
  flex: 1 1 250px;
  min-height: 190px;
  padding: 0;
  gap: 1px;
  background: #303033;
}
.guide-points[data-count="0"] { display: none !important; padding: 0 !important; min-height: 0 !important; }
[data-guide-content][data-presentation="concise"] .guide-summary { flex: 1 1 auto; }
.guide-points--benefits[data-count="2"],
.guide-points--benefits[data-count="4"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-points--benefits[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guide-points--benefits article {
  position: relative;
  min-height: 0;
  padding: clamp(18px,2.5vw,28px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f2f2f0;
}
.guide-points--benefits article::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 3px;
  right: 18px;
  top: 20px;
  background: var(--red);
}
.guide-points--benefits article:nth-child(2) { color: #fff; background: var(--red); }
.guide-points--benefits article:nth-child(2)::after { background: #fff; }
.guide-points--benefits article:nth-child(3) { color: #fff; background: #19191b; }
.guide-points--benefits article:nth-child(4) { color: #171719; background: #e4e4e1; }
.guide-points--benefits article > span {
  color: var(--red);
  letter-spacing: .16em;
  font-size: 9px;
}
.guide-points--benefits article:nth-child(2) > span { color: #fff; }
.guide-points--benefits article:nth-child(3) > span { color: #f24b54; }
.guide-points--benefits strong {
  max-width: 240px;
  font-size: clamp(13px,1.35vw,16px);
  line-height: 1.34;
}

:is(.guide-points--steps,.guide-points--examples,.guide-points--comparison,.guide-points--recommendation) {
  flex: 1 1 220px;
  min-height: 170px;
}
.guide-points--steps article {
  padding: 18px;
  border-top: 3px solid var(--red);
  background: rgba(255,255,255,.5);
}
.guide-points--steps article:not(:last-child)::after { right: -19px; top: 20px; }

.guide-next-step {
  min-height: 128px;
  padding-top: 20px;
  padding-bottom: 21px;
}
.guide-next-actions button { border-radius: 2px; }

@media (max-height: 760px) and (min-width: 901px) {
  .guide-summary { flex-basis: 235px; min-height: 190px; padding-top: 24px; padding-bottom: 24px; }
  .guide-points--benefits { min-height: 165px; padding: 0; }
  .guide-points--benefits article { padding: 17px 18px; }
  .guide-points--benefits article::after { top: 17px; }
  .guide-next-step { min-height: 112px; padding-top: 15px; padding-bottom: 16px; }
}

@media (width <= 900px) {
  .mobile-guide-host .guide-summary { flex-basis: auto; min-height: 210px; }
  .mobile-guide-host .guide-summary h2 { max-width: calc(100% - 82px); }
  .mobile-guide-host .guide-summary > p:last-of-type { max-width: calc(100% - 72px); }
  .mobile-guide-host .guide-signal { width: 92px; height: 92px; right: 9px; opacity: .68; }
  .mobile-guide-host .guide-signal span:nth-child(1) { width: 34px; height: 34px; }
  .mobile-guide-host .guide-signal span:nth-child(2) { width: 59px; height: 59px; }
  .mobile-guide-host .guide-signal span:nth-child(3) { width: 84px; height: 84px; }
  .mobile-guide-host .guide-signal b { display: none; }
  .mobile-guide-host .guide-points--benefits { min-height: 210px; padding: 0; }
  .mobile-guide-host .guide-points--benefits article { min-height: 0; padding: 15px 13px; }
  .mobile-guide-host .guide-points--benefits article::after { width: 22px; right: 11px; top: 14px; }
  .mobile-guide-host .guide-next-step { min-height: 0; }
}

/* Consultant handover and living presentation sequence. */
.presentation-lead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  border-top: 1px solid transparent;
  transform: translateY(7px);
  transition:
    max-height .48s cubic-bezier(.22,1,.36,1),
    margin .38s cubic-bezier(.22,1,.36,1),
    padding .38s cubic-bezier(.22,1,.36,1),
    opacity .3s ease,
    transform .48s cubic-bezier(.22,1,.36,1),
    border-color .35s ease;
}
.presentation-lead.is-visible {
  max-height: 76px;
  margin-top: 16px;
  padding-top: 14px;
  opacity: 1;
  border-top-color: rgba(255,255,255,.09);
  transform: translateY(0);
}
.presentation-lead > span {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  width: 28px;
  height: 22px;
}
.presentation-lead > span::before,
.presentation-lead > span::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.presentation-lead > span::before {
  inset: 1px auto auto 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(213,1,13,.1), 0 0 18px rgba(213,1,13,.28);
  transform: scale(.72);
  transition: opacity .28s ease, transform .42s cubic-bezier(.22,1,.36,1);
}
.presentation-lead > span::after {
  top: 5px;
  left: 9px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(.7);
  transition: opacity .24s .08s ease, transform .4s .08s cubic-bezier(.22,1,.36,1);
}
.presentation-lead > span i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ef2430;
  box-shadow: 0 0 9px rgba(239,36,48,.42);
  animation: 1.05s ease-in-out infinite consultant-signal;
}
.presentation-lead > span i:nth-child(2) { animation-delay: .12s; }
.presentation-lead > span i:nth-child(3) { animation-delay: .24s; }
.presentation-lead strong {
  color: #f4f4f5;
  font: 650 13px/1.45 Space Grotesk,sans-serif;
  letter-spacing: -.01em;
  transition: color .3s ease;
}
.presentation-lead.is-complete { border-top-color: rgba(213,1,13,.24); }
.presentation-lead.is-complete > span i {
  animation: none;
  opacity: 0;
  transform: scale(.35);
}
.presentation-lead.is-complete > span::before,
.presentation-lead.is-complete > span::after {
  opacity: 1;
  transform: scale(1);
}
.presentation-lead.is-complete > span::after { transform: rotate(45deg) scale(1); }
.presentation-lead.is-complete strong { color: #c9c9ce; }
@keyframes consultant-signal {
  0%,100% { opacity: .35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.assistant-follow-up {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr);
  align-items: start;
  gap: 11px;
  max-height: 0;
  margin-top: 0;
  padding: 0 13px;
  overflow: hidden;
  opacity: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  transform: translateY(7px);
  transition:
    max-height .48s cubic-bezier(.22,1,.36,1),
    margin .4s cubic-bezier(.22,1,.36,1),
    padding .4s cubic-bezier(.22,1,.36,1),
    opacity .3s ease,
    transform .48s cubic-bezier(.22,1,.36,1),
    border-color .35s ease,
    background-color .35s ease;
}
.assistant-follow-up.is-visible {
  max-height: 150px;
  margin-top: 14px;
  padding: 13px;
  opacity: 1;
  border-color: rgba(213,1,13,.28);
  background: rgba(213,1,13,.055);
  transform: translateY(0);
}
.assistant-follow-up > span {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(242,67,77,.62);
  border-radius: 50%;
}
.assistant-follow-up > span::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 7px;
  height: 5px;
  border-left: 1.5px solid #ff5962;
  border-bottom: 1.5px solid #ff5962;
  transform: skewY(-28deg) rotate(-36deg);
}
.assistant-follow-up > p {
  margin: 0;
  color: #f0f0f2;
  font: 600 14px/1.5 Inter,Arial,sans-serif;
  letter-spacing: -.01em;
}

.suggestions {
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1), max-height .38s cubic-bezier(.22,1,.36,1), margin .38s cubic-bezier(.22,1,.36,1);
}
.suggestions.is-awaiting {
  opacity: .58;
  pointer-events: none;
  transform: none;
}

/* A consultant follow-up arrives as a separate message after a brief typing beat. */
.assistant-follow-up-row {
  width: min(760px,100%);
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.assistant-follow-up-row[hidden] { display: none !important; }
.assistant-follow-up-row.is-typing,
.assistant-follow-up-row.is-visible { opacity: 1; transform: translateY(0); }
.assistant-avatar--follow-up { width: 34px; height: 34px; margin: 2px 0 0 3px; border-radius: 9px; }
.assistant-avatar--bridge,
.assistant-avatar--follow-up {
  visibility: hidden;
}
.assistant-follow-up-message {
  width: fit-content;
  max-width: min(620px,92%);
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 13px 16px 14px;
  border: 1px solid #303035;
  border-radius: 5px 15px 15px 15px;
  background: linear-gradient(145deg,#1a1a1d,#161618 72%);
  box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.025);
}
.assistant-follow-up-message > p {
  margin: 0;
  color: #f0f0f2;
  font: 620 clamp(14px,1.08vw,16px)/1.55 Inter,Arial,sans-serif;
  letter-spacing: -.01em;
}
.assistant-follow-up-message > p[hidden],
.assistant-follow-up-typing[hidden] { display: none !important; }
.assistant-follow-up-typing { display: flex; align-items: center; gap: 5px; min-width: 42px; height: 20px; }
.assistant-follow-up-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f2434d;
  animation: foghorn-message-typing .9s ease-in-out infinite;
}
.assistant-follow-up-typing i:nth-child(2) { animation-delay: .14s; }
.assistant-follow-up-typing i:nth-child(3) { animation-delay: .28s; }
@keyframes foghorn-message-typing {
  0%,60%,100% { opacity: .32; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* The handover into a generated landing page is a real second message, not
   copy attached to the first answer. */
.assistant-bridge-row {
  width: min(760px,100%);
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.assistant-bridge-row[hidden] { display: none !important; }
.assistant-bridge-row.is-typing,
.assistant-bridge-row.is-visible { opacity: 1; transform: translateY(0); }
.assistant-avatar--bridge { width: 34px; height: 34px; margin: 2px 0 0 3px; border-radius: 9px; }
.assistant-bridge-message {
  width: fit-content;
  max-width: min(620px,92%);
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 13px 16px 14px;
  border: 1px solid #303035;
  border-radius: 5px 15px 15px 15px;
  background: linear-gradient(145deg,#1a1a1d,#161618 72%);
  box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.025);
}
.assistant-bridge-message > p {
  margin: 0;
  color: #f0f0f2;
  font: 620 clamp(14px,1.08vw,16px)/1.55 Inter,Arial,sans-serif;
  letter-spacing: -.01em;
}
.assistant-bridge-message > p[hidden],
.assistant-bridge-typing[hidden] { display: none !important; }

.foghorn-workspace.is-client-experience .immersive-suggestions { display: flex !important; }

/* Suggestions are a permanent part of the conversation composer. The base
   workspace stylesheet predates the contextual prompt flow and hides them. */
.foghorn-workspace .chat-compose > .immersive-suggestions,
.foghorn-workspace.is-client-experience .chat-compose > .immersive-suggestions {
  display: flex !important;
  width: 100%;
  min-height: 42px;
  max-height: none !important;
  margin: 0 0 10px !important;
  padding: 1px 0 2px !important;
  gap: 8px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
.foghorn-workspace .chat-compose > .immersive-suggestions:empty {
  display: none !important;
}
.foghorn-workspace .chat-compose > .immersive-suggestions.is-awaiting {
  opacity: .58 !important;
  pointer-events: none !important;
}

/* Initial and generated suggestions share one pill treatment. */
.foghorn-workspace .chat-compose > .immersive-suggestions > button,
.foghorn-workspace .chat-compose > .immersive-suggestions.is-discovery > button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 9px 14px;
  justify-content: center;
  border: 1px solid #3a3a40;
  border-radius: 999px;
  color: #d8d8dc;
  background: linear-gradient(145deg, #18181b, #111113);
  font-family: Space Grotesk, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  animation: none;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s cubic-bezier(.22,1,.36,1);
}
.foghorn-workspace.is-suggestions-ready .chat-compose > .immersive-suggestions > button,
.foghorn-workspace.is-suggestions-ready .chat-compose > .immersive-suggestions.is-discovery > button {
  animation: workspace-prompt-suggestion-in .52s cubic-bezier(.22,1,.36,1) both;
}
.foghorn-workspace.is-suggestions-ready .chat-compose > .immersive-suggestions > button:nth-child(2) { animation-delay: 80ms; }
.foghorn-workspace.is-suggestions-ready .chat-compose > .immersive-suggestions > button:nth-child(3) { animation-delay: 160ms; }
@keyframes workspace-prompt-suggestion-in {
  from { opacity: 0; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.foghorn-workspace .chat-compose > .immersive-suggestions > button:hover,
.foghorn-workspace .chat-compose > .immersive-suggestions > button:focus-visible {
  color: #fff;
  border-color: #d5010d;
  background: #201416;
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 760px) {
  .foghorn-workspace .chat-compose > .immersive-suggestions > button {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .assistant-follow-up-row { grid-template-columns: 34px minmax(0,1fr); gap: 9px; }
  .assistant-avatar--follow-up { width: 30px; height: 30px; margin-left: 2px; }
  .assistant-follow-up-message { max-width: 94%; padding: 12px 14px 13px; border-radius: 4px 13px 13px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-follow-up-row { transition: none; }
  .foghorn-workspace.is-suggestions-ready .chat-compose > .immersive-suggestions > button {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .assistant-follow-up-typing i { animation: none; opacity: .7; }
}

[data-guide-content] { position: relative; isolation: isolate; }
.guide-build-stage {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,1,13,.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(213,1,13,.18), transparent 34%),
    #0e0e10;
  background-size: 54px 54px, 54px 54px, auto, auto;
  opacity: 1;
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1), clip-path .4s cubic-bezier(.76,0,.24,1);
  clip-path: inset(0 0 0 0);
}
.guide-build-stage::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -15%;
  width: 1px;
  background: linear-gradient(transparent 8%,#ff3f49 48%,transparent 92%);
  box-shadow: 0 0 24px 5px rgba(213,1,13,.26);
  animation: 1.4s cubic-bezier(.45,0,.55,1) infinite guide-scan;
}
.guide-build-stage.is-leaving {
  opacity: 0;
  transform: translateX(5%);
  clip-path: inset(0 0 0 100%);
}
@keyframes guide-scan { to { left: 115%; } }

.guide-build-signal {
  position: relative;
  width: 126px;
  height: 126px;
  margin-bottom: 24px;
}
.guide-build-signal span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(242,56,67,.44);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: 1.45s ease-out infinite guide-signal-breathe;
}
.guide-build-signal span:nth-child(1) { width: 38px; height: 38px; }
.guide-build-signal span:nth-child(2) { width: 76px; height: 76px; animation-delay: .16s; }
.guide-build-signal span:nth-child(3) { width: 114px; height: 114px; animation-delay: .32s; }
.guide-build-signal i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 7px rgba(213,1,13,.13),0 0 28px rgba(213,1,13,.7);
}
@keyframes guide-signal-breathe {
  0% { opacity: .14; transform: translate(-50%,-50%) scale(.82); }
  55% { opacity: .75; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.08); }
}
.guide-build-stage > p {
  color: #f34751;
  margin: 0 0 10px;
  letter-spacing: .18em;
  font-size: 8px;
  font-weight: 750;
}
.guide-build-stage > strong { font: 700 clamp(22px,2.7vw,34px)/1.08 Space Grotesk,sans-serif; }
.guide-build-stage > small { color: #8e8e94; margin-top: 13px; letter-spacing: .08em; font-size: 8px; }

[data-guide-content].is-prepared > :is(.guide-summary,.guide-points,.guide-next-step) {
  visibility: hidden;
  opacity: 0;
}
[data-guide-content].is-prepared.reveal-summary > .guide-summary,
[data-guide-content].is-prepared.reveal-points > .guide-points,
[data-guide-content].is-prepared.reveal-actions > .guide-next-step {
  visibility: visible;
}
[data-guide-content].is-prepared.reveal-summary > .guide-summary {
  animation: .66s cubic-bezier(.22,1,.36,1) both guide-section-in;
}
[data-guide-content].is-prepared.reveal-points > .guide-points {
  animation: .62s cubic-bezier(.22,1,.36,1) both guide-section-in;
}
[data-guide-content].is-prepared.reveal-actions > .guide-next-step {
  animation: .58s cubic-bezier(.22,1,.36,1) both guide-section-in;
}
[data-guide-content].is-prepared.reveal-summary .guide-summary > :not(.guide-signal) {
  animation: .6s .08s cubic-bezier(.22,1,.36,1) both guide-copy-in;
}
[data-guide-content].is-prepared.reveal-summary .guide-signal {
  animation: .82s .08s cubic-bezier(.22,1,.36,1) both guide-signal-in;
}
[data-guide-content].is-prepared.reveal-points .guide-point {
  animation: .54s calc(var(--guide-index,0) * .09s) cubic-bezier(.22,1,.36,1) both guide-card-in;
}
@keyframes guide-section-in {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(12% 0 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}
@keyframes guide-copy-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes guide-signal-in {
  from { opacity: 0; transform: translateY(-50%) scale(.8) rotate(-12deg); }
  to { opacity: .9; transform: translateY(-50%) scale(1) rotate(0); }
}
@keyframes guide-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step presentations use the whole panel without creating an overflow row. */
.guide-points--steps[data-count="1"] { grid-template-columns: minmax(0,1fr); }
.guide-points--steps[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-points--steps[data-count="4"] {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 1px;
  min-height: 0;
  padding: 1px clamp(24px,5vw,58px);
  background: #cececc;
}
.guide-points--steps[data-count="4"] article {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  align-content: center;
  gap: 10px;
  min-height: 0;
  padding: 14px 16px;
  border-top: 3px solid var(--red);
  background: #f4f4f2;
}
.guide-points--steps[data-count="4"] article:nth-child(2),
.guide-points--steps[data-count="4"] article:nth-child(3) { background: #e7e7e4; }
.guide-points--steps[data-count="4"] article > span { margin: 2px 0 0; }
.guide-points--steps[data-count="4"] strong { max-width: 250px; }
.guide-points--steps[data-count="4"] article::after { display: none; }

.mobile-guide-card.is-ready { animation: .62s cubic-bezier(.22,1,.36,1) both mobile-guide-ready; }
@keyframes mobile-guide-ready {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (width <= 900px) {
  .assistant-bridge-row { grid-template-columns: 34px minmax(0,1fr); gap: 9px; }
  .assistant-avatar--bridge { width: 31px; height: 31px; margin-left: 1px; }
  .assistant-bridge-message { max-width: 94%; padding: 12px 14px 13px; border-radius: 4px 13px 13px 13px; }
  .guide-build-stage { padding: 24px; }
  .guide-build-signal { width: 102px; height: 102px; margin-bottom: 20px; }
  .guide-build-signal span:nth-child(1) { width: 32px; height: 32px; }
  .guide-build-signal span:nth-child(2) { width: 62px; height: 62px; }
  .guide-build-signal span:nth-child(3) { width: 94px; height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  .conversation-character { opacity: 1; filter: none; transform: none; animation: none !important; }
  .immersive-exchange .asked.is-arriving { animation: none !important; }
  .assistant-bridge-row,
  .presentation-lead,
  .presentation-lead > span i,
  .guide-build-stage,
  .guide-build-stage::after,
  .guide-build-signal span,
  [data-guide-content].is-prepared > *,
  [data-guide-content].is-prepared .guide-summary > *,
  [data-guide-content].is-prepared .guide-point,
  .mobile-guide-card.is-ready {
    animation: none !important;
    transition: none !important;
  }
}

/* The creative renderer receives the entire safe canvas with no inherited template geometry. */
.grounded-webview[data-presentation="creative"],
.grounded-webview[data-presentation="system-simulation"] {
  display: block !important;
  padding: 0;
  background: #0f0f11;
}
.grounded-webview[data-presentation="creative"]::before,
.grounded-webview[data-presentation="system-simulation"]::before { display: none; }
.grounded-webview[data-presentation="creative"] > .generated-presentation-host,
.grounded-webview[data-presentation="system-simulation"] > .generated-presentation-host {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* Generated demonstrations are readable landing pages at every workspace width.
   The left panel owns the scroll instead of shrinking the page into a slide. */
.foghorn-workspace .grounded-webview[data-presentation="system-simulation"],
.foghorn-workspace .grounded-webview[data-presentation="creative"] {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(213, 1, 13, .7) rgba(255, 255, 255, .08);
}

.foghorn-workspace .grounded-webview[data-presentation="system-simulation"] > .system-simulation-host,
.foghorn-workspace .grounded-webview[data-presentation="creative"] > .generated-presentation-host {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 100%;
  overflow: visible !important;
}

@media (max-width: 900px) and (orientation: portrait) {
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation::-webkit-scrollbar { display: none; }
  .foghorn-workspace .mobile-guide-host.has-flowing-presentation :is(.adaptive-site-preview,.adaptive-page,.grounded-webview,.generated-presentation-host) {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }
}

/* The adaptive viewer reuses the homepage contact form as a protected first-party component. */
.grounded-webview[data-presentation="contact-form"] {
  display: block !important;
  padding: 0;
  background: #0f0f11;
  container-type: inline-size;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.grounded-webview[data-presentation="contact-form"]::-webkit-scrollbar { display: none; }
.grounded-webview[data-presentation="contact-form"]::before { display: none; }
.adaptive-contact-view {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0,1fr);
  align-content: stretch;
  align-items: stretch;
  gap: clamp(20px,2vw,26px);
  padding: clamp(28px,3vw,40px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .7s cubic-bezier(.22,1,.36,1);
  background:
    radial-gradient(circle at 92% 8%,rgba(213,1,13,.16),transparent 36%),
    linear-gradient(145deg,#101012 0%,#151114 100%);
  font-family: "Inter",Arial,sans-serif;
  font-synthesis: none;
}
.adaptive-contact-view :is(p,span,label,input,select,textarea,button) {
  font-family: "Inter",Arial,sans-serif;
  font-synthesis: none;
}
.adaptive-contact-view.is-visible { opacity: 1; transform: translateY(0); }
.adaptive-contact-intro {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(280px,1.2fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 5px clamp(32px,5vw,72px);
  padding-bottom: clamp(18px,2vw,24px);
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.adaptive-contact-kicker {
  grid-column: 1;
  grid-row: 1;
  display: block;
  margin: 0;
  color: #ef3a44;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .16em;
}
.adaptive-contact-intro h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(30px,3vw,42px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-family: "Space Grotesk",Arial,sans-serif;
  font-weight: 700;
  font-synthesis: none;
}
.adaptive-contact-intro > p {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 390px;
  margin: 0;
  color: #c9c9ce;
  font-size: 15px;
  line-height: 1.6;
}
.adaptive-contact-form.contact-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px 24px;
  align-content: start;
  margin: 0;
  padding: clamp(22px,2.8vw,32px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(24,24,27,.88);
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.adaptive-contact-form.contact-form label {
  margin: 0;
  color: #d6d6da;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .055em;
  transition: color .2s ease;
}
.adaptive-contact-form.contact-form label:focus-within { color: #fff; }
.adaptive-contact-form.contact-form > button,
.adaptive-contact-form.contact-form > .form-status { grid-column: 1 / -1; }
.adaptive-contact-form.contact-form input,
.adaptive-contact-form.contact-form select,
.adaptive-contact-form.contact-form textarea {
  min-height: 48px;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid #3c3c42;
  border-radius: 6px;
  background: #101012;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.adaptive-contact-form.contact-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 46px;
  color-scheme: dark;
  background-image:
    linear-gradient(45deg, transparent 50%, #f5f5f6 50%),
    linear-gradient(135deg, #f5f5f6 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.adaptive-contact-form.contact-form select option {
  background: #151518;
  color: #f5f5f6;
}
.adaptive-contact-form.contact-form select option:disabled { color: #a9a9af; }
.adaptive-contact-form.contact-form select option:checked {
  background: #3a3a3f;
  color: #fff;
}
.adaptive-contact-form.contact-form :is(input,select,textarea):hover { border-color: #5a5a62; }
.adaptive-contact-form.contact-form :is(input,select,textarea):focus {
  border-color: #ef2631;
  background: #0c0c0e;
  box-shadow: 0 0 0 4px rgba(213,1,13,.13);
}
.adaptive-contact-form.contact-form textarea { height: 88px; min-height: 88px; resize: vertical; }
.adaptive-contact-form.contact-form textarea { scrollbar-width: none; }
.adaptive-contact-form.contact-form textarea::-webkit-scrollbar { display: none; }
.adaptive-contact-form.contact-form > button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  border: 1px solid #ed1b27;
  border-radius: 6px;
  background: #d5010d;
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(213,1,13,.2);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(.22,1,.36,1);
}
.adaptive-contact-form.contact-form > button:hover {
  border-color: #ff4d56;
  background: #ef1420;
  box-shadow: 0 14px 34px rgba(213,1,13,.3);
  transform: translateY(-2px);
}
.adaptive-contact-form.contact-form > button:active { transform: translateY(0) scale(.992); }
.adaptive-contact-form.contact-form .form-status { margin: 0; font-size: 13px; line-height: 1.5; }

@container (max-width: 620px) {
  .adaptive-contact-view {
    height: auto;
    min-height: 100%;
    gap: 15px;
    padding: 20px;
    overflow: visible;
  }
  .adaptive-contact-intro {
    display: block;
    padding-bottom: 14px;
  }
  .adaptive-contact-kicker { margin-bottom: 6px; }
  .adaptive-contact-intro h2 {
    max-width: none;
    font-size: clamp(28px,7cqw,34px);
    line-height: 1.05;
  }
  .adaptive-contact-intro > p {
    max-width: 440px;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.45;
  }
  .adaptive-contact-form.contact-form {
    gap: 11px 16px;
    padding: 17px;
  }
  .adaptive-contact-form.contact-form textarea { height: 74px; min-height: 74px; }
}

@container (max-width: 430px) {
  .adaptive-contact-form.contact-form { grid-template-columns: 1fr; }
  .adaptive-contact-form.contact-form label,
  .adaptive-contact-form.contact-form > button,
  .adaptive-contact-form.contact-form > .form-status { grid-column: 1; }
  .adaptive-contact-form.contact-form textarea { height: 96px; min-height: 96px; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .adaptive-contact-view {
    gap: 10px;
    padding: 14px 20px;
  }
  .adaptive-contact-intro { padding-bottom: 10px; }
  .adaptive-contact-kicker { margin-bottom: 4px; }
  .adaptive-contact-intro h2 { font-size: 29px; }
  .adaptive-contact-intro > p { margin-top: 5px; line-height: 1.4; }
  .adaptive-contact-form.contact-form {
    gap: 3px 14px;
    padding: 8px 12px;
  }
  .adaptive-contact-form.contact-form label { line-height: 1.2; }
  .adaptive-contact-form.contact-form :is(input,select,textarea) { margin-top: 0; }
  .adaptive-contact-form.contact-form textarea { height: 60px; min-height: 60px; }
  .adaptive-contact-form.contact-form > button { min-height: 48px; margin-top: 0; }
}

@media (max-width: 900px) {
  .adaptive-contact-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: start;
    align-items: stretch;
    gap: 18px;
    padding: clamp(18px,4.5vw,24px);
  }
  .adaptive-contact-intro {
    display: block;
    width: 100%;
    max-width: 580px;
    padding-bottom: 16px;
  }
  .adaptive-contact-kicker { margin-bottom: 7px; font-size: 10px; }
  .adaptive-contact-intro h2 { max-width: 430px; font-size: clamp(28px,7.5vw,36px); line-height: 1.04; }
  .adaptive-contact-intro > p {
    max-width: 520px;
    margin-top: 9px;
    color: #c9c9ce;
    font-size: 14px;
    line-height: 1.5;
  }
  .adaptive-contact-form.contact-form {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    padding: 18px;
    align-content: start;
  }
  .adaptive-contact-form.contact-form label,
  .adaptive-contact-form.contact-form label:nth-of-type(6),
  .adaptive-contact-form.contact-form > button,
  .adaptive-contact-form.contact-form > .form-status { grid-column: 1; }
  .adaptive-contact-form.contact-form label {
    color: #f4f4f5;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: .075em;
  }
  .adaptive-contact-form.contact-form .optional { font-size: 12px; }
  .adaptive-contact-form.contact-form input,
  .adaptive-contact-form.contact-form select,
  .adaptive-contact-form.contact-form textarea {
    min-height: 48px;
    margin-top: 6px;
    padding: 10px 12px;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
  }
  .adaptive-contact-form.contact-form select { padding-inline-end: 46px; }
  .adaptive-contact-form.contact-form textarea { height: 96px; min-height: 96px; }
  .adaptive-contact-form.contact-form > button { min-height: 52px; margin-top: 3px; font-size: 13px; }
  .adaptive-contact-form.contact-form .form-status { font-size: 13px; line-height: 1.5; }
}

@media (max-width: 430px), (max-height: 850px) and (max-width: 900px) {
  .adaptive-contact-view { gap: 14px; padding: 14px; }
  .adaptive-contact-intro { padding-bottom: 13px; }
  .adaptive-contact-intro h2 { font-size: clamp(27px,7.5vw,34px); }
  .adaptive-contact-intro > p { margin-top: 7px; }
  .adaptive-contact-form.contact-form { gap: 10px; padding: 15px; }
  .adaptive-contact-form.contact-form textarea { height: 88px; min-height: 88px; }
}

/* Final canvas cascade guarantees after legacy presentation styles. */
.grounded-webview[data-presentation] > .guide-summary {
  border: 0;
  background: transparent !important;
}
.grounded-webview[data-presentation="benefits"] > .guide-points[data-count="4"] .guide-point:first-child {
  grid-row: auto;
}
.grounded-webview[data-presentation="benefits"] > .guide-points[data-count="4"] .guide-point:nth-child(4) {
  grid-column: auto;
}
.grounded-webview[data-presentation="recommendation"] > .guide-points[data-count="4"] {
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(3,minmax(0,1fr));
}
.grounded-webview[data-presentation="recommendation"] > .guide-points[data-count="4"] .guide-point:first-child {
  grid-row: 1 / 4;
}

/* Adaptive canvases never inherit the legacy light-card treatment. */
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point,
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point:nth-child(2),
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point:nth-child(3) {
  color: #f4f4f5;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
}
.grounded-webview[data-presentation="benefits"] > .guide-points .guide-point:nth-child(3) {
  color: #f4f4f5;
  background: linear-gradient(145deg,#251316,#18181b);
}
.grounded-webview[data-presentation="examples"] > .guide-points .guide-point:nth-child(3) {
  color: #f4f4f5;
  background: linear-gradient(145deg,#241417,#171719);
}
.grounded-webview[data-presentation="examples"] > .guide-points .guide-point:nth-child(3)::before {
  color: rgba(255,255,255,.2);
}

/* A step canvas reads from statement, to journey, to decisive action. */
.grounded-webview[data-presentation="steps"] {
  grid-template-rows: minmax(155px,.8fr) minmax(128px,.72fr) auto;
  row-gap: clamp(18px,2.2vw,26px);
}
.grounded-webview[data-presentation="steps"] > .guide-summary {
  grid-column: 1 / 13;
  grid-row: 1;
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(210px,.65fr);
  grid-template-rows: auto minmax(0,1fr);
  align-items: end;
  column-gap: clamp(32px,5vw,64px);
}
.grounded-webview[data-presentation="steps"] .guide-summary .guide-eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.grounded-webview[data-presentation="steps"] .guide-summary h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 470px;
  align-self: end;
  font-size: clamp(38px,4vw,55px);
}
.grounded-webview[data-presentation="steps"] .guide-summary > p:last-of-type {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 290px;
  margin: 0;
  align-self: end;
  padding-bottom: 3px;
  font-size: clamp(11px,1.05vw,14px);
}
.grounded-webview[data-presentation="steps"] .guide-summary .guide-signal {
  right: 25%;
  top: 0;
  width: 94px;
  height: 94px;
  opacity: .28;
}
.grounded-webview[data-presentation="steps"] > .guide-points {
  grid-column: 1 / 13;
  grid-row: 2;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-content: stretch;
  gap: 1px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.1);
}
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="3"] {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="2"] {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point,
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 13px;
  min-height: 0;
  padding: clamp(14px,1.8vw,20px);
  border: 0;
  background: #131315;
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point:nth-child(even) {
  background: #18181b;
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42px;
  height: 3px;
  background: var(--red);
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin: 0;
  border: 1px solid rgba(241,51,62,.62);
  border-radius: 50%;
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point strong {
  font-size: clamp(10px,1.05vw,13px);
  line-height: 1.38;
}
.grounded-webview[data-presentation="steps"] > .guide-next-step { grid-row: 3; }

/* Calls to action carry the final beat rather than becoming tiny utilities. */
.grounded-webview[data-presentation] > .guide-next-step {
  grid-template-columns: minmax(0,1fr) 205px;
  gap: clamp(24px,3.4vw,42px);
  padding: clamp(18px,2.2vw,24px) clamp(20px,2.7vw,30px);
}
.grounded-webview[data-presentation] .guide-next-copy > p {
  margin-bottom: 8px;
  font-size: 8px;
}
.grounded-webview[data-presentation] .guide-next-copy h3 {
  font-size: clamp(23px,2.35vw,31px);
  line-height: 1.03;
}
.grounded-webview[data-presentation] .guide-next-copy > span {
  max-width: 430px;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.48;
}
.grounded-webview[data-presentation] .guide-next-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 205px;
}
.grounded-webview[data-presentation] .guide-next-actions button {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .035em;
}

@media (max-height: 760px) and (min-width: 901px) {
  .grounded-webview[data-presentation="steps"] {
    grid-template-rows: minmax(126px,.7fr) minmax(112px,.65fr) auto;
  }
  .grounded-webview[data-presentation] > .guide-next-step { padding-top: 15px; padding-bottom: 15px; }
  .grounded-webview[data-presentation] .guide-next-copy > span { display: block; font-size: 9px; }
  .grounded-webview[data-presentation] .guide-next-actions button { min-height: 42px; }
}

@media (width <= 900px) {
  .mobile-guide-host .grounded-webview[data-presentation="steps"] {
    grid-template-rows: auto minmax(0,1fr) auto;
  }
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-summary {
    display: block;
  }
  .mobile-guide-host .grounded-webview[data-presentation="steps"] .guide-summary > p:last-of-type {
    max-width: calc(100% - 54px);
    margin-top: 10px;
    padding: 0;
  }
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-points {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(0,1fr));
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-next-step {
    grid-template-columns: 1fr;
  }
.mobile-guide-host .grounded-webview[data-presentation] .guide-next-actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    min-width: 0;
  }
}

/* Calm conversation chrome: the visual result carries the demonstration. */
.foghorn-workspace .presentation-lead,
.foghorn-workspace .presentation-lead.is-visible {
  max-height: 52px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  opacity: 1;
  overflow: visible;
  transform: none;
}
.foghorn-workspace .presentation-lead > span { display: none; }
.foghorn-workspace .presentation-lead strong,
.foghorn-workspace .presentation-lead.is-complete strong {
  color: #c8c8cc;
  font: 540 12px/1.45 Inter,Arial,sans-serif;
}
.foghorn-workspace .assistant-follow-up,
.foghorn-workspace .assistant-follow-up.is-visible {
  display: block;
  max-height: 100px;
  margin-top: 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  overflow: visible;
  transform: none;
}
.foghorn-workspace .assistant-follow-up > span { display: none; }
.foghorn-workspace .assistant-follow-up > p {
  margin: 0;
  color: #f0f0f2;
  font: 620 13px/1.48 Inter,Arial,sans-serif;
}
.foghorn-workspace .presentation-lead + .assistant-follow-up { margin-top: 9px; }
.foghorn-workspace .answer .mobile-guide-card { margin-top: 15px; }

/* Final measured step composition. Four items become a readable 2 by 2 journey. */
.grounded-webview[data-presentation="steps"] {
  grid-template-rows: auto minmax(0,1fr) auto;
}
.grounded-webview[data-presentation="steps"] > .guide-summary {
  min-height: 0;
}
.grounded-webview[data-presentation="steps"] > .guide-points,
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: repeat(2,minmax(0,1fr));
  gap: 0 clamp(20px,3vw,34px);
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="3"] {
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr);
}
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="2"] {
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: minmax(0,1fr);
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point,
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point,
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point:nth-child(2),
.grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] .guide-point:nth-child(3) {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-content: center;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: clamp(12px,1.5vw,17px) 0;
  color: #f4f4f5;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  background: transparent;
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point::after {
  display: block;
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: clamp(48px,7vw,84px);
  height: 2px;
  background: var(--red);
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point > span {
  width: 32px;
  height: 32px;
}
.grounded-webview[data-presentation="steps"] > .guide-points .guide-point strong {
  font-size: clamp(11px,1.08vw,13px);
  line-height: 1.38;
}

/* Keep the action beat strong without stealing the reading space above it. */
.grounded-webview[data-presentation] > .guide-next-step {
  grid-template-columns: minmax(0,1fr) 190px;
  gap: clamp(22px,3vw,36px);
  padding: 17px 20px 18px 24px;
}
.grounded-webview[data-presentation] .guide-next-copy h3 {
  max-width: 420px;
  font-size: clamp(22px,2vw,27px);
  line-height: 1.05;
}
.grounded-webview[data-presentation] .guide-next-copy > span {
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.4;
}
.grounded-webview[data-presentation] .guide-next-actions {
  min-width: 190px;
  gap: 7px;
}
.grounded-webview[data-presentation] .guide-next-actions button {
  min-height: 44px;
  font-size: 10px;
}

@media (max-height: 760px) and (min-width: 901px) {
  .grounded-webview[data-presentation="steps"] .guide-summary h2 { font-size: clamp(34px,3.5vw,47px); }
  .grounded-webview[data-presentation="steps"] > .guide-points .guide-point { padding-top: 10px; padding-bottom: 10px; }
  .grounded-webview[data-presentation] .guide-next-copy > span { display: none; }
}

@media (width <= 900px) {
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-points,
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-points[data-count="4"] {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 0 14px;
  }
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-points .guide-point {
    grid-template-columns: 28px minmax(0,1fr);
    gap: 8px;
    padding: 9px 0;
  }
  .mobile-guide-host .grounded-webview[data-presentation="steps"] > .guide-points .guide-point > span {
    width: 25px;
    height: 25px;
  }
  .mobile-guide-host .grounded-webview[data-presentation] > .guide-next-step {
    grid-template-columns: 1fr;
  }
}
/* The live product explanation owns the whole left canvas. Legacy presentation
   grids must not size it as a single twelve-column item. */
.grounded-webview.has-structured-guide {
  display: block;
  padding: 0;
  gap: 0;
}

.grounded-webview.has-structured-guide > .product-guide {
  width: 100%;
  height: 100%;
}
