:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #edf4f0;
  --ink: #111827;
  --ink-soft: #566274;
  --line: rgba(17, 24, 39, 0.14);
  --line-strong: rgba(17, 24, 39, 0.24);
  --accent: #0f766e;
  --accent-strong: #134e4a;
  --accent-blue: #315bdc;
  --accent-warm: #9a6a15;
  --shadow: 0 16px 42px rgba(17, 24, 39, 0.1);
  --font-body: "Inter", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(17, 24, 39, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--ink);
  font-family: var(--font-body);
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.page-shell {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 22px 0 78px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  color: var(--ink-soft);
  font-weight: 650;
  transition: color 140ms ease;
}

.header-link:hover {
  color: var(--ink);
}

.header-button {
  min-height: 40px;
  padding: 0 16px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 18px 0 42px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow,
.feature-label,
.install-strip-label {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-header h2,
.download-band h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 10px;
  font-size: 6.8rem;
  line-height: 0.86;
  font-weight: 800;
}

.hero-statement {
  margin: 18px 0 0;
  max-width: 13ch;
  font-size: 2.05rem;
  line-height: 1.04;
  font-weight: 800;
}

.lede,
.problem-card p,
.section-header p,
.workflow-step p,
.detail-list p,
.release-status,
.download-band p,
.hero-visual-chrome span {
  color: var(--ink-soft);
}

.lede {
  margin: 18px 0 0;
  max-width: 36rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

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

.button-primary {
  background: var(--accent-strong);
  color: #f8fffc;
  box-shadow: 0 10px 24px rgba(19, 78, 74, 0.2);
}

.button-primary:hover {
  background: #0f3f3c;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

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

.hero-actions {
  margin-top: 24px;
}

.install-panel,
.hero-visual,
.problem-grid,
.workflow-step,
.detail-list article,
.supporting-frame,
.policy-card,
.download-band,
.wide-shot {
  border: 1px solid var(--line);
  background: var(--surface);
}

.install-panel {
  max-width: 560px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
}

.install-panel-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.release-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  text-align: right;
}

.install-command,
.policy-card {
  margin: 0;
  overflow-x: auto;
  border-radius: 6px;
  background: #101827;
  color: #f7fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.install-command {
  padding: 14px 16px;
}

.install-command code,
.policy-card code {
  display: block;
  white-space: pre;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-blue);
  font-weight: 750;
}

.text-link:hover {
  color: #1f3f9d;
}

.hero-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual-chrome {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-visual-chrome strong {
  font-size: 0.98rem;
}

.hero-shot,
.wide-shot,
.supporting-frame {
  margin: 0;
}

.hero-shot {
  padding: 16px;
  background: #f7f4ec;
}

.hero-shot img,
.wide-shot img,
.supporting-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.wide-shot img,
.supporting-frame img {
  border-radius: 6px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
}

.problem-card {
  min-width: 0;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.problem-card:first-child {
  border-left: 0;
}

.feature-label {
  color: var(--accent-warm);
}

.problem-card h2 {
  margin: 10px 0;
  font-size: 1.28rem;
  line-height: 1.14;
}

.problem-card p,
.section-header p,
.workflow-step p,
.detail-list p,
.download-band p {
  margin: 0;
  line-height: 1.62;
}

.showcase {
  margin-top: 76px;
}

.section-header {
  max-width: 780px;
}

.section-header h2,
.download-band h2 {
  margin-top: 10px;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.04rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.workflow-step,
.detail-list article,
.supporting-frame,
.policy-card,
.download-band,
.wide-shot {
  border-radius: 8px;
}

.workflow-step {
  padding: 18px;
}

.workflow-step span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.workflow-step h3,
.detail-list h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

.wide-shot,
.supporting-frame {
  margin-top: 24px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.supporting-grid,
.terminal-layout {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.supporting-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
}

.terminal-layout {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: stretch;
}

.supporting-frame {
  margin-top: 0;
}

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

.detail-list article {
  padding: 18px;
}

.policy-card {
  padding: 22px;
}

.policy-card code {
  min-width: 16rem;
  line-height: 1.72;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding: 28px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.download-band div:first-child {
  max-width: 680px;
}

.download-band p:last-child {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .hero,
  .problem-grid,
  .workflow-grid,
  .supporting-grid,
  .terminal-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .problem-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .problem-card:first-child {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100vw - 24px, 1240px);
    padding: 14px 0 56px;
  }

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

  .install-panel-copy,
  .download-band,
  .hero-visual-chrome {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    gap: 24px;
    padding-top: 8px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-statement {
    font-size: 1.42rem;
  }

  .section-header h2,
  .download-band h2 {
    font-size: 2.35rem;
  }

  .release-status {
    text-align: left;
  }

  .hero-shot,
  .wide-shot,
  .supporting-frame {
    padding: 10px;
  }
}
