/* || Download page */

.download .page-header {
  padding-bottom: 0.5rem;
}
.download .section {
  padding-top: var(--space-6);
}

.page-header h1 {
  letter-spacing: -0.03em;
}

.page-header h1 #hero-version {
  color: var(--accent);
  margin-left: 0.15em;
}

@media (min-width: 641px) {
  .page-header h1 {
    white-space: nowrap;
  }
}

.page-header p {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 640px;
}

.page-header-cta { margin-top: 2rem; }

.notarize-card {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 0.6rem;
  padding: 0.95rem 1.1rem;
  margin-top: 0.9rem;
}

.notarize-icon {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.notarize-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.notarize-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.notarize-text span {
  font-size: 0.8rem;
  color: #a0a0a0;
  line-height: 1.3;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.specs-grid h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.specs-list { list-style: none; }

.specs-list li {
  font-size: 1.1rem;
  color: var(--muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.specs-list li:last-child { border-bottom: none; }

.specs-list li::before {
  content: "·";
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: 700;
}

.releases-section { padding: 3rem 2rem; }

.release-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.release-item:last-child { border-bottom: none; }

.release-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.release-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.release-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--dim);
}

.release-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.release-body a {
  color: var(--faint);
  text-decoration: underline;
  transition: color 0.25s ease;
}

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

.release-body ul { margin-left: 1.2rem; }

.release-body li { margin-bottom: 0.4rem; }

.loading-state {
  font-size: 1rem;
  color: var(--dim);
  font-family: var(--font-sans);
}

/* || Censorship bar loader */

.censorship-loader {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

.censorship-loader.is-hidden {
  display: none;
}

.censorship-item {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.censorship-item:last-child { border-bottom: none; }

.censorship-strokes {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.censorship-stroke {
  height: 0.875rem;
  background: var(--border);
  border-radius: 2px;
  opacity: 0.35;
}

.censorship-stroke--title { width: 18%; }
.censorship-stroke--date  { width: 12%; height: 0.7rem; }
.censorship-stroke--body  { width: 92%; }
.censorship-stroke--body:nth-of-type(4) { width: 64%; }

.censorship-bar {
  position: absolute;
  inset: 0;
  background: #242a38;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.censorship-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(212, 132, 58, 0.25);
  box-shadow: 0 0 6px rgba(212, 132, 58, 0.15);
  animation: censorship-scan 2.8s linear infinite;
  pointer-events: none;
}

@keyframes censorship-scan {
  0%   { top: 0; }
  100% { top: calc(100% - 1px); }
}

@media (prefers-reduced-motion: reduce) {
  .censorship-scanline {
    animation: none;
    opacity: 0.5;
  }
}

.censorship-loader.is-revealing .censorship-bar[data-dir="left"] {
  transform: translateX(-105%);
}

.censorship-loader.is-revealing .censorship-bar[data-dir="right"] {
  transform: translateX(105%);
}

.censorship-item:nth-child(1) .censorship-bar { transition-delay: 0s; }
.censorship-item:nth-child(2) .censorship-bar { transition-delay: 0.12s; }
.censorship-item:nth-child(3) .censorship-bar { transition-delay: 0.24s; }

.censorship-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0.65;
  will-change: opacity;
  animation: censorship-breathe 2.4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes censorship-breathe {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.2; }
}

.release-list.is-entering {
  animation: release-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes release-enter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .censorship-bar,
  .censorship-scanline,
  .censorship-label,
  .release-list.is-entering {
    transition: none !important;
    animation: none !important;
  }
  .censorship-loader.is-revealing .censorship-bar[data-dir="left"],
  .censorship-loader.is-revealing .censorship-bar[data-dir="right"] {
    transform: translateX(0);
    opacity: 0;
  }
  .release-list.is-entering {
    opacity: 1;
    transform: none;
  }
}

/* || Hero censorship inline */

.hero-censor {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  border-radius: 2px;
}

.hero-censor-text {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-censor-bar {
  position: absolute;
  inset: 0;
  background: #242a38;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.hero-censor-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0.6;
  white-space: nowrap;
}

.hero-censor.is-revealing .hero-censor-bar[data-dir="left"] {
  transform: scaleX(0);
  transform-origin: 100% 0;
}

.hero-censor.is-revealing .hero-censor-bar[data-dir="right"] {
  transform: scaleX(0);
  transform-origin: 0 0;
}

.hero-censor.is-revealing .hero-censor-label {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.hero-censor.is-revealing .hero-censor-text {
  opacity: 1;
}

.hero-censor.is-ready .hero-censor-text {
  opacity: 1;
  transition: none;
}

.hero-censor.is-ready .hero-censor-bar {
  display: none;
}

@media (max-width: 768px) {
  .specs-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-header p { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  .specs-grid h2 { font-size: 1.3rem; }
  .specs-list li { font-size: 1rem; }
  .trial-note { font-size: 0.9rem; }
  .censorship-stroke--title { width: 28%; }
  .censorship-stroke--date  { width: 20%; }
}
