:root {
  color-scheme: dark;
  --bg: #0c1117;
  --panel: #101820;
  --panel-strong: #16212b;
  --border: #253444;
  --text: #ecf3fb;
  --muted: #98a8ba;
  --brand-start: #ff8b42;
  --brand-end: #ff6b1a;
  --brand-hover-start: #ff9b52;
  --brand-hover-end: #ff7b2a;
  --gold: #f0b25f;
  --rose: #e26d74;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: radial-gradient(circle at top left, rgba(255, 139, 66, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(240, 178, 95, 0.18), transparent 24%),
    var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

code {
  font-family: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.site-header,
.hero,
.section-grid,
.section-stack,
.page-main,
.site-footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 18px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a:hover,
.footer-links a:hover,
.inline-links a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 42px 0 54px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.section-grid h2,
.download-card h2 {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.hero-text,
.section-grid p,
.step p,
.feature-grid p,
.download-card p,
.faq-list p {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-start);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-grid > article .eyebrow,
.download-card .eyebrow {
  margin: 0;
}

.cta-row,
.inline-links,
.footer-links,
.hero-meta,
.command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-row {
  margin-top: 28px;
}

.release-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.locale-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 139, 66, 0.35);
  background: rgba(255, 107, 26, 0.14);
  color: var(--brand-hover-start);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.release-badge-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.locale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 178, 95, 0.28);
  background: rgba(240, 178, 95, 0.1);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.locale-badge-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  color: #120a05;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  box-shadow: 0 18px 36px rgba(255, 107, 26, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--brand-hover-start), var(--brand-hover-end));
}

.button-secondary {
  border-color: var(--border);
  background: rgba(16, 24, 32, 0.75);
}

.hero-meta {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-meta li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.72);
  border: 1px solid rgba(37, 52, 68, 0.9);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 40px;
}

.hero-visual img {
  width: min(100%, 430px);
  height: auto;
  filter: none;
}

.section-grid,
.download-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}

.section-grid-wide {
  align-items: start;
}

.section-grid > article,
.download-card,
.step,
.feature-grid article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(37, 52, 68, 0.9);
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.84), rgba(12, 17, 23, 0.92));
}

.section-stack {
  padding: 28px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.steps,
.feature-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

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

.step span {
  display: inline-block;
  margin-bottom: 0;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
}

.section-grid h2,
.download-card h2,
.step h3,
.feature-grid h3 {
  margin: 0;
}

.step h3,
.feature-grid h3,
.faq-list summary {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.section-grid p,
.download-card p,
.step p,
.feature-grid p {
  margin: 0;
}

.plain-list {
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(37, 52, 68, 0.9);
  background: rgba(16, 24, 32, 0.8);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.page-main {
  padding: 18px 0 54px;
}

.page-hero {
  max-width: 760px;
  padding: 20px 0 10px;
}

.download-card {
  min-height: 100%;
}

.download-recommendation {
  background: linear-gradient(160deg, rgba(22, 33, 43, 0.94), rgba(11, 19, 26, 0.92));
}

.helper-text {
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.technical-artifact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(37, 52, 68, 0.9);
  background: rgba(12, 17, 23, 0.92);
}

.technical-artifact strong {
  display: block;
  margin-bottom: 8px;
}

.technical-artifact p {
  margin: 0;
}

.technical-artifact .helper-text {
  margin-top: 10px;
  padding-top: 0;
  word-break: break-word;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 20px;
}

.meta-grid dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.meta-grid dd {
  margin: 6px 0 0;
  font-size: 0.97rem;
  word-break: break-word;
}

.artifact-table-wrap {
  overflow-x: auto;
}

.artifact-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(37, 52, 68, 0.9);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16, 24, 32, 0.86);
}

.artifact-table th,
.artifact-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(37, 52, 68, 0.72);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.artifact-table th {
  color: var(--text);
  font-size: 0.88rem;
}

.artifact-table td:last-child a {
  color: var(--brand-start);
}

.command-list code {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(37, 52, 68, 0.9);
  background: rgba(12, 17, 23, 0.92);
}

.command-block {
  border-radius: 8px;
  border: 1px solid rgba(37, 52, 68, 0.9);
  background: rgba(12, 17, 23, 0.92);
  overflow: hidden;
}

.command-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(37, 52, 68, 0.9);
  background: rgba(16, 24, 32, 0.95);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.command-block pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
}

.command-block code {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  white-space: pre;
}

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 139, 66, 0.35);
  border-radius: 8px;
  background: rgba(255, 107, 26, 0.14);
  color: var(--brand-hover-start);
  font: inherit;
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(255, 107, 26, 0.2);
}

.plain-list a,
.inline-links a {
  color: var(--brand-start);
}

.plain-list a:hover,
.inline-links a:hover {
  color: var(--brand-hover-start);
}

.install-flow-list {
  flex-direction: column;
  align-items: stretch;
}

.install-flow-list code {
  overflow-x: auto;
  white-space: pre;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .download-layout,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section-grid,
  .section-stack,
  .page-main,
  .site-footer {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .section-grid > article,
  .download-card,
  .step,
  .feature-grid article,
  .faq-list details {
    padding: 20px;
  }

  .technical-artifact {
    flex-direction: column;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }
}
