:root {
  --window: #1f2023;
  --topbar: #2b2d30;
  --tabbar: #232528;
  --panel: #242629;
  --border: #373a40;
  --control: #1e1f22;
  --editor: #1e1f22;
  --hover: #383b40;
  --theme-button: #34373d;
  --theme-button-hover: #41454d;
  --tab-active: #26282c;
  --flyout: #25272b;
  --flyout-secondary: #2b2d30;
  --flyout-primary-hover: #467ff2;
  --log-selected-line: #264f78;
  --log-text-selection: #3a6ea5;
  --log-bookmark: #2b2412;
  --section-active: #2b2d30;
  --item: #232528;
  --text: #c9d1d9;
  --muted-text: #8b949e;
  --accent: #3574f0;
  --success: #6aab73;
  --default-log-text: #c2cbd6;

  --bg: var(--window);
  --bg-soft: var(--topbar);
  --bg-panel: var(--panel);
  --bg-elev: var(--editor);
  --text-color: var(--text);
  --muted-color: var(--muted-text);
  --line-color: var(--border);
  --primary: var(--accent);
  --primary-2: var(--flyout-primary-hover);
  --card: var(--item);
  --shadow: 0 10px 28px rgba(2, 6, 14, 0.45);
}

.theme-light {
  --window: #f4f5f7;
  --topbar: #e7e9ed;
  --tabbar: #eceef2;
  --panel: #eef0f3;
  --border: #cdd2da;
  --control: #ffffff;
  --editor: #ffffff;
  --hover: #dde2ea;
  --theme-button: #dde3ec;
  --theme-button-hover: #d1d8e3;
  --tab-active: #ffffff;
  --flyout: #ffffff;
  --flyout-secondary: #eef1f5;
  --flyout-primary-hover: #2f69dc;
  --log-selected-line: #dcebff;
  --log-text-selection: #bdd7ff;
  --log-bookmark: #fff3c4;
  --section-active: #ffffff;
  --item: #ffffff;
  --text: #1f2328;
  --muted-text: #68707a;
  --accent: #2563eb;
  --success: #6aab73;
  --default-log-text: #24292f;

  --bg: var(--window);
  --bg-soft: var(--topbar);
  --bg-panel: var(--panel);
  --bg-elev: var(--editor);
  --text-color: var(--text);
  --muted-color: var(--muted-text);
  --line-color: var(--border);
  --primary: var(--accent);
  --primary-2: var(--flyout-primary-hover);
  --card: var(--item);
  --shadow: 0 10px 24px rgba(20, 30, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  background: var(--bg);
  line-height: 1.45;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(transparent 0 0),
    linear-gradient(transparent 0 0);
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.05;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-color);
  background: color-mix(in oklab, var(--bg-soft) 90%, transparent);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.3rem;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
}

.brand-text span {
  display: inline-block;
}

.brand-text span:nth-child(1) { color: #4ea3ff; }
.brand-text span:nth-child(2) { color: #5fd18a; }
.brand-text span:nth-child(3) { color: #ffbc5c; }
.brand-text span:nth-child(4) { color: #ff8db1; }
.brand-text span:nth-child(5) { color: #c58cff; }
.brand-text span:nth-child(6) { color: #7ad1ff; }

.brand-mark {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.45rem;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  color: var(--muted-color);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-home,
.nav-manual,
.is-hidden {
  display: none;
}

.nav a.active,
.nav a:hover,
.footer-links a:hover {
  color: var(--text-color);
}

.nav a,
.brand,
.btn,
.theme-toggle,
.lang-current,
.lang-option,
.screenshot-preview,
.lightbox-close {
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.theme-toggle {
  width: 2.25rem;
  height: 2.1rem;
  border: 1px solid var(--line-color);
  background: var(--theme-button);
  color: var(--text-color);
  border-radius: 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.theme-icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.theme-icon .icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  display: none;
}

body.theme-dark .theme-icon .icon-moon,
body.theme-light .theme-icon .icon-sun {
  display: block;
}

.theme-toggle .icon-sun { stroke-linecap: round; }
.theme-toggle .icon-moon { stroke-linecap: round; }

.theme-toggle:hover {
  background: var(--theme-button-hover);
}

.lang-wrap {
  margin-left: 0.5rem;
  position: relative;
}

.lang-switch {
  position: relative;
}

.lang-current {
  width: 3.3rem;
  height: 2.1rem;
  border: 1px solid var(--line-color);
  border-radius: 0.45rem;
  background: var(--theme-button);
  color: var(--text-color);
  padding: 0 0.7rem 0 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.lang-current:hover,
.lang-current:focus-visible,
.lang-switch.open .lang-current,
.lang-option:hover,
.lang-option:focus-visible {
  background: var(--theme-button-hover);
  outline: none;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 3.3rem;
  border: 1px solid var(--line-color);
  background: var(--theme-button);
  color: var(--text-color);
  border-radius: 0.45rem;
  padding: 0.32rem;
  display: grid;
  gap: 0.22rem;
  box-shadow: var(--shadow);
  z-index: 10;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  border: 0;
  background: transparent;
  color: var(--text-color);
  height: 1.8rem;
  border-radius: 0.32rem;
  width: 100%;
  padding: 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: color-mix(in oklab, var(--bg-soft) 78%, transparent);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text-color);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 1.4rem;
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
}

.hero-description,
.note,
.caption,
.simple-list,
.card p,
.footer p,
.cta + p {
  color: var(--muted-color);
}

.hero-description {
  margin-top: 0.75rem;
  max-width: 61ch;
  line-height: 1.65;
}

.hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-points span {
  border: 1px solid var(--line-color);
  border-radius: 0.45rem;
  background: color-mix(in oklab, var(--theme-button) 82%, transparent);
  color: var(--muted-color);
  padding: 0.38rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.cta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

@media (max-width: 860px) {
  .download-cta,
  .cta .btn {
    min-width: 100%;
    flex: 1 1 100%;
  }
}

.download-block {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.65rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}

.download-cta {
  min-width: 11.4rem;
  flex: 1 1 11.4rem;
  justify-content: center;
  text-align: center;
}

@media (max-width: 860px) {
  .download-cta {
    min-width: 100%;
    flex: 1 1 100%;
  }
}

.download-more {
  margin: 0.25rem 0 0;
  font-size: 0.76rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.download-block .cta {
  margin-top: 0;
}

.download-cta .platform-icon {
  width: 1.02rem;
  height: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn .platform-icon + span {
  line-height: 1;
}

.btn {
  text-decoration: none;
  border-radius: 0.45rem;
  padding: 0.7rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  text-align: center;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.ghost {
  background: var(--theme-button);
  color: var(--text-color);
  border-color: var(--line-color);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--primary-2);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--theme-button-hover);
}

.hero-screenshot,
.mock-shell {
  border: 1px solid var(--line-color);
  border-radius: 0.65rem;
}

.note,
.caption {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.screenshots-section {
  padding-top: 0.5rem;
}

.screenshots-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.screenshots-heading h2 {
  margin: 0;
}

.screenshot-showcase {
  display: grid;
  gap: 0.85rem;
}

.mock-shell {
  background: var(--control);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mock-head {
  height: 30px;
  background: var(--topbar);
  border-bottom: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0 0.7rem;
}

.mock-head span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-color);
}

.mock-body {
  padding: 0.9rem;
  color: var(--default-log-text);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mock-line.error {
  color: #ff8f8f;
}

.mock-line.warning {
  color: #ffd66b;
}

.mock-line.muted {
  color: var(--muted-color);
}

.hero-screenshot {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  height: auto;
  cursor: zoom-in;
  background: var(--control);
  box-shadow: var(--shadow);
}

.hero-screenshot:hover {
  outline: 1px solid color-mix(in oklab, var(--primary) 35%, transparent);
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: color-mix(in oklab, #000 62%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.screenshot-lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(96vw, 1600px);
  max-height: 90vh;
  border-radius: 0.65rem;
  border: 1px solid var(--line-color);
  background: var(--control);
  padding: 0.6rem;
  box-shadow: var(--shadow);
}

.lightbox-frame img {
  width: 100%;
  max-height: calc(90vh - 1.2rem);
  display: block;
  border-radius: 0.5rem;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-color);
  border-radius: 0.5rem;
  background: var(--theme-button);
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--theme-button-hover);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--primary);
}

.no-scroll {
  overflow: hidden;
}

.hero-screenshot-previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.screenshot-preview {
  appearance: none;
  border: 1px solid var(--line-color);
  background: var(--theme-button);
  border-radius: 0.6rem;
  padding: 0.35rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
  color: var(--muted-color);
  display: grid;
  gap: 0.4rem;
  text-align: left;
}

.screenshot-preview img {
  width: 100%;
  display: block;
  border-radius: 0.34rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screenshot-preview span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.screenshot-preview:hover,
.screenshot-preview:focus-visible,
.screenshot-preview.is-active {
  border-color: var(--primary);
}

.screenshot-preview.is-active {
  color: var(--text-color);
  background: color-mix(in oklab, var(--theme-button-hover) 82%, var(--primary));
}

.screenshot-preview:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 35%, transparent);
}

.screenshot-preview.is-active {
  transform: translateY(1px);
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-lead {
  margin: 0.55rem 0 0;
  max-width: 68ch;
  color: var(--muted-color);
  line-height: 1.65;
}

.card {
  padding: 1rem;
  border-radius: 0.7rem;
  background: var(--card);
  border: 1px solid var(--line-color);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.45rem;
}

.quiet-panel {
  padding: 0.2rem 0;
}

.quiet-panel p {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.65;
}

.card p {
  margin: 0;
  line-height: 1.55;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.simple-list {
  margin: 0;
  padding-left: 1.1rem;
}

.simple-list li {
  margin: 0.45rem 0;
}

.simple-list.danger li {
  color: #ff8f8f;
}

.code-block {
  margin-top: 0.95rem;
  border: 1px solid var(--line-color);
  background: var(--editor);
  border-radius: 0.55rem;
  padding: 0.85rem;
  color: #c8d4ed;
  white-space: pre-wrap;
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

.download-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.release-card {
  border-top: 2px solid var(--primary);
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.release-card > div {
  flex: 1;
}

.release-card .btn {
  margin-top: 1rem;
  width: 100%;
  max-width: 14rem;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line-color);
  background: var(--bg-soft);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-left,
.footer-right {
  margin: 0;
}

.footer-left {
  margin-right: auto;
}

.footer-right {
  margin-left: auto;
}

.muted {
  color: var(--muted-color);
}

@media (max-width: 1000px) {
  .hero-grid,
  .feature-grid,
  .two-col,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-screenshot-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header {
    position: static;
  }

  .nav-wrap {
    min-height: auto;
    padding: 0.4rem 0;
    flex-wrap: wrap;
  }

  .section {
    padding: 2rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  .screenshots-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero-screenshot-previews {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
  }

  .brand {
    font-size: 1.08rem;
  }
}

/* Corporate product redesign */
:root {
  --bg: #161719;
  --bg-soft: #202225;
  --bg-panel: #242629;
  --bg-elev: #1d1f22;
  --text-color: #d6dde6;
  --muted-color: #8f98a5;
  --line-color: #34373d;
  --primary: #4f86f7;
  --primary-2: #6a9afa;
  --card: #202225;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.theme-light {
  --bg: #f1f3f6;
  --bg-soft: #ffffff;
  --bg-panel: #ffffff;
  --bg-elev: #f7f8fa;
  --text-color: #20242a;
  --muted-color: #67717e;
  --line-color: #d4d9e1;
  --primary: #2f6fe8;
  --primary-2: #245ec9;
  --card: #ffffff;
  --shadow: 0 16px 38px rgba(29, 40, 58, 0.12);
}

body {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg-soft) 34%, var(--bg)) 0, var(--bg) 360px),
    var(--bg);
}

.grain {
  opacity: 0.025;
}

.header {
  background: color-mix(in oklab, var(--bg-soft) 92%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-wrap {
  min-height: 70px;
}

.brand {
  font-size: 1.38rem;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.theme-light .brand-mark {
  background: transparent;
}

.nav a {
  padding: 0.4rem 0.15rem;
}

.nav a.active {
  color: var(--text-color);
}

.section {
  padding: 4rem 0;
}

.hero {
  min-height: calc(100vh - 70px);
  padding: 3.5rem 0 6rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in oklab, var(--bg) 88%, transparent) 35%, color-mix(in oklab, var(--bg) 18%, transparent) 100%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 20%, transparent) 0%, var(--bg) 100%),
    url("./hero-log-view.jpg") right 58% / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid {
  grid-template-columns: minmax(0, 700px);
}

.hero-content {
  max-width: 720px;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 1.35rem;
}

.hero-description {
  max-width: 62ch;
  font-size: 1.08rem;
  color: color-mix(in oklab, var(--text-color) 76%, var(--muted-color));
}

.hero-points {
  margin-top: 1.2rem;
}

.hero-points span {
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
  color: color-mix(in oklab, var(--text-color) 82%, var(--muted-color));
}

.download-block {
  margin-top: 2rem;
  max-width: 640px;
}

.eyebrow,
.download-more {
  color: var(--primary-2);
  font-weight: 700;
}

.download-actions,
.cta {
  gap: 0.55rem;
}

.btn {
  border-radius: 0.38rem;
  min-height: 2.8rem;
  padding: 0.72rem 1.05rem;
}

.btn.primary {
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(53, 116, 240, 0.22);
}

.btn.ghost {
  background: color-mix(in oklab, var(--bg-soft) 78%, transparent);
}

.screenshots-section {
  padding-top: 2rem;
  background: var(--bg);
}

.screenshots-heading {
  align-items: start;
  justify-content: start;
  display: grid;
  gap: 0.25rem;
}

.screenshots-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.screenshot-showcase {
  gap: 1rem;
}

.hero-screenshot {
  max-height: none;
  aspect-ratio: 16 / 9;
  border-radius: 0.45rem;
  border-color: color-mix(in oklab, var(--line-color) 80%, var(--primary));
  background: #111316;
  object-fit: contain;
}

.hero-screenshot-previews {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.screenshot-preview {
  border-radius: 0.45rem;
  padding: 0;
  overflow: hidden;
  background: var(--bg-panel);
  text-align: center;
}

.screenshot-preview img {
  border-radius: 0;
}

.screenshot-preview span {
  padding: 0.7rem 0.8rem;
  color: inherit;
}

.screenshot-preview.is-active {
  transform: none;
  background: color-mix(in oklab, var(--bg-panel) 82%, var(--primary));
}

.feature-grid {
  gap: 0.75rem;
}

.card {
  border-radius: 0.45rem;
  box-shadow: none;
}

.card h3 {
  letter-spacing: 0;
}

.two-col {
  gap: 2rem;
}

.simple-list {
  columns: 2;
  max-width: 760px;
}

.simple-list li {
  break-inside: avoid;
}

.footer {
  margin-top: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, color-mix(in oklab, var(--bg) 76%, transparent) 0%, var(--bg) 100%),
      url("./hero-log-view.jpg") center 60% / cover no-repeat;
    opacity: 0.72;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-screenshot-previews {
    grid-template-columns: 1fr;
  }

  .simple-list {
    columns: 1;
  }
}

/* Screenshot showcase refinement */
.screenshots-section {
  padding: 3rem 0 4.4rem;
}

.screenshots-section .container {
  width: min(1180px, calc(100% - 2.5rem));
}

.screenshots-heading {
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.screenshot-showcase {
  display: grid;
  gap: 0.9rem;
}

.screenshot-stage {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.screenshot-stage .hero-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0.28rem;
  background: #111316;
  box-shadow: none;
  object-fit: contain;
}

.hero-screenshot-previews {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(7rem, auto));
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line-color);
  border-radius: 0.45rem;
  background: color-mix(in oklab, var(--bg-soft) 70%, var(--bg));
}

.screenshot-preview {
  min-height: 2.25rem;
  border: 0;
  border-radius: 0.28rem;
  padding: 0 1rem;
  background: transparent;
  color: var(--muted-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.screenshot-preview span {
  padding: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.screenshot-preview:hover,
.screenshot-preview:focus-visible {
  background: var(--theme-button-hover);
  border-color: transparent;
}

.screenshot-preview.is-active {
  color: #ffffff;
  background: var(--primary);
  transform: none;
}

.screenshot-preview img {
  display: none;
}

@media (max-width: 680px) {
  .screenshots-section {
    padding: 2.5rem 0 3rem;
  }

  .screenshot-stage {
    padding: 0;
  }

  .hero-screenshot-previews {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screenshot-preview {
    min-width: 0;
    padding: 0 0.35rem;
  }
}

@media (max-width: 560px) {
  .container,
  .screenshots-section .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .nav-wrap {
    gap: 0.55rem;
    padding: 0.55rem 0;
  }

  .brand {
    font-size: 1rem;
    gap: 0.45rem;
  }

  .brand-mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .nav {
    order: 4;
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .lang-wrap {
    margin-left: auto;
  }

  .hero {
    padding: 3rem 0 2.8rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-points span {
    font-size: 0.76rem;
  }

  .download-block {
    margin-top: 1.6rem;
  }

  .screenshot-stage .hero-screenshot {
    border-radius: 0.2rem;
  }
}

/* Temporary hidden release buttons */
.is-hidden {
  display: none !important;
}

.download-actions .download-cta {
  flex: 0 0 auto;
  min-width: 11.4rem;
}

