:root {
  --accent: #c9f73a;
  --background: #fbfaf6;
  --card: #f6f4eb;
  --ink: #22241e;
  --muted: #5f6156;
  --soft-muted: #838578;
  --line: rgba(34, 36, 30, 0.14);
  --dark: #292b24;
  --danger: #a4412e;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 20px 32px;
}

.nav,
.footer {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-lockup {
  display: block;
  height: auto;
}

.nav-links,
.footer nav {
  display: flex;
  gap: 30px;
  align-items: center;
  color: #484a41;
  font-size: 15px;
  font-weight: 550;
}

.nav-links a,
.footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer a:hover {
  color: #787a6d;
}

.hero {
  width: min(1240px, calc(100% - 64px));
  min-height: 690px;
  margin: 0 auto;
  padding: 84px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(56px, 8vw, 116px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: #6f7165;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

h1,
h2 {
  font-family: 'Besley', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.018em;
}

h1 {
  max-width: 8.5ch;
  margin: 0 0 28px;
  font-size: clamp(58px, 6.7vw, 94px);
  line-height: 0.98;
  text-wrap: balance;
}

.lede {
  max-width: 54ch;
  margin: 0;
  color: #4f5147;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.compatibility span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #45473e;
  font-size: 13px;
  font-weight: 650;
}

.release-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 38px 90px -42px rgba(34, 36, 30, 0.5);
}

.release-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: var(--accent);
  content: '';
}

.window-dots {
  display: flex;
  gap: 7px;
  margin: 2px 0 30px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #de7356;
}

.window-dots span:nth-child(2) {
  background: #e5b94f;
}

.window-dots span:nth-child(3) {
  background: #8db35a;
}

.release-status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #626459;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ad8031;
  box-shadow: 0 0 0 4px rgba(173, 128, 49, 0.12);
}

.release-card[data-state='available'] .status-dot {
  background: #638c3e;
  box-shadow: 0 0 0 4px rgba(99, 140, 62, 0.13);
}

.release-card[data-state='unavailable'] .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(164, 65, 46, 0.12);
}

.release-card h2 {
  margin: 19px 0 10px;
  font-size: clamp(32px, 4vw, 43px);
  line-height: 1.08;
}

.release-message {
  min-height: 50px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.download-button {
  width: 100%;
  min-height: 58px;
  padding: 17px 22px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.download-button:hover {
  background: #3a3c33;
  transform: translateY(-1px);
}

.download-button.is-disabled {
  justify-content: center;
  background: #deddd5;
  color: #77796e;
  cursor: not-allowed;
}

.download-button.is-disabled:hover {
  transform: none;
}

.availability-note {
  margin: 12px 10px 0;
  color: #74766b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.release-meta {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.release-meta div {
  min-width: 0;
  padding: 17px 4px 15px;
  border-bottom: 1px solid var(--line);
}

.release-meta div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.release-meta div:nth-child(even) {
  padding-left: 18px;
}

.release-meta dt {
  margin-bottom: 5px;
  color: var(--soft-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #383a32;
  font-size: 14px;
  font-weight: 650;
}

.checksum {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 12px;
  background: white;
}

.checksum span {
  display: block;
  margin-bottom: 6px;
  color: var(--soft-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.checksum code {
  display: block;
  overflow-wrap: anywhere;
  color: #484a41;
  font-size: 11px;
  line-height: 1.5;
}

.notes-link {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid #8c8e81;
  color: #4c4e45;
  font-size: 14px;
  font-weight: 650;
}

[hidden] {
  display: none !important;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--accent);
}

.trust-strip div {
  min-height: 142px;
  padding: 34px max(28px, 4vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(34, 36, 30, 0.19);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.trust-strip span {
  color: #4d4f43;
  font-size: 14px;
  line-height: 1.45;
}

.content-section,
.install-section {
  padding: 120px max(32px, calc((100vw - 1240px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading .eyebrow {
  margin-top: 13px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.requirement-grid {
  margin: 70px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}

.requirement-grid li {
  min-width: 0;
  padding: 28px 25px 8px;
  border-right: 1px solid var(--line);
}

.requirement-grid li:first-child {
  padding-left: 0;
}

.requirement-grid li:last-child {
  padding-right: 0;
  border-right: 0;
}

.number {
  color: #8b8d80;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.requirement-grid h3 {
  min-height: 48px;
  margin: 34px 0 13px;
  font-size: 18px;
}

.requirement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.runtime-note {
  margin: 56px 0 0;
  padding: 32px clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.runtime-note h3 {
  margin: 0 0 13px;
  font-size: 18px;
}

.runtime-note p {
  margin: 0;
  max-width: 78ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.runtime-note ul {
  margin: 16px 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.runtime-note strong {
  color: var(--ink);
}

.install-section {
  padding-top: 0;
}

.install-panel {
  padding: clamp(48px, 7vw, 88px);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 92% 9%,
      rgba(222, 115, 86, 0.42),
      transparent 27%
    ),
    radial-gradient(
      circle at 85% 95%,
      rgba(94, 110, 158, 0.28),
      transparent 31%
    ),
    var(--dark);
  color: #f7f5ec;
}

.section-heading.light .eyebrow,
.section-heading.light > p:last-child {
  color: #b9bbaf;
}

.steps {
  margin: 70px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 52px;
  list-style: none;
  border-top: 1px solid rgba(247, 245, 236, 0.2);
}

.steps li {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  border-bottom: 1px solid rgba(247, 245, 236, 0.2);
}

.steps > li:nth-child(odd) {
  padding-right: 26px;
}

.steps > li:nth-child(even) {
  padding-left: 26px;
}

.steps span {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(247, 245, 236, 0.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.steps p {
  margin: 1px 0 0;
  color: #d6d6ce;
  font-size: 15px;
  line-height: 1.62;
}

.steps strong {
  color: white;
}

.uninstall-section {
  padding-top: 0;
}

.lifecycle-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.lifecycle-card {
  min-width: 0;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffef9;
}

.lifecycle-label {
  margin-bottom: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: #737568;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lifecycle-status {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(201, 247, 58, 0.45);
  color: #42452f;
  letter-spacing: 0.06em;
}

.lifecycle-status.is-destructive {
  background: rgba(197, 109, 83, 0.14);
  color: #764d40;
}

.lifecycle-card h3 {
  max-width: 13ch;
  margin: 0 0 18px;
  font-family: 'Besley', Georgia, serif;
  font-size: clamp(31px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}

.lifecycle-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.lifecycle-card > p strong {
  color: #3f4138;
}

.lifecycle-details {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.lifecycle-details > div {
  padding: 24px 24px 6px 0;
}

.lifecycle-details > div + div {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.lifecycle-card h4 {
  margin: 0 0 14px;
  color: #74766a;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lifecycle-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #505248;
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}

.lifecycle-card li {
  position: relative;
  padding-left: 17px;
}

.lifecycle-card li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9c90;
  content: '';
}

.retained-data li::before {
  background: #81a849;
}

.lifecycle-card code {
  overflow-wrap: anywhere;
  color: #36382f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  font-weight: 650;
}

.lifecycle-card .lifecycle-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #77796e;
  font-size: 13px;
}

.purge-card {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(222, 115, 86, 0.13),
      transparent 36%
    ),
    #f5f2e9;
}

.purge-list {
  margin-top: 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.purge-commands {
  margin-top: 24px;
}

.purge-commands p {
  margin: 14px 0 7px;
  color: #6d6f64;
  font-size: 12px;
  font-weight: 700;
}

.purge-commands code {
  padding: 12px 14px;
  display: block;
  overflow-x: auto;
  border: 1px solid rgba(34, 36, 30, 0.1);
  border-radius: 9px;
  background: rgba(255, 254, 249, 0.76);
  color: #41433a;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
}

.purge-card .purge-warning {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid #c56d53;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 254, 249, 0.7);
  color: #684e44;
  font-size: 13px;
}

.support-section {
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 10vw, 150px);
  align-items: end;
}

.support-section h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
}

.support-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.outline-button {
  display: inline-flex;
  padding: 14px 20px;
  border: 1.5px solid rgba(34, 36, 30, 0.28);
  border-radius: 999px;
  font-weight: 700;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.outline-button:hover {
  border-color: var(--ink);
  color: #626459;
}

.footer {
  padding: 34px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: #818377;
  font-family: 'Besley', Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: 74px 0 90px;
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .release-card {
    width: min(100%, 600px);
  }

  .section-heading {
    grid-template-columns: 1fr 1.4fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .requirement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .requirement-grid li:nth-child(2) {
    border-right: 0;
  }

  .requirement-grid li:nth-child(3),
  .requirement-grid li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .requirement-grid li:nth-child(3) {
    padding-left: 0;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 18px 20px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    width: calc(100% - 40px);
    padding: 58px 0 72px;
    gap: 48px;
  }

  h1 {
    font-size: clamp(51px, 15vw, 72px);
  }

  .release-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

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

  .release-meta div:nth-child(odd) {
    border-right: 0;
  }

  .release-meta div:nth-child(even) {
    padding-left: 4px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 116px;
    border-right: 0;
    border-bottom: 1px solid rgba(34, 36, 30, 0.19);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .content-section,
  .install-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .content-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading .eyebrow {
    margin-top: 0;
  }

  .section-heading > p:last-child {
    grid-column: 1;
  }

  .requirement-grid {
    margin-top: 52px;
    grid-template-columns: 1fr;
  }

  .requirement-grid li,
  .requirement-grid li:first-child,
  .requirement-grid li:nth-child(3),
  .requirement-grid li:last-child {
    padding: 25px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .requirement-grid h3 {
    min-height: auto;
    margin-top: 17px;
  }

  .runtime-note {
    margin-top: 40px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .install-panel {
    padding: 44px 22px;
    border-radius: 21px;
  }

  .steps {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .steps > li:nth-child(odd),
  .steps > li:nth-child(even) {
    padding: 24px 0;
  }

  .uninstall-section {
    padding-top: 0;
  }

  .lifecycle-grid {
    margin-top: 48px;
  }

  .lifecycle-card {
    padding: 30px 21px;
    border-radius: 20px;
  }

  .lifecycle-label {
    margin-bottom: 34px;
  }

  .lifecycle-details {
    grid-template-columns: 1fr;
  }

  .lifecycle-details > div,
  .lifecycle-details > div + div {
    padding: 22px 0;
    border-left: 0;
  }

  .lifecycle-details > div + div {
    border-top: 1px solid var(--line);
  }

  .support-section {
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer {
    width: calc(100% - 40px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
  }

  .footer nav {
    gap: 14px;
  }

  .footer p {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
