.assistant-page {
  --assistant-dark: #0d2d1c;
  --assistant-darker: #071d12;
  --assistant-wash: #eaf1e8;
}

.assistant-page .site-nav {
  background: rgba(255, 253, 248, .95);
}

.assistant-page .home-section {
  padding: clamp(82px, 8.5vw, 124px) 0;
}

.assistant-hero {
  padding-top: clamp(82px, 9vw, 132px);
}

.assistant-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .72fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.assistant-hero .home-hero-copy {
  width: 100%;
}

.assistant-hero h1 {
  max-width: 900px;
  font-size: var(--type-display-hero);
  line-height: .98;
}

.assistant-hero .home-hero-lead {
  max-width: 810px;
}

.assistant-hero .home-hero-actions {
  flex-wrap: wrap;
}

.assistant-text-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  color: var(--home-green);
  font-weight: 760;
  text-decoration: none;
}

.assistant-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.assistant-hero-note {
  margin: 24px 0 0;
  color: #3d5948;
}

.assistant-hero .home-risk-note {
  margin-top: 9px;
}

.assistant-hero-signal {
  display: grid;
  gap: 24px;
  border: 1px solid var(--home-line);
  padding: clamp(25px, 3.5vw, 42px);
  background: rgba(247, 250, 244, .82);
  box-shadow: 0 38px 90px -64px rgba(9, 39, 25, .75);
}

.assistant-hero-signal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 18px;
  color: var(--home-green-deep);
  font-size: .82rem;
}

.assistant-hero-signal-top > i {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #49a967;
  box-shadow: 0 0 0 5px rgba(73, 169, 103, .12);
}

.assistant-hero-signal-top > span:last-child {
  color: #617269;
  font-size: .72rem;
  font-weight: 750;
}

.assistant-hero-question > span {
  color: #62746a;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.assistant-hero-question strong {
  display: block;
  margin-top: 13px;
  color: var(--home-green-deep);
  font-size: clamp(1.32rem, 2.1vw, 1.85rem);
  line-height: 1.28;
}

.assistant-hero-steps {
  display: grid;
  gap: 0;
}

.assistant-hero-steps > div {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 13px;
  border-left: 1px solid #96ad9d;
  padding: 8px 0 8px 24px;
  color: #52665a;
  font-size: .84rem;
  font-weight: 700;
}

.assistant-hero-steps > div > i {
  position: absolute;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ca968;
  box-shadow: 0 0 0 5px #e6f3e8;
}

.assistant-hero-steps .is-result {
  margin: 5px 0 5px 24px;
  border: 1px solid #9ccfa9;
  padding: 14px 16px;
  background: #e8f6ea;
  color: #1f6737;
}

.assistant-hero-steps .is-result > i {
  left: -30px;
}

.assistant-hero-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--home-line);
  padding-top: 18px;
  color: #68786e;
  font-size: .72rem;
}

.assistant-hero-final strong {
  color: var(--home-green);
  text-align: right;
}

.assistant-product-section {
  background: var(--home-bg);
}

.assistant-product-section .scenario-stage {
  min-height: 0;
  padding: clamp(36px, 4.5vw, 58px);
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(23, 62, 41, .035) 50%, transparent 50.1%),
    #f8faf5;
}

.assistant-product-section .scenario-stage-top {
  margin-bottom: clamp(30px, 3.5vw, 44px);
}

.assistant-product-section .scenario-panel {
  min-height: 500px;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, .68fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

/* Core demo content must be visible on the first paint and without JavaScript. */
.assistant-product-section .scenario-panel.is-active,
.assistant-product-section .scenario-status > span,
.assistant-product-section .scenario-answer {
  opacity: 1;
  transform: none;
  animation: none;
}

.assistant-product-section .scenario-source-card {
  min-height: 420px;
}

.assistant-product-section :is(.scenario-tab, .scenario-tab span, .scenario-brand-mark, .scenario-question, .scenario-source-card) {
  font-family: var(--font-body);
}

.assistant-product-section .scenario-conversation {
  max-width: 790px;
}

.assistant-product-section .scenario-question {
  font-size: clamp(2.35rem, 3.7vw, 3.8rem);
  font-weight: 720;
  line-height: 1.07;
}

.assistant-product-section .scenario-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 32px 0;
}

.assistant-product-section .scenario-status > span {
  min-height: 92px;
  border: 1px solid rgba(23, 62, 41, .13);
  border-top: 3px solid rgba(64, 151, 88, .68);
  padding: 17px 14px;
  background: rgba(255, 255, 255, .72);
  color: #294a36;
  font-size: .91rem;
  line-height: 1.45;
}

.assistant-product-section .scenario-status > span::after {
  top: 32px;
  right: -11px;
  z-index: 2;
  width: 20px;
  background: #f8faf5;
  text-align: center;
}

.assistant-product-section .scenario-answer {
  border: 1px solid rgba(23, 62, 41, .13);
  border-left: 4px solid var(--home-mint-strong);
  padding: 20px 22px;
  background: rgba(255, 255, 255, .66);
}

.assistant-product-section .scenario-answer p {
  margin-top: 9px;
  font-size: 1.06rem !important;
  line-height: 1.6;
}

.assistant-product-section :is(.scenario-demo-label, .scenario-source-type, .scenario-answer-label, .scenario-source-match) {
  font-size: .8rem;
  line-height: 1.45;
}

.scenario-followup {
  width: min(86%, 620px);
  margin: 22px 0 0 auto;
  border: 1px solid rgba(23, 62, 41, .14);
  padding: 14px 17px;
  background: #edf4eb;
}

.scenario-followup span {
  color: #64766b;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scenario-followup p {
  margin: 6px 0 0;
  color: #284331;
  font-size: .88rem !important;
  line-height: 1.52;
}

.assistant-option-card {
  gap: 18px;
}

.assistant-option-card > div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--home-line);
  padding: 18px;
  background: var(--home-paper);
}

.assistant-option-card > div:first-of-type {
  border-color: #6eb782;
  box-shadow: inset 3px 0 0 #75d590;
}

.assistant-option-card > div span,
.assistant-option-card > p {
  color: #66766c;
  font-size: .82rem;
  line-height: 1.55;
}

.assistant-option-card > div b {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  background: #ddf4e3;
  color: #245e38;
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.assistant-more-section {
  background: var(--home-paper);
}

.assistant-journey-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(42px, 6vw, 72px);
  padding: 0;
  list-style: none;
}

.assistant-journey-track li {
  position: relative;
  display: grid;
  gap: 9px;
  border-top: 3px solid #9cc3a5;
  padding: 18px 28px 0 0;
}

.assistant-journey-track li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 12px;
  right: 11px;
  color: #7f9687;
}

.assistant-journey-track span {
  color: #829087;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.assistant-journey-track strong {
  max-width: 200px;
  color: var(--home-green-deep);
  font-size: .9rem;
  line-height: 1.35;
}

.assistant-journey-track li:last-child {
  border-color: var(--home-green);
}

.assistant-journey-track li:last-child strong {
  color: #27643c;
}

.assistant-value-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  gap: 0;
  align-items: stretch;
  border-block: 0;
}

.assistant-value-flow article {
  position: relative;
  min-height: 0;
  border: 0;
  border-top: 3px solid #9cc3a5;
  padding: clamp(30px, 3.5vw, 44px) clamp(10px, 2vw, 26px) 8px;
  background: transparent;
}

.assistant-value-flow article:nth-of-type(2) {
  border-top-color: #69a879;
}

.assistant-value-flow article:last-of-type {
  border-top-color: var(--home-green);
}

.assistant-value-flow > i {
  display: grid;
  width: 38px;
  height: 38px;
  align-self: start;
  justify-self: center;
  margin-top: 28px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  background: var(--home-paper);
  color: #467057;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 800;
  z-index: 2;
}

.assistant-value-flow article > span {
  display: block;
  margin-bottom: 26px;
  color: #84938a;
  font-size: .82rem;
  font-weight: 750;
}

.assistant-value-flow article > strong {
  color: #39734b;
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.assistant-value-flow h3 {
  margin: 13px 0 18px;
  color: var(--home-green-deep);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  line-height: 1.14;
}

.assistant-value-flow p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.68;
}

.assistant-lead-section {
  height: auto;
  min-height: 0;
  color: #f5f8f3;
  background: var(--assistant-dark);
}

.assistant-lead-section .assistant-split {
  grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr);
  gap: clamp(54px, 6vw, 88px);
}

.assistant-split {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  gap: clamp(54px, 8vw, 116px);
  align-items: center;
}

.assistant-section-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-display-section);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.assistant-section-copy > p:not(.home-kicker) {
  color: rgba(255, 255, 255, .69);
  font-size: 1.04rem;
  line-height: 1.72;
}

.assistant-section-copy .assistant-emphasis {
  border-left: 2px solid var(--home-mint-strong);
  padding-left: 20px;
  color: var(--home-mint);
  font-weight: 700;
}

.lead-conversation-canvas {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(1, 14, 8, .28);
  box-shadow: 0 38px 80px -58px rgba(0, 0, 0, .8);
}

.lead-canvas-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lead-flow-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.lead-flow-rail li {
  position: relative;
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(185, 239, 198, .32);
  padding: 15px 8px 0 0;
  color: rgba(255, 255, 255, .54);
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.35;
}

.lead-flow-rail li i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #73d18d;
  box-shadow: 0 0 0 4px rgba(115, 209, 141, .1);
}

.lead-flow-rail li:last-child {
  color: var(--home-mint);
}

.lead-message {
  width: min(90%, 570px);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 17px 20px;
  background: rgba(255, 255, 255, .07);
}

.lead-message-user {
  justify-self: end;
  background: rgba(185, 239, 198, .14);
}

.lead-message small {
  color: var(--home-mint);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead-message p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1rem !important;
  line-height: 1.58;
}

.lead-qualification {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
}

.lead-qualification span,
.lead-crm-confirm small {
  color: rgba(255, 255, 255, .52);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead-qualification strong { color: #fff; }

.lead-crm-confirm {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(117, 213, 144, .42);
  padding: 17px 18px;
  background: rgba(117, 213, 144, .1);
}

.lead-crm-confirm > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--home-mint);
  color: var(--home-green-deep);
  font-weight: 900;
}

.lead-crm-confirm small,
.lead-crm-confirm strong { display: block; }
.lead-crm-confirm strong { margin-top: 3px; }
.lead-crm-confirm strong { font-size: 1.02rem; }

.assistant-live-section {
  position: relative;
  height: auto;
  min-height: 0;
  color: var(--home-ink);
  background: #edf2e9;
}

.assistant-live-section .home-section-head > p:not(.home-kicker) {
  color: var(--home-muted);
}

.assistant-live-section .home-kicker {
  color: #326344;
}

.product-demo,
.lead-conversation-canvas,
.live-system-board,
.context-browser,
.rendering-showcase,
.testcenter-visual {
  font-family: var(--font-body);
}

.live-system-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.live-system-board article {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(23, 62, 41, .16);
  padding: clamp(26px, 3vw, 36px);
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 28px 64px -52px rgba(9, 39, 25, .75);
}

.live-scenario-question {
  min-height: 92px;
}

.live-system-board article div > span {
  color: #61756a;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.live-scenario-question p {
  margin: 9px 0 0;
  color: var(--home-green-deep);
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  font-weight: 720;
  line-height: 1.35;
}

.live-scenario-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(82px, auto);
  align-items: center;
  gap: 10px;
  border-block: 1px solid var(--home-line);
  padding: 18px 0;
}

.live-scenario-route strong,
.live-scenario-route span {
  border: 1px solid #a8c7ae;
  padding: 12px 14px;
  background: #f8fbf6;
  color: var(--home-green);
  font-size: .85rem !important;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.live-scenario-route span {
  border-color: #79b689;
  background: #e2f1e3;
}

.live-scenario-route i {
  color: #71857a;
  font-style: normal;
  text-align: center;
}

.live-scenario-result {
  margin-top: auto;
  display: grid;
  gap: 6px;
  border-left: 3px solid #4ca968;
  padding: 15px 18px;
  background: #e6f1e5;
}

.live-scenario-result strong {
  color: #1f5131;
  font-size: 1rem !important;
  font-weight: 760;
  line-height: 1.45;
}

.live-scenario-result small {
  color: #496555;
  font-size: .84rem;
  font-weight: 650;
}

.live-scenario-answer {
  border-top: 1px solid var(--home-line);
  padding-top: 16px;
}

.live-scenario-answer p {
  margin: 7px 0 0;
  color: #304a38;
  font-size: .94rem !important;
  line-height: 1.55;
}

.assistant-system-missing {
  display: grid;
  grid-template-columns: .5fr 1fr;
  gap: 40px;
  margin-top: 42px;
  border-left: 3px solid #57a96d;
  padding: 10px 0 10px 24px;
}

.assistant-system-missing h3,
.assistant-system-missing p { margin: 0; }
.assistant-system-missing p { color: var(--home-muted); line-height: 1.65; }

.assistant-context-section {
  background: var(--home-paper);
}

.context-browser {
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: #f4f6f1;
  box-shadow: 0 34px 80px -62px rgba(9, 39, 25, .7);
}

.context-browser-bar,
.rendering-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--home-line);
  padding: 13px 17px;
  background: #ecefe9;
}

.context-browser-bar > i,
.rendering-browser-bar > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a9b3ac;
}

.context-browser-bar > span,
.rendering-browser-bar > span {
  margin-left: 10px;
  color: #738078;
  font-size: .78rem;
}

.context-selector,
.rendering-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--home-line);
}

.context-selector button,
.rendering-tabs button {
  border: 0;
  border-right: 1px solid var(--home-line);
  padding: 17px 14px;
  background: transparent;
  color: #65736b;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 750;
}

.context-selector button:last-child,
.rendering-tabs button:last-child { border-right: 0; }
.context-selector button.is-active,
.rendering-tabs button.is-active { background: var(--home-green); color: #fff; }

.context-page-preview {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .62fr);
  gap: clamp(34px, 6vw, 84px);
  min-height: 440px;
  align-items: center;
  padding: clamp(34px, 6vw, 76px);
}

.context-page-copy {
  display: grid;
  gap: 20px;
}

.context-page-copy span {
  color: #567062;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.context-page-copy h3 {
  margin: 2px 0 0;
  color: var(--home-green-deep);
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.context-page-copy > p {
  margin: -8px 0 2px;
  color: #6d7b73;
  font-size: .86rem !important;
}

.context-page-art {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, .55);
}

.context-page-art > div {
  min-height: 190px;
}

.context-page-art > [hidden] {
  display: none;
}

.context-page-art [data-context-art="product"] {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-content: center;
  padding: 28px;
}

.context-product-shape {
  display: block;
  grid-row: 1 / span 3;
  width: 132px;
  height: 132px;
  border-radius: 2px 38px 2px 2px;
  background: linear-gradient(145deg, #b9d0bc, #6b9578);
  box-shadow: inset -20px -18px 0 rgba(255, 255, 255, .16);
}

.context-page-art [data-context-art="product"] i {
  display: block;
  height: 12px;
  align-self: center;
  background: #d5dfd5;
}

.context-page-art [data-context-art="product"] i:first-of-type { width: 84%; height: 34px; background: #c2d2c4; }
.context-page-art [data-context-art="product"] i:last-of-type { width: 62%; }

.context-calendar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: center;
  min-height: 190px;
  padding: 30px;
}

.context-calendar b,
.context-calendar span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--home-line);
  background: #fff;
  color: #617269;
  font-size: .8rem;
}

.context-calendar .is-open {
  border-color: #7db58a;
  background: #dff2e2;
}

.context-parts {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
}

.context-parts span {
  width: 98px;
  height: 98px;
  border: 18px solid #83a98b;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #63866c;
}

.context-parts i {
  position: absolute;
  width: 54px;
  height: 12px;
  background: #c1d0c2;
}

.context-parts i:nth-child(2) { transform: translate(96px, -44px) rotate(-18deg); }
.context-parts i:nth-child(3) { transform: translate(-100px, 35px) rotate(15deg); }
.context-parts i:nth-child(4) { transform: translate(86px, 55px) rotate(22deg); }

.context-assistant {
  border: 1px solid var(--home-line);
  padding: 26px;
  background: var(--home-paper);
  box-shadow: 0 26px 60px -46px rgba(9, 39, 25, .8);
}

.context-assistant .scenario-brand-mark {
  display: grid;
  margin-bottom: 28px;
}

.context-assistant small {
  color: #6a796f;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.context-assistant p {
  margin: 10px 0 0;
  color: var(--home-green-deep);
  font-size: clamp(1.25rem, 2.3vw, 1.8rem) !important;
  font-weight: 700;
  line-height: 1.3;
}

.context-assistant > p {
  padding-bottom: 20px;
}

.context-assistant-answer {
  border-top: 1px solid var(--home-line);
  padding-top: 18px;
}

.context-assistant-answer > span {
  color: #587264;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.context-assistant-answer p {
  margin: 8px 0 0;
  color: #40594a;
  font-size: .9rem !important;
  font-weight: 500;
  line-height: 1.55;
}

.assistant-knowledge-section {
  background: var(--home-bg);
}

.assistant-source-flow {
  grid-template-columns: minmax(0, 1.35fr) 70px 210px 220px;
}

.assistant-broader {
  margin-top: clamp(72px, 8vw, 116px);
}

.granada-mode-label {
  display: block;
  margin-bottom: 10px;
  color: #3f7951 !important;
  font-size: .61rem !important;
  letter-spacing: .1em !important;
}

.assistant-brand-section {
  background: #edf2e9;
}

.assistant-brand-grid {
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr);
}

.assistant-brand-section .assistant-section-copy h2 {
  color: var(--home-green-deep);
}

.assistant-brand-section .assistant-section-copy > p:not(.home-kicker) {
  color: var(--home-muted);
}

.brand-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.brand-controls span {
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .62);
  color: #3d5b48;
  font-size: .8rem;
  font-weight: 720;
}

.rendering-showcase {
  border: 1px solid var(--home-line);
  background: var(--home-paper);
  box-shadow: 0 36px 80px -60px rgba(9, 39, 25, .7);
}

.rendering-tabs button {
  font-size: .86rem;
}

.rendering-site {
  position: relative;
  min-height: 430px;
  padding: 42px;
  background: #f5f6f2;
}

.rendering-site-copy {
  display: grid;
  width: 52%;
  gap: 15px;
}

.rendering-site-copy b,
.rendering-site-copy i {
  display: block;
  height: 13px;
  background: #d9e0d8;
}

.rendering-site-copy b { width: 86%; height: 64px; background: #cbd7cc; }
.rendering-site-copy i:last-child { width: 68%; }

.rendering-assistant {
  display: grid;
  gap: 17px;
  border: 1px solid rgba(23, 62, 41, .18);
  padding: 22px;
  background: #fff;
  color: var(--home-green-deep);
  box-shadow: 0 28px 56px -38px rgba(9, 39, 25, .7);
  transition: width .42s var(--home-ease), inset .42s var(--home-ease), min-height .42s var(--home-ease), border-radius .42s var(--home-ease);
}

.rendering-assistant header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rendering-assistant header span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--home-green);
  color: var(--home-mint);
  font-family: var(--font-display);
}

.rendering-assistant p { margin: 0; font-size: .94rem !important; }
.rendering-assistant small { border: 1px solid var(--home-line); padding: 11px; color: #6f7d74; font-size: .78rem; }

.rendering-assistant.mode-widget {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(285px, calc(100% - 56px));
  border-radius: 16px 16px 4px 16px;
}

.rendering-assistant.mode-inline {
  position: absolute;
  right: 42px;
  bottom: 42px;
  left: 42px;
  width: auto;
  border-radius: 0;
}

.rendering-assistant.mode-open {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  width: 46%;
  align-content: start;
  border-radius: 0;
}

.assistant-control-section {
  color: var(--home-ink);
  background: var(--home-paper);
}

.assistant-control-section .home-section-head > p:not(.home-kicker) {
  color: var(--home-muted);
}

.assistant-control-section .control-copy-item {
  border-color: var(--home-line);
}

.assistant-control-section .control-copy-item > span {
  color: #7b8b81;
}

.assistant-control-section .control-copy-item p {
  color: var(--home-muted);
}

.assistant-control-section .control-copy-item .control-note {
  color: #2f7145;
}

.test-fail {
  background: #f5dede;
  color: #9b3333;
}

.testcenter-row b.failed {
  background: #f5dede;
  color: #9b3333;
}

.assistant-language-section {
  padding: clamp(88px, 11vw, 158px) 0;
  color: #fff;
  background: var(--assistant-dark);
}

.assistant-language-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: clamp(50px, 8vw, 116px);
  align-items: center;
}

.assistant-language-grid h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-display-section);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.assistant-language-grid p:not(.home-kicker) {
  color: rgba(255, 255, 255, .68);
  line-height: 1.72;
}

.language-orbit {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.language-orbit span,
.language-orbit strong {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .05);
  font-size: 1.02rem;
}

.language-orbit strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 166px;
  background: var(--home-mint);
  color: var(--home-green-deep);
  font-family: var(--font-display);
  font-size: 4rem;
}

.assistant-start-section {
  background: #e6eee5;
}

.assistant-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .76fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.assistant-start-copy h2 {
  max-width: 740px;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-display-section);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.assistant-start-copy > p:not(.home-kicker) {
  max-width: 670px;
  color: var(--home-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.assistant-price {
  display: grid;
  margin: 34px 0 22px;
}

.assistant-price span {
  color: #68786e;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.assistant-price strong {
  color: var(--home-green);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: 1;
}

.assistant-start-copy ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assistant-start-copy li {
  position: relative;
  padding-left: 20px;
  color: #385340;
  font-size: .88rem;
  font-weight: 680;
}

.assistant-start-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #388653;
  font-weight: 900;
}

.assistant-demo-card {
  border: 1px solid var(--home-line);
  background: var(--home-paper);
  box-shadow: 0 40px 80px -60px rgba(9, 39, 25, .75);
}

.assistant-platform-section {
  background: var(--home-paper);
}

.assistant-next-list {
  display: grid;
  border-block: 1px solid var(--home-line);
}

.assistant-next-list a {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--home-line);
  padding: clamp(28px, 4vw, 46px) 0;
  color: inherit;
  text-decoration: none;
  transition: padding .3s var(--home-ease), background .3s ease;
}

.assistant-next-list a:last-child { border-bottom: 0; }
.assistant-next-list a:hover { padding-inline: 18px; background: #edf3eb; }
.assistant-next-list a > span { color: #7e8d84; font-size: .78rem; }
.assistant-next-list h3 { margin: 0; color: var(--home-green-deep); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.assistant-next-list p { margin: 8px 0 0; color: var(--home-muted); }
.assistant-next-list b { color: #357048; font-size: .86rem; }

@media (max-width: 1120px) {
  .assistant-hero-grid,
  .assistant-split,
  .assistant-lead-section .assistant-split,
  .assistant-language-grid,
  .assistant-start-grid {
    grid-template-columns: 1fr;
  }

  .assistant-hero-signal,
  .lead-conversation-canvas,
  .rendering-showcase,
  .language-orbit,
  .assistant-demo-card {
    width: min(720px, 100%);
    margin-left: auto;
  }

  .assistant-brand-grid {
    grid-template-columns: 1fr;
  }

  .assistant-source-flow {
    grid-template-columns: minmax(0, 1fr) 54px 205px;
  }

  .assistant-source-flow .source-flow-output {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .assistant-value-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .assistant-value-flow article,
  .assistant-value-flow article:first-child,
  .assistant-value-flow article:last-child {
    min-height: 0;
    border-top: 0;
    border-left: 3px solid #9cc3a5;
    padding: 18px 0 30px 28px;
  }

  .assistant-value-flow article:nth-of-type(2) { border-left-color: #69a879; }
  .assistant-value-flow article:last-of-type { border-left-color: var(--home-green); }

  .assistant-value-flow > i {
    display: grid;
    width: 38px;
    height: 38px;
    justify-self: start;
    margin: -1px 0 -1px -18px;
    transform: rotate(90deg);
  }

  .live-system-board article {
    min-height: 310px;
  }

  .assistant-product-section .scenario-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .assistant-product-section .scenario-source-card {
    min-height: 280px;
  }

  .context-page-preview {
    grid-template-columns: 1fr;
  }

  .context-assistant {
    width: min(430px, 100%);
    margin-left: auto;
  }

  .assistant-system-missing {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .assistant-hero h1 {
    font-size: var(--type-display-hero-mobile);
    line-height: .98;
  }

  .assistant-hero-signal {
    margin-top: 8px;
  }

  .assistant-product-section .scenario-stage {
    min-height: 0;
    padding: 28px;
  }

  .assistant-product-section .scenario-source-card {
    min-height: 250px;
  }

  .assistant-product-section .scenario-status {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .assistant-product-section .scenario-status > span {
    min-height: 58px;
    align-items: center;
    border-top-width: 1px;
    border-left: 3px solid rgba(64, 151, 88, .68);
    padding: 13px 15px;
  }

  .assistant-product-section .scenario-status > span::after {
    top: auto;
    right: auto;
    bottom: -14px;
    left: 24px;
    transform: rotate(90deg);
  }

  .assistant-journey-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .assistant-journey-track li {
    min-height: 70px;
    border-top: 0;
    border-left: 3px solid #9cc3a5;
    padding: 10px 0 18px 24px;
  }

  .assistant-journey-track li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -2px;
    left: -7px;
  }

  .assistant-value-flow article,
  .assistant-value-flow article:first-child,
  .assistant-value-flow article:last-child { padding: 16px 0 28px 26px; }

  .assistant-section-copy h2,
  .assistant-language-grid h2,
  .assistant-start-copy h2 {
    font-size: var(--type-display-section-mobile);
  }

  .lead-conversation-canvas {
    padding: 20px;
  }

  .lead-flow-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }

  .live-system-board { grid-template-columns: 1fr; }

  .live-system-board article {
    min-height: 0;
    gap: 16px;
    padding: 25px;
  }

  .live-scenario-question { min-height: 0; }

  .context-selector,
  .rendering-tabs {
    display: flex;
    overflow-x: auto;
  }

  .context-selector button,
  .rendering-tabs button {
    flex: 0 0 auto;
    min-width: 165px;
  }

  .context-page-preview {
    min-height: 0;
    padding: 28px;
  }

  .assistant-source-flow {
    grid-template-columns: 1fr;
  }

  .assistant-source-flow .source-flow-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 14px 0;
    scroll-snap-type: x mandatory;
  }

  .assistant-source-flow .source-flow-list article,
  .assistant-source-flow .source-flow-list article:last-child {
    flex: 0 0 min(78vw, 360px);
    border: 1px solid var(--home-line);
    padding: 22px;
    background: rgba(255, 253, 248, .62);
    scroll-snap-align: start;
  }

  .assistant-source-flow .source-flow-output {
    grid-column: 1;
  }

  .rendering-site {
    min-height: 420px;
    padding: 28px;
  }

  .rendering-assistant.mode-inline {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .rendering-assistant.mode-open {
    top: 24px;
    right: 24px;
    bottom: 24px;
    width: 58%;
  }

  .language-orbit {
    width: 100%;
  }

  .assistant-start-copy ul {
    grid-template-columns: 1fr;
  }

  .assistant-next-list a {
    grid-template-columns: 44px 1fr;
  }

  .assistant-next-list a > b {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .assistant-hero-grid {
    gap: 46px;
  }

  .assistant-hero .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .assistant-text-link {
    justify-content: center;
  }

  .assistant-product-section .scenario-stage {
    min-height: 0;
    padding: 20px;
  }

  .assistant-product-section .scenario-stage-top {
    margin-bottom: 28px;
  }

  .assistant-product-section .scenario-question {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .assistant-product-section .scenario-answer {
    padding: 17px 18px;
  }

  .lead-message {
    width: 100%;
    padding: 15px 16px;
  }

  .lead-flow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-scenario-route {
    grid-template-columns: 1fr 28px minmax(78px, auto);
  }

  .live-scenario-route strong,
  .live-scenario-route span {
    padding: 11px 10px;
    font-size: .78rem !important;
  }

  .context-page-preview {
    min-height: 0;
    padding: 22px;
  }

  .context-page-art [data-context-art="product"] {
    grid-template-columns: 92px 1fr;
    gap: 16px;
    padding: 22px;
  }

  .context-product-shape {
    width: 88px;
    height: 112px;
  }

  .rendering-site {
    min-height: 390px;
    padding: 22px;
  }

  .rendering-site-copy {
    width: 72%;
  }

  .rendering-assistant.mode-widget {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
  }

  .rendering-assistant.mode-inline {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .rendering-assistant.mode-open {
    top: 18px;
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    background: rgba(255, 255, 255, .96);
  }

  .language-orbit {
    grid-template-columns: 1fr 1fr;
  }

  .language-orbit strong {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 100px;
  }

  .assistant-next-list a:hover {
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rendering-assistant,
  .assistant-next-list a {
    transition: none;
  }
}
