/* Desktop composition and working document. */
.nav-short { display:none; }
.offer-intro h1 span { white-space:nowrap; }
.opening {
  display:grid;
  grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);
  align-items:center;
  gap:clamp(32px,5vw,88px);
  padding-block:clamp(36px,4.6vw,72px);
  border-bottom:1px solid var(--line);
}
.opening .offer-intro.hero {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:0;
  min-height:0;
  padding:0;
}
.offer-intro.hero:has([data-request]) h1 {
  font-size:clamp(38px,3.8vw,60px);
  line-height:1.04;
  letter-spacing:-.055em;
  align-self:auto;
  max-width:15ch;
  text-wrap:balance;
}
.offer-intro.hero:has([data-request]) p {
  margin:22px 0 28px;
  max-width:39ch;
  color:#524f47;
  font-size:clamp(17px,1.3vw,21px);
  line-height:1.55;
}
.offer-intro>.btn { min-height:46px; padding-inline:21px; }
.case-demo {
  color:#33332f;
  background:#fffefa;
  border:1px solid #c9c0a7;
  border-radius:9px;
  box-shadow:0 6px 22px #4f42100c;
}
.case-bar {
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px clamp(16px,1.65vw,26px);
  background:#f4cd62;
  border-radius:8px 8px 0 0;
  font-size:14px;
}
.case-bar>b { color:#982a1d; font-size:18px; }
.case-bar small { margin-left:auto; color:#55462d; font-size:12px; }
.case-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:22px clamp(16px,1.65vw,26px) 14px;
}
.case-heading p { font-size:13px; color:#655f50; margin:0 0 5px; }
.case-heading h2 { font-size:clamp(23px,2vw,32px); letter-spacing:-.04em; }
.case-heading #play-contract {
  min-height:38px;
  min-width:0;
  margin:0;
  padding:6px 10px;
  border:1px solid #c8c2b0;
  font-size:13px;
  background:transparent;
}
.stage-selector {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:0 clamp(16px,1.65vw,26px);
  border-bottom:1px solid #c9c3b6;
}
.stage-selector button {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:9px 2px;
  background:transparent;
  font:600 clamp(13px,1vw,15px)/1.2 Golos,Arial,sans-serif;
  color:#6e685c;
  border-bottom:3px solid transparent;
}
.stage-selector button[aria-pressed=true] { color:#342e20; border-bottom-color:#a47a14; }
.stage-selector .stage-clock { position:static; width:22px; height:22px; margin:0; flex:none; }
.stage-selector .stage-clock .track { fill:transparent; stroke:#a29c8e; }
.stage-selector [aria-pressed=true] .track { fill:#f9e9b7; }
.stage-selector [aria-pressed=true] .elapsed { opacity:1; }
.stage-selector .stage-clock .selected-dot { fill:transparent; stroke:none; }
.stage-selector [aria-pressed=true] .stage-clock .selected-dot { fill:#805f12; }
.case-demo #paper { display:grid; }
.case-panel {
  grid-area:1/1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:19px clamp(16px,1.65vw,26px) 22px;
}
.case-panel[hidden] { display:flex!important; visibility:hidden; pointer-events:none; }
.responsibility { display:flex; justify-content:space-between; width:100%; align-items:center; font-size:13px; color:#625a48; }
.responsibility time { font-variant-numeric:tabular-nums; }
.case-panel h3 { margin:4px 0 15px; font-size:20px; }
.terms {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-self:stretch;
  border:1px solid #ddd8c9;
  border-radius:4px;
  background:#faf8f0;
}
.terms>div { padding:9px 12px 11px; }
.terms>div+div { border-left:1px solid #ddd8c9; }
.terms dt { color:#615c4e; font-size:12px; }
.terms dd { margin:2px 0 0; font:normal clamp(18px,1.7vw,27px)/1.2 Georgia,serif; }
[data-copy="1"] .terms>div:first-child { background:#fff1be; }
[data-copy="2"] .terms>div:last-child { background:#e7eee7; }
.case-panel p { font-size:15px; line-height:1.48; margin:14px 0; }
.case-panel .doc-open {
  margin-top:auto;
  min-height:36px;
  padding:6px 0;
  background:transparent;
  border:0;
  border-radius:0;
  text-decoration:underline;
  text-decoration-color:#a99c7d;
  text-underline-offset:4px;
}
.case-panel:not([hidden]) h3 { animation:reveal .16s ease-out; }
.service-paths { padding-block:clamp(32px,3.5vw,60px); }
.paths-list a { padding-inline:0; }
.paths-list b { font-weight:400; }
.relay {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:8%;
  align-items:center;
  padding:clamp(24px,3vw,48px);
  color:#fffdf6;
  background:#323530;
}
.relay h2 { font-size:clamp(28px,2.8vw,44px); letter-spacing:-.045em; }
.relay-copy p { max-width:42ch; margin-top:10px; color:#ecebe3; font-size:18px; }
.relay-choices { padding-left:clamp(18px,3vw,48px); border-left:1px solid #77796d; }
.relay-choices p { color:#e2e2d6; font-size:14px; }
.relay-choices>div { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:5px; }
.relay-choices a { display:inline-flex; align-items:center; gap:12px; padding:6px 0; font-weight:600; border-bottom:1px solid #bdbdab; }
.relay-choices a:hover { color:#f6d77c; text-decoration:none; }
.story { transition:box-shadow .15s; }
.story:hover { box-shadow:inset 0 -3px #f4cd62; }
.story:nth-child(2):hover { box-shadow:inset 0 -3px #aac8b6; }
.guide.reading,.partner-route { max-width:min(1140px,89.72%); padding-block:32px 48px; }
.guide .guide-subject { font-size:14px; font-weight:600; margin:28px 0 8px; color:#70591c; }
.guide:has(.guide-link[href*="baza-s-ii"]) .guide-subject { color:#37604f; }
.guide h1 { max-width:29ch; margin:8px 0 16px; font-size:clamp(32px,3.15vw,50px); }
.guide .guide-intro { max-width:63ch; color:var(--mid); }
.guide-grid,.partner-layout { display:grid; grid-template-columns:minmax(0,1.42fr) minmax(0,1fr); gap:7%; margin-top:30px; align-items:start; }
.guide-text h2:first-child { margin-top:0; }
.guide-text p,.field-note dd,.partner-layout dd { font-size:16px; line-height:1.6; }
.field-note { background:#edeade; border-top:3px solid #d6b353; padding:22px; }
.guide:has(.guide-link[href*="baza-s-ii"]) .field-note { background:#e9ede5; border-color:#839c88; }
.field-note small { font-size:13px; }
.field-note h2 { margin:5px 0 20px; font:normal 26px/1.18 Georgia,serif; }
.field-note dt { margin:14px 0 4px; font-weight:600; }
.field-note blockquote { margin:0 0 18px; padding-left:14px; border-left:2px solid #91a891; font:20px/1.35 Georgia,serif; }
.field-note blockquote small { margin:0 0 6px; font:13px/1.4 Golos,sans-serif; color:#4d6655; }
.guide-link { display:inline-block; margin-top:30px; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.back-link,.guide>a:first-child { color:var(--mid); }
.partner-layout { grid-template-columns:1fr 1fr; margin:32px 0 12px; }
.partner-layout h1 { max-width:17ch; }
.partner-layout h2 { font-size:25px; }
.partner-layout p { margin:16px 0 22px; max-width:42ch; font-size:19px; }
.partner-layout dl { margin:14px 0; }
.partner-layout dl>div { padding:13px 0; border-top:1px solid var(--line); }
.partner-layout dt { font-weight:600; margin-bottom:3px; }
.demo-topics { border:0; margin:6px 0; padding:0; display:grid; gap:3px; }
.demo-topics legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.demo-topics label { display:flex; gap:8px; align-items:center; width:fit-content; background:white; color:#33332f; border-radius:5px; padding:8px 12px; font-size:14px; cursor:pointer; }
.demo-topics input { accent-color:#386966; }
[data-channel=mx] .demo-topics label { background:#38354a; color:white; }
[data-channel=mx] .demo-topics input { accent-color:#c6a7e6; }
.robomax-page .product {
  background:#eeebe1;
  color:#33332f;
  padding:clamp(20px,2.3vw,36px) 0 clamp(36px,4vw,60px);
}
.robomax-page .product-head {
  grid-template-columns:1fr minmax(0,1fr) auto;
  border-bottom:1px solid #c4beb0;
  padding-bottom:20px;
}
.robomax-page .product-head h2 { font-size:clamp(26px,2.5vw,38px); }
.robomax-page .product-head p { color:#534f45; font-size:16px; max-width:43ch; }
.robomax-page .max-link { border:1px solid #c3beaf; }
.robomax-page .product-grid {
  grid-template-columns:minmax(0,1fr) minmax(42px,8%) minmax(0,.86fr);
  column-gap:3%;
  align-items:start;
}
.channel-head { flex-wrap:wrap; gap:8px 22px; }
.robomax-page .channel-head>b { color:#4e493e; }
.robomax-page .channel-head button { color:#504c42; }
.robomax-page .channel-head [role=group] { border:1px solid #c0baad; border-radius:24px; padding:2px; }
.robomax-page .channel-head button[aria-pressed=true] { background:#363630; color:#fffdf8; }
.robomax-page .chat { border:1px solid #c0bfb2; }
.robomax-page .flow { display:flex; align-items:center; align-self:center; justify-content:flex-end; color:#8d8778; }
.robomax-page .flow span { height:1px; width:100%; background:currentColor; margin-right:-4px; }
.robomax-page .flow b { font:normal 26px/1 Golos,sans-serif; }
.robomax-page [data-state=done] .flow { color:#466652; }
.robomax-page .journal { border:1px solid #c4bda9; border-radius:8px; background:#fffefa; align-self:start; overflow:hidden; }
.journal-caption { display:flex; align-items:center; gap:12px; padding:12px 18px; background:#f5d57b; color:#3a352d; }
.journal-caption b { color:#982a1d; }
.journal-caption h3 { font-size:16px; }
.journal .journal-empty,.journal .receipt {
  border:0;
  background:transparent;
  padding:20px;
  margin:0;
  min-height:148px;
}
.journal .journal-empty { display:flex; align-items:center; color:#696254; max-width:34ch; }
.journal .receipt small { font-size:13px; color:#625d50; }
.journal .receipt h3 { padding-top:0; border:0; margin-top:4px; }
.journal .receipt dl { border-top:1px solid #d7d1c3; padding-top:10px; }
.chat-result-topic { font-weight:600; }
@media(min-width:951px) {
  /* Reserve the longest conversation in the layout, but paint only the visible chat. */
  .robomax-page .product[data-channel] .chat { border:0; background:transparent; }
  .robomax-page .chat-bar { border:1px solid #c0bfb2; border-radius:8px 8px 0 0; }
  .robomax-page .conversation { display:grid; padding:0; align-items:start; }
  .robomax-page .chat-scene {
    grid-area:1/1;
    background:#d6e4da;
    border:1px solid #c0bfb2;
    border-top:0;
    border-radius:0 0 8px 8px;
    padding:14px 20px;
  }
  .robomax-page [data-channel=mx] .chat-scene { background:#252337; border-color:#3c374c; }
  .robomax-page .chat-scene[hidden] { display:block!important; visibility:hidden; pointer-events:none; }
}
.offer-example { display:inline-block; padding-block:8px; margin:5px 0 0 14px; text-decoration:underline; text-underline-offset:4px; color:#524d41; font-size:14px; }
#doc-details:has([data-view="compare"][aria-pressed=true]) { width:min(94%,760px); }
#doc-content .revision-pair {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  margin-top:14px;
  padding:0;
  border:1px solid #d5cfc0;
  border-radius:4px;
  background:#fcfaf4;
}
.revision-pair section { padding:15px; }
.revision-pair section+section { border-left:1px solid #d5cfc0; }
.revision-pair small { font:600 13px/1.5 Golos,sans-serif; }
.revision-pair p { margin:8px 0 0; font:21px/1.45 Georgia,serif; }
.revision-pair ins,.revision-pair del { text-decoration-thickness:1px; }
.revision-pair del { background:#f6e4d5; }
.revision-pair ins { background:#e2eddc; }
#doc-content .revision-note { margin:14px 0 0; font:15px/1.5 Golos,sans-serif; }
.demo-topics label:has(input:checked) { box-shadow:inset 0 0 0 1px #538077; }
[data-channel=mx] .demo-topics label:has(input:checked) { box-shadow:inset 0 0 0 1px #b8a3d7; }
@media (max-width:950px) {
  .opening { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:24px; }
  .mast nav { gap:13px; }
  .guide-grid { gap:4%; }
}
@media (max-width:760px) {
  .opening,.relay,.partner-layout,.guide-grid { grid-template-columns:minmax(0,1fr); }
  .opening { padding-block:30px; }
  .relay-choices { border:0; padding:0; }
  .relay { gap:18px; }
  .partner-layout,.guide-grid { gap:26px; }
  .offer-intro.hero:has([data-request]) p { margin:12px 0 18px; }
  .case-panel .terms dd { font-size:19px; }
  .case-heading { padding-top:16px; }
  .robomax-page .product-head { grid-template-columns:1fr auto; }
  .robomax-page .product-head p { grid-column:1/-1; grid-row:2; }
  .robomax-page .max-link { grid-column:2; grid-row:1; }
  .robomax-page .product-grid { grid-template-columns:1fr; }
  .robomax-page .flow { display:none; }
  .robomax-page .journal { margin-top:4px; }
}
@media(max-width:700px) {
  :root { --paper:#f7f5ef; --ink:#33332f; --navy:#33332f; --mid:#5c584f; --blue:#514b3d; }
  .stage-selector { grid-template-columns:1.18fr .98fr .84fr; }
  .stage-selector button { min-height:44px; gap:3px; }
  .stage-selector .stage-clock { width:17px; height:17px; }
  .nav-short { display:inline; }
  .nav-long { display:none; }
  .library-head,.library-spread { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
  .library-head h1 { font-size:35px; }
  .library .lead-read { padding:25px 20px; }
  .library .lead-read h2,.guide h1 { overflow-wrap:anywhere; }
  .library .ai-read { --sun:#b9d8c3; }
  #doc-content .revision-pair { grid-template-columns:1fr; }
  .revision-pair section+section { border-left:0; border-top:1px solid #d5cfc0; }
  .offer-example { display:block; margin:8px 0 0; }
  .file-views { gap:12px; padding-inline:16px; flex-wrap:wrap; }
  #doc-content { padding-inline:16px; }
}
@media(prefers-reduced-motion:reduce) {
  .case-panel:not([hidden]) h3 { animation:none; }
  .story { transition:none; }
}

/* Shared identity and direct contact. */
.brand img { width:32px; height:32px; }
.mast nav { margin-left:auto; }
.company-mail { white-space:nowrap; font-size:14px; text-underline-offset:4px; }
.mast>.company-mail { margin-left:6px; padding:7px 0 7px 16px; border-left:1px solid var(--line); color:#403f36; }
.company-mail:hover,.company-mail:focus-visible { text-decoration:underline; }
.company-signoff { display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-top:24px; padding-top:14px; border-top:1px solid #666359; }
.company-signoff>span { color:#e3dfd3; font-size:14px; }
footer .company-signoff .company-mail { color:#f4d579; font-size:16px; font-weight:600; }
@media(max-width:1180px) {
 .mast { flex-wrap:wrap; padding-block:8px; }
 .mast .nav-long { display:none; }
 .mast .nav-short { display:inline; }
 .mast nav { gap:12px; }
}
@media(max-width:920px) {
 .mast { display:grid; grid-template-columns:1fr auto; gap:4px 12px; }
 .mast nav { grid-column:1/-1; grid-row:2; margin-left:0; justify-content:flex-start; }
 .mast>.company-mail { grid-column:2; grid-row:1; margin:0; padding:6px 0; border:0; }
}
@media(max-width:500px) {
 .mast { column-gap:4px; }
 .mast .brand { font-size:16px; gap:5px; }
 .mast .brand img { width:26px; height:26px; }
 .mast>.company-mail { font-size:13px; }
}