:root {
  color-scheme: dark;
  --bg-0: #050b14;
  --bg-1: #071525;
  --card: rgba(9, 25, 42, 0.72);
  --line: rgba(89, 168, 219, 0.25);
  --text: #d9ebfb;
  --muted: #9ec2dd;
  --accent: #3aa3e8;
  --accent-2: #6fd3ff;
}

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

html,
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: var(--bg-0);
  font-size: 112.5%;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(49, 144, 212, 0.32), transparent 70%),
    radial-gradient(800px 500px at -10% 0%, rgba(35, 110, 180, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page.narrow {
  width: 100%;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.top-links {
  display: flex;
  gap: 0.6rem;
}

.top-links a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
}

.top-links a:hover,
.top-links a.active {
  color: var(--text);
  border-color: rgba(111, 211, 255, 0.55);
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 23, 37, 0.55);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.account-avatar-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.account-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(111, 211, 255, 0.35);
}

.account-avatar-fallback {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(42, 146, 211, 0.28);
  border: 1px solid rgba(111, 211, 255, 0.35);
}

.hero {
  padding: 1.4rem 1.5rem;
}

.hero-actions {
  margin-top: 0.8rem;
}

.mini-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mini-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: rgba(9, 23, 37, 0.55);
}

.kicker {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.lead {
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  display: block;
  opacity: 0.95;
}

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-copy h2,
.cta-band h2 {
  margin-bottom: 0.35rem;
}

.home-page .feature-copy h2,
.home-page .preview-card h2,
.home-page .cta-band h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.3rem);
}

.home-page .feature-copy .lead,
.home-page .cta-band .lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.clean-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.home-page .clean-list {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

.preview-card {
  display: grid;
  gap: 0.7rem;
}

.preview-stack {
  display: grid;
  gap: 0.55rem;
}

.preview-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(8, 20, 33, 0.65);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
}

.preview-row-icon {
  width: 30px;
  height: 30px;
  display: block;
  opacity: 0.96;
}

.preview-row-copy {
  display: grid;
  gap: 0.2rem;
}

.preview-row strong {
  font-size: 0.95rem;
}

.preview-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.home-page .preview-row strong {
  font-size: clamp(1.42rem, 1.9vw, 1.7rem);
}

.home-page .preview-row span {
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
}

.cta-band {
  display: grid;
  gap: 0.7rem;
  text-align: center;
}

.cta-band .actions {
  justify-content: center;
}

.sponsored-slot {
  display: grid;
  gap: 0.55rem;
  background:
    radial-gradient(560px 180px at 50% -20%, rgba(111, 211, 255, 0.11), transparent 72%),
    rgba(8, 20, 33, 0.66);
}

.sponsored-slot h2 {
  margin-bottom: 0.15rem;
}

.sponsored-slot .lead {
  margin-top: 0;
}

.sponsored-slot .actions {
  justify-content: center;
}

.sponsored-adsense-wrap {
  width: 100%;
  min-height: 120px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal-footer {
  border: 1px solid rgba(89, 168, 219, 0.18);
  background: rgba(7, 18, 31, 0.5);
  box-shadow: none;
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand ."
    "copy links";
  gap: 0.5rem 1rem;
  margin-top: auto;
}

.legal-main {
  display: contents;
}

.legal-main > strong {
  grid-area: brand;
}

.legal-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-self: end;
  align-self: end;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal-copy {
  grid-area: copy;
  display: grid;
  gap: 0.2rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.legal-copy a {
  color: var(--muted);
  text-decoration: none;
}

.legal-copy a:hover {
  color: var(--text);
}

.steps-grid {
  display: grid;
  gap: 0.6rem;
}

.step-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 20, 33, 0.65);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  font-size: 1rem;
  font-weight: 700;
  align-self: center;
}

.step-row strong {
  font-size: 0.95rem;
}

.step-row p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-legal h1 {
  margin-top: 0.2rem;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
}

.legal-content {
  display: grid;
  gap: 0.9rem;
}

.legal-content h2 {
  margin-bottom: 0.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.55;
}

.feature-tab {
  background:
    radial-gradient(600px 240px at 70% -30%, rgba(126, 244, 255, 0.18), transparent 75%),
    rgba(9, 25, 42, 0.72);
}

.feature-tab-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.feature-tab-item {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(8, 21, 35, 0.92), rgba(9, 31, 49, 0.62));
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.feature-tab-item h2 {
  margin-bottom: 0.2rem;
}

.feature-tab-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.feature-tab-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(111, 211, 255, 0.4);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: radial-gradient(circle at 30% 25%, rgba(123, 226, 255, 0.25), rgba(8, 19, 31, 0.65));
  box-shadow: inset 0 0 0 6px rgba(10, 25, 40, 0.45);
}

.feature-tab-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.screenshot-tab {
  display: grid;
  gap: 0.7rem;
}

.screenshot-frame {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.78);
  min-height: 260px;
  display: grid;
  place-items: center;
}

.screenshot-frame img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.preview-clickable {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.preview-clickable:hover {
  transform: scale(1.01);
  filter: brightness(1.04);
}

.screenshot-frame img[src=""] {
  display: none;
}

.stack {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 2.9rem;
}

.password-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 999px;
  background: rgba(9, 23, 37, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--text);
  border-color: rgba(111, 211, 255, 0.55);
}

.password-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.twofa-block {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(89, 168, 219, 0.22);
  display: grid;
  gap: 0.55rem;
}

.twofa-block h2 {
  margin: 0;
}

.twofa-setup {
  border: 1px solid rgba(89, 168, 219, 0.22);
  border-radius: 12px;
  background: rgba(8, 21, 35, 0.5);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.twofa-qr {
  width: 172px;
  height: 172px;
  border-radius: 10px;
  border: 1px solid rgba(89, 168, 219, 0.3);
  background: #fff;
  padding: 6px;
}

.avatar-preview-wrap {
  margin-top: 0.6rem;
  border: 1px solid rgba(89, 168, 219, 0.22);
  border-radius: 12px;
  background: rgba(8, 21, 35, 0.5);
  padding: 0.75rem;
  display: grid;
  gap: 0.7rem;
}

.avatar-preview-frame {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 1px solid rgba(89, 168, 219, 0.3);
  overflow: hidden;
  position: relative;
  background: rgba(7, 18, 31, 0.9);
  cursor: grab;
  touch-action: none;
}

.avatar-preview-frame img {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
}

.avatar-preview-frame.dragging {
  cursor: grabbing;
}

.avatar-preview-controls {
  display: grid;
  gap: 0.45rem;
  max-width: 360px;
}

.avatar-preview-controls .hint {
  margin: 0;
}

.avatar-preview-controls .btn {
  justify-self: start;
}

input,
textarea {
  width: 100%;
  background: rgba(7, 18, 31, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 0.35rem 0.45rem;
}

input[type="file"]::file-selector-button {
  margin-right: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(9, 23, 37, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(9, 23, 37, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover,
input[type="file"]::-webkit-file-upload-button:hover {
  border-color: rgba(111, 211, 255, 0.55);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  background: rgba(9, 23, 37, 0.7);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  border-color: rgba(111, 211, 255, 0.55);
}

.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(180deg, rgba(42, 146, 211, 0.85), rgba(31, 120, 177, 0.9));
  border-color: rgba(111, 211, 255, 0.8);
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.output {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Cascadia Mono", "Consolas", monospace;
  background: rgba(7, 18, 31, 0.9);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  max-height: 360px;
  overflow: auto;
}

.hidden {
  display: none;
}

.auth-shell {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  background: rgba(16, 22, 34, 0.85);
}

.auth-mode-switch {
  margin-top: 0.2rem;
}

.auth-subtitle {
  margin-top: 0.25rem;
  margin-bottom: 0.1rem;
  font-size: 1.05rem;
}

.auth-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.auth-provider {
  justify-content: center;
  width: 100%;
  border-radius: 11px;
  background: rgba(37, 43, 57, 0.85);
  border-color: rgba(118, 139, 165, 0.2);
  color: #d5e3f2;
}

.auth-provider-google {
  background: linear-gradient(180deg, rgba(64, 129, 183, 0.95), rgba(44, 98, 148, 0.95));
  border-color: rgba(129, 197, 255, 0.7);
}

.auth-legal-note {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.auth-legal-note a {
  color: var(--accent-2);
  text-decoration: none;
}

.auth-legal-note a:hover {
  text-decoration: underline;
}

.home-page .page {
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.15rem;
}

.home-page .page > section.card {
  text-align: center;
}

.home-page .clean-list {
  margin-top: 0.8rem;
  margin-bottom: 0;
  max-width: 56ch;
  text-align: center;
  list-style-position: inside;
  padding-left: 0;
}

.home-page .hero {
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(520px 240px at 82% -22%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.72);
}

.home-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.home-page .hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
  line-height: 1.05;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.home-page .hero .lead {
  max-width: 52ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: #b8d8ee;
}

.home-page .hero-actions {
  margin-top: 1rem;
  justify-content: center;
}

.home-page .hero-shot {
  margin: 0;
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.home-page .hero-shot img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.home-page .trust-strip {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-page .trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 21, 35, 0.58);
  color: #c2e6ff;
  font-size: 0.84rem;
  padding: 0.34rem 0.68rem;
}

.home-page .feature-benefits {
  background: rgba(9, 25, 42, 0.68);
  text-align: center;
}

.home-page .benefits-grid {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .benefit-card {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 14px;
  background: rgba(8, 20, 33, 0.67);
  padding: 1rem;
}

.home-page .benefit-card h2 {
  font-size: 1.02rem;
  text-align: center;
}

.home-page .benefit-card p {
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}

.home-page .split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.home-page .panel-copy {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.home-page .split-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.home-page .panel-note {
  margin-top: 0.7rem;
  color: #bfe7ff;
  font-weight: 700;
}

.home-page .panel-visual {
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 19, 31, 0.74);
}

.home-page .panel-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.home-page .theme-pills {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.home-page .theme-pills span {
  border: 1px solid rgba(89, 168, 219, 0.34);
  border-radius: 999px;
  padding: 0.34rem 0.65rem;
  font-size: 0.82rem;
  color: #b8e4ff;
  background: rgba(9, 23, 37, 0.66);
}

.home-page .cta-mid {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.8rem;
  background: rgba(9, 25, 42, 0.75);
  border-radius: 14px;
}

.home-page .cta-mid h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.25rem;
}

.home-page .cta-mid .cta-copy .hint {
  margin-top: 0;
}

.home-page .cta-mid .actions {
  justify-content: center;
}

.home-page .performance-panel {
  background: rgba(9, 25, 42, 0.69);
  text-align: center;
}

.home-page .performance-panel h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.42rem, 2.3vw, 1.9rem);
}

.home-page .perf-grid,
.home-page .creator-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .perf-grid article,
.home-page .creator-grid article {
  border: 1px solid rgba(89, 168, 219, 0.25);
  border-radius: 12px;
  padding: 0.82rem;
  background: rgba(8, 20, 33, 0.58);
  text-align: center;
}

.home-page .perf-grid h3,
.home-page .creator-grid h3 {
  margin: 0 0 0.25rem;
  font-size: 0.97rem;
}

.home-page .perf-grid p,
.home-page .creator-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.93rem;
}

.home-page .compare-panel {
  background: rgba(9, 25, 42, 0.72);
}

.home-page .compare-panel h2 {
  margin-top: 0.35rem;
}

.home-page .compare-table {
  margin-top: 0.75rem;
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

.home-page .compare-head,
.home-page .compare-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-page .compare-head {
  background: rgba(14, 35, 55, 0.82);
}

.home-page .compare-head span,
.home-page .compare-row span {
  padding: 0.7rem 0.75rem;
  text-align: center;
}

.home-page .compare-head span {
  font-weight: 700;
}

.home-page .compare-row span {
  border-top: 1px solid rgba(89, 168, 219, 0.22);
  color: var(--muted);
}

.home-page .compare-row:nth-child(even) span {
  background: rgba(8, 22, 37, 0.42);
}

.home-page .compare-head span + span,
.home-page .compare-row span + span {
  border-left: 1px solid rgba(89, 168, 219, 0.22);
}

.home-page .download-home {
  text-align: center;
  display: grid;
  gap: 0.35rem;
}

.home-page .download-home h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.home-page .download-home .actions {
  margin-top: 0.8rem;
  justify-content: center;
}

.home-page .feature-benefits,
.home-page .sync-panel,
.home-page .themes-panel,
.home-page .cta-mid,
.home-page .performance-panel,
.home-page .compare-panel,
.home-page .creator-panel,
.home-page .download-home {
  animation: home-rise 280ms ease-out both;
}

.home-page .card {
  border-radius: 14px;
}

.home-page .sync-panel {
  background: rgba(9, 25, 42, 0.72);
}

.home-page .themes-panel {
  background: rgba(9, 25, 42, 0.7);
}

.home-page .creator-panel {
  background: rgba(9, 25, 42, 0.66);
  text-align: center;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-page .bg {
  background:
    radial-gradient(920px 560px at 50% -15%, rgba(38, 122, 198, 0.44), transparent 68%),
    radial-gradient(760px 420px at 100% 20%, rgba(26, 83, 145, 0.28), transparent 72%),
    radial-gradient(760px 420px at 0% 22%, rgba(17, 69, 127, 0.26), transparent 72%),
    linear-gradient(180deg, #06142b, #040b18);
}

.download-hero {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background:
    radial-gradient(640px 220px at 50% 0%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.78);
}

.download-hero h1 {
  max-width: 18ch;
  margin: 0.55rem auto 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.07;
}

.download-hero .lead {
  max-width: 60ch;
  margin: 0.85rem auto 0;
}

.download-hero .hero-actions {
  justify-content: center;
}

.download-summary {
  margin-top: 0.35rem;
}

.download-options {
  text-align: center;
  padding: 1.25rem 1.2rem 1.35rem;
}

.download-showcase {
  text-align: center;
  padding: 1.35rem 1.2rem 1.45rem;
  background:
    radial-gradient(700px 260px at 50% -16%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(9, 25, 42, 0.74);
}

.download-showcase h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.9vw, 2.2rem);
}

.download-showcase .hint {
  max-width: 60ch;
  margin: 0.45rem auto 0;
}

.download-shot-grid {
  margin: 1.1rem auto 0;
  max-width: 1320px;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(460px, 1fr));
  align-items: start;
}

.download-shot-col {
  display: grid;
  gap: 1rem;
}

.download-shot-col-right {
  margin-top: 34px;
}

.download-shot {
  margin: 0;
  border: 1px solid rgba(89, 168, 219, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(240px 120px at 50% -15%, rgba(111, 211, 255, 0.14), transparent 72%),
    rgba(7, 19, 31, 0.78);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
  display: grid;
  grid-template-rows: auto auto;
}

.download-shot img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.download-shot-image {
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.download-shot:hover .download-shot-image {
  transform: scale(1.015);
  filter: brightness(1.05);
}

.download-shot figcaption {
  margin: 0;
  padding: 0.62rem 0.74rem 0.76rem;
  border-top: 1px solid rgba(89, 168, 219, 0.2);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.download-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.download-lightbox.hidden {
  display: none;
}

.download-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.78);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.download-lightbox.is-open .download-lightbox-backdrop {
  opacity: 1;
}

.download-lightbox-stage {
  position: relative;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 180ms ease, transform 220ms ease;
}

.download-lightbox.is-open .download-lightbox-stage {
  opacity: 1;
  transform: scale(1);
}

.download-lightbox-stage img {
  display: block;
  max-width: min(90vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(89, 168, 219, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
  background: rgba(7, 19, 31, 0.96);
}

.download-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.45);
  background: rgba(7, 19, 31, 0.95);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.download-lightbox-close:hover {
  border-color: rgba(111, 211, 255, 0.7);
}

.release-notes-modal {
  position: fixed;
  inset: 0;
  z-index: 1220;
  display: grid;
  place-items: center;
}

.release-notes-modal.hidden {
  display: none;
}

.release-notes-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.release-notes-modal.is-open .release-notes-backdrop {
  opacity: 1;
}

.release-notes-panel {
  position: relative;
  width: min(900px, calc(100vw - 2rem));
  max-height: min(84vh, 820px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(89, 168, 219, 0.35);
  background:
    radial-gradient(520px 220px at 50% -12%, rgba(111, 211, 255, 0.12), transparent 70%),
    rgba(7, 19, 31, 0.96);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.58);
  transform: scale(0.985);
  opacity: 0;
  transition: transform 220ms ease, opacity 180ms ease;
}

.release-notes-modal.is-open .release-notes-panel {
  transform: scale(1);
  opacity: 1;
}

.release-notes-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(89, 168, 219, 0.2);
}

.release-notes-header h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.release-notes-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(89, 168, 219, 0.45);
  background: rgba(8, 19, 31, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex: 0 0 auto;
}

.release-notes-close:hover {
  border-color: rgba(111, 211, 255, 0.7);
}

.release-notes-body {
  max-height: calc(min(84vh, 820px) - 118px);
  overflow: auto;
  padding: 0.95rem 1rem 1.15rem;
  display: grid;
  gap: 0.62rem;
}

.release-notes-body h1,
.release-notes-body h2,
.release-notes-body h3 {
  margin: 0.2rem 0 0.1rem;
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
}

.release-notes-body p,
.release-notes-body li {
  color: var(--muted);
  line-height: 1.56;
  margin: 0;
}

.release-notes-body ul,
.release-notes-body ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.32rem;
}

.release-notes-body a {
  color: var(--accent-2);
}

.release-notes-body code {
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.92em;
  color: #d4efff;
  background: rgba(9, 23, 37, 0.84);
  border: 1px solid rgba(89, 168, 219, 0.26);
  border-radius: 7px;
  padding: 0.08rem 0.38rem;
}

.download-options h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.download-platforms {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(89, 168, 219, 0.3);
  border-radius: 14px;
  overflow: hidden;
}

.download-platform {
  padding: 1.5rem 1rem;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  background: rgba(7, 19, 31, 0.42);
}

.download-platform + .download-platform {
  border-left: 1px solid rgba(89, 168, 219, 0.26);
}

.download-platform-active {
  background:
    radial-gradient(260px 100px at 50% 0%, rgba(111, 211, 255, 0.12), transparent 74%),
    rgba(7, 21, 36, 0.68);
}

.download-platform h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.download-platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(111, 211, 255, 0.42);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  background: rgba(8, 20, 33, 0.75);
}

.download-platform-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.download-platform-icon.windows {
  color: #8ed7ff;
}

.download-platform-icon.apple {
  color: #d7e4f0;
}

.download-platform-icon.linux {
  color: #a5ddff;
}

.download-legal {
  margin-top: 1.1rem;
  color: var(--muted);
}

.download-legal a {
  color: var(--text);
}

@media (max-width: 980px) {
  .home-page .hero-grid,
  .home-page .split-panel {
    grid-template-columns: 1fr;
  }

  .home-page .cta-mid {
    grid-template-columns: 1fr;
  }

  .home-page .cta-mid .actions {
    justify-content: center;
  }

  .home-page .benefits-grid,
  .home-page .perf-grid,
  .home-page .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page,
  .page.narrow {
    width: 100%;
    padding: 0.75rem;
  }

  .legal-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "copy";
    gap: 0.7rem;
  }

  .legal-links {
    justify-self: start;
  }

  .hero {
    padding: 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .top-left {
    justify-content: space-between;
  }

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

  .auth-provider-grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero {
    padding: 1rem;
  }

  .home-page .benefits-grid,
  .home-page .perf-grid,
  .home-page .creator-grid,
  .home-page .compare-head,
  .home-page .compare-row {
    grid-template-columns: 1fr;
  }

  .home-page .compare-head span + span,
  .home-page .compare-row span + span {
    border-left: 0;
  }

  .home-page .download-home .actions {
    justify-content: center;
  }

  .download-hero {
    padding: 1.35rem 1rem;
  }

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

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

  .download-shot-col-right {
    margin-top: 0;
  }

  .download-shot-col {
    gap: 1rem;
  }

  .download-platform + .download-platform {
    border-left: 0;
    border-top: 1px solid rgba(89, 168, 219, 0.26);
  }
}
