:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --bg-2: #eef1f7;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(20, 30, 50, 0.08);
  --line-strong: rgba(45, 212, 164, 0.36);
  --text: #1a2235;
  --muted: #5a6478;
  --soft: #8a93a3;
  --cyan: #38bdd1;
  --mint: #2dd4a4;
  --violet: #9c7ce8;
  --amber: #f0b948;
  --rose: #ef7a93;
  --shadow: 0 1px 2px rgba(20, 30, 50, 0.04), 0 12px 32px rgba(20, 30, 50, 0.06);
  --shadow-soft: 0 1px 2px rgba(20, 30, 50, 0.03), 0 6px 18px rgba(20, 30, 50, 0.04);
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 212, 164, 0.06), transparent 36%),
    radial-gradient(circle at 88% 4%, rgba(156, 124, 232, 0.05), transparent 32%),
    var(--bg);
}

body::before,
body::after {
  display: none;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 16px;
  right: clamp(16px, 4vw, 54px);
  left: clamp(16px, 4vw, 54px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 0 14px 0 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 30, 50, 0.06);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(20, 30, 50, 0.03), 0 10px 30px rgba(20, 30, 50, 0.05);
  backdrop-filter: blur(14px);
}

.topbar[data-elevated="true"] {
  border-color: rgba(45, 212, 164, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 30, 50, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(45, 212, 164, 0.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  padding: 9px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(20, 30, 50, 0.04);
  border-color: rgba(20, 30, 50, 0.05);
}

.nav a.active {
  color: #07221b;
  background: var(--mint);
  border-color: transparent;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(20, 30, 50, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  position: fixed;
  top: 90px;
  right: 18px;
  left: 18px;
  z-index: 19;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 14px;
  color: var(--muted);
  border-radius: 12px;
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(20, 30, 50, 0.04);
}

.hero {
  position: relative;
  padding: 132px clamp(20px, 5vw, 72px) 64px;
}

.hero-bg,
.hero-glass {
  display: none;
}

.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: var(--mint);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 .product-name {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  color: var(--muted);
  font-weight: 600;
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

.hero-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  max-width: 660px;
  padding: 14px 16px;
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid rgba(45, 212, 164, 0.28);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.hero-notice strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: #07221b;
  white-space: nowrap;
  background: rgba(45, 212, 164, 0.16);
  border-radius: 10px;
  font-size: 13px;
  box-shadow: none;
}

.hero-notice span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.hero-badges span {
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-badges span:first-child {
  color: #07221b;
  background: rgba(45, 212, 164, 0.14);
  border-color: rgba(45, 212, 164, 0.3);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #07221b;
  background: var(--mint);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(45, 212, 164, 0.28);
}

.button.primary:hover {
  box-shadow: 0 10px 24px rgba(45, 212, 164, 0.34);
}

.button.secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.button.secondary:hover {
  background: rgba(20, 30, 50, 0.03);
}

.hero-panel {
  position: relative;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  display: none;
}

.mini-window {
  overflow: hidden;
  background: #f1f4f9;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.window-bar span:nth-child(1) {
  background: #ef7a93;
}

.window-bar span:nth-child(2) {
  background: #f0b948;
}

.window-bar span:nth-child(3) {
  background: var(--mint);
}

.window-bar b {
  margin-left: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.mini-window img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top left;
}

.release-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.release-line > div {
  padding: 14px 16px;
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.release-line span,
.release-line strong {
  display: block;
}

.release-line span:not(.status-dot) {
  color: var(--soft);
  font-size: 12px;
}

.release-line strong {
  margin-top: 4px;
  font-size: 22px;
  color: var(--text);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45, 212, 164, 0.18);
}

.section {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.quick-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 26px;
  z-index: 2;
  margin-top: -32px;
}

.strip-item,
.feature-card,
.console-item,
.security-item,
.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.strip-item {
  position: relative;
  min-height: 88px;
  padding: 20px;
  overflow: hidden;
}

.strip-item::after {
  display: none;
}

.strip-item span,
.strip-item strong {
  display: block;
}

.strip-item span {
  color: var(--soft);
  font-size: 13px;
}

.strip-item strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 38px;
  text-align: center;
}

.heading-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.starter {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 60px;
}

.starter-copy {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.starter-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

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

.starter-grid article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.starter-grid article::before {
  display: none;
}

.starter-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #07221b;
  font-weight: 700;
  font-size: 14px;
  background: rgba(45, 212, 164, 0.16);
  border-radius: 12px;
}

.starter-grid article strong,
.starter-grid article p {
  position: relative;
  display: block;
}

.starter-grid article strong {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text);
}

.starter-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.feature-card p,
.console-item p,
.security-item p,
.faq-item p,
.timeline p,
.status-preview span,
.tool-card p,
.install-copy p,
.section-heading p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.page-hero {
  position: relative;
  width: min(1220px, calc(100% - 40px));
  padding: 130px 0 42px;
  margin: 0 auto;
}

.page-hero::before {
  display: none;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.page-intro article,
.detail-card,
.guide-grid article,
.command-list div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.page-intro article {
  padding: 22px;
}

.page-intro strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--text);
}

.page-intro p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

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

.detail-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #07221b;
  font-size: 20px;
  font-weight: 700;
  background: rgba(45, 212, 164, 0.16);
  border-radius: 16px;
}

.detail-card h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.detail-card h3 {
  margin-top: 22px;
  color: var(--text);
  font-size: 16px;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
  line-height: 1.78;
  font-size: 14px;
}

.detail-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.detail-tags span {
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  background: #f1f4f9;
  border: 1px solid transparent;
  border-radius: 999px;
}

.guide-install {
  margin-top: 20px;
}

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

.guide-grid article {
  padding: 24px;
}

.guide-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #07221b;
  font-weight: 700;
  background: rgba(45, 212, 164, 0.16);
  border-radius: 12px;
}

.guide-grid h2 {
  font-size: 22px;
}

.guide-grid p,
.guide-grid li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.guide-grid ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.command-table {
  padding-top: 50px;
}

.command-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.command-list div {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
}

.command-list strong {
  color: var(--text);
  font-size: 14px;
}

.command-list span {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

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

.feature-grid .feature-card:first-child {
  grid-column: span 2;
  min-height: 240px;
  background: #f0fbf5;
  border-color: rgba(45, 212, 164, 0.22);
}

.feature-grid .feature-card:first-child .icon {
  background: var(--mint);
}

.feature-card {
  position: relative;
  min-height: 240px;
  padding: 26px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
  display: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 164, 0.3);
  box-shadow: 0 1px 2px rgba(20, 30, 50, 0.04), 0 18px 40px rgba(20, 30, 50, 0.08);
}

.feature-card:hover::before {
  opacity: 0;
}

.feature-card .icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: #07221b;
  font-size: 12px;
  font-weight: 700;
  background: rgba(45, 212, 164, 0.16);
  border-radius: 12px;
  box-shadow: none;
}

.feature-card h3,
.feature-card p,
.feature-card ul {
  position: relative;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--text);
}

.feature-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.feature-card li,
.tag-row span {
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
  background: #f1f4f9;
  border: 1px solid transparent;
  border-radius: 999px;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 22px;
  align-items: stretch;
}

.showcase,
.security {
  position: relative;
}

.showcase::before,
.security::before {
  display: none;
}

.screen-frame {
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: top left;
  border-radius: 14px;
}

.console-list {
  display: grid;
  gap: 10px;
}

.console-item {
  position: relative;
  padding: 18px 20px 18px 46px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.console-item:hover {
  transform: translateX(3px);
  border-color: rgba(45, 212, 164, 0.28);
}

.console-item::before {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(45, 212, 164, 0.16);
}

.console-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.timeline-item b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #6a4a10;
  font-size: 13px;
  font-weight: 700;
  background: rgba(240, 185, 72, 0.18);
  border-radius: 10px;
}

.timeline-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.timeline-item p {
  margin-bottom: 0;
}

.status-preview {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.status-preview img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.status-preview div {
  padding: 22px;
}

.status-preview strong,
.status-preview span {
  display: block;
}

.status-preview strong {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

.tools {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.tool-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.tool-card > div {
  padding: 26px;
}

.tool-card h3 {
  color: var(--text);
}

.image-card img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: top center;
}

.dark-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 30px;
  background: #f7f8fc;
  border-color: var(--line);
}

.dark-card > div {
  padding: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.changelog {
  position: relative;
  display: grid;
  gap: 16px;
}

.change-item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 26px 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.change-item::before {
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 180px;
  width: 1px;
  content: "";
  background: var(--line);
}

.change-version {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
}

.change-date {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 13px;
}

.change-item ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.86;
  font-size: 14px;
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 30px;
  align-items: center;
  padding: 56px 32px;
  background: #f7f4fc;
  border: 1px solid rgba(156, 124, 232, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.code-tabs {
  overflow: hidden;
  background: #0f1626;
  border: 1px solid rgba(20, 30, 50, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tab-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-row button {
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
}

.tab-row button.is-active {
  color: #07221b;
  background: var(--mint);
  border-color: transparent;
}

pre {
  min-height: 200px;
  padding: 22px;
  margin: 0;
  overflow: auto;
  color: #d7efff;
  line-height: 1.78;
  font-size: 13px;
}

code {
  font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

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

.security-item {
  padding: 22px;
}

.security-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.security-item[data-tone="warn"] {
  border-color: rgba(240, 185, 72, 0.32);
  background: #fffaf0;
}

.security-item[data-tone="safe"] {
  border-color: rgba(45, 212, 164, 0.28);
  background: #f0fbf5;
}

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

.faq-item {
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.faq-item strong {
  color: var(--text);
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(156, 124, 232, 0.26);
}

.faq-item p {
  margin-bottom: 0;
}

.footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  width: min(1220px, calc(100% - 40px));
  padding: 32px 0 44px;
  margin: 0 auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.footer span {
  font-size: 13px;
}

.footer a {
  color: var(--mint);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-inner,
  .showcase-layout,
  .split,
  .tools,
  .starter,
  .install {
    grid-template-columns: 1fr;
  }

  .quick-strip,
  .feature-grid,
  .starter-grid,
  .page-intro,
  .guide-grid,
  .security-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid .feature-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    right: 10px;
    left: 10px;
    height: 62px;
    padding: 0 12px;
    border-radius: 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 108px 18px 56px;
  }

  .hero-inner {
    gap: 28px;
  }

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

  .hero-panel,
  .screen-frame,
  .status-preview,
  .tool-card,
  .code-tabs,
  .change-item {
    border-radius: 20px;
  }

  .mini-window img {
    height: 300px;
  }

  .release-line,
  .quick-strip,
  .feature-grid,
  .starter-grid,
  .page-intro,
  .guide-grid,
  .command-list,
  .security-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    width: calc(100% - 32px);
    padding-top: 120px;
  }

  .detail-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .command-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .command-list span {
    text-align: left;
  }

  .starter-copy,
  .install {
    padding: 24px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .quick-strip {
    margin-top: -20px;
  }

  .change-item {
    grid-template-columns: 1fr;
  }

  .change-item::before {
    display: none;
  }

  .screen-frame img {
    min-height: 320px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
