/* The compact consultation and mobile reading layer sits after the base design. */
.advisor-section { background: #f1f2ed; }
.advisor-card {
  border-color: #d7dfd5;
  background: #fff;
  box-shadow: 0 20px 60px rgba(25, 49, 32, .07);
}
.advisor-mark {
  border-radius: 10px;
  background: #214b34;
  color: #f2f8ef;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.08em;
}
.advisor-identity strong { font-size: 15px; }
.advisor-identity small { font-size: 12px; color: #607166; }
.advisor-message { font-size: 15px; line-height: 1.55; }
.advisor-message-bot { background: #f0f4ee; color: #1d3526; }
.advisor-message-user { background: #173e2b; }
.advisor-quick button { font-size: 13px; padding: 10px 13px; }
.advisor-form textarea { font-size: 16px; }
.advisor-footer span { font-size: 12px; }
.advisor-footer a { font-size: 14px; }
.advisor-quote {
  width: min(100%, 590px);
  padding: 18px;
  border: 1px solid #c9d9c9;
  border-radius: 16px;
  background: #f7faf5;
  color: #203928;
}
.advisor-quote-title {
  display: block;
  margin-bottom: 6px;
  color: #507259;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.advisor-quote-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid #dce7dc;
}
.advisor-quote-option strong { align-self: end; font-size: 16px; line-height: 1.25; }
.advisor-quote-option b { align-self: end; white-space: nowrap; font-size: 19px; line-height: 1.15; letter-spacing: -.035em; }
.advisor-quote-option span { grid-column: 1 / -1; color: #5f7263; font-size: 13px; line-height: 1.45; }
.advisor-quote p { margin: 13px 0 0; color: #657568; font-size: 12px; line-height: 1.5; }

@media (max-width: 680px) {
  html { scroll-padding-top: 15px; }
  body { overflow-x: hidden; font-size: 16px; }
  .container { width: min(100% - 40px, 560px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 25px; }
  .brand-caption { display: none; }
  .hero { padding-top: 64px; }
  .hero-layout { padding-top: 16px; }
  .hero-copy { padding: 26px 0 0; }
  .eyebrow { font-size: 11px; letter-spacing: .095em; }
  .hero h1 { max-width: 520px; margin: 18px 0 16px; font-size: clamp(38px, 9vw, 47px); line-height: 1.05; letter-spacing: -.063em; }
  .hero-copy > p { max-width: 38ch; font-size: 16px; line-height: 1.55; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .hero-actions .button, .hero-secondary { width: 100%; min-height: 52px; justify-content: center; font-size: 15px; }
  .hero-secondary { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid rgba(228, 241, 229, .46); border-radius: 11px; text-decoration: none; }
  .hero-assurance { margin-top: 18px; gap: 5px 12px; }
  .hero-assurance span, .hero-assurance span:first-child { padding: 0; border: 0; color: #bed0c4; font-size: 12px; }
  .hero-assurance span:nth-child(2) { display: none; }
  .hero-proof-stage { height: 315px; margin-top: 26px; }
  .hero-proof-eyebrow { top: 0; font-size: 11px; }
  .hero-proof-video { top: 30px; height: 220px; }
  .hero-proof-video-caption { right: 16px; bottom: 15px; width: 55%; }
  .hero-proof-video-caption small { font-size: 10px; }
  .hero-proof-video-caption strong { font-size: 20px; }
  .hero-proof-video-caption > span { font-size: 12px; }
  .hero-proof-finance { min-height: 96px; padding: 15px 17px; }
  .hero-proof-finance small, .hero-proof-finance span { font-size: 11px; }
  .hero-proof-finance strong { font-size: 18px; }
  .hero-foot { display: none; }

  .examples-section, .services-section, .pricing-section, .advisor-section,
  .process-section, .faq-section, .contact-section { padding: 62px 0 70px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2, .pricing-heading h2, .advisor-intro h2, .faq-heading h2,
  .contact-section h2 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.08; letter-spacing: -.055em; }
  .section-heading p, .pricing-heading p, .advisor-intro > p,
  .contact-bottom p { font-size: 16px; line-height: 1.55; }
  .section-kicker { font-size: 11px; }

  .real-work-grid { gap: 18px; margin-bottom: 28px; }
  .real-work-top { padding: 13px 17px; font-size: 10px; }
  .real-work-visual { height: 205px; }
  .real-work-body { min-height: 0; padding: 21px; }
  .real-work-body h3 { font-size: 23px; line-height: 1.18; }
  .real-work-body p { font-size: 15px; line-height: 1.55; }
  .work-links { padding-top: 18px; }
  .work-links a { font-size: 14px; }
  .compact-demo { padding: 20px; }
  .compact-demo p { font-size: 15px; }
  .compact-demo > a { font-size: 14px; }
  .concept-copy { padding: 26px 22px 29px; }
  .concept h3 { margin: 18px 0 12px; font-size: 30px; }
  .concept-copy > p { font-size: 15px; line-height: 1.55; }
  .concept-copy > a { font-size: 14px; }
  .concept-medicine .atlas-app { display: none; }
  .atlas-image { height: 265px; }
  .atlas-image img { height: 250px; }
  .atlas-info { padding: 21px; }
  .atlas-info h4 { margin: 10px 0 6px; }
  .atlas-info p { font-size: 15px; }
  .atlas-regions button { min-height: 42px; font-size: 12px; }

  .services-grid { gap: 10px; }
  .service-card { min-height: 0; padding: 19px 20px; border-radius: 16px; }
  .service-art { display: none; }
  .service-card h3 { margin: 13px 0 6px; font-size: 22px; }
  .service-card p { margin: 0; font-size: 15px; line-height: 1.5; }
  .service-card small { display: none; }
  .service-card-top { font-size: 11px; }

  .pricing-heading { gap: 13px; margin-bottom: 22px; }
  .pricing-heading h2 { margin-top: 15px; }
  .pricing-card { padding: 19px 21px; border-radius: 16px; }
  .pricing-card > span { font-size: 10px; }
  .pricing-card h3 { margin: 12px 0 6px; font-size: 22px; }
  .pricing-card p { margin: 0 0 13px; font-size: 15px; line-height: 1.5; }
  .pricing-card div { padding-top: 11px; }
  .pricing-card strong { font-size: 22px; }
  .pricing-card small { font-size: 13px; }
  .pricing-bottom { font-size: 14px; line-height: 1.5; }
  .pricing-bottom a { font-size: 15px; }

  .advisor-layout { display: block; }
  .advisor-intro { padding: 0; }
  .advisor-intro h2 { margin: 16px 0 12px; }
  .advisor-intro > p { margin: 0 0 23px; }
  .advisor-assurance { display: none; }
  .advisor-card { border-radius: 18px; box-shadow: 0 12px 35px rgba(25, 49, 32, .06); }
  .advisor-head { padding: 15px 17px; }
  .advisor-identity strong { font-size: 16px; }
  .advisor-identity small { font-size: 12px; }
  .advisor-messages { min-height: 0; max-height: none; overflow: visible; padding: 18px 16px 10px; gap: 10px; }
  .advisor-message { max-width: 95%; padding: 13px 15px; border-radius: 13px; font-size: 16px; line-height: 1.5; }
  .advisor-quick { flex-wrap: nowrap; overflow-x: auto; padding: 10px 16px 16px; gap: 7px; scrollbar-width: none; }
  .advisor-quick::-webkit-scrollbar { display: none; }
  .advisor-quick button { flex: none; min-height: 42px; font-size: 13px; white-space: nowrap; }
  .advisor-form { margin: 0 16px 16px; }
  .advisor-form textarea { min-height: 48px; font-size: 16px; line-height: 1.45; }
  .advisor-form button { width: 46px; height: 46px; }
  .advisor-footer { align-items: stretch; padding: 0 16px 18px; gap: 11px; }
  .advisor-footer span { font-size: 12px; line-height: 1.45; }
  .advisor-footer a { display: flex; justify-content: center; width: 100%; padding: 13px 17px; border: 1px solid #b9d0bc; border-radius: 10px; font-size: 15px; text-decoration: none; }
  .advisor-quote { width: 100%; padding: 15px; }
  .advisor-quote-option { grid-template-columns: 1fr; gap: 4px; }
  .advisor-quote-option strong { font-size: 16px; }
  .advisor-quote-option b { font-size: 22px; }
  .advisor-quote-option span { font-size: 13px; }
  .advisor-quote p { font-size: 12px; }

  .process-heading { margin-bottom: 24px; }
  .process-grid { gap: 12px; }
  .process-step { padding: 18px 0; }
  .process-step > span { margin-bottom: 11px; }
  .process-step h3 { margin: 0 0 7px; font-size: 21px; }
  .process-step p { margin: 0; font-size: 15px; line-height: 1.5; }
  .process-agreement strong, .process-agreement span { font-size: 14px; }
  .faq-list summary { padding: 18px 0; font-size: 16px; line-height: 1.4; }
  .faq-list p { font-size: 15px; line-height: 1.55; }
  .contact-section h2 { margin: 15px 0 30px; }
  .contact-bottom > div, .contact-bottom .button { width: 100%; }
  .contact-bottom small { font-size: 12px; }
}

/* The assistant has one invitation on the page and a dedicated conversation view. */
.advisor-section { background: #eef1ea; }
.advisor-layout { align-items: center; gap: 5%; grid-template-columns: 43% 52%; }
.advisor-intro { padding: 0; }
.advisor-intro h2 { margin: 22px 0 15px; }
.advisor-intro > p { max-width: 36ch; margin: 0; font-size: 16px; line-height: 1.55; }
.advisor-entry { min-width: 0; }
.advisor-launch {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 12px 15px 12px 21px;
  border: 1px solid transparent;
  border-radius: 29px;
  background: linear-gradient(#14271e, #14271e) padding-box, linear-gradient(110deg, #4c8063, #c3e8c9, #4c8063) border-box;
  background-size: 100% 100%, 250% 250%;
  color: #f7fff5;
  box-shadow: 0 18px 40px rgba(21, 54, 35, .16);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
  animation: advisor-edge 8s ease-in-out infinite;
}
.advisor-launch:hover { transform: translateY(-3px); box-shadow: 0 23px 45px rgba(21, 54, 35, .22); }
.advisor-launch:active { transform: translateY(0); }
.advisor-orbit { display: grid; flex: none; place-items: center; color: #b7edca; }
.advisor-orbit svg { display: block; width: 36px; height: 36px; filter: drop-shadow(0 0 9px rgba(171, 237, 189, .34)); animation: advisor-breathe 4s ease-in-out infinite; }
.advisor-launch-copy { display: grid; gap: 4px; min-width: 0; margin-left: 16px; }
.advisor-launch-copy strong { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.advisor-launch-copy small { color: #b9cfc0; font-size: 13px; line-height: 1.25; }
.advisor-launch-arrow { display: grid; flex: none; place-items: center; width: 48px; height: 48px; margin-left: auto; border-radius: 16px; background: rgba(220, 250, 223, .13); color: #dbf5df; font-size: 23px; }
.advisor-entry-note { margin: 13px 3px 0; color: #6a7b6d; font-size: 13px; line-height: 1.4; }

.advisor-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e7eee8;
  color: #173529;
  color-scheme: only light;
}
.advisor-dialog::backdrop { background: rgba(12, 29, 19, .72); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.advisor-dialog-shell { display: flex; flex-direction: column; width: min(100%, 920px); height: 100%; min-height: 0; margin: 0 auto; background: #f9fbf8; box-shadow: 0 0 70px rgba(18, 50, 28, .1); }
.advisor-dialog .advisor-head { flex: none; min-height: 83px; padding: 15px 24px; background: rgba(255, 255, 255, .96); }
.advisor-dialog .advisor-mark { width: 46px; height: 46px; border-radius: 15px; background: #173d2b; }
.advisor-dialog .advisor-mark svg { width: 29px; height: 29px; }
.advisor-dialog .advisor-identity strong { font-size: 17px; letter-spacing: -.025em; }
.advisor-dialog .advisor-identity small { font-size: 12px; }
.advisor-close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid #dae4da; border-radius: 50%; background: #f3f6f1; color: #385c44; font-size: 29px; font-weight: 300; line-height: 1; }
.advisor-close:hover { background: #e4eee5; }
.advisor-dialog .advisor-messages { position: relative; flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; padding: 29px 32px; gap: 16px; }
.advisor-empty { align-self: center; width: min(100%, 450px); margin: auto; padding: 24px 0 38px; text-align: center; }
.advisor-empty-orbit { width: 68px; height: 68px; margin: 0 auto 21px; border-radius: 23px; background: #1f4732; }
.advisor-empty-orbit svg { width: 42px; height: 42px; }
.advisor-empty h3 { margin: 0 0 10px; font-size: clamp(27px, 3vw, 37px); letter-spacing: -.055em; }
.advisor-empty p { max-width: 38ch; margin: 0 auto; color: #617469; font-size: 16px; line-height: 1.55; }
.advisor-dialog .advisor-message { max-width: min(84%, 590px); font-size: 16px; line-height: 1.55; }
.advisor-dialog .advisor-quote { flex: none; }
.advisor-dialog .advisor-quick { flex: none; padding: 0 32px 13px; }
.advisor-dialog .advisor-quick button { min-height: 41px; font-size: 13px; }
.advisor-dialog-bottom { flex: none; padding: 14px 23px 15px; border-top: 1px solid #dfe8de; background: #fff; }
.advisor-dialog .advisor-form { align-items: center; min-height: 62px; margin: 0; padding: 7px 7px 7px 13px; border: 1px solid #2c513c; border-radius: 20px; background: #183526; box-shadow: 0 5px 15px rgba(23, 60, 38, .12); }
.advisor-dialog .advisor-form:focus-within { border-color: #91cda2; box-shadow: 0 0 0 4px rgba(80, 145, 99, .14); }
.advisor-dialog .advisor-form textarea { min-height: 40px; max-height: 110px; padding: 9px 8px; resize: none; color: #fff; font-size: 16px; line-height: 1.4; }
.advisor-dialog .advisor-form textarea::placeholder { color: #b4c7b8; opacity: 1; }
.advisor-dialog .advisor-form button { width: 46px; height: 46px; border-radius: 14px; background: #c2ecc6; color: #143823; font-size: 25px; font-weight: 650; }
.advisor-dialog .advisor-form button:hover { background: #e0f6df; }
.advisor-dialog .advisor-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; padding: 10px 2px 0; }
.advisor-dialog .advisor-footer span { color: #7d8e80; font-size: 12px; }
.advisor-dialog .advisor-footer a { display: inline; width: auto; padding: 0; border: 0; color: #27623d; font-size: 13px; font-weight: 760; text-decoration: underline; text-underline-offset: 4px; }
body.advisor-open { overflow: hidden; }

@keyframes advisor-edge { 50% { background-position: 0 0, 100% 50%; } }
@keyframes advisor-breathe { 50% { transform: scale(1.11) rotate(7deg); opacity: .77; } }

@media (max-width: 680px) {
  .advisor-section { padding: 67px 0 76px; }
  .advisor-layout { display: block; }
  .advisor-intro h2 { margin: 15px 0 12px; font-size: clamp(33px, 8.8vw, 42px); }
  .advisor-intro > p { margin: 0 0 23px; font-size: 16px; }
  .advisor-launch { min-height: 80px; padding: 10px 11px 10px 15px; border-radius: 23px; }
  .advisor-orbit svg { width: 31px; height: 31px; }
  .advisor-launch-copy { margin-left: 12px; }
  .advisor-launch-copy strong { font-size: 16px; }
  .advisor-launch-copy small { font-size: 12px; }
  .advisor-launch-arrow { width: 43px; height: 43px; border-radius: 14px; font-size: 21px; }
  .advisor-entry-note { margin-top: 12px; font-size: 12px; }
  .advisor-dialog { background: #f9fbf8; }
  .advisor-dialog-shell { box-shadow: none; }
  .advisor-dialog .advisor-head { min-height: 76px; padding: calc(11px + env(safe-area-inset-top)) 17px 12px; }
  .advisor-dialog .advisor-mark { width: 42px; height: 42px; }
  .advisor-dialog .advisor-identity strong { font-size: 16px; }
  .advisor-dialog .advisor-identity small { font-size: 12px; }
  .advisor-close { width: 40px; height: 40px; }
  .advisor-dialog .advisor-messages { padding: 22px 17px; gap: 13px; }
  .advisor-empty { padding: 15px 9px 35px; }
  .advisor-empty-orbit { width: 63px; height: 63px; }
  .advisor-empty-orbit svg { width: 38px; height: 38px; }
  .advisor-empty p { font-size: 15px; }
  .advisor-dialog .advisor-message { max-width: 94%; font-size: 16px; }
  .advisor-dialog .advisor-quick { padding: 0 17px 11px; flex-wrap: nowrap; overflow-x: auto; }
  .advisor-dialog .advisor-quick button { flex: none; }
  .advisor-dialog-bottom { padding: 11px 13px calc(12px + env(safe-area-inset-bottom)); }
  .advisor-dialog .advisor-form { min-height: 58px; border-radius: 19px; }
  .advisor-dialog .advisor-form textarea { min-height: 38px; }
  .advisor-dialog .advisor-form button { width: 43px; height: 43px; }
  .advisor-dialog .advisor-footer span { font-size: 11px; }
  .advisor-dialog .advisor-footer a { font-size: 14px; }
  .advisor-dialog .advisor-quote { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .advisor-launch, .advisor-orbit svg { animation: none; }
  .advisor-launch { transition: none; }
}

/* Portfolio previews read as two separate, aligned examples at rest. */
.hero-proof-stage { display: flex; flex-direction: column; gap: 14px; height: auto; padding-top: 39px; }
.hero-proof-eyebrow { top: 7px; right: auto; left: 0; }
.hero-proof-video { position: relative; top: auto; right: auto; flex: none; width: 100%; height: 312px; }
.hero-proof-finance { position: relative; left: auto; bottom: auto; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 7px 16px; flex: none; width: 100%; min-height: 135px; padding: 19px 23px; }
.hero-proof-finance small { grid-column: 1 / -1; }
.hero-proof-finance strong { grid-column: 1; max-width: none; font-size: 23px; }
.hero-proof-finance span { grid-column: 2; align-self: end; white-space: nowrap; }
.examples-section { padding-top: 73px; }

@media (max-width: 680px) {
  .hero-proof-stage { height: auto; gap: 11px; margin-top: 21px; padding-top: 28px; }
  .hero-proof-eyebrow { top: 2px; }
  .hero-proof-video { top: auto; right: auto; height: 220px; }
  .hero-proof-finance { left: auto; right: auto; bottom: auto; width: 100%; min-height: 112px; padding: 14px 17px; border-radius: 16px; }
  .hero-proof-finance strong { font-size: 17px; }
  .hero-proof-finance small, .hero-proof-finance span { font-size: 10px; }
  .examples-section { padding-top: 62px; }
}
