/* ==========================================================================
   cheated.today — dark theme, single stylesheet, no build step
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0a0a0c;
  --bg-2: #0e0e12;
  --surface: #141419;
  --surface-2: #1a1a20;
  --surface-3: #212128;
  --border: #26262e;
  --border-strong: #35353f;

  /* Text */
  --text: #f4f4f6;
  --text-muted: #a1a1ac;
  --text-faint: #6f6f7b;

  /* Accent (kept quiet — light-on-dark is the primary action) */
  --accent: #c9b6ff;
  --accent-soft: rgba(201, 182, 255, 0.12);

  /* Status */
  --ok: #58d39a;
  --ok-soft: rgba(88, 211, 154, 0.12);
  --warn: #e9b46a;
  --warn-soft: rgba(233, 180, 106, 0.12);
  --down: #f08a80;
  --down-soft: rgba(240, 138, 128, 0.12);

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);

  --container: 1080px;
  --gutter: 20px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

  /* Base colour + a very faint fixed grid for texture. */
  background-color: var(--bg);
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  background-position: center top;
  background-attachment: fixed;
}

/* --------------------------------------------------------------------------
   Animated background — two layers of drifting colour "aurora" blobs that
   float in opposite directions behind the whole site. Pure CSS, GPU-friendly
   (only transform animates), and it holds still for reduced-motion users.
   -------------------------------------------------------------------------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-aurora::before,
.bg-aurora::after {
  content: "";
  position: absolute;
  inset: -25%;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Layer 1 — violet + indigo, drifting one way. */
.bg-aurora::before {
  background-image: radial-gradient(
      38% 44% at 22% 18%,
      rgba(125, 146, 255, 0.22),
      transparent 60%
    ),
    radial-gradient(
      34% 40% at 82% 26%,
      rgba(201, 182, 255, 0.18),
      transparent 62%
    ),
    radial-gradient(
      40% 46% at 62% 88%,
      rgba(150, 120, 230, 0.16),
      transparent 64%
    );
  animation: aurora-a 26s ease-in-out infinite alternate;
}

/* Layer 2 — mint + warm accents, drifting the other way, slower. */
.bg-aurora::after {
  background-image: radial-gradient(
      32% 38% at 78% 72%,
      rgba(88, 211, 154, 0.12),
      transparent 62%
    ),
    radial-gradient(
      30% 36% at 14% 78%,
      rgba(240, 138, 128, 0.10),
      transparent 62%
    ),
    radial-gradient(
      34% 40% at 30% 40%,
      rgba(233, 180, 106, 0.09),
      transparent 64%
    );
  animation: aurora-b 34s ease-in-out infinite alternate;
}

@keyframes aurora-a {
  0% {
    transform: translate3d(-4%, -3%, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
  100% {
    transform: translate3d(5%, -2%, 0) scale(1.02);
  }
}

@keyframes aurora-b {
  0% {
    transform: translate3d(4%, 3%, 0) scale(1.05);
  }
  50% {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  100% {
    transform: translate3d(-5%, 3%, 0) scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-aurora::before,
  .bg-aurora::after {
    animation: none;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}

p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-2);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* --------------------------------------------------------------------------
   Floating pill navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding-top: 16px;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 20, 25, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 620px) {
  .nav-pill {
    padding-left: 14px;
  }

  .nav-links {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.16s ease;
}

/* Lift on hover, sink on press — same for every button variant. */
.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.06s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.18s ease;
}

.btn--primary {
  background: #f4f4f6;
  color: #111116;
}

.btn--primary:hover {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.btn--ghost {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-strong);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

/* Download arrow nudges down on hover. */
.btn--primary:hover svg,
.btn--xl:hover svg {
  transform: translateY(1px);
}

.btn--lg {
  padding: 14px 24px;
  font-size: 0.9375rem;
}

/* The download button on an app page — deliberately the biggest thing there. */
.btn--xl {
  padding: 18px 34px;
  font-size: 1.0625rem;
  font-weight: 700;
  gap: 11px;
}

.btn--xl svg {
  width: 20px;
  height: 20px;
}

.btn__hint {
  padding-left: 11px;
  margin-left: 2px;
  border-left: 1px solid rgba(17, 17, 22, 0.18);
  font-weight: 500;
  font-size: 0.875rem;
  opacity: 0.65;
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 84px 0 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.eyebrow strong {
  color: var(--text);
  font-weight: 600;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--ok-soft);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(88, 211, 154, 0.05);
  }
}

.eyebrow .sep {
  color: var(--text-faint);
}

/* The pill must stay one line — drop the tail rather than wrap it. */
@media (max-width: 520px) {
  .eyebrow .sep,
  .eyebrow [data-hero-count] {
    display: none;
  }
}

.hero h1 {
  margin: 26px auto 0;
  max-width: 14ch;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 800;
}

.hero__lede {
  max-width: 580px;
  margin: 22px auto 0;
  color: var(--text-muted);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

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

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

.section--tight {
  padding: 40px 0 64px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section__head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

.section__head p {
  margin-top: 8px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.section__count {
  color: var(--text-faint);
  font-size: 0.8125rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   App cards
   -------------------------------------------------------------------------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease,
    background-color 0.18s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.app-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.app-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__body {
  display: flex;
  gap: 13px;
  padding: 15px 16px;
}

.app-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  object-fit: cover;
}

.app-icon--lg {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.app-card__text {
  min-width: 0;
}

.app-card__title {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.app-card__summary {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.app-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
}

.app-card__cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.15s ease;
}

.app-card:hover .app-card__cta svg {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Status badge
   -------------------------------------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status--operational {
  color: var(--ok);
  background: var(--ok-soft);
}

.status--maintenance {
  color: var(--warn);
  background: var(--warn-soft);
}

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

.status--lg {
  padding: 6px 14px;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   App page — kept deliberately compact: status, text, one button, the rest
   folded away.
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-top: 30px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

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

.breadcrumbs span {
  margin: 0 8px;
  opacity: 0.5;
}

.app-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
  padding: 20px 0 8px;
}

.app-detail__head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.app-detail h1 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

.app-detail__tagline {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* One quiet line: badge, then the reason. No card, no box. */
.app-detail__status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.app-detail__status p {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.app-detail__desc {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9125rem;
}

.app-detail__desc p + p {
  margin-top: 10px;
}

.app-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.app-detail__note {
  width: 100%;
  color: var(--text-faint);
  font-size: 0.78125rem;
}

/* Collapsed specification table */
.specs-toggle {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.specs-toggle[open] {
  border-color: var(--border-strong);
}

.specs-toggle summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.specs-toggle summary:hover {
  color: var(--text);
}

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

.specs-toggle summary span {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 0.8125rem;
}

.specs-toggle summary::after {
  content: "+";
  margin-left: auto;
  color: var(--text-faint);
  font-size: 1.125rem;
  line-height: 1;
}

.specs-toggle[open] summary::after {
  content: "–";
}

.specs {
  margin: 0;
  padding: 0 16px 6px;
  list-style: none;
}

.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.84375rem;
}

.specs .specs__key {
  color: var(--text-faint);
}

.specs .specs__val {
  text-align: right;
  font-weight: 550;
}

/* Gallery */
.gallery__main {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 6px;
  box-shadow: var(--shadow);
}

.gallery__main img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 11px;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.gallery__thumb {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  opacity: 0.5;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery__thumb:hover {
  opacity: 0.85;
}

.gallery__thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--border-strong);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .app-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .app-detail__media {
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
}

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

.faq summary::after {
  content: "+";
  color: var(--text-faint);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9125rem;
}

/* --------------------------------------------------------------------------
   Archive download window (modal)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

/* The [hidden] attribute must win over display:grid, or the (empty) modal
   would sit on the page from the moment it loads. */
.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 9, 0.72);
  backdrop-filter: blur(4px);
  animation: modal-fade 0.16s ease;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px 24px 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: modal-rise 0.18s ease;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.modal__close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

.modal__badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--ok-soft);
  color: var(--ok);
  margin-bottom: 14px;
}

.modal__badge svg {
  width: 22px;
  height: 22px;
}

.modal__panel h2 {
  font-size: 1.25rem;
}

.modal__intro {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9125rem;
}

/* Password row */
.modal__field {
  margin-top: 18px;
}

.modal__field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal__password {
  display: flex;
  gap: 8px;
}

.modal__password code {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--text);
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  overflow: auto;
  white-space: nowrap;
}

.modal__copy {
  flex: none;
  min-width: 88px;
}

.modal__copy.is-copied {
  color: var(--ok);
  border-color: var(--ok);
}

/* Archiver tools */
/* Highlighted callout — this is the step people miss, so make it stand out. */
.modal__tools {
  margin-top: 20px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(233, 180, 106, 0.45);
  border-radius: var(--radius);
  background: var(--warn-soft);
}

.modal__tools h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.modal__tools h3 svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--warn);
}

.modal__tools p {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.modal__tool-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.modal__tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    transform 0.15s ease;
}

.modal__tool:hover {
  border-color: var(--warn);
  background: var(--surface-2);
  color: var(--text);
}

.modal__tool svg {
  width: 15px;
  height: 15px;
  color: var(--text-faint);
}

/* "or" — makes clear you pick ONE, not both. */
.modal__or {
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Content page (Trust & Safety)
   -------------------------------------------------------------------------- */
.page-head {
  padding: 78px 0 8px;
  text-align: center;
}

.page-head h1 {
  margin: 24px auto 0;
  max-width: 16ch;
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
  font-weight: 800;
}

.page-head p {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

/* Numbered steps */
.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1rem;
  font-weight: 650;
}

.step p {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.9125rem;
}

/* Two-column lists of what we do / never do */
.pledges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.pledge {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.pledge h3 {
  font-size: 1.0625rem;
}

.pledge ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.pledge li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9125rem;
  line-height: 1.5;
}

.pledge li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
}

.pledge--yes li svg {
  color: var(--ok);
}

.pledge--no li svg {
  color: var(--down);
}

/* Small fact tiles */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.fact {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Closing call-out */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(150, 120, 230, 0.12), var(--surface) 65%);
}

.callout h2 {
  font-size: 1.25rem;
}

.callout p {
  margin-top: 6px;
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.9125rem;
}

/* --------------------------------------------------------------------------
   Micro-interactions — small hover/press touches across the site
   -------------------------------------------------------------------------- */

/* Logo gives a playful tilt on hover. */
.brand__mark {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.08);
}

/* Card thumbnail zooms slightly as the card lifts. */
.app-card__thumb img {
  transition: transform 0.35s ease;
}

.app-card:hover .app-card__thumb img {
  transform: scale(1.05);
}

/* Card icon nudges up with the card. */
.app-icon {
  transition: transform 0.2s ease;
}

.app-card:hover .app-icon {
  transform: translateY(-2px);
}

/* Gallery thumbnails zoom on hover. */
.gallery__thumb img {
  transition: transform 0.25s ease;
}

.gallery__thumb:hover img {
  transform: scale(1.06);
}

/* Archiver + copy buttons in the modal lift on hover. */
.modal__tool {
  transition: border-color 0.15s ease, background-color 0.15s ease,
    transform 0.15s ease;
}

.modal__tool:hover {
  transform: translateY(-1px);
}

/* FAQ / details rows warm up on hover. */
.faq summary:hover,
.specs-toggle summary:hover {
  color: var(--text);
}

.faq details {
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.faq details:hover {
  border-color: var(--border-strong);
}

/* Numbered steps on Trust & Safety lift a touch. */
.step,
.fact,
.pledge {
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.step:hover,
.fact:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   Notice / empty state
   -------------------------------------------------------------------------- */
.notice {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text-muted);
}

.notice h2 {
  margin-bottom: 8px;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Footer — one compact row
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-faint);
  font-size: 0.8125rem;
}

.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__copy {
  color: var(--text-faint);
  font-size: 0.8125rem;
}
