@font-face {
  font-family: Plex;
  src: url("fonts/plex.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("fonts/plex-medium.ttf") format("truetype");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url("fonts/serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  font-family: Plex, "Helvetica Neue", sans-serif;
  color: #263445;
  background: #fbfcff;
  font-synthesis: none;
  color-scheme: light;
  --ink: #263445;
  --blue: #3348af;
  --quiet: #66758a;
  --line: #d8dfed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
button,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #dfe5ff;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 41px 50px;
  gap: 30px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 24px;
}
.identity > span {
  font-weight: 500;
  font-size: 29px;
  letter-spacing: -1.6px;
  line-height: 1;
}
.identity img {
  opacity: 0.5;
  width: 72px;
  height: 21px;
}
.top__controls {
  display: flex;
  align-items: center;
  gap: 28px;
}
.language {
  display: flex;
  gap: 10px;
}
.language button {
  font-size: 11px;
  color: var(--quiet);
  padding: 7px 1px;
  background: none;
  border: 0;
}
.language button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sound {
  border: 0;
  background: none;
  padding: 7px;
  display: grid;
  place-items: center;
}
.sound svg {
  width: 20px;
  height: 20px;
  stroke: var(--quiet);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sound__on {
  display: none;
}
.sound[aria-pressed="true"] .sound__on {
  display: block;
}
.sound[aria-pressed="true"] .sound__off {
  display: none;
}
.sound[aria-pressed="true"] svg {
  stroke: var(--blue);
}
.stage {
  width: 100%;
  max-width: 1060px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 0 60px 75px;
  min-height: 400px;
}
.writing-surface {
  width: 100%;
  position: relative;
}
.input-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0 24px;
}
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: Source, Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -1.1px;
  line-height: 1.4;
  padding: 12px 0;
  min-height: 78px;
  max-height: 190px;
  overflow-y: auto;
  caret-color: var(--blue);
}
textarea::placeholder {
  color: #53627b;
  opacity: 1;
}
textarea:focus-visible {
  border-radius: 1px;
  outline: none;
  outline-offset: 9px;
}
.input-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.mic,
.send {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  padding: 0;
}
.mic {
  border: 1px solid #bbc6dc;
  background: transparent;
}
.mic svg {
  width: 20px;
  height: 22px;
  stroke: var(--ink);
  stroke-width: 1.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mic:hover {
  border-color: var(--blue);
}
.mic[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
}
.mic__stop {
  width: 11px;
  height: 11px;
  display: none;
  background: #fff;
  border-radius: 1px;
}
.mic[aria-pressed="true"] .mic__symbol {
  display: none;
}
.mic[aria-pressed="true"] .mic__stop {
  display: block;
}
.send {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
}
.send svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.send:disabled {
  background: transparent;
  border-color: var(--line);
  color: #8594af;
  cursor: default;
}
.mic:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#composer {
  position: relative;
}
#voice-line {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: -20px;
  pointer-events: none;
}
.feedback {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  min-height: 47px;
  padding-top: 12px;
  font-size: 11px;
  color: var(--quiet);
}
#status {
  max-width: 650px;
  line-height: 1.7;
}
.text-control {
  font-size: 11px;
  line-height: 1.6;
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  text-decoration-color: #c8cfdd;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.text-control:hover {
  text-decoration-color: var(--ink);
}
#reset {
  margin-left: auto;
}
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 50px 31px;
  font-size: 11px;
  color: var(--quiet);
}
.disclosure {
  font-size: 10px;
  text-align: center;
  line-height: 1.8;
  color: #66758a;
}
.bottom > a {
  text-underline-offset: 5px;
  text-decoration: underline;
  text-decoration-color: #d4dae6;
}
.bottom .text-control {
  font-size: 11px;
}
#connection-note {
  font-size: 10px;
  color: #66758a;
}
.has-conversation .stage {
  padding-top: 15px;
  padding-bottom: 15px;
  justify-content: flex-end;
}
.transcript {
  width: 100%;
  max-height: calc(100svh - 370px);
  min-height: 180px;
  overflow: auto;
  padding: 20px 12px 20px 0;
  margin-bottom: 25px;
  scrollbar-width: thin;
  scrollbar-color: #d2daea transparent;
  outline-offset: 4px;
}
.message + .message {
  margin-top: 28px;
}
.message__who {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  margin-bottom: 10px;
}
.message__text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message--user .message__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--quiet);
  max-width: 720px;
}
.message--assistant .message__text {
  font-family: Source, Georgia, serif;
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: -0.35px;
  max-width: 820px;
}
.message--failed {
  opacity: 0.65;
}
.has-conversation textarea {
  font-size: 27px;
  min-height: 65px;
  letter-spacing: -0.5px;
}
.has-conversation .input-row {
  padding-top: 7px;
  padding-bottom: 18px;
}
.has-conversation .mic,
.has-conversation .send {
  width: 42px;
  height: 42px;
}
dialog {
  position: fixed;
  border: 1px solid #d8dfed;
  background: #fbfcff;
  color: var(--ink);
  width: min(620px, calc(100vw - 40px));
  max-height: 85svh;
  border-radius: 6px;
  padding: 42px;
  box-shadow: 0 18px 80px #26344512;
}
dialog::backdrop {
  background: #26344526;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-family: Source, Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -1px;
  max-width: 430px;
}
.about-intro {
  font-size: 14px;
  line-height: 1.85;
  color: var(--quiet);
  margin-top: 18px;
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--quiet);
  padding: 4px;
}
dialog article {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
dialog h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 9px;
}
dialog article p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--quiet);
}
dialog a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: 13px;
}
.about-email {
  margin-top: 30px;
  font-size: 14px;
}
body[data-phase="recording"] #status {
  color: var(--blue);
}
@media (max-width: 900px) {
  .stage {
    padding-left: 45px;
    padding-right: 45px;
  }
  .top {
    padding: 32px 35px;
  }
  .bottom {
    padding: 24px 35px 28px;
  }
  textarea {
    font-size: 32px;
  }
  .input-row {
    gap: 24px;
  }
  .input-actions {
    gap: 11px;
  }
  .mic,
  .send {
    width: 44px;
    height: 44px;
  }
  .disclosure {
    max-width: 280px;
  }
  .message--assistant .message__text {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .top {
    padding: 25px 24px;
  }
  .identity {
    gap: 15px;
  }
  .identity > span {
    font-size: 27px;
  }
  .identity img {
    width: 56px;
    height: 17px;
  }
  .top__controls {
    gap: 15px;
  }
  .language {
    gap: 8px;
  }
  .sound {
    padding: 5px;
  }
  .sound svg {
    width: 18px;
    height: 18px;
  }
  .stage {
    padding: 0 27px 65px;
    min-height: 370px;
  }
  .input-row {
    display: block;
    padding: 0 0 16px;
  }
  textarea {
    font-size: 32px;
    min-height: 98px;
    line-height: 1.35;
    letter-spacing: -0.8px;
    padding: 5px 0;
    max-height: 190px;
  }
  .input-actions {
    justify-content: flex-end;
    gap: 13px;
    margin-top: 18px;
  }
  .mic,
  .send {
    width: 43px;
    height: 43px;
  }
  #voice-line {
    height: 35px;
    margin-top: -13px;
  }
  .feedback {
    font-size: 10px;
    gap: 15px;
    padding-top: 8px;
    min-height: 61px;
  }
  #status {
    max-width: 260px;
  }
  .bottom {
    padding: 18px 24px 23px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
    font-size: 10px;
  }
  .bottom .text-control {
    font-size: 10px;
    text-align: left;
  }
  .bottom > a {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-size: 10px;
  }
  .disclosure {
    grid-column: 1/-1;
    max-width: none;
    font-size: 9px;
    text-align: left;
  }
  .has-conversation .stage {
    padding-top: 10px;
    padding-bottom: 5px;
    min-height: 380px;
  }
  .transcript {
    max-height: calc(100svh - 400px);
    min-height: 160px;
    padding-right: 6px;
    margin-bottom: 20px;
  }
  .message + .message {
    margin-top: 23px;
  }
  .message--assistant .message__text {
    font-size: 23px;
    line-height: 1.55;
  }
  .message--user .message__text {
    font-size: 13px;
  }
  .has-conversation textarea {
    font-size: 25px;
    min-height: 55px;
  }
  .has-conversation .input-row {
    padding: 0 0 12px;
  }
  .has-conversation .input-actions {
    margin-top: 12px;
  }
  .has-conversation .mic,
  .has-conversation .send {
    width: 39px;
    height: 39px;
  }
  dialog {
    padding: 34px 26px;
  }
  dialog h2 {
    font-size: 31px;
    max-width: 360px;
  }
  .about-intro {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .top {
    padding-left: 20px;
    padding-right: 20px;
  }
  .identity img {
    width: 44px;
  }
  .identity {
    gap: 12px;
  }
  .stage {
    padding-left: 24px;
    padding-right: 24px;
  }
  textarea {
    font-size: 29px;
  }
  .top__controls {
    gap: 11px;
  }
  .bottom {
    padding-left: 21px;
    padding-right: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  dialog::backdrop {
    backdrop-filter: none;
  }
}
body {
  overflow-x: clip;
}
.ideas {
  position: fixed;
  inset: 120px 35px 110px;
  pointer-events: none;
  z-index: 0;
}
.idea-drift {
  position: absolute;
  pointer-events: auto;
  --drift-x: clamp(60px, 12vw, 180px);
  --drift-y: clamp(16px, 3vh, 30px);
  --drift-direction: 1;
  --outline-shape: 47% 53% 49% 51% / 57% 46% 54% 43%;
  --outline-rest: 51% 49% 53% 47% / 49% 55% 45% 51%;
  animation: idea-drift 64s ease-in-out infinite;
}
.idea-drift:nth-child(1) {
  left: 11%;
  top: 8%;
  animation-duration: 68s;
  animation-delay: -14s;
}
.idea-drift:nth-child(2) {
  --drift-direction: -1;
  --outline-shape: 54% 46% 48% 52% / 47% 56% 44% 53%;
  --outline-rest: 49% 51% 54% 46% / 54% 48% 52% 46%;
  right: 12%;
  top: 17%;
  animation-duration: 79s;
  animation-delay: -26s;
}
.idea-drift:nth-child(3) {
  --outline-shape: 46% 54% 52% 48% / 53% 44% 56% 47%;
  --outline-rest: 52% 48% 47% 53% / 46% 54% 46% 54%;
  left: 24%;
  bottom: 16%;
  animation-duration: 61s;
  animation-delay: -8s;
}
.idea-drift:nth-child(4) {
  --drift-direction: -1;
  --outline-shape: 52% 48% 45% 55% / 45% 54% 46% 55%;
  --outline-rest: 47% 53% 51% 49% / 55% 47% 53% 45%;
  right: 14%;
  bottom: 9%;
  animation-duration: 73s;
  animation-delay: -20s;
}
.idea-drift:nth-child(5) {
  --drift-x: clamp(65px, 15vw, 215px);
  --outline-shape: 49% 51% 54% 46% / 56% 49% 51% 44%;
  --outline-rest: 54% 46% 48% 52% / 47% 53% 47% 53%;
  left: 1%;
  top: 20%;
  animation-duration: 83s;
  animation-delay: -9s;
}
.idea-drift:nth-child(6) {
  --drift-direction: -1;
  --outline-shape: 55% 45% 51% 49% / 49% 57% 43% 51%;
  --outline-rest: 48% 52% 46% 54% / 55% 46% 54% 45%;
  right: 4%;
  top: 60%;
  animation-duration: 71s;
  animation-delay: -16s;
}
.idea-drift:nth-child(7) {
  right: 38%;
  top: 0;
  animation-delay: -5s;
}
.idea-drift:hover,
.idea-drift:focus-within {
  animation-play-state: paused;
  z-index: 2;
}
.idea {
  position: relative;
  display: block;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #61718b;
  font-size: 12px;
  line-height: 1.5;
  padding: 13px 23px;
  max-width: 230px;
  text-align: left;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    color 0.3s;
}
.idea::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #c4d1e7;
  border-radius: var(--outline-shape);
  animation: idea-breathe 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.idea:hover,
.idea:focus-visible,
.idea:active {
  transform: scale(1.055);
  color: var(--blue);
}
.idea:hover::before,
.idea:focus-visible::before,
.idea:active::before {
  border-color: #869acc;
  animation: idea-outline 1.25s ease-out both;
}
.idea:disabled {
  cursor: default;
  opacity: 0.65;
}
.idea:disabled:hover {
  transform: none;
}
.idea:disabled:hover::before {
  animation: none;
}
@keyframes idea-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  24% {
    transform: translate(
      calc(var(--drift-x) * var(--drift-direction) * 0.48),
      calc(var(--drift-y) * -0.75)
    );
  }
  51% {
    transform: translate(
      calc(var(--drift-x) * var(--drift-direction)),
      calc(var(--drift-y) * 0.2)
    );
  }
  78% {
    transform: translate(
      calc(var(--drift-x) * var(--drift-direction) * 0.56),
      var(--drift-y)
    );
  }
}
@keyframes idea-breathe {
  from {
    border-radius: var(--outline-shape);
    transform: scale(1, 0.985);
  }
  to {
    border-radius: var(--outline-rest);
    transform: scale(0.985, 1.025);
  }
}
@keyframes idea-outline {
  0%,
  100% {
    border-radius: var(--outline-shape);
    transform: scale(1);
  }
  22% {
    border-radius: 45% 55% 47% 53% / 59% 43% 57% 41%;
    transform: scale(1.025, 0.96);
  }
  48% {
    border-radius: 54% 46% 53% 47% / 44% 56% 46% 54%;
    transform: scale(0.985, 1.045);
  }
  73% {
    border-radius: var(--outline-rest);
    transform: scale(1.012, 0.985);
  }
}
#composer,
.feedback {
  position: relative;
  z-index: 1;
}
.has-conversation .ideas {
  position: static;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 17px;
  pointer-events: auto;
}
.has-conversation .idea-drift {
  position: static;
  animation: none;
}
.has-conversation .idea {
  font-size: 11px;
  padding: 7px 13px;
}
.materials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 21px;
  max-width: 820px;
}
.material-card {
  background: transparent;
  border: 1px solid #d5deed;
  padding: 15px 17px;
  border-radius: 6px;
  text-align: left;
}
.material-card:hover {
  border-color: #93a5d0;
}
.material-card strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.material-card span {
  display: block;
  font-size: 11px;
  line-height: 1.7;
  color: var(--quiet);
}
.detail-intro {
  font-size: 14px;
  color: var(--quiet);
  line-height: 1.85;
  margin-top: 19px;
}
.detail-note {
  font-size: 11px;
  line-height: 1.9;
  color: var(--quiet);
  margin-top: 22px;
}
.detail-ask {
  margin-top: 25px;
  border: 0;
  border-bottom: 1px solid #b6c0dc;
  background: none;
  padding: 0 0 4px;
  font-size: 13px;
  color: var(--blue);
}
.message__enquiry {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid #b6c0dc;
  border-radius: 4px;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
}
.message__enquiry:hover {
  background: #eef1fb;
}
.flow {
  padding: 0;
  list-style: none;
  margin: 27px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.flow li {
  border: 1px solid #d8dfed;
  padding: 16px;
  border-radius: 4px;
  background: #fff;
}
.flow small {
  display: block;
  font-size: 10px;
  color: #66758a;
  margin-bottom: 7px;
}
.flow strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.system-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.system-level {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  position: relative;
}
.system-level + .system-level::before {
  content: "↓";
  position: absolute;
  top: -24px;
  font-size: 15px;
  color: #9caacc;
}
.system-node {
  padding: 12px 10px;
  background: #fff;
  border: 1px solid #d8dfed;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.system-level--hub .system-node {
  flex: none;
  width: 100%;
  background: #edf0ff;
  border-color: #ced6f1;
  color: #3348af;
}
.detail-note:empty {
  display: none;
}
@media (max-width: 600px) {
  .ideas {
    inset: 105px 20px 135px;
  }
  .idea {
    font-size: 11px;
    padding: 8px 15px;
    max-width: 180px;
  }
  .idea-drift:nth-child(1) {
    left: 3%;
    top: 0;
  }
  .idea-drift:nth-child(2) {
    right: 3%;
    top: 8px;
  }
  .idea-drift:nth-child(3) {
    left: 3%;
    bottom: 0;
  }
  .idea-drift:nth-child(4) {
    right: 3%;
    bottom: 8px;
  }
  .idea-drift:nth-child(5) {
    left: 18%;
    top: 55px;
  }
  .idea-drift:nth-child(6) {
    right: 30%;
    bottom: 62px;
    top: auto;
  }
  .idea-drift:nth-child(7) {
    left: 5%;
    right: auto;
    top: 60%;
  }
  .has-conversation .ideas {
    gap: 9px;
  }
  .has-conversation .idea {
    font-size: 10px;
    padding: 6px 11px;
  }
  .materials {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .idea-drift {
    --drift-x: 22px;
    --drift-y: 15px;
  }
  .idea-drift:nth-child(5) {
    --drift-x: 42px;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .flow li {
    padding: 13px 15px;
  }
  .flow small {
    margin-bottom: 4px;
  }
  .system-node {
    font-size: 11px;
    padding: 10px 7px;
  }
  .system-level {
    gap: 7px;
  }
  .detail-intro {
    font-size: 13px;
  }
}
.enquiry-label {
  display: block;
  font-size: 12px;
  margin: 20px 0 8px;
  color: var(--ink);
}
#enquiry-summary {
  font-family: Plex, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0;
  min-height: 130px;
  max-height: 250px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  resize: vertical;
  background: #fff;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-fields input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 10px 11px;
  font:
    14px Plex,
    sans-serif;
  color: var(--ink);
}
.enquiry-submit {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  padding: 10px 16px;
  margin-top: 22px;
  font-size: 12px;
}
.enquiry-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#enquiry-status {
  font-size: 12px;
  color: var(--quiet);
  line-height: 1.8;
  margin-top: 17px;
}
.idea--enquiry {
  border-color: #a5b5e1;
  color: var(--blue);
}
#enquiry-dialog input:focus-visible,
#enquiry-summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .contact-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
body[data-phase="listening"] #status,
body[data-phase="voice-speaking"] #status,
body[data-phase="voice-thinking"] #status {
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  .idea-drift,
  .idea::before,
  .idea:hover::before,
  .idea:focus-visible::before {
    animation: none !important;
  }
  .idea {
    transition: none;
  }
}

@media (max-width: 600px) {
  body:not(.has-conversation) .stage {
    justify-content: flex-start;
    padding-top: clamp(135px, 18vh, 185px);
  }
}
.idea--enquiry::before {
  border-color: #a5b5e1;
}

@media (min-width: 601px) and (max-height: 800px) {
  .ideas {
    inset: 110px 30px 95px;
  }
  .idea-drift:nth-child(1) {
    left: 5%;
    top: 0;
  }
  .idea-drift:nth-child(2) {
    right: 8%;
    top: 10px;
  }
  .idea-drift:nth-child(3) {
    left: 15%;
    bottom: 0;
  }
  .idea-drift:nth-child(4) {
    right: 15%;
    bottom: 5px;
  }
  .idea-drift:nth-child(5) {
    left: 32%;
    top: 50px;
  }
  .idea-drift:nth-child(6) {
    left: 45%;
    right: auto;
    top: auto;
    bottom: 55px;
  }
}

.idea-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.idea-field > svg,
.idea-field__labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.idea-orb {
  position: absolute;
  inset: 0 auto auto 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 16px;
  color: #5b7092;
  font-size: var(--orb-type, 13px);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  overflow-wrap: normal;
  hyphens: manual;
  cursor: pointer;
  transition: color 0.25s;
}
.idea-orb[data-branch] {
  cursor: grab;
}
.idea-orb[data-branch]:active {
  cursor: grabbing;
}
.idea-orb:hover,
.idea-orb:focus-visible {
  color: var(--blue);
}
.idea-orb:focus-visible {
  outline-offset: -7px;
  outline-width: 1px;
}
.idea-orb:disabled {
  cursor: default;
}
.idea-field__navigation {
  position: absolute;
  left: 50%;
  top: 104px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  color: var(--quiet);
  width: min(90%, 800px);
}
.idea-field__navigation button {
  background: transparent;
  border: 0;
  padding: 7px 0;
  font-size: 11px;
  pointer-events: auto;
  white-space: nowrap;
}
.idea-field__talk {
  color: var(--blue);
}
.idea-field__hint {
  position: absolute;
  bottom: 110px;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #7c8ba2;
}
.top,
.bottom {
  position: relative;
  z-index: 2;
}
@media (max-width: 600px) {
  .idea-orb {
    padding: 11px;
  }
  .idea-field__navigation {
    top: 78px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .idea-field__navigation span {
    order: -1;
    width: 100%;
    text-align: center;
  }
  .idea-field__navigation button {
    padding: 0;
  }
  .idea-field__hint {
    bottom: 151px;
    font-size: 10px;
  }
}
.material-section {
  margin-top: 24px;
}
.material-section h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 9px;
}
.material-section p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--quiet);
}
.material-profile {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.idea-field.is-grabbing,
.idea-field.is-grabbing * {
  cursor: grabbing !important;
}
.idea-orb {
  cursor: grab;
}
.idea-orb:active,
.idea-orb.is-held {
  cursor: grabbing;
}

.has-conversation .ideas {
  gap: 8px 24px;
  margin-bottom: 16px;
}
.has-conversation .idea {
  border: 0;
  border-radius: 0;
  padding: 6px 0;
  min-height: 32px;
  font-size: 12px;
  color: var(--quiet);
  transform: none;
}
.has-conversation .idea::before {
  content: none;
}
.has-conversation .idea:hover,
.has-conversation .idea:focus-visible {
  transform: none;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.has-conversation .idea--enquiry {
  color: var(--blue);
}
.bottom > a {
  margin-left: auto;
}
.connection-status {
  font-size: 10px;
  color: var(--quiet);
}
.message__prose {
  max-width: 820px;
}
.message__passage {
  display: flow-root;
  margin-top: 18px;
}
.message__passage:first-child {
  margin-top: 0;
}
.message__prose .material-card {
  display: block;
  width: 208px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: var(--blue);
}
.message__passage > .material-card {
  float: right;
  margin: 6px 0 18px 28px;
}
.message__prose .material-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.8;
  background: #f0f3fa;
  color: #8a9ec3;
  overflow: hidden;
  margin-bottom: 10px;
}
.material-card__image svg {
  display: block;
  width: 100%;
  height: 100%;
}
.material-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message__prose .material-card__image--type {
  font-family: Source, Georgia, serif;
  font-size: 48px;
  letter-spacing: -2px;
  color: #60769e;
}
.message__prose .material-card strong {
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: 500;
}
.message__prose .material-card__caption {
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.6;
}
.message__prose .material-card:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.message__prose .material-card:hover .material-card__image {
  background: #e9eef8;
}
.material-images,
.product-shelf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
  margin: 22px 0;
}
.product-shelf .material-card {
  width: 218px;
}
.product-shelf .material-card__image {
  aspect-ratio: 4/3;
}
.product-shelf__note {
  flex-basis: 100%;
  margin-bottom: -9px;
  color: var(--quiet);
  font-size: 11px;
}
.product-shelf .material-card--product {
  width: 238px;
}
.product-shelf .material-card--product .material-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin-bottom: 12px;
  border-radius: 4px;
}
.product-shelf .material-card--product img {
  position: absolute;
  inset: 0;
  object-fit: contain;
}
.product-shelf .material-card--product > strong {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-shelf .material-card--product .product-summary {
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.6;
  min-height: 3.2em;
}
.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  font-variant-numeric: tabular-nums;
}
.product-shelf .product-price {
  display: flex;
  font-size: 13px;
  line-height: 1.5;
}
.product-shelf .product-price__current,
.product-price__current {
  color: var(--ink);
  font-size: inherit;
  font-weight: 500;
}
.product-price del {
  color: var(--quiet);
  font-size: 0.8em;
  font-weight: 400;
}
.product-tag,
.product-shelf .material-card .product-tag {
  display: inline-block;
  padding: 4px 8px;
  color: #365b50;
  background: #e2ebe6;
  border-radius: 3px;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 500;
}
.product-tag--sale,
.product-shelf .material-card .product-tag--sale {
  color: #3348af;
  background: #e3e8fa;
}
.product-shelf .material-card__image > .product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
}
#detail.detail--product {
  width: min(880px, calc(100vw - 40px));
  padding: 48px 32px 24px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.product-detail__visual {
  display: grid;
  place-items: center;
  min-height: 390px;
  border-radius: 4px;
  overflow: hidden;
  background: #f1f3f8;
}
.product-detail__visual img {
  display: block;
  width: 100%;
}
.product-detail__visual svg {
  display: block;
  width: 100%;
  height: auto;
}
.product-shelf .material-card--product .material-card__image > svg {
  position: absolute;
  inset: 0;
}
.product-detail__category {
  color: var(--quiet);
  font-size: 12px;
  margin-bottom: 8px;
}
#detail .product-detail__title {
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 15px;
}
.product-detail__copy > .product-price {
  margin-top: 18px;
  font-size: 16px;
}
.product-detail__description {
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.75;
  margin-top: 16px;
}
.product-detail__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.5;
}
.product-detail__specs dt {
  color: var(--quiet);
}
.product-detail__specs dd {
  margin: 0;
}
.product-detail__action {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
}
.product-detail__action:hover {
  background: #293c96;
}
.product-detail__note {
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 12px;
}
.product-explainer {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
  font-size: 12px;
}
.product-explainer summary {
  cursor: pointer;
  color: var(--ink);
}
.product-explainer summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.product-explainer__body {
  max-width: 660px;
  padding: 22px 0 8px;
}
.product-explainer__body h3 {
  font-size: 17px;
}
.product-explainer__body h4 {
  margin: 20px 0 7px;
  font-size: 13px;
  font-weight: 500;
}
.product-explainer__body p {
  color: var(--quiet);
  line-height: 1.8;
}
@media (max-width: 600px) {
  .message__passage > .material-card {
    width: 43%;
    margin: 5px 0 14px 18px;
  }
  .message__prose .material-card__image {
    aspect-ratio: 1.55;
  }
  .message__prose .material-card__image--type {
    font-size: 38px;
  }
  .material-images,
  .product-shelf {
    gap: 14px;
  }
  .material-images .material-card,
  .product-shelf .material-card {
    width: calc(50% - 7px);
  }
  .product-shelf .material-card--product > strong {
    font-size: 13px;
  }
  .product-shelf .product-price {
    font-size: 12px;
    gap: 5px;
  }
  .product-shelf .material-card .product-tag {
    font-size: 9px;
    padding: 3px 6px;
  }
  .product-shelf .material-card__image > .product-tag {
    top: 7px;
    left: 7px;
  }
  #detail.detail--product {
    width: calc(100vw - 24px);
    padding: 40px 20px 22px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .product-detail__visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .product-detail__visual img {
    max-height: 100%;
    object-fit: contain;
  }
  #detail .product-detail__title {
    font-size: 31px;
  }
  .product-shelf .material-card__image {
    aspect-ratio: 4 / 3;
  }
  .message__prose .material-card strong {
    font-size: 11px;
  }
  .message__prose .material-card__caption {
    font-size: 10px;
  }
  .bottom .connection-status {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
}

.writing-surface {
  opacity: 1;
  visibility: visible;
  transition: opacity 1000ms ease;
}
.is-intro .writing-surface {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-instructions {
  position: fixed;
  top: 50%;
  left: 50%;
  bottom: auto;
  width: min(780px, calc(100vw - 48px));
  margin: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: Source, Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.7px;
  white-space: pre-line;
  text-align: center;
  color: #53627b;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1000ms ease,
    visibility 0s linear 1000ms;
}
.is-intro .intro-instructions {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 1000ms ease,
    visibility 0s;
}
.is-intro .idea-field__navigation {
  visibility: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .writing-surface,
  .intro-instructions {
    transition: none;
  }
}
.access-notice {
  width: 100%;
  max-width: 820px;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--quiet);
}
#access-countdown {
  color: var(--ink);
  margin-top: 3px;
}
.access-actions {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.access-actions .text-control {
  font-size: 12px;
}
.is-intro .access-notice {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, calc(100vw - 48px));
  z-index: 3;
  text-align: center;
}
.is-intro .access-actions {
  justify-content: center;
}
.transcript {
  transition: opacity 350ms ease;
}
.is-revealing .transcript {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .transcript {
    transition: none;
  }
}
.message__prose > .message__text + .message__text {
  margin-top: 20px;
}
.message__prose .material-card--inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  float: none;
  width: auto;
  max-width: 200px;
  height: 22px;
  min-height: 0;
  padding: 0 7px;
  margin: 0 0.3em;
  border: 1px solid #d5dfef;
  border-radius: 3px;
  background: #f0f3fa;
  color: var(--blue);
  font-family: Plex, "Helvetica Neue", sans-serif;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
  animation: material-enter 180ms ease both;
}
.message__prose .material-card--inline > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
}
.message__prose .material-card--inline::after {
  content: "i";
  display: grid;
  place-items: center;
  width: 11px;
  height: 11px;
  flex: none;
  border: 1px solid #9baed2;
  border-radius: 50%;
  color: #6c82ae;
  font-size: 8px;
  line-height: 1;
}
.message__prose .material-card--inline > .material-card__image,
.message__prose .material-card--inline > .material-card__caption {
  display: none;
}
.message__prose .material-card--inline:hover,
.message__prose .material-card--inline:focus-visible {
  background: #e7edf9;
  border-color: #a5b6d7;
}
.material-hover-preview {
  cursor: pointer;
  position: fixed;
  inset: auto;
  z-index: 20;
  width: 248px;
  max-width: calc(100vw - 24px);
  margin: 0;
  padding: 12px;
  border: 1px solid #d5dfef;
  border-radius: 5px;
  background: #fbfcff;
  color: var(--ink);
  box-shadow: 0 8px 28px #2634451c;
  font-family: Plex, "Helvetica Neue", sans-serif;
  text-align: left;
}
.material-hover-preview__image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 2.2;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f3fa;
  color: #8a9ec3;
  font-family: Source, Georgia, serif;
  font-size: 40px;
}
.material-hover-preview__image svg {
  display: block;
  width: 100%;
  height: 100%;
}
.material-hover-preview > strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.material-hover-preview > p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--quiet);
}
.material-hover-preview > span {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 10px;
  line-height: 1.5;
}
.product-shelf {
  animation: material-enter 240ms ease both;
}
@keyframes material-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .message__prose .material-card--inline,
  .product-shelf {
    animation: none;
  }
}

#detail:not(.detail--product) {
  width: min(740px, calc(100vw - 40px));
  padding: 34px;
}
#detail:not(.detail--product) #detail-title {
  font-family: Plex, "Helvetica Neue", sans-serif;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.5px;
  padding-right: 25px;
  max-width: none;
}
#detail:not(.detail--product) .detail-intro {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 60ch;
}
.brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
#detail .brief-grid h3 {
  font-family: Plex, "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 12px;
}
.brief-grid ul {
  margin: 0;
  padding-left: 16px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.6;
}
.brief-grid li + li {
  margin-top: 8px;
}
.brief-grid li::marker {
  color: #8296bf;
}
.brief-evidence {
  margin-top: 22px;
  padding: 12px 15px;
  background: #f0f3fa;
  border-left: 2px solid #9aadd1;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.6;
}
#detail .flow {
  display: flex;
  gap: 0;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
#detail .flow li {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 12px 0 0;
  border-radius: 0;
}
#detail .flow small {
  font-size: 10px;
  color: #8395b5;
  margin-bottom: 4px;
}
#detail .flow strong {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
}
#detail .system-diagram {
  margin-top: 24px;
  padding: 16px;
  background: #f3f5fa;
  border-radius: 4px;
}
#detail .system-node {
  font-size: 10px;
  padding: 9px 6px;
  border-color: #dae1ee;
  background: #fbfcff;
}
#detail .system-level {
  gap: 8px;
}
#detail .system-level + .system-level {
  margin-top: 18px;
}
#detail .system-level + .system-level::before {
  top: -18px;
  font-size: 12px;
}
#detail:not(.detail--product) .detail-ask {
  margin-top: 24px;
  font-size: 12px;
  padding: 10px 15px;
  border: 1px solid #b6c0dc;
  border-radius: 4px;
}
#detail:not(.detail--product) .detail-ask:hover {
  background: #eef1fb;
}
.product-explainer__body .brief-grid {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
@media (max-width: 600px) {
  #detail:not(.detail--product) {
    width: calc(100vw - 24px);
    padding: 28px 22px;
  }
  #detail:not(.detail--product) #detail-title {
    font-size: 24px;
  }
  .brief-grid {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  #detail .flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  #detail .system-diagram {
    padding: 12px 8px;
  }
  #detail .system-node {
    font-size: 9px;
  }
  #detail .system-level {
    gap: 5px;
  }
  .product-shelf .material-card--product .product-summary {
    font-size: 10px;
    min-height: 0;
  }
}
#detail .dialog-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}
#detail .dialog-close:hover {
  background: #eef1f7;
}
#detail .dialog-close:focus-visible {
  outline: 2px solid #93a5d0;
  outline-offset: 2px;
}

/* The index anchors the ideas; the opening burst owns the stage. */
.has-topic-index .topic-index {
  position: absolute;
  inset: 136px auto 85px 50px;
  width: 198px;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  pointer-events: auto;
  visibility: visible;
  z-index: 3;
}
.has-topic-index .topic-index__toggle {
  align-self: flex-start;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  text-align: left;
}
.topic-index__toggle::after {
  content: "−";
  color: #8c9bb2;
  margin-left: 20px;
  font-weight: 400;
}
.topic-index:not(.is-open) .topic-index__toggle::after {
  content: "+";
}
.topic-index__list {
  list-style: none;
  margin: 0;
  padding: 0 12px 12px 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d8dfed transparent;
  overscroll-behavior: contain;
}
.topic-index:not(.is-open) .topic-index__list {
  display: none;
}
.topic-index__list li {
  padding-left: calc(var(--topic-level) * 11px);
}
.topic-index__list .topic-index__group {
  margin-top: 15px;
}
.topic-index__list .topic-index__group:first-child {
  margin-top: 0;
}
.has-topic-index .topic-index__list button {
  display: block;
  position: relative;
  width: 100%;
  padding: 5px 0 5px 12px;
  border: 0;
  text-align: left;
  white-space: normal;
  font-size: 12px;
  line-height: 1.5;
  color: #76849a;
  transition: color 180ms ease;
}
.has-topic-index .topic-index__group > button {
  color: #4c5e78;
  font-size: 13px;
}
.topic-index__list button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  border: 1px solid #b8c6dd;
  border-radius: 50%;
}
.topic-index__list button.is-visible::before {
  background: #a9bcdb;
}
.has-topic-index .topic-index__list button:hover,
.has-topic-index .topic-index__list button[aria-pressed="true"] {
  color: var(--blue);
}
.topic-index__list button[aria-pressed="true"]::before {
  background: var(--blue);
  border-color: var(--blue);
}
.has-topic-index .topic-index__list button:focus-visible {
  outline-offset: 0;
  border-radius: 3px;
}
.has-topic-index .intro-instructions {
  left: calc(50% + var(--idea-left, 0px) / 2);
  top: 76%;
  width: min(650px, calc(100vw - var(--idea-left, 0px) - 64px));
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.65;
  letter-spacing: -0.35px;
}
.idea-orb.is-highlighted {
  color: var(--ink);
}
.has-topic-index .topic-index__list button[aria-pressed="true"] {
  color: #b64c5c;
}
.topic-index__list button[aria-pressed="true"]::before {
  background: #c65362;
  border-color: #c65362;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .has-topic-index .topic-index {
    left: 28px;
    width: 175px;
  }
}
@media (max-width: 760px) {
  .has-topic-index .topic-index {
    inset: 104px auto auto 24px;
    width: 222px;
    max-height: calc(100svh - 190px);
    gap: 12px;
    padding: 0;
  }
  .has-topic-index .topic-index.is-open {
    padding: 18px;
    margin: -18px;
    background: #fbfcff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgb(38 52 69 / 6%);
  }
  .has-topic-index .topic-index__toggle {
    font-size: 13px;
  }
  .has-topic-index .topic-index__list button {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 13px;
  }
  .topic-index__list button::before {
    top: 16px;
  }
  .has-topic-index .intro-instructions {
    top: 77%;
    width: calc(100vw - 48px);
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .topic-index__list button {
    transition: none;
  }
}
