@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #050505;
  --surface-alt: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.04);
  --text: #f5f5f5;
  --muted: #b7b7b7;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.06);
  --shadow: rgba(255, 255, 255, 0);
  --cursor-default: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6.5" fill="none" stroke="%23ffffff" stroke-width="1.4"/><circle cx="12" cy="12" r="1.6" fill="%23ffffff"/></svg>') 12 12, auto;
  --cursor-pointer: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6.5" fill="none" stroke="%23ffffff" stroke-width="1.4"/><circle cx="12" cy="12" r="1.6" fill="%23ffffff"/></svg>') 12 12, pointer;
  --font-body: 'Archivo', 'Segoe UI', sans-serif;
  --font-display: 'Archivo', 'Arial Black', sans-serif;
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-alt: #efefed;
  --panel: rgba(17, 17, 17, 0.02);
  --panel-strong: rgba(17, 17, 17, 0.04);
  --text: #171717;
  --muted: #5a5a5a;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --accent: #111111;
  --accent-soft: rgba(17, 17, 17, 0.06);
  --shadow: rgba(0, 0, 0, 0.04);
  --cursor-default: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6.5" fill="none" stroke="%23000000" stroke-width="1.4"/><circle cx="12" cy="12" r="1.6" fill="%23000000"/></svg>') 12 12, auto;
  --cursor-pointer: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6.5" fill="none" stroke="%23000000" stroke-width="1.4"/><circle cx="12" cy="12" r="1.6" fill="%23000000"/></svg>') 12 12, pointer;
  background:
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.05), transparent 32%),
    linear-gradient(180deg, #f7f7f5 0%, #f1f1ef 100%);
  color: var(--text);
}

body[data-theme="light"] .button,
body[data-theme="light"] .lang-toggle,
body[data-theme="light"] .topbar-account,
body[data-theme="light"] .auth-tab,
body[data-theme="light"] .auth-input,
body[data-theme="light"] .auth-form input,
body[data-theme="light"] .prep-list,
body[data-theme="light"] .feature-card,
body[data-theme="light"] .status-card,
body[data-theme="light"] .download-panel,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .pricing-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.09);
  color: var(--text);
}

body[data-theme="light"] .button-primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

body[data-theme="light"] .button-primary:hover {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #ffffff;
}

body[data-theme="light"] .button-secondary {
  background: rgba(17, 17, 17, 0.02);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111111;
}

body[data-theme="light"] .button:not(.button-primary):not(.button-secondary) {
  color: #111111;
}

body[data-theme="light"] .auth-input::placeholder,
body[data-theme="light"] .auth-form input::placeholder {
  color: rgba(17, 17, 17, 0.48);
}

body[data-theme="light"] .prep-value {
  color: #404040;
}

body[data-theme="light"] .prep-separator {
  color: rgba(0, 0, 0, 0.38);
}

body[data-theme="light"] .prep-value-em,
body[data-theme="light"] .prep-label,
body[data-theme="light"] .status-card strong,
body[data-theme="light"] .feature-card h3,
body[data-theme="light"] .status-card h3,
body[data-theme="light"] .download-panel p,
body[data-theme="light"] .pricing-card li,
body[data-theme="light"] .pricing-card .price,
body[data-theme="light"] .section-heading h2,
body[data-theme="light"] .section-about p,
body[data-theme="light"] .topbar-brand span,
body[data-theme="light"] .hero-label,
body[data-theme="light"] .section-heading span,
body[data-theme="light"] .pricing-meta,
body[data-theme="light"] .pricing-badge,
body[data-theme="light"] .form-message,
body[data-theme="light"] .auth-form label,
body[data-theme="light"] .status-message,
body[data-theme="light"] .terminal-output,
body[data-theme="light"] .footer,
body[data-theme="light"] .section-heading span,
body[data-theme="light"] .topbar-account,
body[data-theme="light"] .lang-toggle {
  color: var(--text);
}

body[data-theme="light"] .form-message {
  color: #2d2d2d;
}

body[data-theme="light"] .form-message.error {
  color: #c92a2a;
}

body[data-theme="light"] .progress-bar {
  background: rgba(17, 17, 17, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .progress-fill {
  background: linear-gradient(90deg, #111111 0%, #3a3a3a 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

body[data-theme="light"] .auth-input:focus,
body[data-theme="light"] .auth-form input:focus {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

body[data-theme="light"] .button:hover,
body[data-theme="light"] .lang-toggle:hover,
body[data-theme="light"] .topbar-account:hover,
body[data-theme="light"] .auth-tab:hover {
  background: rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #030303 0%, #000000 100%);
  color: var(--text);
  letter-spacing: -0.01em;
}

h1, h2, h3, .hero-label, .section-heading span, .topbar-brand span, .pricing-meta, .pricing-badge, .lang-toggle {
  font-family: var(--font-display);
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-heading span,
.hero-label,
.topbar-brand span,
.pricing-meta,
.pricing-badge,
.lang-toggle {
  letter-spacing: 0.15em;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

/* Entrance animation: page appears smoothly when loaded */
.page-shell {
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  will-change: opacity, transform;
}

.page-shell.is-ready {
  animation: fadeUp 580ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px) scale(0.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

body[data-theme="light"] .theme-toggle {
  background: #111111;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
}

.lang-toggle:hover,
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-toggle:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

body[data-theme="light"] .theme-toggle:hover {
  background: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.topbar-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.topbar-account:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.topbar-account svg {
  display: block;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.topbar-brand span {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.topbar-brand img {
  display: block;
  height: 52px;
  width: auto;
  filter: grayscale(1) contrast(1.05);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), filter 220ms ease;
  transform-origin: center;
  will-change: transform;
}

.topbar-brand a:hover img,
.topbar-brand a:focus img {
  transform: scale(1.08);
  filter: grayscale(1) brightness(1.16);
}

/* Click (tap) animation for logo: quick press and release */
.topbar-brand a.clicked img,
.topbar-brand a:active img {
  transform: scale(0.9) rotate(-6deg);
  transition: transform 160ms cubic-bezier(.2,.8,.2,1);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.hero-intro {
  max-width: 760px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  box-shadow: none;
}

.button-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: none;
}

.button-primary:hover {
  background: #efefef;
  border-color: #efefef;
  box-shadow: none;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.button-large {
  padding: 18px 34px;
}

@media (max-width: 768px) {
  .page-shell {
    padding: 20px 14px 32px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 10px;
    margin-bottom: 18px;
  }

  .topbar-brand {
    gap: 10px;
  }

  .topbar-brand img {
    height: 42px;
  }

  .topbar-brand span {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .topbar-actions {
    margin-left: auto;
    gap: 8px;
  }

  .topbar-account {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 0.96;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 22px;
  }

  .hero-actions .button,
  .button-large,
  .button {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .section-grid,
  .section-pricing,
  .section-download {
    gap: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-card {
    padding: 18px 18px 20px;
    min-height: unset;
  }

  .pricing-topline {
    gap: 8px;
    align-items: flex-start;
  }

  .pricing-badge {
    font-size: 0.52rem;
    padding: 7px 10px;
  }

  .feature-card,
  .status-card,
  .download-panel,
  .auth-card {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .auth-card {
    width: min(100%, 540px);
  }

  .auth-tabs {
    gap: 8px;
    margin-bottom: 18px;
  }

  .auth-tab {
    padding: 12px 10px;
    font-size: 0.8rem;
  }

  .auth-form label,
  .auth-form .button {
    font-size: 0.95rem;
  }

  .auth-input {
    padding: 14px 16px;
    font-size: 1rem;
  }

  }

  .status-card:last-child {
    width: min(100%, 420px);
    padding: 14px 10px 12px;
  }

  .prep-list {
    width: min(100%, 100%);
  }

  .prep-row {
    white-space: normal;
    line-height: 1.5;
    font-size: 0.72rem;
  }

  .loader-card {
    width: min(100%, 100%);
  }

  .loader-card .button {
    max-width: none;
  }

  .footer {
    padding-top: 18px;
    font-size: 0.85rem;
  }

@media (max-width: 480px) {
  .topbar {
    align-items: center;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .lang-toggle {
    min-width: 42px;
    height: 30px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .topbar-account {
    gap: 8px;
    padding: 8px 10px;
  }

  .hero-label,
  .section-heading span,
  .pricing-meta,
  .pricing-badge,
  .lang-toggle {
    letter-spacing: 0.12em;
  }

  .auth-tabs {
    flex-direction: row;
  }
}

.button:disabled,
.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.install-status {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.status-message {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.progress-wrapper {
  width: 100%;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55));
  transition: width 400ms ease;
}

.hidden {
  display: none;
}

/* Input error visual and shake animation */
.input-error {
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12) inset, 0 6px 18px rgba(255, 77, 79, 0.06);
  border-radius: 8px;
  outline: none;
  animation: shake 360ms cubic-bezier(.36,.07,.19,.97);
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* When shown as an error message, hide the progress bar to avoid the empty strip */
.no-progress .progress-wrapper {
  display: none;
}

.status-terminal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 26px;
  box-shadow: none;
}

.terminal-title {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.terminal-output {
  margin: 0;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
}

.section {
  padding: 42px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 16px;
}

.section-heading span {
  display: inline-block;
  color: var(--muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-about p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.section-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.review-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding-left: 18px;
}

.review-logo {
  display: block;
  width: 330px;
  height: auto;
  filter: grayscale(1) contrast(1.05);
  transform: translateX(20px);
  transition: transform 220ms ease, filter 220ms ease, drop-shadow 220ms ease;
}

.review-brand:hover .review-logo,
.review-logo:hover {
  transform: translateX(20px) scale(1.06);
  filter: grayscale(1) contrast(1.15) brightness(1.12);
  drop-shadow: 0 0 18px rgba(255, 255, 255, 0.26);
}

.review-video,
.review-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-frame {
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.review-video-player {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  background: #000;
  object-fit: cover;
  border-radius: 28px;
}

.review-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 22px;
}

.review-card h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.review-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.review-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.review-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text);
}

.muted-card {
  background: rgba(255,255,255,0.02);
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-grid.status-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
}

.section-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.pricing-header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.pricing-heading {
  margin-bottom: 0;
  text-align: left;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 360px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px 24px 18px;
  box-shadow: none;
}

.pricing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 16px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-meta {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 14px 0 18px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  width: 100%;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.pricing-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text);
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.status-card,
.feature-card,
.download-panel,
.auth-card {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: none;
  margin: 0 auto;
}

.status-terminal,
.pricing-card,
.prep-list,
.loader-card,
.panel,
.card,
.section-card {
  box-shadow: none !important;
}

.feature-card h3,
.status-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card p,
.status-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.status-card strong {
  color: var(--text);
}

.prep-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: min(100%, 270px);
  margin: 6px auto 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.prep-head {
  margin-bottom: 1px;
  font-size: 0.66rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.prep-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prep-label {
  color: var(--text);
  font-weight: 600;
}

.prep-separator {
  color: rgba(255, 255, 255, 0.44);
}

.prep-value {
  color: #d7d7d7;
}

.prep-value-em {
  color: #ffffff;
  font-weight: 600;
}

.loader-card {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  justify-items: center;
  text-align: center;
  width: min(100%, 240px);
  margin: 0 auto;
}

.loader-card .button {
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  border-radius: 999px;
  min-height: 42px;
  font-size: 0.88rem;
  padding: 10px 16px;
}

.status-card:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 360px);
  min-height: 0;
  padding: 16px 12px 14px;
}

.status-card:last-child h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.status-card:last-child p {
  margin-bottom: 18px;
  font-size: 0.97rem;
}

.status-card:last-child .status-meta,
.status-card:last-child p,
.status-card:last-child h3 {
  text-align: center;
}

.status-card .button {
  margin-top: 20px;
}

.status-meta {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  color: var(--muted);
}

.section-download {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: center;
  align-items: center;
}

.download-panel {
  width: min(100%, 960px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 42px;
  text-align: center;
}

.download-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 24px;
  text-align: left;
}

.support-actions {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  text-align: center;
  color: var(--muted);
  padding-top: 18px;
  padding-bottom: 10px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

.auth-panel {
  display: flex;
  justify-content: center;
}

.auth-intro {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.form-message {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.form-message.error {
  color: #ff4d4f;
}

.auth-intro .section-heading,
.auth-intro p {
  margin-left: auto;
  margin-right: auto;
}

.auth-card {
  width: min(100%, 540px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 32px;
}

.auth-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  border-radius: 14px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.auth-tab.active,
.auth-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.auth-input:focus {
  outline: none;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.input-error {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.hidden {
  display: none;
}

.auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .hero-intro {
    max-width: 100%;
  }

  .hero-actions,
  .support-actions {
    justify-content: center;
  }

  .section-download,
  .section-grid.status-grid {
    grid-template-columns: 1fr;
  }

  .section-grid.status-grid {
    display: grid;
  }

  .status-card:last-child {
    width: min(100%, 480px);
  }

  .logo-logos {
    width: min(240px, 70vw);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    padding: 20px 14px 28px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0 14px;
  }

  .topbar-brand {
    gap: 12px;
  }

  .topbar-brand span {
    letter-spacing: 0.22em;
  }

  .topbar-account {
    margin-left: auto;
    padding: 10px 13px;
  }

  .hero {
    gap: 20px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions,
  .support-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .button {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .section {
    padding: 36px 0;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .section-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card,
  .pricing-card,
  .download-panel,
  .auth-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .download-panel p {
    text-align: center;
  }

  .auth-tabs {
    flex-direction: column;
  }

  .auth-card {
    padding: 22px 16px;
  }

  .logo-logos {
    width: min(220px, 72vw);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 16px 12px 24px;
  }

  .topbar-brand span {
    font-size: 0.86rem;
  }

  .topbar-account span {
    display: none;
  }

  .hero-label {
    margin-bottom: 12px;
    font-size: 0.82rem;
  }

  .button-large {
    padding: 16px 22px;
  }

  .section-heading span {
    font-size: 0.74rem;
  }

  .auth-intro {
    margin-bottom: 10px;
  }

  .auth-intro .section-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 0.98;
  }

  .auth-intro p {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 27rem;
  }

  .auth-card {
    width: 100%;
    max-width: 330px;
    padding: 12px 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .auth-tabs {
    gap: 8px;
    margin-bottom: 14px;
  }

  .auth-tab {
    padding: 11px 10px;
    border-radius: 18px;
    font-size: 0.8rem;
    min-height: 42px;
  }

  .auth-form {
    gap: 14px;
  }

  .auth-form label {
    gap: 8px;
    font-size: 0.8rem;
  }

  .auth-form input,
  .auth-input {
    border-radius: 14px;
    padding: 13px 14px;
    min-height: 46px;
  }

  .auth-form .button,
  .button-primary.button-large,
  .auth-card .button {
    min-height: 52px;
    border-radius: 18px;
    font-size: 0.98rem;
    padding: 14px 18px;
  }

  .install-status {
    margin-top: 6px;
  }

  .status-message {
    font-size: 0.82rem;
  }

  .progress-wrapper {
    height: 8px;
  }
}

.logo-logos {
  width: min(380px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: 0;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-logo-link:hover .logo-logo {
  transform: scale(1.08);
  filter: grayscale(1) brightness(1.14);
}

/* Minimalist custom cursor: refined ring + dot, theme-aware on fine pointers */
@media (pointer: fine) {
  html, body, * {
    cursor: var(--cursor-default);
  }

  a, button, input, textarea, label {
    cursor: var(--cursor-pointer);
  }
}
