:root {
  --logo-bg: #fdffff;
  --ink: #101820;
  --muted: #53606b;
  --line: #d9e2e8;
  --panel: #ffffff;
  --green: #0f7f68;
  --blue: #255f91;
  --navy: #33475b;
  --code-bg: #e8f1ff;
  --code-ink: #164b8f;
  --code-border: #b9d3ff;
  --terminal-bg: #384b5f;
  --terminal-ink: #f1f7ff;
  --heading: #26394d;
  --google-blue-soft: #e8f1ff;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--logo-bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(253, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 232, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 8px;
}

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

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  min-height: auto;
  padding: clamp(16px, 2.4vw, 28px) clamp(20px, 5vw, 72px) 36px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--code-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.nowrap {
  white-space: nowrap;
}

h1 {
  margin: 0;
  max-width: 940px;
  color: var(--heading);
  font-size: clamp(2.6rem, 5.4vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .nowrap {
    white-space: normal;
  }
}

h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  min-height: 300px;
}

.terminal,
.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.terminal {
  position: absolute;
  right: 0;
  top: 68px;
  width: min(100%, 470px);
  overflow: hidden;
  background: var(--terminal-bg);
  color: var(--terminal-ink);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7fb9ab;
}

.terminal-bar span:nth-child(2) {
  background: #d6b85e;
}

.terminal-bar span:nth-child(3) {
  background: #d37768;
}

pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}

code {
  display: inline-block;
  padding: 0.08em 0.34em;
  border: 1px solid var(--code-border);
  border-radius: 5px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  line-height: 1.45;
}

pre code {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.91rem;
  line-height: 1.7;
}

.terminal pre {
  padding: 20px;
}

.band {
  padding: 78px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 28px;
}

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

.panel {
  padding: 24px;
}

.panel pre {
  padding: 18px;
  border-radius: 7px;
  background: var(--terminal-bg);
  color: var(--terminal-ink);
}

.downloads-block {
  margin-bottom: 18px;
}

.footer span {
  color: var(--muted);
  line-height: 1.65;
}

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

.artifact-list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.artifact-list a::after {
  margin-left: auto;
  color: var(--blue);
  content: "Download";
  font-size: 0.82rem;
}

.artifact-list a:hover {
  border-color: rgba(37, 95, 145, 0.45);
  background: var(--google-blue-soft);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.08);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.footer > div:first-child {
  display: grid;
  gap: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.footer span a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.footer span a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-link svg {
  display: block;
  fill: currentColor;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }

  .terminal {
    left: 28px;
    right: auto;
  }

  .install-grid,
  .artifact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .terminal {
    left: 0;
    width: 100%;
  }

  pre code {
    font-size: 0.82rem;
  }
}
