:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101514;
  color: #eef5ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #101514;
  color: #eef5ef;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(180, 206, 196, .16);
  background: rgba(16, 21, 20, .94);
  backdrop-filter: blur(12px);
}

.brand,
.header-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.nav-links {
  gap: 20px;
  color: #bdc9c3;
  font-size: 14px;
}

.nav-links a:hover,
.text-button:hover {
  color: #ffffff;
}

.header-actions {
  gap: 10px;
}

.language-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #40504a;
  border-radius: 8px;
  background: transparent;
  color: #e7eee9;
  padding: 0 12px;
}

.text-button {
  border-color: transparent;
}

.section-inner {
  width: min(100% - 68px, 1320px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  padding: 74px 0 64px;
  border-bottom: 1px solid rgba(180, 206, 196, .12);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 21, 20, .98) 0%, rgba(16, 21, 20, .88) 38%, rgba(16, 21, 20, .34) 78%, rgba(16, 21, 20, .82) 100%),
    linear-gradient(180deg, rgba(16, 21, 20, .02), #101514 98%);
}

.hero-product-preview {
  position: absolute;
  top: 70px;
  right: max(34px, calc((100vw - 1320px) / 2));
  width: 650px;
  height: 520px;
  margin: 0;
}

.terminal-preview {
  position: absolute;
  top: 32px;
  right: 66px;
  width: 520px;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(116, 218, 196, .24);
  border-radius: 8px;
  background: #0a0f0d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.window-bar,
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #293933;
  color: #91a39b;
  font-size: 12px;
}

.window-bar span,
.terminal-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d46a5c;
}

.window-bar span:nth-child(2),
.terminal-header span:nth-child(2) {
  background: #e3bb65;
}

.window-bar span:nth-child(3),
.terminal-header span:nth-child(3) {
  background: #74dac4;
}

.window-bar strong {
  margin-left: 8px;
  font-weight: 800;
}

.terminal-lines {
  padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.terminal-lines p {
  margin: 0;
  color: #d9e6df;
}

.terminal-lines span {
  color: #74dac4;
}

.terminal-highlight {
  color: #e3bb65 !important;
}

.phone-preview {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 244px;
  min-height: 390px;
  padding: 16px;
  border: 1px solid rgba(238, 245, 239, .18);
  border-radius: 30px;
  background: #111a17;
  box-shadow: 0 30px 84px rgba(0, 0, 0, .48);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #d9e6df;
  font-size: 12px;
  font-weight: 850;
}

.phone-top strong {
  border-radius: 999px;
  background: #74dac4;
  color: #101514;
  padding: 4px 8px;
}

.phone-session {
  display: grid;
  gap: 10px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
  padding: 14px;
}

.phone-session small {
  color: #74dac4;
  font-weight: 850;
}

.phone-session h3 {
  margin: 0;
  color: #eef5ef;
  font-size: 15px;
}

.phone-session pre {
  min-height: 114px;
  margin: 0;
  white-space: pre-wrap;
  color: #d9e6df;
  font-size: 12px;
  line-height: 1.6;
}

.phone-input {
  margin-top: 12px;
  min-height: 42px;
  border-radius: 8px;
  background: #eef5ef;
  color: #53625c;
  padding: 12px;
  font-size: 12px;
  font-weight: 750;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 68px, 1320px);
  margin: 0 auto;
}

.eyebrow,
.section-label {
  color: #74dac4;
  font-size: 13px;
  font-weight: 850;
  margin: 0 0 12px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

:lang(zh-CN) .hero h1 {
  max-width: 940px;
  font-size: 62px;
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 0 26px;
  color: #d3ddd7;
  font-size: 18px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
}

.primary-button,
.submit-button {
  border: 0;
  background: #74dac4;
  color: #101514;
}

.secondary-button {
  border: 1px solid #40504a;
  color: #e7eee9;
  background: transparent;
}

.flow-section,
.account-section,
.terminal-section,
.capability-section,
.docs-section {
  padding: 44px 0;
}

.download-section,
.guide-section {
  padding: 58px 0;
  background: #121b18;
  border-top: 1px solid rgba(180, 206, 196, .1);
  border-bottom: 1px solid rgba(180, 206, 196, .1);
}

.setup-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.setup-grid article,
.capability-grid article,
.manual-grid article,
.manual-troubleshooting,
.release-panel,
.terminal-card {
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.setup-grid article,
.capability-grid article {
  padding: 18px;
}

.setup-grid span,
.guide-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  margin-bottom: 14px;
  background: #22342f;
  color: #74dac4;
  font-size: 12px;
  font-weight: 900;
}

.setup-grid h2,
.capability-grid h2,
.docs-section h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.setup-grid p,
.capability-grid p,
.docs-section p {
  margin: 0;
  color: #c7d1cb;
  font-size: 14px;
  line-height: 1.55;
}

.account-layout,
.download-layout,
.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: start;
}

.account-copy h2,
.download-copy h2,
.guide-heading h2,
.terminal-section h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.18;
}

.account-copy p:not(.section-label),
.download-copy p:not(.section-label),
.guide-heading p:not(.section-label) {
  max-width: 720px;
  margin: 0;
  color: #c7d1cb;
  font-size: 16px;
  line-height: 1.62;
}

.auth-panel {
  background: #f7faf8;
  color: #14201c;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.auth-main {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 64px 0;
}

.auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 44px;
  align-items: center;
  width: min(100% - 68px, 1120px);
  margin: 0 auto;
}

.auth-copy h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-copy > p:not(.section-label) {
  max-width: 620px;
  margin: 0;
  color: #c7d1cb;
  font-size: 17px;
  line-height: 1.62;
}

.auth-panel-note {
  margin: -4px 0 14px;
  color: #65726d;
  font-size: 13px;
  line-height: 1.45;
}

.auth-next-steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 680px;
}

.auth-next-steps article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 14px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.auth-next-steps span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #22342f;
  color: #74dac4;
  font-size: 12px;
  font-weight: 900;
}

.auth-next-steps strong {
  color: #eef5ef;
  font-size: 14px;
}

.auth-next-steps p {
  margin: 0;
  color: #c7d1cb;
  font-size: 13px;
  line-height: 1.5;
}

.auth-success-panel {
  margin-top: 16px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  background: #e8eee9;
  border-radius: 8px;
}

.auth-tabs button {
  border: 0;
  border-radius: 6px;
  min-height: 38px;
  background: transparent;
  color: #5d6a64;
  font-weight: 800;
}

.auth-tabs button.active {
  background: #ffffff;
  color: #143f37;
}

.auth-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: #14201c;
}

.auth-form {
  display: grid;
  gap: 8px;
}

.inline-auth-action {
  justify-self: start;
  min-height: 30px;
  padding: 0;
  color: #446157;
}

.auth-form label {
  color: #283630;
  font-size: 12px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7ded9;
  border-radius: 8px;
  background: #ffffff;
  color: #14201c;
  padding: 0 12px;
}

.form-message {
  min-height: 19px;
  margin: 2px 0 0;
  color: #b9412f;
  font-size: 12px;
}

.form-message.success {
  color: #146b52;
}

.submit-button {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  background: #143f37;
  color: #ffffff;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.detail-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #e0e6e2;
  padding-bottom: 10px;
}

.detail-list dt {
  color: #5d6a64;
  font-size: 12px;
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  color: #14201c;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.submit-button:disabled {
  cursor: default;
  opacity: .72;
}

.success-panel {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
  border: 1px solid #29443c;
  border-radius: 8px;
  background: #17201d;
  padding: 16px;
}

.success-panel[hidden],
.admin-section[hidden],
.admin-inline-link[hidden] {
  display: none;
}

.success-panel .success-title {
  color: #74dac4;
  font-weight: 900;
  margin: 0;
}

.success-email {
  margin: 0;
  color: #c7d1cb;
  word-break: break-word;
}

.success-panel ol {
  margin: 0;
  padding-left: 20px;
  color: #d9e6df;
  font-size: 14px;
  line-height: 1.65;
}

.admin-inline-link {
  color: #e3bb65;
  font-size: 14px;
  font-weight: 850;
}

.download-layout {
  align-items: center;
}

.release-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #101514;
}

.release-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-header img {
  width: 46px;
  height: 46px;
}

.release-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.release-header p {
  margin: 0;
  color: #b7c3bd;
  font-size: 13px;
}

.download-button {
  width: 100%;
}

.release-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.release-meta dt {
  color: #94a39c;
  font-size: 12px;
  font-weight: 850;
}

.release-meta dd {
  margin: 0;
  color: #d9e6df;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.install-layout {
  grid-template-columns: .8fr 1.2fr;
}

.plain-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #c7d1cb;
  font-size: 15px;
  line-height: 1.6;
}

.terminal-card {
  overflow: hidden;
  background: #0a0f0d;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  color: #d9e6df;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.guide-heading {
  margin-bottom: 22px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid article {
  padding: 18px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.guide-grid span {
  background: #2c311f;
  color: #e3bb65;
}

.guide-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.guide-grid p {
  margin: 0;
  color: #c7d1cb;
  font-size: 13px;
  line-height: 1.58;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.manual-grid article,
.manual-troubleshooting {
  padding: 18px;
  background: #101514;
}

.manual-grid h3,
.manual-troubleshooting h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.manual-grid p {
  margin: 0;
  color: #c7d1cb;
  font-size: 13px;
  line-height: 1.6;
}

.manual-troubleshooting {
  margin-top: 14px;
}

.manual-troubleshooting ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #c7d1cb;
  font-size: 13px;
  line-height: 1.6;
}

.troubleshooting-strip {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #4a4326;
  border-radius: 8px;
  background: #211f17;
}

.troubleshooting-strip strong {
  color: #e3bb65;
}

.troubleshooting-strip span {
  color: #d9d1bb;
  font-size: 13px;
  line-height: 1.55;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-section {
  padding: 58px 0;
  border-top: 1px solid rgba(180, 206, 196, .1);
  background: #121b18;
}

.workspace-console {
  min-height: calc(100vh - 68px);
  padding: 28px 0 40px;
  border-top: 0;
  background: #0f1714;
}

.workspace-console .section-inner {
  width: min(100% - 48px, 1240px);
}

.workspace-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(180, 206, 196, .12);
}

.admin-heading h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.18;
}

.admin-heading h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.workspace-console .admin-heading h1 {
  font-size: 28px;
  line-height: 1.18;
}

.workspace-console .admin-heading p:not(.section-label) {
  max-width: 620px;
}

.admin-heading p:not(.section-label),
.admin-help {
  margin: 0;
  color: #c7d1cb;
  font-size: 14px;
  line-height: 1.6;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.workspace-console .admin-actions {
  justify-content: flex-end;
  margin: 0;
}

.admin-actions span {
  color: #b7c3bd;
  font-size: 13px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 10px;
  margin-bottom: 10px;
}

.workspace-management {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 10px;
  margin-bottom: 10px;
}

.workspace-switcher,
.workspace-team-form,
.workspace-members {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.workspace-switcher label,
.workspace-team-form label {
  display: grid;
  gap: 8px;
}

.workspace-switcher span,
.workspace-team-form span,
.members-heading span {
  color: #94a39c;
  font-size: 12px;
  font-weight: 850;
}

.workspace-switcher strong,
.members-heading strong {
  display: block;
  margin-top: 5px;
  color: #eef5ef;
  overflow-wrap: anywhere;
}

.workspace-switcher select,
.workspace-team-form input,
.add-member-form input,
.add-member-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #40504a;
  border-radius: 8px;
  background: #101514;
  color: #eef5ef;
  padding: 0 10px;
}

.members-list {
  display: grid;
  gap: 8px;
}

.add-member-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  gap: 8px;
}

.workspace-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.workspace-card span {
  color: #94a39c;
  font-size: 12px;
  font-weight: 850;
}

.workspace-card strong,
.workspace-card code {
  color: #eef5ef;
  overflow-wrap: anywhere;
}

.workspace-card code {
  border-radius: 7px;
  background: #101514;
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.workspace-card .inline-auth-action {
  color: #74dac4;
}

.admin-metrics,
.usage-metrics,
.admin-grid {
  display: grid;
  gap: 10px;
}

.admin-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
}

.usage-section {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 16px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #121b18;
}

.usage-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.usage-heading h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.usage-heading p {
  margin: 0;
  color: #94a39c;
  font-size: 13px;
  line-height: 1.5;
}

.usage-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-metrics article,
.usage-metrics article,
.admin-grid article {
  padding: 16px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.workspace-console .admin-grid article {
  min-height: 160px;
}

.admin-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #74dac4;
  font-size: 26px;
  font-weight: 900;
}

.usage-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #e3bb65;
  font-size: 24px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-metrics p,
.usage-metrics p,
.admin-grid h3,
.usage-by-agent h3,
.admin-empty,
.admin-item p,
.usage-item span {
  margin: 0;
}

.admin-metrics p,
.usage-metrics p,
.admin-empty,
.admin-item p,
.usage-item span {
  color: #c7d1cb;
  font-size: 13px;
  line-height: 1.5;
}

.usage-by-agent {
  padding: 16px;
  border: 1px solid #293933;
  border-radius: 8px;
  background: #17201d;
}

.usage-by-agent h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.usage-list {
  display: grid;
  gap: 8px;
}

.usage-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 7px;
  background: #101514;
}

.usage-item strong {
  color: #eef5ef;
  font-size: 13px;
}

.admin-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
}

.admin-grid h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-radius: 7px;
  background: #101514;
}

.admin-item.pending-member {
  border: 1px dashed #40504a;
  background: #151b18;
}

.admin-item strong {
  overflow: hidden;
  color: #eef5ef;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-item span {
  color: #94a39c;
  font-size: 12px;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.member-action-button {
  min-height: 30px;
  border: 1px solid #40504a;
  border-radius: 7px;
  background: #18221f;
  color: #d8e7df;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.member-action-button.danger {
  border-color: #5c3a3a;
  color: #ffd6d6;
}

.admin-update {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #4a4326;
  border-radius: 7px;
  background: #211f17;
}

.admin-update p {
  color: #d9d1bb;
}

.admin-update code {
  display: block;
  overflow-x: auto;
  white-space: pre;
  color: #eef5ef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}

.admin-copy-button {
  min-height: 36px;
  border: 1px solid #806f3a;
  border-radius: 7px;
  background: #e3bb65;
  color: #101514;
  font-weight: 850;
}

.docs-section {
  padding-bottom: 68px;
}

@media (max-width: 1120px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 16px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: 0;
    padding: 56px 0 42px;
  }

  .hero-backdrop {
    position: relative;
    inset: auto;
    order: 2;
    height: 420px;
    margin-top: 28px;
  }

  .hero-backdrop::after {
    background: linear-gradient(180deg, rgba(16, 21, 20, .14), #101514 96%);
  }

  .hero-product-preview {
    top: 0;
    right: auto;
    left: 50%;
    width: 620px;
    transform: translateX(-50%);
  }

  .hero-copy {
    width: min(100% - 40px, 720px);
  }

  .hero h1,
  :lang(zh-CN) .hero h1 {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .section-inner {
    width: min(100% - 40px, 720px);
  }

  .setup-grid,
  .auth-hero,
  .account-layout,
  .download-layout,
  .install-layout,
  .capability-grid,
  .guide-grid,
  .manual-grid,
  .workspace-topbar,
  .admin-metrics,
  .usage-metrics,
  .workspace-management,
  .workspace-grid,
  .admin-grid,
  .add-member-form {
    grid-template-columns: 1fr;
  }

  .workspace-console .admin-actions {
    justify-content: flex-start;
  }

  .auth-main {
    min-height: 0;
    padding: 42px 0;
  }

  .auth-hero {
    width: min(100% - 40px, 720px);
  }

  .auth-copy h1 {
    font-size: 38px;
  }
}

@media (max-width: 560px) {
  .header-actions {
    width: 100%;
  }

  .language-button,
  .text-button {
    flex: 1;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1,
  :lang(zh-CN) .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-backdrop {
    height: 360px;
  }

  .hero-product-preview {
    width: 470px;
  }

  .terminal-preview {
    top: 28px;
    right: 32px;
    width: 380px;
  }

  .phone-preview {
    width: 196px;
    min-height: 332px;
    right: 12px;
  }

  .terminal-lines {
    font-size: 12px;
  }

  .phone-session pre {
    min-height: 82px;
  }

  .flow-section,
  .account-section,
  .terminal-section,
  .capability-section,
  .docs-section,
  .download-section,
  .guide-section,
  .admin-section {
    padding: 34px 0;
  }

  .account-copy h2,
  .download-copy h2,
  .guide-heading h2,
  .terminal-section h2,
  .admin-heading h1 {
    font-size: 28px;
  }

  .workspace-console {
    padding: 24px 0 32px;
  }

  .workspace-console .section-inner {
    width: min(100% - 28px, 720px);
  }

  .workspace-topbar {
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .workspace-console .admin-heading h1 {
    font-size: 26px;
  }

  .workspace-console .admin-grid article {
    min-height: 96px;
  }
}
