:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --panel: #ffffff;
  --ink: #101914;
  --muted: #5f6b63;
  --soft: #e8eee8;
  --line: #cdd7cf;
  --green: #19745d;
  --green-dark: #0e4f3f;
  --mint: #dff8ec;
  --gold: #a96800;
  --gold-soft: #fff0cf;
  --sky: #2f6f9f;
  --shadow: 0 24px 70px rgb(16 25 20 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0;
  color: #f6fbf6;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 720;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.language-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.language-toggle {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
  color: #f6fbf6;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(76vh, 720px);
  padding: 110px 0 88px;
  overflow: hidden;
  background: #102019;
  color: #f8fcf8;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  opacity: 0.62;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(12 24 18 / 96%) 0%, rgb(12 24 18 / 82%) 38%, rgb(12 24 18 / 28%) 100%),
    linear-gradient(0deg, rgb(12 24 18 / 72%) 0%, rgb(12 24 18 / 10%) 52%, rgb(12 24 18 / 56%) 100%);
}

.hero-content,
.intro-section,
.source-grid,
.privacy-section,
.screenshots-section,
.final-cta,
.site-footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 24px;
  color: #dce8df;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

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

.button.primary {
  background: var(--mint);
  color: var(--green-dark);
}

.button.primary:hover {
  background: #f2fff7;
}

.button.secondary {
  border-color: rgb(255 255 255 / 38%);
  background: rgb(255 255 255 / 10%);
  color: #f8fcf8;
}

.button.secondary:hover {
  border-color: rgb(255 255 255 / 70%);
}

.release-note {
  max-width: 560px;
  margin: 0;
  color: #bfd2c7;
  font-size: 0.92rem;
  font-weight: 680;
}

.item-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.checksum code {
  display: block;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.release-details {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.release-details summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

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

.release-details summary span {
  font-size: 0.98rem;
  font-weight: 820;
}

.release-details summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
}

.release-details summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  content: "+";
  font-weight: 820;
}

.release-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.release-details[open] summary::after {
  content: "-";
}

.release-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.45fr) minmax(0, 0.82fr);
  gap: 1px;
  background: var(--line);
}

.release-detail-item {
  min-width: 0;
  padding: 18px;
  background: var(--panel);
}

.release-detail-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.release-detail-item strong {
  display: block;
  font-size: 1.15rem;
}

.intro-section,
.privacy-section,
.final-cta {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  padding: 86px 0;
}

.intro-section {
  padding: 72px 0 58px;
}

.intro-section h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

.intro-section .eyebrow,
.privacy-section .eyebrow,
.screenshots-section .eyebrow,
.final-cta .eyebrow {
  color: var(--green);
}

.intro-section p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-section code {
  color: var(--green-dark);
  font-weight: 760;
}

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

.source-card,
.screenshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 48px rgb(16 25 20 / 8%);
}

.source-card {
  padding: 20px;
}

.source-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-card code {
  color: var(--green-dark);
  font-weight: 760;
}

.source-mark {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--green);
}

.source-mark.claude {
  background: var(--gold);
}

.source-mark.terminal {
  background: var(--sky);
}

.privacy-section {
  width: 100%;
  max-width: none;
  padding: 82px max(16px, calc((100vw - 1180px) / 2));
  background: #102019;
  color: #f8fcf8;
}

.privacy-section h2 {
  max-width: 620px;
}

.privacy-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  color: #dce8df;
  font-size: 1rem;
  font-weight: 690;
}

.screenshots-section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 16px;
}

.screenshot-column {
  display: grid;
  gap: 16px;
}

.screenshot-card {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.screenshot-card.featured {
  grid-row: auto;
}

.screenshot-card img {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.screenshot-card.compact {
  align-self: start;
}

.screenshot-card.compact img {
  background: #16201b;
}

.screenshot-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 780;
}

.screenshot-promise {
  padding: 24px;
  border-radius: 8px;
  background: #0d1812;
  box-shadow: 0 18px 48px rgb(16 25 20 / 12%);
  color: white;
}

.screenshot-promise .eyebrow {
  margin-bottom: 10px;
  color: var(--mint);
}

.screenshot-promise strong {
  display: block;
  max-width: 720px;
  color: white;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.screenshot-promise p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: #dce8df;
  font-size: 1rem;
}

.final-cta {
  align-items: center;
  padding-top: 0;
  border-top: 1px solid var(--line);
}

.final-cta .button {
  justify-self: end;
}

.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 680;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    padding: 150px 0 78px;
  }

  .hero-image {
    object-position: 70% 48%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgb(12 24 18 / 96%) 0%, rgb(12 24 18 / 76%) 100%),
      linear-gradient(0deg, rgb(12 24 18 / 70%) 0%, rgb(12 24 18 / 20%) 100%);
  }

  .intro-section,
  .source-grid,
  .privacy-section,
  .release-details-grid,
  .screenshot-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .final-cta {
    gap: 20px;
    padding: 64px 0;
  }

  .intro-section {
    padding: 58px 0 42px;
  }

  .source-grid {
    padding-bottom: 54px;
  }

  .privacy-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .screenshots-section {
    padding: 64px 0;
  }

  .screenshot-card.featured {
    grid-row: auto;
  }

  .final-cta .button {
    justify-self: start;
  }

  .release-details summary {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  .release-details summary small {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .nav-links {
    font-size: 0.86rem;
  }

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