:root {
  --bg: #f5f8f5;
  --paper: #fff;
  --ink: #16352d;
  --muted: #75877e;
  --accent: #245d49;
  --accent-soft: #e4f2e8;
  --mint: #9cefc5;
  --line: #dfe8e1;
  --code: #102b25;
  --radius: 18px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #86cbaa;
  outline-offset: 4px;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #81aa92;
  box-shadow: 0 0 0 3px #245d4910;
}
input::placeholder,
textarea::placeholder {
  color: #9baa9f;
}
textarea {
  resize: vertical;
  min-height: 106px;
  line-height: 1.7;
}
select {
  appearance: none;
  padding-right: 35px;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2375877e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -1.8px;
  margin-bottom: 18px;
  font-weight: 600;
}
h2 {
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
p {
  color: var(--muted);
  line-height: 1.85;
}
small,
.muted {
  color: var(--muted);
}
code,
pre,
.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fdfefced;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.nav-wrap {
  max-width: 1300px;
  min-height: 80px;
  padding: 16px 30px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.brand-mark {
  width: 33px;
  height: 33px;
  border: 1px solid #dbe5da;
  border-radius: 10px;
  background: #f5f4ea;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 43px;
  height: 40px;
  max-width: none;
  object-fit: cover;
  margin-top: 3px;
}
.brand > span:last-child:not(.brand-mark) {
  font-weight: 400;
  font-size: 11px;
  color: #798b80;
  letter-spacing: 0.2px;
  border-left: 1px solid #d8e0d9;
  padding-left: 12px;
  margin-left: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a {
  padding: 10px 12px;
  font-size: 12px;
  color: #698072;
  border-radius: 7px;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: #edf3ed;
}
.nav-links a.active {
  background: #e6eee5;
  color: #234d37;
  font-weight: 600;
}
.nav-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.account-name {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 13px 20px;
  line-height: 1.4;
  border-radius: 8px;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  background: #244f3d;
  color: #fff;
}
.primary:hover:not(:disabled) {
  background: #153c2b;
}
.secondary {
  background: transparent;
  border-color: #cedbd1;
  color: var(--ink);
}
.secondary:hover:not(:disabled) {
  background: #eff5ef;
}
.small {
  padding: 8px 12px;
  font-size: 11px;
}
.nav-test {
  padding: 10px 15px;
  font-size: 11px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--accent);
  padding: 0;
  font-size: 12px;
}
.text-link {
  display: inline-flex;
  color: var(--accent);
  font-size: 12px;
  gap: 10px;
  line-height: 1.7;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 23px;
  color: var(--muted);
}
.wide {
  width: 100%;
}
.container {
  max-width: 1236px;
  margin: auto;
  padding: 30px 30px 48px;
  min-height: calc(100vh - 179px);
}
.page-head {
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow {
  margin-bottom: 15px;
}
.page-head h1 {
  font-size: 34px;
  margin-bottom: 12px;
  letter-spacing: -1.2px;
}
.page-head p {
  font-size: 13px;
  margin-bottom: 0;
}
.eyebrow {
  display: block;
  color: #6b8b77;
  letter-spacing: 1.8px;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 15px;
}
.quiet-label {
  font-size: 11px;
  color: var(--muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent-soft);
  color: #456e53;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.panel-head h2,
.panel-head h3 {
  margin-bottom: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.home-page {
  padding-top: 34px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 40px;
  align-items: stretch;
  padding-bottom: 30px;
}
.hero-copy {
  padding: 20px 0 12px;
}
.hero-copy h1 {
  font-size: 40px;
  line-height: 1.32;
  letter-spacing: -2.4px;
  margin: 0 0 18px;
}
.hero-copy h1 span {
  display: block;
  color: #44876a;
}
.hero-copy p {
  font-size: 15px;
  margin-bottom: 30px;
}
.hero-caption {
  margin-top: 36px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: #859889;
}
.hero-caption > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7faa80;
}
.sound-canvas {
  position: relative;
  min-height: 260px;
  margin-top: 10px;
  background: #e1eddf;
  border-radius: 22px;
  overflow: hidden;
}
.sound-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#78977d10 1px, transparent 1px),
    linear-gradient(90deg, #78977d10 1px, transparent 1px);
  background-size: 36px 36px;
}
.sound-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid #74917a29;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-two {
  width: 380px;
  height: 380px;
}
.orbit-three {
  width: 495px;
  height: 495px;
}
.sound-wave {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 135px;
  width: 78%;
  left: 11%;
  top: 34%;
}
.sound-wave i {
  display: block;
  width: 6px;
  height: var(--height);
  border-radius: 10px;
  background: #275a43;
  opacity: 0.88;
}
.canvas-label {
  position: absolute;
  left: 30px;
  top: 28px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #738d75;
}
.canvas-bottom {
  position: absolute;
  bottom: 28px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.canvas-bottom > span:first-child {
  font-size: 31px;
  letter-spacing: -1.5px;
  font-weight: 650;
}
.canvas-bottom > span + span {
  font-size: 8px;
  letter-spacing: 1.2px;
  line-height: 1.7;
  text-align: right;
  color: #67836b;
}
.capabilities-section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 75px;
}
.section-intro h2 {
  font-size: 29px;
  margin: 0 0 20px;
}
.capability-list article {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.capability-list article:first-child {
  padding-top: 0;
}
.capability-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.capability-list article > span:first-child {
  font-size: 10px;
  padding-top: 5px;
  color: #8da18f;
}
.capability-list p {
  font-size: 12px;
  margin: 0;
}
.capability-arrow {
  margin-left: auto;
  align-self: center;
  color: #668270;
  font-size: 21px;
}
.integration-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.integration-copy h2 {
  font-size: 29px;
}
.integration-copy ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 26px 0 0;
}
.integration-copy li {
  counter-increment: step;
  margin-bottom: 20px;
  padding-left: 31px;
  position: relative;
}
.integration-copy li:before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 9px;
  color: #8da18f;
}
.integration-copy li strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.integration-copy li span {
  font-size: 11px;
  color: var(--muted);
}
.integration-copy li:last-child {
  margin-bottom: 0;
}
.integration-code {
  min-width: 0;
}
.integration-result {
  background: #e8f1e8;
  margin-top: 12px;
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.integration-result span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #567963;
}
.integration-result code {
  font-size: 10px;
  color: #567963;
}
.platform-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 36px 0;
  margin: 18px 0 30px;
}
.platform-strip > div {
  text-align: center;
  border-right: 1px solid var(--line);
}
.platform-strip > div:last-child {
  border-right: 0;
}
.platform-strip strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}
.platform-strip span {
  font-size: 11px;
  color: var(--muted);
}
.home-cta {
  border-radius: 20px;
  background: #12382d;
  color: #f4fcf2;
  padding: 43px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.home-cta .eyebrow {
  color: #91baa3;
}
.home-cta h2 {
  font-size: 32px;
  margin-bottom: 0;
}
.mint-button {
  background: #acefbd;
  color: #173b26;
}
.codebox {
  border: 1px solid #254538;
  background: var(--code);
  border-radius: 12px;
  overflow: hidden;
  color: #d8ebd9;
  min-width: 0;
}
.code-head {
  padding: 12px 16px;
  border-bottom: 1px solid #ffffff12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8eb19b;
  font-size: 9px;
  letter-spacing: 1px;
}
.copy {
  border: 1px solid #95b3a52b;
  border-radius: 5px;
  background: #ffffff07;
  color: #b7cebd;
  padding: 5px 9px;
  font-size: 10px;
}
.codebox pre {
  margin: 0;
  padding: 19px;
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}
footer {
  max-width: 1176px;
  border-top: 1px solid var(--line);
  margin: auto;
  padding: 27px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
footer .brand {
  font-size: 22px;
  color: var(--ink);
}
.keys-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.key-create-panel {
  background: #edf3ea;
  border-color: #dbe5d6;
}
.key-create-panel h2 {
  font-size: 23px;
  margin-bottom: 23px;
}
.key-create {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.key-create label {
  font-size: 11px;
  color: var(--muted);
}
.key-create .button {
  margin-top: 6px;
}
.field-hint {
  color: #8a9a8d;
  font-size: 10px;
  line-height: 1.75;
  margin: 12px 0 23px;
}
.key-create-panel .text-link {
  border-top: 1px solid #dbe5d6;
  padding-top: 20px;
  width: 100%;
}
.key-list-panel {
  min-height: 350px;
}
.key-list-panel h2 {
  font-size: 20px;
}
.key-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.key-row:last-child {
  padding-bottom: 0;
}
.key-data {
  flex: 1;
  min-width: 0;
}
.key-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 9px;
}
.key-mask {
  color: #73877a;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.key-meta {
  color: #93a095;
  font-size: 10px;
  margin-top: 9px;
}
.danger {
  color: #a76250;
  border-color: #e8d9d3;
  background: transparent;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 9px;
  color: #778b7d;
  background: #eef2ee;
  white-space: nowrap;
}
.status:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status.succeeded,
.status.active {
  color: #527d60;
  background: #edf5e9;
}
.status.running,
.status.streaming {
  color: #8b8752;
  background: #f4f3e6;
}
.status.failed,
.status.revoked {
  color: #a36a59;
  background: #f8eee9;
}
.empty {
  text-align: center;
  padding: 45px 16px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #edf3e9;
  color: #89a38b;
  font-size: 24px;
  margin: 0 auto 20px;
}
.empty h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.empty p {
  font-size: 12px;
  margin: 0;
}
.loading {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
}
.credit-overview {
  display: flex;
  align-items: center;
  gap: 55px;
  padding: 6px 0 32px;
}
.credit-overview .eyebrow {
  letter-spacing: 0;
  font-size: 11px;
  margin-bottom: 12px;
}
.credit-overview > div:first-child > strong {
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.balance-unit {
  margin-left: 12px;
  font-size: 11px;
  color: #8e9f91;
}
.balance-detail {
  display: grid;
  grid-template-columns: auto auto;
  gap: 9px 25px;
  padding-left: 35px;
  border-left: 1px solid #dce5dc;
  font-size: 12px;
}
.balance-detail > span {
  color: var(--muted);
}
.balance-detail > strong {
  font-weight: 500;
}
.balance-detail > small {
  grid-column: span 2;
  color: #94a297;
  font-size: 10px;
}
.credit-overview > a {
  margin-left: auto;
}
.topup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
}
.topup-form-panel {
  padding: 33px;
}
.topup-form-panel h2 {
  font-size: 23px;
}
.topup-form-panel .panel-head {
  margin-bottom: 31px;
}
.amount-label {
  display: block;
  font-size: 11px;
  color: #7a8e80;
  margin-bottom: 12px;
}
.amount-input {
  display: flex;
  align-items: center;
  border: 1px solid #ceded0;
  border-radius: 10px;
  padding: 0 20px;
  background: #fbfdfb;
}
.amount-input:focus-within {
  border-color: #7eaa87;
  box-shadow: 0 0 0 3px #245d4909;
}
.amount-input > span {
  color: #92a797;
  font-size: 24px;
}
.amount-input input {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -1px;
  padding: 17px 13px;
  border: none;
  box-shadow: none;
  background: transparent;
}
.amount-input input:focus {
  box-shadow: none;
}
.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.amount-preset {
  border: 1px solid #dce6dc;
  background: white;
  padding: 17px 8px;
  text-align: left;
  border-radius: 9px;
  color: var(--ink);
}
.amount-preset strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.amount-preset span {
  display: block;
  font-size: 9px;
  color: #8b9b8d;
}
.amount-preset.selected {
  background: #ecf5e9;
  border-color: #729c77;
  box-shadow: inset 0 0 0 1px #729c77;
}
.amount-preset.selected span {
  color: #6d9174;
}
.topup-benefits {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  color: #799581;
  font-size: 10px;
}
.quote-panel {
  background: #e8f1e4;
  border-color: #d6e2cf;
  padding: 33px;
  display: flex;
  flex-direction: column;
}
.quote-panel h2 {
  font-size: 23px;
}
.quote-credits {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid #d2e0cb;
  padding: 15px 0 24px;
  margin-bottom: 22px;
}
.quote-credits strong {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
}
.quote-credits span {
  font-size: 11px;
  color: #79927b;
}
.quote-detail {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 16px;
  color: #738e77;
}
.quote-detail strong {
  color: #36563c;
  font-weight: 500;
}
.quote-panel .error-box {
  margin-top: 0;
}
.quote-panel .button {
  margin-top: auto;
}
.quote-footnote {
  text-align: center;
  font-size: 9px;
  color: #8ea48e;
  margin: 12px 0 0;
}
.usage-pricing {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 40px 3px 0;
}
.usage-pricing h2 {
  font-size: 24px;
  margin: 0;
}
.usage-price {
  text-align: right;
}
.usage-price strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.usage-price strong small {
  font-size: 10px;
  margin-left: 7px;
  font-weight: 400;
}
.usage-price > span {
  font-size: 11px;
  color: var(--muted);
}
.payment-notice {
  padding: 16px 20px;
  border-radius: 10px;
  background: #edf2e8;
  border: 1px solid #d9e4d0;
  margin-bottom: 22px;
  line-height: 1.8;
  font-size: 12px;
}
.payment-notice.paid {
  background: #e4f3e5;
  color: #356644;
}
.payment-notice button {
  margin-left: 15px;
}
.tabs {
  display: flex;
  gap: 3px;
  background: #eef3ed;
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
}
.tabs button {
  padding: 9px 15px;
  border: 0;
  border-radius: 5px;
  color: #809383;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}
.tabs button.active {
  color: #385d40;
  background: white;
  box-shadow: 0 1px 4px #204a2310;
}
.history-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.history-toolbar .search {
  flex: 1;
  min-width: 150px;
}
.history-toolbar select {
  width: 145px;
}
.history-toolbar .button {
  font-size: 12px;
}
.table-wrap {
  width: 100%;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c9d9c8 transparent;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  font-weight: 500;
  color: #879d89;
  font-size: 10px;
  background: #f9fbf8;
}
td,
th {
  padding: 15px 12px;
  border-bottom: 1px solid #edf1ea;
}
td {
  line-height: 1.7;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
td:last-child,
th:last-child {
  padding-right: 0;
}
tr:last-child td {
  border-bottom: none;
}
.history-id {
  font-size: 9px;
  display: block;
  color: #94a694;
  max-width: 235px;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.history-error {
  color: #a27661;
  max-width: 240px;
  font-size: 11px;
}
.docs-layout {
  max-width: 1280px;
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 45px;
}
.doc-nav {
  align-self: start;
  position: sticky;
  top: 120px;
  height: calc(100vh - 150px);
  overflow: auto;
  padding-right: 15px;
  scrollbar-width: thin;
  scrollbar-color: #cad7c7 transparent;
}
.doc-nav > .eyebrow {
  font-size: 9px;
  margin-bottom: 24px;
}
.doc-nav a {
  display: block;
  padding: 10px 12px;
  color: #8b9b8c;
  font-size: 11px;
  border-radius: 6px;
}
.doc-nav a.current,
.doc-nav a:hover {
  color: #456b46;
  background: #e8f0e2;
}
.doc-nav h4 {
  font-weight: 500;
  font-size: 10px;
  color: #5c7c59;
  margin: 27px 0 8px;
  padding-left: 12px;
}
.sidebar-cta {
  border-top: 1px solid var(--line);
  padding: 22px 10px 10px;
  margin-top: 27px;
  font-size: 10px;
  color: #93a18f;
}
.sidebar-cta a {
  padding: 10px 0 0;
  color: #64845f;
  font-size: 10px;
}
.doc-content {
  min-width: 0;
}
.doc-content section {
  scroll-margin-top: 115px;
  margin-bottom: 37px;
}
.doc-intro {
  background: #eaf1e4;
  border: 1px solid #dce5d3;
  padding: 32px;
  border-radius: 17px;
}
.breadcrumb {
  color: #8da084;
  font-size: 10px;
  margin-bottom: 24px;
}
.doc-intro h1 {
  font-size: 40px;
  margin: 20px 0 16px;
}
.doc-intro > p {
  font-size: 13px;
  max-width: 680px;
  margin-bottom: 26px;
}
.summary-card {
  background: #f8fbf5;
  border: 1px solid #dce6d5;
  border-radius: 9px;
  padding: 15px;
}
.summary-card small {
  display: block;
  font-size: 9px;
  color: #8fa084;
  margin-bottom: 9px;
}
.summary-card strong {
  font-size: 12px;
  font-weight: 500;
}
.base-url {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #19362a;
  padding: 16px;
  border-radius: 9px;
  color: #c3d8bf;
  margin-top: 20px;
}
.base-url > span {
  color: #92b18b;
  font-size: 8px;
  letter-spacing: 1px;
}
.base-url code {
  font-size: 11px;
  min-width: 0;
}
.base-url small {
  font-size: 9px;
  margin-left: auto;
  color: #799578;
}
.doc-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.doc-section h2 {
  font-size: 25px;
}
.doc-section p {
  font-size: 12px;
}
.quick-step {
  display: flex;
  gap: 13px;
  margin-top: 23px;
}
.quick-step > span {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  background: #e9f1e4;
  color: #74966c;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.quick-step > div {
  flex: 1;
  min-width: 0;
}
.quick-step h3 {
  font-size: 14px;
  margin: 4px 0 15px;
}
.note {
  background: #ecf3e8;
  border-left: 2px solid #a4bd91;
  color: #7c9270;
  font-size: 11px;
  line-height: 1.9;
  padding: 14px 17px;
  border-radius: 0 7px 7px 0;
  margin: 18px 0;
}
.endpoint {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 27px;
}
.endpoint h3 {
  font-size: 20px;
  margin-top: 23px;
}
.endpoint > p {
  font-size: 12px;
}
.endpoint h4 {
  font-size: 11px;
  margin: 24px 0 10px;
}
.endpoint .codebox {
  margin-top: 18px;
}
.endpoint-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.endpoint-meta code {
  font-size: 12px;
}
.method {
  padding: 5px 8px;
  border-radius: 5px;
  color: #5e7c4d;
  background: #ecf2df;
  font-size: 9px;
  font-weight: 600;
}
.method.get {
  color: #52816d;
  background: #e7f3ed;
}
.cost {
  margin-left: auto;
  color: #8d9e85;
  font-size: 10px;
}
.state-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.state-list > div {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  font-size: 11px;
}
.state-list code {
  margin-right: 9px;
  color: #739367;
}
.test-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 29px;
  align-items: start;
}
.test-grid > .panel {
  border-radius: 16px;
}
.test-grid > section > .panel-head h2 {
  font-size: 22px;
}
.form-field {
  display: block;
  margin-bottom: 20px;
}
.form-field > span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 9px;
}
.form-field small {
  margin-left: 8px;
  font-size: 9px;
  font-weight: 400;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.toggle-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  margin-bottom: 15px;
}
.toggle-field label {
  font-size: 12px;
}
.toggle-field small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.switch {
  appearance: none;
  width: 36px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #d3dfcf;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.switch:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.switch:checked {
  background: #578161;
}
.switch:checked:before {
  transform: translateX(15px);
}
.test-hint {
  font-size: 9px;
  text-align: center;
  margin: 13px 0 0;
  color: #98a490;
}
.task-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.task-card {
  padding: 22px;
  border-radius: 13px;
}
.task-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.task-top h3 {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.task-time {
  font-size: 10px;
  color: #98a58f;
}
.task-id {
  display: block;
  font-size: 9px;
  margin: 14px 0;
  color: #9eab97;
  overflow-wrap: anywhere;
}
.task-card audio {
  display: block;
  width: 100%;
  height: 37px;
  margin: 12px 0;
}
.task-card .button {
  font-size: 11px;
  padding: 8px 12px;
}
.task-error {
  font-size: 11px;
  color: #a27661;
  margin: 12px 0 0;
}
.task-count {
  font-size: 10px;
  color: #99a78f;
}
.error-box {
  border: 1px solid #eadbcc;
  background: #fcf7ee;
  color: #aa7956;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.8;
  margin: 15px 0;
}
.error-box:empty {
  display: none;
}
.login-panel {
  max-width: 430px;
  margin: 55px auto 85px;
  padding: 39px;
  text-align: center;
  background: #fdfefb;
}
.feature-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  background: #e7f2dd;
  border-radius: 14px;
  font-size: 23px;
  color: #7ca369;
  margin: 0 auto 24px;
}
.login-panel h1 {
  font-size: 26px;
  letter-spacing: -0.8px;
}
.login-panel p {
  font-size: 12px;
}
.login-panel .button {
  margin-top: 12px;
}
dialog {
  width: 500px;
  max-width: calc(100vw - 32px);
  border: 1px solid #dce5d3;
  border-radius: 18px;
  padding: 36px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 100px #2139232a;
}
dialog::backdrop {
  background: #18302266;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 13px;
}
dialog h2 {
  font-size: 25px;
}
dialog p {
  font-size: 12px;
}
dialog input {
  font-family: monospace;
  font-size: 12px;
  margin: 6px 0 21px;
}
#toast {
  position: fixed;
  bottom: 27px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #204332;
  color: white;
  border-radius: 9px;
  padding: 12px 22px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
::selection {
  background: #d2e7c5;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: #cad9c4;
}
::-webkit-scrollbar-track {
  background: transparent;
}
@media (max-width: 1100px) {
  .nav-wrap {
    gap: 20px;
    padding-inline: 25px;
  }
  .brand > span:last-child:not(.brand-mark) {
    display: none;
  }
  .nav-links a {
    padding-inline: 10px;
  }
  .account-name {
    max-width: 75px;
  }
  .nav-account {
    gap: 12px;
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .home-hero {
    gap: 25px;
  }
  .sound-canvas {
    min-height: 450px;
  }
  .topup-form-panel,
  .quote-panel {
    padding: 26px;
  }
  .amount-presets {
    gap: 7px;
  }
  .amount-preset strong {
    font-size: 13px;
  }
  .quote-credits strong {
    font-size: 42px;
  }
  .docs-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 28px;
  }
  .doc-intro {
    padding: 26px;
  }
  .base-url small {
    display: none;
  }
  footer {
    margin-inline: 30px;
  }
}
@media (max-width: 800px) {
  .nav-wrap {
    flex-wrap: wrap;
    min-height: 74px;
    gap: 15px;
    padding: 13px 24px 0;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding: 0 0 12px;
  }
  .nav-links a {
    padding: 8px 15px;
  }
  .nav-account {
    margin-left: auto;
  }
  .account-name {
    max-width: 120px;
  }
  .container {
    padding-top: 34px;
  }
  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 45px;
  }
  .hero-copy {
    padding-top: 20px;
  }
  .hero-copy h1 {
    font-size: 35px;
    letter-spacing: -1.6px;
  }
  .hero-copy p {
    font-size: 12px;
  }
  .hero-copy .button {
    padding: 11px 14px;
    font-size: 11px;
  }
  .hero-caption {
    font-size: 9px;
    margin-top: 29px;
  }
  .sound-canvas {
    min-height: 260px;
  }
  .sound-wave {
    gap: 4px;
    height: 100px;
  }
  .sound-wave i {
    width: 4px;
  }
  .canvas-label {
    left: 23px;
    font-size: 8px;
  }
  .canvas-bottom {
    left: 23px;
    right: 23px;
  }
  .canvas-bottom > span:first-child {
    font-size: 25px;
  }
  .canvas-bottom > span + span {
    font-size: 7px;
  }
  .capabilities-section {
    gap: 35px;
    grid-template-columns: 0.8fr 1.2fr;
    padding-block: 38px;
  }
  .section-intro h2 {
    font-size: 25px;
  }
  .capability-list article {
    gap: 14px;
  }
  .capability-list h3 {
    font-size: 16px;
  }
  .integration-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 29px;
  }
  .integration-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .integration-copy .eyebrow {
    grid-column: 1;
  }
  .integration-copy h2 {
    grid-column: 1;
    font-size: 27px;
  }
  .integration-copy ol {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
  }
  .keys-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }
  .panel {
    padding: 23px;
  }
  .key-name {
    flex-wrap: wrap;
    gap: 7px;
  }
  .key-row {
    align-items: flex-start;
  }
  .topup-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(245px, 1fr);
    gap: 18px;
  }
  .topup-form-panel .panel-head {
    display: block;
  }
  .topup-form-panel .quiet-label {
    display: none;
  }
  .amount-presets {
    grid-template-columns: 1fr 1fr;
  }
  .topup-benefits {
    gap: 12px;
    font-size: 9px;
    flex-wrap: wrap;
  }
  .credit-overview {
    gap: 30px;
  }
  .usage-pricing h2 {
    font-size: 21px;
  }
  .usage-price strong {
    font-size: 20px;
  }
  .docs-layout {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 23px;
  }
  .doc-nav {
    top: 155px;
    height: calc(100vh - 175px);
  }
  .doc-content section {
    scroll-margin-top: 155px;
  }
  .doc-intro {
    padding: 22px;
  }
  .doc-intro h1 {
    font-size: 32px;
  }
  .doc-intro .grid3 {
    gap: 7px;
  }
  .summary-card {
    padding: 12px 8px;
  }
  .summary-card strong {
    font-size: 10px;
  }
  .summary-card small {
    font-size: 8px;
  }
  .base-url {
    display: block;
  }
  .base-url > span {
    display: block;
    margin-bottom: 9px;
  }
  .history-toolbar .tabs {
    width: 100%;
  }
  .test-grid {
    gap: 20px;
  }
  .test-grid .panel-head h2 {
    font-size: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 600px) {
  .nav-wrap {
    padding: 13px 18px 0;
    gap: 11px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .nav-links a {
    padding: 8px 11px;
    font-size: 11px;
  }
  .nav-account {
    gap: 12px;
  }
  .account-name {
    display: none;
  }
  .nav-test {
    font-size: 10px;
    padding: 9px 12px;
  }
  .container {
    padding: 22px 18px 35px;
  }
  .page-head {
    margin-bottom: 25px;
    padding-bottom: 24px;
  }
  .page-head h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head .eyebrow {
    font-size: 8px;
  }
  .home-page {
    padding-top: 28px;
  }
  .home-hero {
    display: block;
    padding-bottom: 35px;
  }
  .hero-copy {
    padding: 12px 4px 30px;
  }
  .hero-copy h1 {
    font-size: 32px;
    margin-top: 0;
    letter-spacing: -1.2px;
  }
  .hero-copy p {
    font-size: 13px;
    margin-bottom: 25px;
  }
  .hero-copy .button {
    font-size: 12px;
    padding: 12px 17px;
  }
  .hero-caption {
    margin-top: 25px;
  }
  .sound-canvas {
    min-height: 180px;
    margin-top: 0;
    border-radius: 16px;
  }
  .sound-wave {
    height: 90px;
    top: 33%;
  }
  .canvas-label {
    top: 23px;
  }
  .canvas-bottom {
    bottom: 23px;
  }
  .capabilities-section {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-block: 31px;
  }
  .section-intro h2 {
    font-size: 26px;
    margin: 15px 0 18px;
  }
  .capability-list article {
    padding-block: 21px;
  }
  .capability-list p {
    font-size: 11px;
  }
  .capability-arrow {
    font-size: 19px;
  }
  .integration-section {
    padding: 22px 17px;
    border-radius: 15px;
  }
  .integration-copy {
    display: block;
    padding: 0 3px;
  }
  .integration-copy h2 {
    font-size: 26px;
  }
  .integration-copy ol {
    margin-top: 23px;
  }
  .integration-result {
    display: block;
    padding: 13px;
  }
  .integration-result > span {
    display: block;
    margin-bottom: 8px;
  }
  .codebox pre {
    font-size: 10px;
    padding: 15px;
  }
  .platform-strip {
    padding: 26px 0;
    margin: 8px 0 15px;
  }
  .platform-strip strong {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .platform-strip span {
    font-size: 9px;
    display: block;
    padding: 0 10px;
    line-height: 1.7;
  }
  .home-cta {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    gap: 25px;
  }
  .home-cta h2 {
    font-size: 27px;
  }
  .home-cta .button {
    font-size: 12px;
  }
  footer {
    margin: 0 18px;
    padding: 23px 0;
    font-size: 10px;
  }
  footer > span {
    display: none;
  }
  .keys-layout {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .key-create-panel {
    padding: 24px;
  }
  .key-create-panel h2 {
    font-size: 22px;
  }
  .key-create-panel .text-link {
    padding-top: 16px;
  }
  .key-list-panel {
    padding: 23px;
    min-height: 280px;
  }
  .key-row .button {
    font-size: 9px;
    padding: 7px 10px;
  }
  .key-meta {
    font-size: 9px;
  }
  .key-mask {
    font-size: 10px;
  }
  .credit-overview {
    gap: 22px;
    flex-wrap: wrap;
    padding-bottom: 26px;
  }
  .credit-overview > div:first-child > strong {
    font-size: 35px;
  }
  .balance-unit {
    margin-left: 7px;
    font-size: 10px;
  }
  .balance-detail {
    margin-left: auto;
    padding-left: 20px;
    gap: 9px 15px;
    font-size: 11px;
  }
  .credit-overview > a {
    margin-left: 0;
    font-size: 11px;
  }
  .topup-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .topup-form-panel,
  .quote-panel {
    padding: 25px;
  }
  .topup-form-panel .panel-head {
    margin-bottom: 24px;
  }
  .topup-form-panel h2,
  .quote-panel h2 {
    font-size: 22px;
  }
  .amount-input input {
    padding-block: 16px;
    font-size: 32px;
  }
  .amount-presets {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .amount-preset {
    padding: 15px;
  }
  .amount-preset strong {
    font-size: 16px;
  }
  .amount-preset span {
    font-size: 10px;
  }
  .topup-benefits {
    margin-top: 22px;
    gap: 20px;
    font-size: 10px;
  }
  .quote-credits {
    padding-top: 6px;
  }
  .quote-credits strong {
    font-size: 43px;
  }
  .quote-panel .button {
    margin-top: 9px;
  }
  .usage-pricing {
    flex-wrap: wrap;
    gap: 27px 20px;
    padding-top: 31px;
  }
  .usage-pricing > div:first-child {
    width: 100%;
  }
  .usage-pricing h2 {
    font-size: 24px;
  }
  .usage-price {
    text-align: left;
    flex: 1;
  }
  .usage-price strong {
    font-size: 23px;
  }
  .usage-price > span {
    font-size: 10px;
  }
  .payment-notice {
    font-size: 11px;
    padding: 14px 17px;
  }
  .history-toolbar {
    gap: 9px;
  }
  .history-toolbar .tabs {
    width: auto;
  }
  .history-toolbar select {
    width: 118px;
  }
  .history-toolbar .button {
    padding: 11px 13px;
    font-size: 11px;
  }
  .history-toolbar .search {
    min-width: 170px;
  }
  .history-table td,
  .history-table th {
    min-width: 90px;
    padding: 12px 10px;
    font-size: 10px;
  }
  .history-table td:first-child {
    min-width: 155px;
  }
  .docs-layout {
    display: block;
  }
  .doc-nav {
    position: static;
    height: auto;
    overflow: visible;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 0 23px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .doc-nav > .eyebrow {
    width: 100%;
    margin-bottom: 6px;
  }
  .doc-nav h4,
  .doc-nav .sidebar-cta {
    display: none;
  }
  .doc-nav a {
    padding: 7px 9px;
    border: 1px solid #dce6d4;
    font-size: 9px;
    background: #f9fcf6;
  }
  .doc-intro {
    padding: 23px 18px;
  }
  .doc-intro h1 {
    font-size: 33px;
  }
  .doc-intro > p {
    font-size: 12px;
  }
  .doc-intro .grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .summary-card {
    padding: 12px 8px;
  }
  .summary-card strong {
    font-size: 10px;
  }
  .summary-card small {
    font-size: 8px;
  }
  .doc-content section {
    margin-bottom: 29px;
  }
  .breadcrumb {
    font-size: 9px;
    margin-bottom: 19px;
  }
  .base-url code {
    font-size: 10px;
  }
  .doc-section h2 {
    font-size: 24px;
  }
  .endpoint {
    padding: 21px 16px;
  }
  .endpoint-meta {
    gap: 8px;
  }
  .endpoint-meta code {
    font-size: 10px;
  }
  .cost {
    font-size: 9px;
  }
  .endpoint td,
  .endpoint th {
    font-size: 10px;
    padding: 11px 8px;
  }
  .endpoint td:first-child {
    max-width: 105px;
    overflow-wrap: anywhere;
  }
  .quick-step {
    gap: 9px;
  }
  .quick-step .codebox pre {
    font-size: 9px;
    padding: 13px;
  }
  .state-list {
    grid-template-columns: 1fr;
  }
  .test-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .test-grid > .panel {
    padding: 23px;
  }
  .task-card {
    padding: 22px;
  }
  .panel-head h2 {
    font-size: 22px;
  }
  .login-panel {
    padding: 32px 25px;
    margin: 35px auto 65px;
  }
  .login-panel h1 {
    font-size: 25px;
  }
  dialog {
    padding: 30px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.rate-hint {
  font-size: 10px;
  color: #8b9f8c;
  line-height: 1.8;
  margin: 17px 0 0;
}
.rate-hint span {
  display: inline-block;
  margin-left: 8px;
  color: #739275;
}
