:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --brand: #2449dc;
  --brand-hover: #1b3bbd;
  --brand-soft: #eaefff;
  --on-brand: #ffffff;

  --bg: #f7f8fb;
  --bg-alt: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --text: #141a2b;
  --text-muted: #525c70;
  --text-faint: #6b7487;
  --border: #e1e5ee;
  --border-strong: #cdd3e0;
  --success: #16865a;
  --success-soft: #e3f5ec;
  --warning: #a35f00;
  --warning-soft: #fff1da;

  --dark-bg: #111729;
  --dark-surface: #1a2238;
  --dark-text: #f3f5fa;
  --dark-muted: #aeb6c9;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.06);
  --shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 8px 24px rgb(16 24 40 / 0.06);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / 0.04), 0 24px 64px rgb(16 24 40 / 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --container: 1160px;
  --gutter: 24px;
  --header-h: 68px;
  color-scheme: light;
}

/* Light is the default; dark is opt-in from the header toggle. */
:root[data-theme="dark"] {
  --brand: #6d8bff;
  --brand-hover: #8aa2ff;
  --brand-soft: #1e2a52;
  --on-brand: #0b1022;
  --bg: #0e1220;
  --bg-alt: #121829;
  --surface: #171e31;
  --surface-2: #1d2539;
  --text: #eef1f8;
  --text-muted: #b2bacb;
  --text-faint: #8f98ad;
  --border: #273047;
  --border-strong: #354059;
  --success: #4cc792;
  --success-soft: #133a2b;
  --warning: #f0b45a;
  --warning-soft: #3a2a10;
  --dark-bg: #0a0e1a;
  --dark-surface: #141b2e;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 64px rgb(0 0 0 / 0.45);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

img,
svg {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--brand);
}

p {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Buttons: one height per size, everywhere. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.button:active {
  transform: translateY(1px);
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 1px 2px rgb(36 73 220 / 0.25);
}

.button-primary:hover {
  background: var(--brand-hover);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  border-color: var(--text-faint);
  background: var(--surface-2);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.button-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 16px;
}

.button-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

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

.brand b {
  color: var(--brand);
  font-weight: 700;
}

.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.header-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.header-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
}

.theme-toggle .icon {
  width: 18px;
  height: 18px;
  fill: none;
}

.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.language-switch button {
  min-width: 40px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-faint);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.language-switch button[aria-pressed="true"] {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 620px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 15px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .icon {
  width: 18px;
  height: 18px;
  color: var(--success);
}

/* App mockup */
.mockup {
  position: relative;
  max-width: 980px;
  margin: 64px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 13px;
}

.mockup-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mockup-bar span {
  margin: 0 auto;
  padding-right: 50px;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
  text-align: left;
}

.mockup-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  border-bottom-left-radius: var(--radius-lg);
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.mockup-brand img {
  border-radius: 5px;
}

.mockup-brand b {
  color: var(--brand);
}

.mockup-nav {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.mockup-nav.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 28px;
  min-width: 0;
}

.mockup-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.mockup-head small,
.mockup-stats small {
  display: block;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-head strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.mockup-button {
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-stats div {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.mockup-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.mockup-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mockup-row {
  display: grid;
  grid-template-columns: 120px 1fr auto 96px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
}

.mockup-row + .mockup-row {
  border-top: 1px solid var(--border);
}

.mockup-row span {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.status-paid {
  background: var(--success-soft);
  color: var(--success);
}

.status-wait {
  background: var(--warning-soft);
  color: var(--warning);
}

.mockup-toast {
  position: absolute;
  right: 32px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.mockup-toast b {
  display: block;
  font-size: 14px;
}

.mockup-toast small {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
}

.mockup-toast .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

.file-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 44px;
  border-radius: 6px;
  background: #fde8e6;
  color: #c2362b;
  font-size: 11px;
  font-weight: 800;
}

/* Sections */
.section {
  padding: 112px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section h2,
.privacy h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.download-count {
  margin-top: 24px;
}

.download-count[hidden] {
  display: none;
}

.download-count .icon {
  color: var(--brand);
}

.download-count b {
  color: var(--text);
  font-weight: 700;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Features: an even grid, every card the same shape. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.feature:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
  fill: none;
}

.feature h3 {
  margin-top: 20px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15.5px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 28px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 17px;
  font-weight: 800;
}

.step h3 {
  margin-top: 20px;
  font-size: 19px;
}

.step p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15.5px;
}

.steps-more {
  margin-top: 32px;
  text-align: center;
}

.header-nav a[aria-current="page"] {
  color: var(--brand);
}

/* Guide page: one step per row, text beside a real screenshot. */
.guide-hero {
  padding: 88px 0 72px;
}

.guide-hero h1 {
  margin-top: 4px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.guide-lead {
  max-width: 640px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.6;
}

.guide-toc {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.guide-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  transition:
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.guide-toc a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.guide-toc span {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.guide-toc b {
  font-weight: 600;
}

.guide-note {
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 14px;
}

.guide-part .section-head {
  margin-bottom: 48px;
}

.guide-steps {
  display: grid;
  gap: 72px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: 48px;
  align-items: center;
}

.guide-step:nth-child(even) {
  grid-template-columns: minmax(0, 8fr) minmax(0, 5fr);
}

.guide-step:nth-child(even) .guide-text {
  order: 2;
}

.guide-text h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 700;
}

.guide-text p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.guide-text .guide-tip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.guide-tip .icon {
  margin-top: 1px;
  color: var(--brand);
}

.guide-shot {
  margin: 0;
  min-width: 0;
}

/* Portrait shots (a form or a dialog) would tower over the text at full column width. */
.guide-shot-narrow {
  justify-self: center;
  width: min(100%, 560px);
}

.shot-frame {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font: inherit;
  cursor: zoom-in;
  transition: transform 0.2s var(--ease);
}

.shot-frame:hover {
  transform: translateY(-2px);
}

.shot-frame .mockup-bar {
  height: 36px;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-cta-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
}

.guide-cta-card .section-lead {
  margin: 16px auto 28px;
  max-width: 520px;
}

.lightbox {
  width: min(1600px, 96vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: zoom-out;
}

.lightbox::backdrop {
  background: rgb(8 11 22 / 0.82);
}

.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 94vh;
  object-fit: contain;
  border-radius: var(--radius);
}

@media (max-width: 1024px) {
  .guide-toc {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .guide-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .guide-step:nth-child(even) .guide-text {
    order: 0;
  }
}

@media (max-width: 640px) {
  .guide-hero {
    padding: 48px 0 40px;
  }

  .guide-lead {
    font-size: 17px;
  }

  .guide-toc {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .guide-steps {
    gap: 48px;
  }

  .guide-text h3 {
    font-size: 21px;
  }

  .shot-frame {
    border-radius: var(--radius);
  }

  .shot-frame .mockup-bar {
    height: 28px;
  }

  .guide-cta-card {
    padding: 40px 20px;
  }
}

/* Privacy: a dark band in both themes. */
.privacy {
  padding: 112px 0;
  background: var(--dark-bg);
  color: var(--dark-text);
}

.privacy-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy h2 em {
  color: #9fb3ff;
}

.eyebrow-dark {
  color: #9fb3ff;
}

.privacy-lead {
  margin-top: 20px;
  color: var(--dark-muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.privacy-list li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  background: rgb(159 179 255 / 0.12);
  color: #9fb3ff;
}

.privacy-icon .icon {
  width: 22px;
  height: 22px;
  fill: none;
}

.privacy-list b {
  display: block;
  font-size: 16px;
}

.privacy-list small {
  display: block;
  margin-top: 2px;
  color: var(--dark-muted);
  font-size: 14.5px;
}

/* Downloads: same structure in every card, buttons pinned to one line. */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.download {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition:
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.download.is-detected {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent),
    var(--shadow);
}

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

.os-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.os-icon .icon {
  width: 26px;
  height: 26px;
}

.os-windows {
  color: #0a74da;
}

.os-mac {
  color: var(--text);
}

.os-linux {
  color: var(--text);
}

.detected {
  display: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.is-detected .detected {
  display: inline-block;
}

.download h3 {
  margin-top: 20px;
  font-size: 24px;
}

.download-meta {
  min-height: 3.2em;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.download-buttons {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.download-buttons-split {
  grid-template-columns: 1fr 1fr;
}

.install {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.install summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.install summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.install summary {
  min-height: 44px;
  padding-top: 12px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
}

.install summary .icon,
.faq-item summary .icon {
  width: 18px;
  height: 18px;
  fill: none;
  color: var(--text-faint);
  transition: transform 0.2s var(--ease);
}

details[open] > summary .icon {
  transform: rotate(180deg);
}

.install-important summary {
  color: var(--warning);
}

.install-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.install-flag .icon {
  width: 18px;
  height: 18px;
  fill: none;
  color: var(--warning);
}

.install ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.install b {
  color: var(--text);
  font-weight: 600;
}

.command {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.command code {
  display: block;
  padding: 2px 2px 4px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  overflow-x: auto;
  overflow-wrap: normal;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}

.copy-button:hover {
  background: var(--surface-2);
}

.copy-button .icon {
  width: 16px;
  height: 16px;
  fill: none;
}

.footnote {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--text-faint);
  font-size: 14px;
  text-align: center;
}

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.faq-inner .section-head {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-strong);
}

.faq-item summary {
  min-height: 64px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item p {
  max-width: 640px;
  padding-bottom: 20px;
  color: var(--text-muted);
}

/* Support */
.support-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.support-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.support-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-card-head .feature-icon {
  width: 40px;
  height: 40px;
}

.support-card-head .eyebrow {
  margin: 0;
  color: var(--text-muted);
}

.support-details {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.support-details div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.support-details dt {
  color: var(--text-muted);
}

.support-details dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.iban {
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.iban span {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.iban strong {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.support-note {
  margin-top: 14px;
  color: var(--text-faint);
  font-size: 13.5px;
}

/* Footer */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer-nav a,
.footer-bottom a {
  color: var(--text-muted);
  font-size: 15px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 14px;
}

.footer-bottom a {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .download-meta {
    min-height: 0;
  }

  .privacy-inner,
  .faq-inner,
  .support-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

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

  .header-actions {
    margin-left: auto;
  }

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

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-side {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 60px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-self: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
    align-items: center;
  }

  .mockup {
    margin-top: 48px;
  }

  .mockup-main {
    padding: 18px 16px 24px;
  }

  .mockup-head strong {
    font-size: 18px;
  }

  .mockup-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-stats div:last-child {
    display: none;
  }

  .mockup-row {
    grid-template-columns: 1fr auto;
    row-gap: 2px;
  }

  .mockup-row span {
    grid-column: 1;
  }

  .mockup-row em {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
  }

  .mockup-row strong {
    grid-row: 1;
    grid-column: 2;
  }

  .mockup-toast {
    display: none;
  }

  .section,
  .privacy {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-lead,
  .privacy-lead {
    font-size: 17px;
  }

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

  .feature,
  .step,
  .download,
  .support-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  /* Icon-only header button; the label stays readable for screen readers. */
  .header-actions .button-small span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-actions .button-small {
    width: 40px;
    padding: 0;
  }

  .header-inner,
  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .site-header .brand span {
    display: none;
  }
}

@media (max-width: 380px) {
  .download-buttons-split {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
