/* The controls follow the site's native colours, typography and keyboard behaviour. */
.site-tools {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  padding:.65rem 0;
  border-bottom:1px solid var(--line)
}
.site-tools label {
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:calc(.875rem * var(--text-scale,1))
}
.site-tools select,.site-tools button {
  background:var(--paper);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:4px;
  min-height:44px;
  padding:.5rem .75rem;
  font-size:calc(.875rem * var(--text-scale,1))
}
.site-tools select {
  max-width:100%
}
.site-tools button {
  display:flex;
  align-items:center;
  gap:.5rem
}
.reading-dialog {
  width:min(94vw,32rem);
  padding:1.5rem;
  max-height:90dvh;
  overflow:auto;
  border:1px solid var(--line);
  border-radius:8px
}
.reading-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.5rem
}
.reading-heading h2 {
  font-family:Arial,Helvetica,sans-serif;
  font-size:calc(1.4rem * var(--text-scale,1));
  line-height:1.25;
  letter-spacing:0
}
.reading-heading button {
  background:transparent;
  color:var(--ink);
  min-width:44px;
  min-height:44px;
  font-size:2rem;
  line-height:1
}
.reading-dialog label {
  display:block;
  margin:.75rem 0 .5rem;
  font-size:calc(1rem * var(--text-scale,1));
  font-weight:600
}
.reading-dialog select {
  width:100%;
  padding:.75rem;
  min-height:48px;
  background:var(--paper);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:4px;
  font-size:calc(1rem * var(--text-scale,1))
}
.reading-note,.reading-status {
  font-size:calc(.875rem * var(--text-scale,1));
  line-height:1.55;
  margin-top:1.25rem
}
.reading-status:empty {
  display:none
}
:root {
  scroll-padding-top:11rem
}
h1,h2,h3,h4,p,a,label,summary {
  overflow-wrap:break-word
}
.hero-copy,.intro-grid>*,.section-heading>*,.conversation>*,.faq>* {
  min-width:0
}
[data-text-large="true"] .header-inner {
  height:auto;
  min-height:92px;
  flex-wrap:wrap;
  padding-top:1rem;
  padding-bottom:1rem
}
[data-text-large="true"] nav {
  flex-wrap:wrap;
  justify-content:flex-end
}
[data-text-large="true"] .hero,[data-text-large="true"] .intro-grid,[data-text-large="true"] .section-heading,[data-text-large="true"] .method-grid,[data-text-large="true"] .service-explorer,[data-text-large="true"] .case-panel,[data-text-large="true"] .manifesto-grid,[data-text-large="true"] .conversation,[data-text-large="true"] .faq,[data-text-large="true"] .resource-grid {
  grid-template-columns:minmax(0,1fr)
}
[data-text-large="true"] .hero-art {
  max-width:560px;
  margin:auto;
  width:100%
}
[data-text-large="true"] .highlight {
  white-space:normal
}
[data-text-large="true"] .desktop-br {
  display:none
}
[data-text-large="true"] .section-heading>p,[data-text-large="true"] .hero-description {
  max-width:none
}
[data-text-large="true"] .disciplines .wrap,[data-text-large="true"] .footer-main {
  flex-wrap:wrap
}
[data-text-large="true"] .site-header {
  position:relative
}
[data-color-theme="dark"] {
  --paper:#171c19;
  --ink:#f1f3ed;
  --muted:#bec8bd;
  --primary-dark:#45dfb1;
  --primary-soft:#233e33;
  --line:#536356;
  --sand:#252e28;
  --green:#24332a
}
[data-color-theme="dark"] body {
  background:var(--paper);
  color:var(--ink)
}
[data-color-theme="dark"] .site-header {
  background:#171c19f7
}
[data-color-theme="dark"] :is(.hero-description,.intro-grid>div>p,.section-heading>p,.service-footnote,.muted,.method-bottom,.conversation-heading>p,.form-help,.resource-caption,.footer-bottom,.concept-note,.demo-disclaimer) {
  color:#c7d0c5
}
[data-color-theme="dark"] :is(.cases,.resource-section) {
  background:#202a23
}
[data-color-theme="dark"] .case-demo {
  background:#2d3930
}
[data-color-theme="dark"] :is(.disciplines,.manifesto) {
  background:#0d120f;
  color:#f1f3ed
}
[data-color-theme="dark"] :is(.primary,.case-tabs button[aria-selected="true"],.screen-actions button:first-child,.noscript) {
  color:#12251c
}
[data-color-theme="dark"] :is(.brand-logo,.hero-editorial-image) {
  filter:invert(1) hue-rotate(180deg)
}
[data-color-theme="dark"] :is(.chat-bubble,.chat-response,.phone,.phone-header) {
  background:#28352d;
  color:#f1f3ed
}
[data-color-theme="dark"] .chat-choices button {
  background:#294b3d;
  color:#effaf3
}
[data-color-theme="dark"] .screen-state-label {
  background:#27352d;
  color:#f1f3ed
}
/* Example product interfaces keep their own light surfaces and readable product colours. */
[data-color-theme="dark"] .illustrated-app {
  --primary-dark:#006b4c;
  --paper:#fff;
  --ink:#323232;
  --line:#d7d5c9
}
[data-color-theme="dark"] .sim-ui-content p {
  color:#51545a
}
@media(max-width:1100px) {
  .header-inner {
    gap:1rem
  }
  .site-header nav {
    gap:1rem
  }
  .site-header nav a {
    white-space:normal
  }
}
@media(max-width:700px) {
  .site-tools {
    justify-content:space-between;
    gap:.5rem
  }
  .site-tools label {
    flex:1
  }
  .site-tools button {
    font-size:calc(.8rem * var(--text-scale,1))
  }
  .hero {
    padding-top:2rem
  }
  .highlight {
    white-space:normal
  }
  .reading-dialog {
    padding:1.1rem
  }
  .site-header nav {
    max-height:70dvh;
    overflow:auto
  }
}
@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
[data-color-theme="dark"] .brand-logo {
  filter:none
}
[data-color-theme="dark"] .hero-editorial-image {
  filter:invert(1) hue-rotate(180deg) brightness(1.8)
}
[data-color-theme="dark"] dialog p {
  color:#c7d0c5
}
[data-color-theme="dark"] :is(.service-panel p,.method-card p,.case-copy>p,.team-panel p,.faq details p,.qiwo-values dd,.resource-copy p,.resource-list,.brief-box>p) {
  color:#c7d0c5
}
[data-color-theme="dark"] .service-panel .eyebrow {
  color:#c7d0c5
}
[data-color-theme="dark"] .service-graphic {
  color:#f1f3ed
}
[data-text-large="true"] :is(.result-actions,.brief-channels) {
  display:flex;
  flex-wrap:wrap
}
[data-text-large="true"] .site-tools {
  justify-content:flex-start
}
@media(max-width:700px) {
  [data-text-large="true"] .site-tools {
    display:grid;
    grid-template-columns:minmax(0,1fr)
  }
  [data-text-large="true"] .header-inner {
    display:flex
  }
  .disciplines .wrap {
    flex-wrap:wrap
  }
  .site-header .site-tools label {
    min-width:0
  }
  .site-header .site-tools select {
    min-width:0
  }
  .reading-heading h2 {
    overflow-wrap:anywhere
  }
  .hero h1 {
    overflow-wrap:anywhere
  }
}
[data-color-theme="dark"] .skip {
  background:#00ce93;
  color:#12251c
}
[data-color-theme="dark"] .chat-foot {
  color:#c7d0c5
}
@media(max-width:700px) {
  .site-header nav {
    top:100%
  }
}

/* The original dot stays visible until motion is enabled, and for reduced motion. */
.hero-art .hero-editorial { color:#171a16; }
.hero-editorial-image { mask:none; }
.hero-dot-bridge,.hero-moving-dot { visibility:hidden; }
.hero-motion-enabled .hero-editorial-image { mask:url(#hero-dot-mask); }
.hero-motion-enabled :is(.hero-dot-bridge,.hero-moving-dot) { visibility:visible; }
[data-color-theme="dark"] .hero-art .hero-editorial { color:#f1f3ed; }
@media(prefers-reduced-motion:reduce) {
  .hero-motion-enabled .hero-editorial-image { mask:none; }
  .hero-motion-enabled :is(.hero-dot-bridge,.hero-moving-dot) { display:none; }
}
