/* Composition and usability refinements from the desktop/mobile walkthrough. */
.site-header { background: var(--paper); }
.nav-source { display: inline-flex; align-items: center; gap: 6px; }
.nav-source .icon, .site-footer > a:last-child .icon { width: 14px; height: 14px; }
.hero-availability a, .faq-list details p a { text-decoration: underline; text-underline-offset: 3px; }
.hero-availability a:hover, .faq-list details p a:hover { color: var(--ink); }
.hero {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  gap: 0 56px;
  align-content: center;
  min-height: 690px;
  padding-top: 36px;
  padding-bottom: 62px;
}
.hero-intro { grid-column: 1; grid-row: 1; align-self: end; }
.hero-whisper { font-size: 14px; margin-bottom: 23px; }
.hero h1 { font-size: clamp(78px, 7.7vw, 108px); letter-spacing: -.025em; line-height: 1; }
.hero-description { grid-column: 1; grid-row: 2; max-width: 390px; margin-top: 25px; font-size: 17px; line-height: 1.75; }
.hero-actions { grid-column: 1; grid-row: 3; gap: 26px; margin-top: 25px; }
.hero-availability { grid-column: 1; grid-row: 4; font-size: 12px; color: var(--muted); margin-top: 13px; }
.hero-availability > span { margin-inline: 5px; color: var(--gold); }
.hero-visual { grid-column: 2; grid-row: 1 / 6; width: 108%; margin: -16px 0 0 -20px; align-self: center; background: var(--paper); }
.hero-character { mix-blend-mode: darken; }
.hero-hand { position: static; transform: none; text-align: right; padding-right: 25px; margin-top: -16px; font-size: 24px; }
.listen-tag { grid-column: 1; grid-row: 5; margin: 25px 0 0; align-self: start; }
.listen-tag > div > span { font-size: 12px; }
.listen-tag strong { font-size: 13px; }
.button { font-size: 14px; min-height: 48px; }
.text-link { font-size: 14px; }

/* The wordmark and opening line carry the display type; useful sections stay calm. */
.room-title, .scene-heading h2, .recording-copy h2,
.commands-intro h2, .faq-section h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.17;
  letter-spacing: -.035em;
}
.room-story { grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 45px; padding-bottom: 52px; align-items: start; }
.room-title { margin: 0; font-size: 31px; }
.room-thought { padding: 0; max-width: 430px; }
.room-thought p, .room-thought p:first-child { font-size: 16px; line-height: 1.75; color: var(--muted); margin-bottom: 14px; }
.inline-command { font-size: 14px; gap: 13px; margin-top: 2px; }
.inline-command code { font-size: 14px; }
.discord-scene { padding-top: 53px; padding-bottom: 42px; }
.scene-heading { grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 29px; align-items: start; }
.scene-context { padding: 0; max-width: 430px; }
.scene-context p { font-size: 16px; line-height: 1.75; }
.scene-context .scene-prompt { font-size: 14px; margin-top: 13px; }
.scene-prompt button { min-height: 32px; }
.hear-demo { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; background: transparent; padding: 0; text-align: left; }
.hear-icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: 50%; }
.hear-icon .icon { width: 17px; height: 17px; }
.hear-demo > span:nth-child(2) { font-size: 14px; font-weight: 500; }
.hear-demo > small { font-size: 11px; color: var(--muted); margin-left: 4px; }
.bot-stage { margin-left: 0; }
.bot-stage:before, .bot-stage:after { display: none; }
.bp-shell { max-width: none; }
.below-console { padding: 18px 0 0; justify-content: flex-end; }
.below-console > p { max-width: 430px; font-size: 13px; line-height: 1.7; padding: 0; }
#bp-panel { scroll-margin-top: 104px; }
#bp-panel-title { scroll-margin-top: 120px; }

.recording-story { grid-template-columns: 1fr 1fr; gap: 76px; padding-top: 75px; padding-bottom: 86px; }
.record-paper { margin-left: 38px; width: 285px; height: 350px; transform: translateY(var(--drift, 0px)) rotate(-4deg); }
.recording-copy { padding: 0; max-width: 430px; }
.recording-copy h2 { margin-bottom: 20px; }
.recording-copy > p { font-size: 16px; line-height: 1.75; margin-bottom: 15px; }
.recording-copy .small-note { font-size: 14px; margin-top: 21px; line-height: 1.75; }
.recording-copy > .text-link { font-size: 14px; margin-top: 2px; }
.memory-story { padding-block: 62px; }
.memory-story:before { display: none; }
.memory-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.memory-inner h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 61px; line-height: 1.02; letter-spacing: -.025em; }
.memory-copy { grid-column: 2; grid-row: 1; margin: 0; }
.memory-copy p { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.memory-copy .button { font-size: 14px; margin-top: 3px; }

.commands-section { padding-top: 76px; padding-bottom: 42px; max-width: 1100px; }
.commands-intro { margin-bottom: 29px; }
.commands-intro > div > p:last-child { font-size: 16px; max-width: 500px; margin-top: 14px; }
.command-filters button { min-height: 44px; font-size: 14px; padding: 10px 14px; }
.command-search { width: 270px; min-height: 46px; }
.search-field input { font-size: 15px; }
.command-main { grid-template-columns: 1fr 1.15fr; gap: 26px; }
.command-code { font-size: 14px; }
.command-description { font-size: 15px; line-height: 1.7; }
.command-row { padding-block: 17px; }
.copy-command { width: 44px; min-height: 44px; }
.command-bottom > span, .command-bottom > p { font-size: 12px; }
.command-bottom > .text-link { font-size: 14px; min-height: 44px; }
.faq-section { max-width: 1100px; gap: 64px; padding-top: 47px; padding-bottom: 65px; }
.faq-section h2 { font-size: 32px; }
.faq-list summary { font-size: 15px; padding-block: 20px; }
.faq-list details p { font-size: 15px; line-height: 1.75; }
.closing-section { padding: 24px 0 60px; align-items: center; }
.closing-section h2 { font-size: 65px; }
.closing-link { width: 72px; height: 72px; margin: 0; }
.closing-link .icon { width: 28px; height: 28px; }
.site-footer > span, .site-footer > a:last-child { font-size: 12px; }

@media (max-width: 1100px) {
  .hero { gap: 0 30px; min-height: 630px; padding-top: 32px; padding-bottom: 52px; }
  .hero h1 { font-size: 88px; }
  .hero-description { font-size: 16px; }
  .hero-visual { width: 107%; margin-left: -12px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 13px; }
  .hero-hand { font-size: 22px; padding-right: 14px; }
  .room-story, .scene-heading, .memory-inner { gap: 36px; }
  .recording-story { gap: 56px; }
  .record-paper { margin-left: 16px; width: 260px; height: 330px; }
  .memory-inner h2 { font-size: 55px; }
  .command-filters button { font-size: 13px; padding-inline: 12px; }
  .command-search { width: 236px; }
}

@media (max-width: 820px) {
  .hero { min-height: 570px; gap: 0 20px; }
  .hero h1 { font-size: 75px; }
  .hero-whisper { font-size: 12px; margin-bottom: 18px; }
  .hero-description { font-size: 16px; margin-top: 19px; }
  .hero-actions { gap: 10px; margin-top: 20px; }
  .hero-actions .button, .hero-actions .text-link { font-size: 12px; }
  .hero-availability { font-size: 11px; }
  .hero-visual { width: 107%; margin: 0 0 0 -12px; }
  .hero-hand { font-size: 20px; padding-right: 8px; margin-top: -8px; }
  .listen-tag { margin-top: 20px; gap: 10px; }
  .listen-tag > div { min-width: 0; }
  .room-story { padding-top: 31px; padding-bottom: 37px; gap: 30px; }
  .room-title { font-size: 28px; }
  .scene-heading h2, .recording-copy h2, .commands-intro h2 { font-size: 34px; }
  .scene-heading { gap: 30px; }
  .hear-demo { flex-wrap: wrap; gap: 8px; }
  .hear-demo > small { flex-basis: 100%; margin-left: 44px; }
  .recording-story { gap: 47px; padding-block: 66px; }
  .record-paper { width: 233px; height: 308px; margin-left: 9px; }
  .memory-inner h2 { font-size: 49px; }
  .commands-section { padding-top: 66px; }
  .command-toolbar { flex-wrap: wrap; }
  .command-filters button { font-size: 13px; }
  .command-description { font-size: 14px; }
  .faq-section { gap: 38px; padding-block: 40px 55px; }
  .faq-section h2 { font-size: 29px; }
  .closing-section h2 { font-size: 57px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 86px; }
  .hero { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, auto); min-height: 0; gap: 12px; padding-top: 25px; padding-bottom: 33px; }
  .hero-intro { grid-column: 1; grid-row: 1; }
  .hero-whisper { margin-bottom: 9px; font-size: 12px; line-height: 1.5; }
  .hero h1 { font-size: clamp(52px, 14.5vw, 64px); line-height: 1; letter-spacing: -.02em; max-width: none; }
  .hero-visual { grid-column: 1; grid-row: 2; width: min(250px, 72vw); margin: -8px auto -4px; justify-self: center; align-self: center; transform: none; }
  .hero-hand { display: none; }
  .hero-description { grid-column: 1; grid-row: 3; margin: 0; max-width: 370px; font-size: 16px; line-height: 1.6; }
  .hero-actions { grid-column: 1; grid-row: 4; margin: 1px 0 0; display: block; }
  .hero-actions .button { width: 100%; font-size: 14px; min-height: 48px; justify-content: space-between; padding-inline: 18px; }
  .hero-actions .text-link { display: none; }
  .hero-availability { grid-column: 1; grid-row: 5; margin: 0; font-size: 12px; line-height: 1.5; text-align: center; }
  .hero .listen-tag { display: none; }
  .room-story { display: grid; grid-template-columns: 1fr; padding-top: 31px; padding-bottom: 32px; gap: 15px; }
  .room-title { margin: 0; font-size: 27px; line-height: 1.18; }
  .room-title br { display: none; }
  .room-thought { padding: 0; margin: 0; max-width: none; justify-self: stretch; }
  .room-thought p, .room-thought p:first-child { font-size: 16px; line-height: 1.65; margin-bottom: 11px; }
  .inline-command { font-size: 14px; margin: 0; gap: 12px; }
  .inline-command code { min-height: 40px; display: flex; align-items: center; }
  .discord-scene { padding-top: 28px; padding-bottom: 29px; }
  .scene-heading { grid-template-columns: 1fr; gap: 15px; margin-bottom: 22px; }
  .scene-heading h2 { font-size: 31px; line-height: 1.18; }
  .scene-context { padding: 0; margin: 0; max-width: none; }
  .scene-context p { font-size: 16px; line-height: 1.65; }
  .scene-context .scene-prompt { font-size: 14px; margin-top: 11px; line-height: 1.6; }
  .hear-demo { margin-top: 13px; gap: 10px; min-height: 44px; }
  .hear-icon { width: 42px; height: 42px; }
  .hear-demo > span:nth-child(2) { font-size: 15px; }
  .hear-demo > small { flex-basis: auto; margin: 0 0 0 2px; font-size: 11px; }
  .bot-stage { margin: 0; }
  .below-console { padding-top: 14px; }
  .below-console > p { font-size: 13px; max-width: none; }
  #bp-panel { scroll-margin-top: 86px; }
  #bp-panel-title { scroll-margin-top: 104px; }
  .bp-room { padding: 12px 16px; }
  .bp-message { display: block; position: relative; padding: 16px 14px 14px; }
  .bp-avatar { position: absolute; width: 28px; height: 28px; top: 15px; left: 15px; }
  .bp-author { min-height: 30px; padding-left: 38px; margin-bottom: 12px; }
  .bp-embed { padding: 16px 15px; }
  .bp-fields { margin-block: 17px; row-gap: 12px; }
  .bp-fields .bp-playback-field { flex-basis: 100%; }
  .bp-up-next li { font-size: 13px; }
  .bp-embed-footer { margin-top: 15px; font-size: 11px; }
  .bp-private { margin-left: 0; width: 100%; padding: 14px; }
  .bp-shell .bp-button, .bp-controls .bp-button, .bp-row-actions .bp-button { min-height: 44px; font-size: 14px; }
  .bp-private-header .bp-close { min-height: 44px; }
  .bp-private-header { gap: 8px; }
  .bp-private-header h4 { font-size: 16px; }
  .bp-private .bp-track-row { gap: 10px; flex-wrap: wrap; }
  .bp-private .bp-row-actions { flex-wrap: wrap; max-width: 100%; }
  .bp-notice { font-size: 12px; }
  .bp-disclosure { font-size: 11px; }
  .recording-story { display: grid; grid-template-columns: 1fr; gap: 34px; padding-block: 50px 56px; }
  .record-paper { width: 215px; height: 274px; margin-left: 22px; padding: 19px; }
  .paper-record { width: 120px; height: 120px; right: -34px; top: 39px; }
  .record-paper > p { font-size: 21px; left: 19px; bottom: 65px; }
  .record-paper > p em { font-size: 29px; }
  .record-paper > a { left: 19px; right: 19px; bottom: 18px; min-height: 38px; font-size: 12px; }
  .recording-copy { margin: 0; max-width: none; justify-self: stretch; }
  .recording-copy h2 { font-size: 30px; line-height: 1.2; margin-bottom: 17px; }
  .recording-copy > p { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
  .recording-copy .small-note { font-size: 14px; line-height: 1.7; margin-top: 18px; }
  .recording-copy > .text-link { font-size: 14px; min-height: 44px; }
  .memory-story { padding-block: 43px; }
  .memory-inner { display: flex; gap: 20px; }
  .memory-inner h2 { font-size: 43px; line-height: 1.03; margin: 0; }
  .memory-copy { margin: 0; max-width: none; }
  .memory-copy p { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
  .memory-copy .button { font-size: 14px; }
  .commands-section { padding-top: 51px; padding-bottom: 30px; }
  .commands-intro { margin-bottom: 22px; }
  .commands-intro h2 { font-size: 30px; line-height: 1.2; }
  .commands-intro > div > p:last-child { font-size: 16px; line-height: 1.65; margin-top: 12px; max-width: none; }
  .command-toolbar { gap: 14px; margin-bottom: 18px; }
  .command-filters { gap: 4px; justify-content: flex-start; }
  .command-filters button { font-size: 14px; padding: 10px 11px; min-height: 44px; }
  .command-search { width: 100%; min-height: 46px; }
  .search-field input { font-size: 16px; }
  .command-row { gap: 10px; padding-block: 15px; }
  .command-main { display: block; }
  .command-code { font-size: 14px; line-height: 1.65; }
  .command-description { font-size: 15px; line-height: 1.6; margin-top: 5px; }
  .copy-command { width: 44px; height: 44px; padding: 12px; }
  .command-bottom > span { font-size: 12px; }
  .command-bottom > .text-link { font-size: 13px; min-height: 44px; }
  .faq-section { padding-top: 32px; padding-bottom: 47px; gap: 22px; }
  .faq-section h2 { font-size: 29px; }
  .faq-list summary { font-size: 15px; padding-block: 19px; }
  .faq-list details p { font-size: 15px; line-height: 1.7; }
  .closing-section { padding-top: 16px; padding-bottom: 43px; gap: 20px; }
  .closing-section h2 { font-size: 42px; line-height: 1.05; max-width: 245px; }
  .closing-link { width: 48px; height: 48px; }
  .closing-link .icon { width: 22px; height: 22px; }
  .site-footer > span { font-size: 12px; }
  .site-footer > a:last-child { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual, .record-paper { --drift: 0px !important; }
}
