:root {
  --bg: #121212;
  --bg-raised: #1b1b1d;
  --bg-inset: #0c0c0d;
  --border: #2a2a2d;
  --text: #f3f3f1;
  --text-dim: #9c9c98;
  --text-faint: #828280;
  --accent: #1475fc;
  --accent-hover: #3b8bff;
  --accent-dim: #0f5cd1;
  --accent-tint: rgba(20, 117, 252, 0.14);

  --font-display: "Bricolage Grotesque", "SF Pro Display", system-ui, sans-serif;
  --font-body: -apple-system, "SF Pro Text", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, monospace;

  --container: 1200px;
  --gutter: 32px;

  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 999px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 1px 2px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.12em 0.4em;
}

/* Type roles */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.eyebrow-inset {
  color: var(--accent-hover);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.accent-text {
  color: var(--accent-hover);
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.section-sub,
.hero-sub {
  color: var(--text-dim);
  max-width: 60ch;
  margin: 0 0 1.75rem;
}

.hero-sub {
  font-size: 1.125rem;
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin: 1.25rem 0 0;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.nav-brand img {
  border-radius: 22%;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
  color: var(--text-dim);
}

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

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-download {
    margin-left: auto;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--r-full);
  padding: 0.875rem 1.75rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-raised);
}

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-row-center {
  justify-content: center;
}

/* Hero */

.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 460px;
}

.demo {
  width: 100%;
}

.demo-menubar {
  background: var(--bg-menubar);
  border: 1px solid var(--border);
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}

.demo-menuitem {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  border-radius: var(--r-xs);
  padding: 0.15rem 0.4rem;
  margin: -0.15rem -0.4rem;
  cursor: pointer;
  transition: background-color 0.12s ease, transform 0.08s ease;
}

.demo-menuitem:hover {
  background: rgba(255, 255, 255, 0.08);
}

.demo-menuitem.is-pressed {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(0.97);
}

.demo-menuitem:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 1px;
}

.demo-menuitem .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.demo-sysicons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  opacity: 0.9;
}

.demo-battery {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.demo-battery-icon {
  width: 20px;
  height: 10px;
  border: 1px solid var(--text);
  border-radius: 2px;
  position: relative;
  display: inline-block;
  padding: 1px;
}

.demo-battery-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: var(--text);
  border-radius: 0 1px 1px 0;
}

.demo-battery-fill {
  display: block;
  height: 100%;
  width: 80%;
  background: var(--text);
  border-radius: 1px;
}

.demo-clock {
  font-variant-numeric: tabular-nums;
}

.demo-dropdown {
  width: 100%;
  max-width: 320px;
  align-self: flex-end;
  margin-right: 8%;
  margin-top: -1px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.25rem 0.5rem;
  position: relative;
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.97) translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.demo-dropdown[hidden] {
  display: none;
}

.demo-dropdown.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.demo-dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 var(--hairline-highlight);
  pointer-events: none;
}

.demo-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9375rem;
  gap: 1rem;
}

.demo-row-head {
  margin-bottom: 0.9rem;
}

.demo-title {
  font-weight: 700;
  font-size: 1.0625rem;
}

.demo-plus {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-hover);
  background: var(--accent-tint);
  border-radius: var(--r-xs);
  padding: 0.15rem 0.4rem;
}

.demo-stat {
  margin-bottom: 0.4rem;
}

.demo-stat.demo-dim {
  color: var(--text-dim);
  margin-top: 0.9rem;
}

.demo-primary-value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.demo-track {
  height: 6px;
  border-radius: var(--r-full);
  background: var(--bg-inset);
  overflow: hidden;
}

.demo-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: var(--r-full);
}

.demo-note {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin: 0.9rem 0 0;
}

.demo-note-tight {
  margin-top: 0.2rem;
  color: var(--text-faint);
}

.demo-menu {
  margin-top: 0.9rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}

.demo-menurow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  padding: 0.5rem 0.4rem;
  margin: 0 -0.4rem;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.demo-menurow kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

button.demo-menurow:hover {
  background: var(--accent);
  color: #fff;
}

button.demo-menurow:hover kbd {
  color: rgba(255, 255, 255, 0.8);
}

button.demo-menurow:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: -2px;
}

.demo-refresh-icon {
  display: inline-flex;
  color: var(--accent-hover);
}

button.demo-menurow:hover .demo-refresh-icon {
  color: #fff;
}

.demo-refresh-icon.is-spinning,
.is-spinning .demo-refresh-icon {
  animation: demo-spin 0.7s linear infinite;
}

@keyframes demo-spin {
  to {
    transform: rotate(360deg);
  }
}

.demo-menurow-static {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--text-dim);
  padding: 0.5rem 0.4rem;
}

.demo-menurow-static kbd {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
}

.demo-quit {
  color: var(--text);
}

.demo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  margin: 0 8% 0 auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: right;
}

@media (max-width: 900px) {
  .demo-caption {
    margin-right: auto;
    text-align: center;
  }
}

.demo-caption strong {
  color: var(--text-dim);
}

/* Window overlays (Preferences + Check for Updates) */

.win-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(6, 6, 7, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--r-md) var(--r-md) var(--r-lg) var(--r-lg);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.win-overlay[hidden] {
  display: none;
}

.win-overlay.is-open {
  opacity: 1;
}

.win {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transform: scale(0.96) translateY(6px);
  transition: transform 0.18s ease;
  max-height: 100%;
  overflow-y: auto;
}


.win-overlay.is-open .win {
  transform: scale(1) translateY(0);
}

.win-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-raised);
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
}

.win-dot-red {
  background: #ff5f57;
  cursor: pointer;
}

.win-dot-red:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
}

.win-dot-yellow {
  background: #febc2e;
}

.win-dot-green {
  background: #28c840;
}

.win-title {
  flex: 1;
  text-align: center;
  margin-right: 2.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* Preferences window */

.win-prefs {
  width: 100%;
  max-width: 340px;
}

.win-body {
  padding: 0.5rem 1rem 0.6rem;
}

.win-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.5rem;
}

.win-section {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 0.3rem;
}

.win-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  font-size: 0.8125rem;
  padding: 0.2rem 0;
  gap: 0.75rem;
}

.win-row > span:first-child {
  white-space: nowrap;
}

.win-select {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.win-select svg {
  color: var(--text-faint);
  flex-shrink: 0;
}

.win-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.16rem 0;
  cursor: default;
}

.chk {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
}

.chk-on {
  background: var(--accent);
  border-color: var(--accent);
}

.chk-on::after {
  content: "";
  position: absolute;
  left: 2.5px;
  top: 0.5px;
  width: 3.5px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.4px 1.4px 0;
  transform: rotate(40deg);
}

.win-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.45rem 0;
}

.win-about {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.win-about img {
  border-radius: 22%;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.win-about p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.win-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.win-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  cursor: pointer;
}

.win-btn:hover {
  background: var(--border);
}

.win-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.win-btn-primary:hover {
  background: var(--accent-hover);
}

/* Update-check dialog */

.win-dialog {
  width: 100%;
  max-width: 300px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}

.win-dialog img {
  border-radius: 22%;
}

.win-dialog-title {
  font-size: 0.9688rem;
  font-weight: 700;
  margin: 0;
}

.win-dialog-text {
  font-size: 0.8438rem;
  color: var(--text-dim);
  margin: 0.2rem 0 0;
}

.win-progress {
  width: 100%;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--bg-inset);
  overflow: hidden;
  margin-top: 0.2rem;
}

.win-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: var(--r-full);
}

.update-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
}

.reads-strip {
  margin-top: 4rem;
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reads-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--accent-tint);
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-full);
}

.reads-note {
  color: var(--text-faint);
}

/* Sections */

.section {
  padding-top: var(--space-xl, 6rem);
  padding-bottom: var(--space-xl, 6rem);
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 640px) {
  .section,
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Feature difference card */

.difference-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  margin: 2.5rem 0 3rem;
}

.difference-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.difference-copy p:last-child {
  margin: 0;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .difference-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

/* Notification stack (difference-card visual) */

.notif-stack {
  position: relative;
  width: 100%;
  max-width: 260px;
  padding-top: 1.4rem;
}

.notif {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 0.85rem 1rem;
}

.notif img {
  border-radius: 22%;
  flex-shrink: 0;
}

.notif-back {
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.55;
  transform: scale(0.94);
  z-index: 1;
}

.notif-back .notif-body {
  min-width: 0;
}

.notif-back .notif-title,
.notif-back .notif-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-front {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.65rem;
}

.notif-front .notif-head {
  position: absolute;
  top: 0.85rem;
  left: 2.65rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}

.notif-app {
  color: var(--text-dim);
  text-transform: uppercase;
}

.notif-time {
  color: var(--text-faint);
}

.notif-front .notif-body {
  margin-top: 1.15rem;
}

.notif-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0 0 0.2rem;
}

.notif-text {
  font-size: 0.8438rem;
  color: var(--text-dim);
  margin: 0;
}

/* Feature list (grouped, System Settings style) */

.feature-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border);
  transition: background-color 0.15s ease;
}

.feature-row:first-child {
  border-top: none;
}

.feature-row:hover {
  background: var(--bg-inset);
}

.feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.feature-title {
  font-weight: 600;
  font-size: 0.9688rem;
}

.feature-desc {
  color: var(--text-dim);
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .feature-row {
    padding: 1rem 1.25rem;
  }
}

/* Private section */

.section-private {
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.private-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.private-grid p {
  color: var(--text-dim);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.9375rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.53-9.72a.75.75 0 0 0-1.06-1.06L7 8.69 5.53 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.53-9.72a.75.75 0 0 0-1.06-1.06L7 8.69 5.53 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l4-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Install */

.install-wrap {
  max-width: 640px;
}

.install-steps {
  color: var(--text-dim);
  padding-left: 1.4rem;
  margin: 0 0 2rem;
}

.install-steps li {
  margin-bottom: 0.5rem;
}

.install-steps a,
.checklist a {
  color: var(--accent-hover);
}

/* FAQ */

.faq-wrap {
  max-width: 720px;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion details {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.accordion summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion p {
  color: var(--text-dim);
  margin: 0.9rem 0 0;
  max-width: 62ch;
}

/* Guides */

.guide-wrap {
  max-width: 720px;
}

.guide-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 2.75rem 0 0.9rem;
}

.guide-wrap p,
.guide-wrap li {
  color: var(--text-dim);
}

.guide-wrap p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

.guide-wrap ul,
.guide-wrap ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}

.guide-wrap li {
  margin-bottom: 0.5rem;
}

.guide-wrap a {
  color: var(--accent-hover);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0.5rem 0 1.5rem;
}

.guide-table th,
.guide-table td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.guide-table th {
  font-weight: 600;
  color: var(--text);
}

.guide-table td {
  color: var(--text-dim);
}

.guide-cta {
  margin-top: 3rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-inset);
}

.guide-cta p {
  margin-bottom: 1.25rem;
}

/* Closing */

.closing {
  text-align: center;
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.closing-logo {
  border-radius: 22%;
  margin-bottom: 1.5rem;
}

.closing .headline {
  max-width: none;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin-right: auto;
}

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

.footer-links a:hover {
  color: var(--text);
}

.footer-disclaimer {
  color: var(--text-faint);
  font-size: 0.8125rem;
  margin: 0;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-right: 0;
  }
}

/* Install notice + help modal (macOS Gatekeeper guidance) */

.nav-download {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.install-help-trigger {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.nav-icon-btn,
.install-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--text-faint);
  text-decoration: none;
}

.nav-icon-btn:hover,
.nav-icon-btn:focus-visible,
.install-help-icon:hover,
.install-help-icon:focus-visible {
  color: var(--accent-hover);
  background: var(--accent-tint);
}

.nav-icon-btn:focus-visible,
.install-help-icon:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 1px;
}

@media (max-width: 720px) {
  .nav-icon-btn,
  .install-help-icon {
    display: none;
  }
}

.install-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  max-width: 46ch;
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.install-notice svg {
  flex-shrink: 0;
  margin-top: 0.15em;
}

.install-notice-center {
  max-width: none;
  justify-content: center;
  margin-top: 1rem;
}

.install-help-link {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.install-help-link:hover,
.install-help-link:focus-visible {
  color: var(--accent-hover);
}

.install-help-link:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
}

.help-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 1.25rem;
  background: rgba(6, 6, 7, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.help-overlay[hidden] {
  display: none;
}

.help-overlay.is-open {
  opacity: 1;
}

.win-help {
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
}

.help-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.help-body p {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.help-body p:first-child {
  color: var(--text);
}

.help-steps {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
  color: var(--text-dim);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.help-steps li {
  margin-bottom: 0.6rem;
}

.help-steps ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.help-steps ul li {
  margin-bottom: 0.3rem;
}

.help-subhead {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9375rem;
  margin: 0 0 0.4rem;
}

.help-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 1rem;
}

.help-code {
  font-family: var(--font-mono);
  font-size: 0.8438rem;
  line-height: 1.6;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  margin: 0 0 0.9rem;
  overflow-x: auto;
  white-space: pre;
  color: var(--text-dim);
}
