@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #16241f;
  --muted: #607069;
  --paper: #f4f1e9;
  --line: #d9d7cc;
  --leaf: #346a4b;
  --lime: #c9e36b;
  --sky: #c9e6de;
  --orange: #e77a45;
  --mono: 'DM Mono', monospace;
  --display: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
}

a { color: inherit; }

.page-shell { max-width: 1320px; margin: 0 auto; padding: 0 5vw; overflow: hidden; }

.topbar { align-items: center; display: flex; justify-content: space-between; padding: 28px 0; }
.brand { align-items: center; display: flex; font-weight: 700; gap: 10px; text-decoration: none; }
.brand img { border-radius: 50%; height: 30px; width: 30px; }
.source-link, .eyebrow, .section-number, .release-status, .fallback-note { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.source-link { text-decoration: none; }
.source-link:hover, .card-action { color: var(--leaf); }

.hero { padding: 75px 0 100px; }
.hero-copy { align-self: center; position: relative; z-index: 1; }
.eyebrow { color: var(--leaf); margin: 0 0 25px; }
h1, h2 { font-weight: 600; letter-spacing: -.07em; line-height: .94; margin: 0; }
h1 { font-size: clamp(64px, 9vw, 132px); }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.intro { color: var(--muted); font-size: 18px; line-height: 1.5; margin: 36px 0; max-width: 390px; }
.primary-link { background: var(--ink); color: var(--paper); display: inline-flex; gap: 24px; padding: 17px 20px; text-decoration: none; transition: background .2s, transform .2s; }
.primary-link:hover { background: var(--leaf); transform: translateY(-3px); }

.hero-art { background: var(--sky); margin-top: 80px; overflow: hidden; }
.hero-art img { aspect-ratio: 80 / 27; display: block; object-fit: cover; width: 100%; }

.story { border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr .9fr; padding: 100px 0 140px; }
.story > .section-number { grid-column: 2; grid-row: 1; text-align: right; }
.story > div { grid-column: 1; grid-row: 1; }
.section-number { color: var(--orange); margin: 8px 0; }
.story h2, .downloads h2 { font-size: clamp(46px, 6vw, 82px); }
.story h2 span { color: var(--muted); }
.placeholder-copy { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 42px 0 0; max-width: 560px; }

.downloads { border-top: 1px solid var(--line); padding: 100px 0 80px; }
.downloads-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 55px; }
.release-status { color: var(--muted); margin: 0 0 7px; }
.download-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.download-card { border: 1px solid var(--ink); display: grid; gap: 20px; min-height: 210px; padding: 24px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.download-card:hover { background: var(--lime); transform: translateY(-5px); }
.card-icon { font-size: 32px; }.card-platform { align-self: end; font-size: 25px; font-weight: 600; }.card-action { font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.fallback-note { color: var(--muted); margin: 22px 0 0; }
.install-guide { border-top: 1px solid var(--line); margin-top: 80px; padding-top: 58px; }
.install-guide-heading { align-items: baseline; display: flex; gap: 28px; margin-bottom: 32px; }
.install-guide-heading .eyebrow { margin: 0 0 0 auto; order: 2; text-align: right; }
.install-guide h3 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.05em; line-height: 1; margin: 0; }
.install-guide-heading h3 { order: 1; }
.install-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.install-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.install-card h4 { font-size: 22px; margin: 0 0 18px; }
.install-card ol { color: var(--muted); line-height: 1.55; margin: 0; padding-left: 20px; }
.install-card li { padding-left: 5px; }
.install-card li + li { margin-top: 12px; }
code { background: var(--sky); color: var(--ink); font-family: var(--mono); font-size: .85em; padding: 2px 4px; }
.supported-birds { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; padding: 100px 0 110px; }
.supported-birds > .section-number { text-align: left; }
.supported-birds h2 { font-size: clamp(46px, 6vw, 82px); }
.bird-list { display: grid; gap: 0 24px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 48px 0 0; padding: 0; }
.bird-list li { border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; padding: 13px 0; }
.report-issue { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; padding: 100px 0 110px; }
.report-issue-heading { grid-column: 1; }
.report-issue-content { max-width: 640px; }
.report-issue h2 { font-size: clamp(46px, 6vw, 82px); }
.report-issue-content .eyebrow { margin-left: auto; text-align: right; }
.report-issue-copy { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 32px; max-width: 500px; }
.report-issue-link { gap: 32px; }
.footer { border-top: 1px solid var(--line); display: flex; font-family: var(--mono); font-size: 10px; justify-content: space-between; padding: 22px 0 30px; text-transform: uppercase; }

@media (max-width: 760px) {
  .page-shell { padding: 0 24px; }
  .topbar { padding: 20px 0; }.source-link { font-size: 9px; }
  .hero { padding: 70px 0 90px; }
  h1 { font-size: clamp(62px, 19vw, 100px); }.hero-art { margin-top: 55px; }.hero-art img { aspect-ratio: 4 / 3; object-fit: cover; object-position: right center; }
  .story { gap: 25px; grid-template-columns: 1fr; padding: 75px 0 95px; }.story > .section-number, .story > div { grid-column: auto; grid-row: auto; }.story h2, .downloads h2 { font-size: 54px; }
  .downloads { padding: 75px 0 60px; }.downloads-heading { align-items: start; flex-direction: column; gap: 30px; }.download-grid { grid-template-columns: 1fr; }.download-card { min-height: 150px; }.install-guide { margin-top: 60px; padding-top: 42px; }.install-guide-heading { align-items: start; flex-direction: column; gap: 14px; }.install-guide-heading .eyebrow { margin: 0; text-align: left; }.install-grid { grid-template-columns: 1fr; }.install-card + .install-card { margin-top: 30px; }
  .supported-birds { gap: 25px; grid-template-columns: 1fr; padding: 75px 0 85px; }.supported-birds h2 { font-size: 54px; }.bird-list { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .report-issue { gap: 25px; grid-template-columns: 1fr; padding: 75px 0 85px; }.report-issue-heading, .report-issue-content { grid-column: auto; }.report-issue h2 { font-size: 54px; }.report-issue-content .eyebrow { margin-left: 0; text-align: left; }.report-issue-copy { margin-top: 30px; }
}