
.phone-tools,.phone-zoom-text{display:none}
@media(max-width:740px){
 html{scroll-padding-top:72px}
 .top .wrap.navrow{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding-block:0;position:relative}
 .top .navrow .brand{display:flex;align-items:center;min-height:44px;margin:0}
 .top .brand .bermudascope-logo{height:25px;width:auto}
 .phone-tools{display:flex;align-items:center;gap:2px}
 .phone-tools a,.phone-tools button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;background:none;border:0;color:inherit;font:inherit;font-size:14px}
 .phone-tools button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}
 .phone-tools button .close-strokes,.phone-tools button[aria-expanded="true"] .open-strokes{display:none}
 .phone-tools button[aria-expanded="true"] .close-strokes{display:block}
 .top .navrow nav#section-menu{display:none}
 .top .navrow nav#section-menu[data-open]{position:absolute;display:grid;top:100%;left:0;right:0;grid-template-columns:1fr;gap:0;padding:6px 12px;background:#15171f;border:1px solid #383943;border-radius:8px;box-shadow:0 12px 30px #0006;z-index:20}
 .top .navrow nav#section-menu a{display:flex;align-items:center;min-height:44px;line-height:1.35;font-size:15px;padding:8px 6px}
 .top .navrow nav#section-menu .language-switch{display:none}
 .feature-topic .mock.mechanism{width:100%;max-width:none;min-width:0;height:auto;overflow:hidden}
 #features :is(#interaction,#transparency,#multi-agent) .mock.mechanism .mechanism-controls,
 #join .onboarding .mock.mechanism .mechanism-controls{
   position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;
   box-sizing:border-box;width:100%;height:auto;margin:0;padding:3px 14px;
   border:0;border-top:1px solid #2e323e;border-radius:0;background:#101219;backdrop-filter:none;
 }
 #features :is(#interaction,#transparency,#multi-agent) .mock.mechanism .mechanism-controls .topic-zoom,
 #join .onboarding .mock.mechanism .mechanism-controls .topic-zoom{
   position:static;display:inline-flex;align-items:center;justify-content:center;gap:8px;
   box-sizing:border-box;width:max-content;min-width:max-content;max-width:none;min-height:44px;height:44px;aspect-ratio:auto;flex:none;margin:0;padding:0 4px;
   border:0;border-radius:4px;background:transparent;color:#c8c2fb;font-size:16px;white-space:nowrap;
 }
 .phone-zoom-text{display:inline;flex:none;font:500 13px system-ui,sans-serif;white-space:nowrap}
 #join .onboarding .mechanism-art svg{display:block;width:100%;min-width:0;height:auto}
 #zoom{max-width:calc(100vw - 12px);max-height:94dvh;overflow:auto}
 #zoom .dialog-head{position:sticky;top:0;z-index:2;background:#13151b}
 #zoomArt{overflow:auto;max-height:77dvh}
 #zoomArt > svg{width: max(100%, 700px);min-width:700px;max-width:none;height:auto}
}

/* Match the diagram column to the amount of information in each scene. */
@media (min-width:1101px){
 #features .feature-topic{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.22fr);column-gap:clamp(32px,4vw,72px)}
 #features .feature-topic figure.mock.mechanism{width:100%;max-width:540px;margin-inline:0;justify-self:end}
}
@media (min-width:741px) and (max-width:1100px){
 #features .feature-topic{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 #features .feature-topic .topic-copy{max-width:70ch}
 #features .feature-topic figure.mock.mechanism{width:100%;max-width:540px;margin-inline:auto}
}
@media (max-width:740px){
 #features .feature-topic figure.mock.mechanism{width:100%;max-width:390px;justify-self:center;margin-inline:auto}
}

/* Match the wide and narrow research-process drawings. */
#features .feature-topic .mechanism-art {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 14 / 9 !important;
  overflow: hidden;
}
#features .feature-topic .mechanism-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
}
@media (max-width:740px) {
  #features .feature-topic .mechanism-art {aspect-ratio:15 / 28 !important}
  #features .mechanism-art :is(.af-desktop,.transparency-desktop) {display:none !important}
  #features .mechanism-art :is(.af-mobile,.transparency-mobile) {display:block !important}
}

/* SVG font sizes below are in the original drawing's coordinate system. */
#zoom svg .ix14-label{font-size:22px!important}
#zoom svg :is(.ix14-small,.ix14-subtitle){font-size:18px!important}
html[lang="zh-CN"] #zoom svg :is(.af-task,.af-role,.apx-title){font-size:21px!important}
html[lang="zh-CN"] #zoom svg :is(.af-detail,.ac-entry-detail,.ac-pool-subtitle,.af-return-label,.apx-note,.ac-stage-label){font-size:17px!important}
#zoom .ix14-mobile .ix14-label{font-size:24px!important}
#zoom .ix14-mobile :is(.ix14-small,.ix14-subtitle){font-size:21px!important}
#zoom .ix14-mobile .ix14-title{font-size:28px!important}
html[lang="zh-CN"] #zoom .af-mobile :is(.af-role,.af-task,.apx-title){font-size:22px!important}
html[lang="zh-CN"] #zoom .af-mobile :is(.af-detail,.af-return-label,.apx-note,.ac-entry-detail,.ac-pool-subtitle,.ac-stage-label){font-size:18px!important}
#zoom .transparency-mobile .tp13m-stage{font-size:24px!important}
#zoom .transparency-mobile .tp13m-small{font-size:19px!important}
#zoom .transparency-mobile .tp13m-tiny{font-size:16px!important}

/* The inline figure is a supporting illustration. Keep text crisp and readable inline without enlarging the frame. */
#features .feature-topic .mechanism-art svg text{font-size:23px!important}
#features .feature-topic .mechanism-art svg :is(.ix14-small,.ix14-subtitle,.af-detail,.ac-entry-detail,.ac-pool-subtitle,.af-return-label,.apx-note,.ac-stage-label,.tp13-small,.tp13-tiny){font-size:20px!important}
#features .feature-topic .mechanism-art svg :is(.ix14-title,.ac-pool-title,.tp13-stage){font-size:25px!important}
#features .feature-topic .mechanism-art .ix14-mobile text{font-size:24px!important}
#features .feature-topic .mechanism-art .ix14-mobile :is(.ix14-small,.ix14-subtitle){font-size:21px!important}
#features .feature-topic .mechanism-art .ix14-mobile .ix14-title{font-size:26px!important}
#features .feature-topic .mechanism-art svg :is(.tp13m-small,.tp13m-tiny,.tp13m-mono){font-size:19px!important}
#features .feature-topic .mechanism-art .af-mobile .ac-pool-title{font-size:24px!important}
@media (min-width:741px){
  #features .feature-topic .mechanism-art > svg{transform:scale(1.02);transform-origin:center}
}

/* Restore legible SVG labels in the human-AI research-process diagram (overriding the 16px body clamp). */
.research-process svg text.rp5-condition,
.research-process svg text.rp5-model-caption,
.research-process svg text.rp5-actions{font-size:23px!important}
.research-process svg text.rp5-loop-label{font-size:24px!important}
.research-process svg text.rp5-stage-title,
.research-process svg text.rp5-revision-title{font-size:28px!important}
.research-process svg text.rp5-author-title{font-size:30px!important}

/* Scale quick-start lettering to the actual figure, independent of page text tokens. */
#join .onboarding .mechanism-art{container-type:inline-size}
#join .onboarding .mechanism-art svg .step-diagram-title,
#join .onboarding .mechanism-art svg .step-diagram-symbol{font-size:23px!important}
#join .onboarding .mechanism-art svg .step-diagram-label{font-size:20px!important}
@container (max-width:460px){
 #join .onboarding .mechanism-art svg :is(.step-diagram-title,.step-diagram-symbol){font-size:30px!important}
 #join .onboarding .mechanism-art svg .step-diagram-label{font-size:27px!important}
}
@container (max-width:335px){
 #join .onboarding .mechanism-art svg :is(.step-diagram-title,.step-diagram-symbol){font-size:35px!important}
 #join .onboarding .mechanism-art svg .step-diagram-label{font-size:30px!important}
}
@media (min-width:741px) and (max-width:960px){
 #join .product.onboarding{grid-template-columns:minmax(0,1fr);gap:24px}
 #join .onboarding figure.mock.mechanism{width:100%;max-width:560px;justify-self:center}
}
#join .onboarding .mechanism-art[data-mechanism-scene="create"] .step-diagram-symbol,
#zoomArt[data-mechanism-scene="create"] .step-diagram-symbol{font-size:25px!important}
#join .onboarding .mechanism-art[data-mechanism-scene="report"] .step-diagram-symbol,
#zoomArt[data-mechanism-scene="report"] .step-diagram-symbol{font-size:22px!important}
@container (max-width:460px){
 #join .onboarding .mechanism-art[data-mechanism-scene="create"] .step-diagram-symbol{font-size:32px!important}
 #join .onboarding .mechanism-art[data-mechanism-scene="report"] .step-diagram-symbol{font-size:28px!important}
}

#research .study h4 {max-width:100%;text-wrap:pretty}
.study h4 .term {white-space:nowrap}
@media (min-width:881px) {
  #research .field-index a:hover {background:rgba(169,156,255,.025)}
  #research .field-index a[aria-selected="true"] {
    background:rgba(169,156,255,.045);
    border-inline-start:2px solid var(--blue);
  }
}
#replay.replay-band {padding-bottom:clamp(28px,3vw,44px)}
@media (max-width:740px) {
  #multi-agent .ability-list figure.mock.mechanism,
  #join .steps figure.mock.mechanism {margin:4px auto 20px}
  #multi-agent figure[hidden] {display:none}
}

.brand-closing {
  background:#151424;
  color:#ecebf8;
  padding-block:clamp(56px,6.2vw,100px);
}
.brand-closing > .wrap {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"heading action" "description action";
  align-items:end;
  gap:16px clamp(24px,3vw,48px);
}
.brand-closing .button {grid-area:action;justify-self:end;white-space:nowrap}
.brand-closing h2 {
  grid-area:heading;
  margin:0;
  font-family:var(--sans);
  font-size:clamp(28px,2.8vw,38px);
  font-weight:480;
  line-height:1.25;
  letter-spacing:-.03em;
  text-wrap:balance;
}
.brand-closing h2 span {display:inline-block;max-width:100%}
.brand-closing p {grid-area:description;margin:0;color:#c1bcd0;line-height:1.7}
@media (max-width:740px) {
  .brand-closing > .wrap {
    grid-template-areas:"heading heading" "description action";
    gap:20px 16px;
  }
  .brand-closing h2 {
    font-size:clamp(24px,6.4vw,30px);
  }
}
.brand-footer {background:#101019;padding-block:24px;color-scheme:dark}
.brand-footer a {display:inline-flex;align-items:center;min-height:44px}
.brand-footer img {width:145px;height:auto;display:block}

/* The galaxy extends beyond the text column and fades towards the copy. */
.hero-sky-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky-stage > .cosmic-hero {
  position: absolute;
  inset: 0 -4% 0 32%;
  width: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  align-self: stretch;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, black 28%);
}
@media (min-width:741px) {
  .hero .hero-sky-stage .hero-layout {min-height:clamp(600px, calc(100svh - 124px), 880px)}
}
@media (max-width:740px) {
  .hero-sky-stage > .cosmic-hero {
    inset: 38% -14% -2% -8%;
    mask-image: linear-gradient(180deg, transparent, black 38%);
  }
  .hero .hero-sky-stage .hero-layout {padding-bottom:clamp(145px, 42vw, 245px)}
}

/* UI polish: restore heading hierarchy, single-line desktop ZH hero headline, hide zoom controls, mobile menu & atlas fit. */
:root {
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-h3: clamp(19px, 1.55vw, 22px);
  --fs-h2: clamp(22px, 1.9vw, 26px);
}
.v7-story-points li { text-wrap: pretty; }
.position-story.v7-story { border-top: 0 !important; }
.top .navrow .lang-switch {
  font-size: 13px;
  font-weight: 550;
  color: #a8adbf;
  padding: 5px 11px;
  border: 1px solid #353949;
  border-radius: 5px;
  line-height: 1.2;
  transition: color .18s, border-color .18s;
}
.top .navrow .lang-switch:hover {
  color: #eceef6;
  border-color: #6b728e;
}
@media (min-width:741px) {
  .top .wrap.navrow {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 36px);
  }
  .top .wrap.navrow .brand {
    margin-right: auto;
  }
}
@media (max-width:740px) {
  .top .navrow .lang-switch { display: none; }
}
/* Only highlight accordion titles in violet when actually expanded. */
#multi-agent .ability-list button[aria-expanded="false"] strong,
#join .steps button[aria-expanded="false"] b {
  color: var(--ink);
}
#multi-agent .ability-list button[aria-expanded="false"] .ability-num,
#multi-agent .ability-list button[aria-expanded="false"] i {
  color: #9396ac;
}
.mechanism-controls,
#features :is(#interaction,#transparency,#multi-agent) .mock.mechanism .mechanism-controls,
#join .onboarding .mock.mechanism .mechanism-controls {
  display: none !important;
}
@media (min-width:741px) {
  .hero .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero .hero-copy {
    max-width: min(680px, 100%);
  }
  .hero .hero-copy .context {
    margin-bottom: 22px;
    gap: 10px;
  }
  .hero .context-name {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
  }
  .hero .context-description {
    font-size: clamp(16px, 1.4vw, 19px);
    color: #a4a6b6;
  }
  .hero-copy #main-title {
    display: flex;
    flex-wrap: wrap;
    column-gap: .26em;
    row-gap: .06em;
  }
  .hero-copy #main-title .context {
    flex-basis: 100%;
  }
  .hero-copy #main-title .title-line {
    display: inline-block;
    font-size: clamp(44px, 4.3vw, 62px);
    line-height: 1.16;
    letter-spacing: -.04em;
  }
  html[lang="en"] .hero-copy #main-title .title-line {
    font-size: clamp(36px, 3.6vw, 52px);
    letter-spacing: -.03em;
  }
  .hero-summary .hero-statement {
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 500;
    color: #d5d7e4;
  }
}
@media (max-width:740px) {
  :root {
    --fs-body: 15.5px;
    --fs-lead: 16.5px;
    --fs-h3: clamp(18px, 4.8vw, 21px);
    --fs-h2: clamp(20px, 5.4vw, 24px);
  }
  /* Keep role bullet points at proper body size and accordion item titles clearly above body size. */
  .v7-story-points,
  .v7-story-points li {
    font-size: var(--fs-body) !important;
    line-height: 1.75;
  }
  #multi-agent .ability-list strong,
  #join .steps button b {
    font-size: 17px !important;
    font-weight: 600;
    line-height: 1.45;
  }
  /* Calibrate all mobile SVG diagrams so every diagram renders uniformly (~10.5-12.5px) and strictly smaller than 15.5px body text. */
  .research-process svg.process-narrow text.rp5-author-title,
  .research-process svg.process-narrow text.rp5-stage-title,
  .research-process svg.process-narrow text.rp5-revision-title { font-size: 19px !important; }
  .research-process svg.process-narrow text.rp5-actions,
  .research-process svg.process-narrow text.rp5-loop-label,
  .research-process svg.process-narrow text.rp5-condition,
  .research-process svg.process-narrow text.rp5-model-caption { font-size: 17px !important; }

  #features .feature-topic .mechanism-art .ix14-mobile .ix14-title { font-size: 23px !important; }
  #features .feature-topic .mechanism-art .ix14-mobile text,
  #features .feature-topic .mechanism-art .ix14-mobile .ix14-label { font-size: 21px !important; }
  #features .feature-topic .mechanism-art .ix14-mobile :is(.ix14-small,.ix14-subtitle) { font-size: 19px !important; }

  #features .feature-topic .mechanism-art .transparency-mobile .tp13m-stage { font-size: 18.5px !important; }
  #features .feature-topic .mechanism-art .transparency-mobile text { font-size: 17px !important; }
  #features .feature-topic .mechanism-art .transparency-mobile :is(.tp13m-small,.tp13m-tiny,.tp13m-mono) { font-size: 15.5px !important; }

  #features .feature-topic .mechanism-art .af-mobile :is(.ac-pool-title,.af-role,.af-task,.apx-title) { font-size: 18.5px !important; }
  #features .feature-topic .mechanism-art .af-mobile text { font-size: 17px !important; }
  #features .feature-topic .mechanism-art .af-mobile :is(.af-detail,.ac-entry-detail,.ac-pool-subtitle,.af-return-label,.apx-note,.ac-stage-label) { font-size: 15.5px !important; }

  #join .onboarding .mechanism-art svg :is(.step-diagram-title,.step-diagram-symbol) { font-size: 31px !important; }
  #join .onboarding .mechanism-art svg .step-diagram-label { font-size: 27px !important; }

  .hero .context-name { font-size: 18px; font-weight: 600; }
  .hero .context-description { font-size: 15px; color: #a4a6b6; }
  .hero-copy #main-title .title-line { display: block; font-size: clamp(42px, 11vw, 56px); line-height: 1.18; }
  html[lang="en"] .hero-copy #main-title .title-line { font-size: clamp(34px, 9.2vw, 46px); }
  .hero-summary .hero-statement { font-size: 18px; color: #d5d7e4; }
  .top .navrow nav#section-menu[data-open] {
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  #replay #atlas {
    max-height: 700px !important;
  }
}
