.hub-hero--recorder {
  padding: 34px 24px 38px;
}
.hub-hero--recorder .hero-shell {
  max-width: 1120px;
  margin: auto;
}
.hub-hero--recorder .hero-head-wrap {
  max-width: 940px;
  margin: 24px auto 28px;
}
.hub-hero--recorder .hub-hero-title {
  font:
    750 clamp(32px, 4vw, 54px) / 1.2 system-ui,
    sans-serif;
  letter-spacing: -0.035em;
  margin: 0;
}
.hub-hero--recorder .hub-hero-title > span {
  display: block;
}
.hub-hero--recorder .hero-title-accent {
  color: #5b3ff2;
  margin-top: 6px;
}
.hub-hero--recorder .hub-hero-intro {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 900px;
  margin: 18px auto 0;
}
.hub-hero--recorder .hero-route-module {
  max-width: 1040px;
  margin: 0 auto;
}
.hub-hero--recorder .hero-route-prompt {
  display: none;
}
.hub-hero--recorder .route-button-grid {
  margin-bottom: 16px;
  gap: 10px;
}
.hub-hero--recorder .route-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: 14px;
  background: #fff;
}
.hub-hero--recorder .route-button small {
  background: #efedff;
  border-radius: 8px;
  padding: 3px 7px;
  color: #5843d7;
  font-size: 11px;
}
.hub-hero--recorder .route-button.is-active {
  border-color: #6651ff;
  color: #5537ef;
}
.hub-hero--recorder .route-panel-shell {
  margin: 0;
}
.hub-hero--recorder .route-panel {
  padding: 28px;
  border-radius: 20px;
}
.recorder-panel {
  background: white;
  box-shadow: 0 15px 38px -27px #65729666;
  text-align: center;
}
.recorder-panel [hidden] {
  display: none !important;
}
.recorder-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 650;
  color: #5d44ed;
}
.recorder-status-tag {
  font-size: 12px;
  background: #ecfaf2;
  color: #41765a;
  border-radius: 20px;
  padding: 4px 12px;
}
.recorder-main {
  padding: 16px 10px 20px;
}
.recorder-symbol {
  width: 88px;
  height: 88px;
  background: #f0edff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}
.recorder-symbol img,
.recorder-wave,
.recorder-alt-head img {
  filter: invert(30%) sepia(95%) saturate(3212%) hue-rotate(240deg)
    brightness(94%);
}
.recorder-wave {
  width: 160px;
  height: 32px;
  object-fit: fill;
  opacity: 0.3;
  margin: 0 auto 14px;
  display: block;
}
.recorder-main h2 {
  font:
    700 clamp(22px, 2.1vw, 28px) / 1.4 system-ui,
    sans-serif;
  margin: 0 0 10px;
  color: #131b30;
}
.recorder-hint {
  font-size: 16px;
  color: #64708a;
  margin: 0 0 22px;
  line-height: 1.6;
}
.recorder-start {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-width: 245px;
  background: #5d3df5;
  color: #fff;
  border: 0;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 15px #6546f022;
}
.recorder-start img {
  filter: invert(1);
}
.recorder-start:hover {
  background: #4930ce;
}
.recorder-start:disabled {
  opacity: 0.55;
  cursor: wait;
}
.recorder-panel button:focus-visible,
.recorder-upload:focus-within {
  outline: 3px solid #9a8bff;
  outline-offset: 4px;
}
.recorder-cancel,
.recorder-feedback button {
  background: #f1efff;
  border: 1px solid #d8d3fa;
  padding: 10px 20px;
  border-radius: 12px;
  margin: 8px;
  color: #443296;
  cursor: pointer;
}
.recorder-upload {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 15px auto 12px;
  color: #6246ee;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
}
.recorder-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.recorder-main small {
  display: block;
  color: #7c879b;
  font-size: 12px;
}
.recorder-steps {
  border-top: 1px solid #e8edf5;
  padding: 20px 0 16px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  text-align: left;
  gap: 18px;
}
.recorder-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}
.recorder-steps span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #f0edff;
  border-radius: 50%;
  color: #6345f5;
  font-size: 18px;
}
.recorder-fallback {
  border-radius: 12px;
  background: #f5f6fd;
  padding: 12px 18px;
  color: #68748a;
  font-size: 13px;
}
.recorder-fallback p {
  margin: 0 0 3px;
}
.recorder-fallback a {
  color: #5940e7;
  margin: 0 5px;
}
.recorder-privacy {
  font-size: 11px;
  line-height: 1.6;
  color: #7b879c;
  margin: 14px 0 0;
}
.recorder-privacy a {
  color: #5e6680;
  text-decoration: underline;
}
.recorder-message {
  margin: 12px auto 18px;
  color: #463791;
  font-weight: 600;
}
.recorder-panel progress {
  width: min(420px, 90%);
  height: 10px;
  accent-color: #6544f3;
}
.recorder-level {
  font-size: 13px;
  color: #6b7590;
}
.recorder-results {
  max-width: 700px;
  text-align: left;
  margin: 0 auto 20px;
}
.recorder-result {
  border: 1px solid #e4e3f3;
  border-radius: 14px;
  padding: 16px;
  margin-top: 10px;
  background: #fafaff;
}
.recorder-result h3 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 5px;
}
.recorder-result p {
  margin: 0 0 6px;
  color: #677187;
}
.recorder-result a {
  color: #6043ec;
  font-size: 14px;
}
.recorder-feedback {
  margin: 0 0 15px;
}
.recorder-feedback p {
  font-size: 14px;
  margin: 0;
}
.recorder-alternatives {
  max-width: 1240px;
  margin: 22px auto 36px;
  padding: 0 4px;
}
.recorder-alternatives h2 {
  font-size: 26px;
  margin: 0 0 8px;
  color: #151d30;
}
.recorder-alternatives > p {
  color: #758099;
  font-size: 14px;
  margin-bottom: 18px;
}
.recorder-alt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.recorder-alt-grid article {
  border: 1px solid #e1e7f2;
  background: #fff;
  border-radius: 15px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.recorder-alt-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.recorder-alt-head h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
.recorder-alt-grid article p {
  color: #69748c;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0;
}
.recorder-alt-grid article > a {
  margin-top: auto;
  color: #6341f2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.recorder-panel[data-state="recording"] .recorder-wave {
  opacity: 0.8;
  animation: recorder-breathe 1s ease-in-out infinite alternate;
}
@keyframes recorder-breathe {
  to {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recorder-wave {
    animation: none !important;
  }
}
@media (max-width: 700px) {
  .hub-hero--recorder {
    padding: 24px 12px;
  }
  .hub-hero--recorder .hero-head-wrap {
    margin: 18px auto 24px;
  }
  .hub-hero--recorder .hub-hero-intro {
    font-size: 15px;
  }
  .hub-hero--recorder .route-button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .hub-hero--recorder .route-button {
    font-size: 12px;
    gap: 6px;
    padding: 10px 5px;
  }
  .hub-hero--recorder .route-button small {
    font-size: 9px;
    padding: 2px 4px;
  }
  .hub-hero--recorder .route-button img {
    width: 20px;
    height: 20px;
  }
  .hub-hero--recorder .route-panel {
    padding: 18px 14px;
  }
  .recorder-main {
    padding: 16px 0;
  }
  .recorder-symbol {
    width: 70px;
    height: 70px;
  }
  .recorder-main h2 {
    font-size: 21px;
  }
  .recorder-hint {
    font-size: 14px;
  }
  .recorder-steps {
    gap: 6px;
    padding: 16px 0;
  }
  .recorder-steps li {
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
    text-align: center;
  }
  .recorder-alt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recorder-alt-grid article {
    padding: 14px;
  }
  .recorder-alternatives h2 {
    font-size: 22px;
  }
  .recorder-privacy {
    font-size: 10px;
  }
  .recorder-start {
    min-width: 220px;
  }
}
@media (max-width: 360px) {
  .recorder-alt-grid {
    grid-template-columns: 1fr;
  }
  .recorder-start {
    min-width: 180px;
  }
}

/* Scope overrides to the new homepage hero. */
.hub-hero--recorder .hero-shell {
  padding: 10px 0 0;
}
.hub-hero--recorder .hero-pill {
  margin-bottom: 0;
}
.recorder-wave {
  width: 40px;
  transform: scaleX(4);
}
.recorder-alt-head img.brand-logo {
  filter: none;
  object-fit: contain;
}
.recorder-results,
.recorder-steps {
  text-align: start;
}
@media (min-width: 701px) {
  .nav-shell {
    max-width: 1100px;
    min-height: 64px;
  }
  .hub-hero--recorder {
    padding-top: 18px;
    padding-bottom: 26px;
  }
  .hub-hero--recorder .hero-head-wrap {
    margin: 16px auto 24px;
  }
  .hub-hero--recorder .hero-route-module {
    max-width: 900px;
  }
  .hub-hero--recorder .hub-hero-intro {
    margin-top: 14px;
  }
  .hub-hero--recorder .route-button {
    min-height: 52px;
  }
  .hub-hero--recorder .route-panel {
    padding: 22px 24px;
  }
  .recorder-main {
    padding-top: 2px;
    padding-bottom: 16px;
  }
  .recorder-alternatives {
    max-width: 1080px;
  }
  .recorder-alt-head img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}
.recorder-fallback p {
  display: inline;
}
.recorder-steps .step-copy {
  display: block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: inherit;
  font-size: 14px;
  text-align: start;
}
.recorder-steps .step-copy small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #76839a;
  margin-top: 4px;
}
.recorder-status-tag:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39ae70;
  margin-inline-end: 7px;
}
.route-button.is-active img,
.recorder-upload img {
  filter: invert(30%) sepia(95%) saturate(3212%) hue-rotate(240deg)
    brightness(94%);
}
@media (max-width: 700px) {
  .recorder-steps .step-copy {
    font-size: 12px;
    text-align: center;
  }
  .recorder-steps .step-copy small {
    display: none;
  }
}
@media (min-width: 701px) {
  .recorder-alt-grid article {
    padding: 18px;
  }
  .recorder-alt-head {
    gap: 10px;
  }
  .recorder-alt-head h3 {
    font-size: 14px;
  }
  .recorder-alt-head img {
    width: 32px;
    height: 32px;
  }
}
.hub-hero--recorder .route-button{min-width:0;flex-wrap:wrap}.hub-hero--recorder .route-button>span{min-width:0;overflow-wrap:anywhere}.hub-hero--recorder .route-button img{flex-shrink:0}
@media(max-width:700px){.hub-hero--recorder .route-button[data-route-target="hum"]{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:6px;row-gap:2px}.hub-hero--recorder .route-button[data-route-target="hum"] small{grid-column:2;justify-self:center}.hub-hero--recorder .route-button[data-route-target="hum"] img{grid-row:1 / 3}.hub-hero--recorder .route-button[data-route-target="hum"]>span{line-height:1.2}}
