/* ============================================================
   KOMPRESSOR — site one-pager
   Aesthetic: TWK Continental, white/black/gray, rainbow
   accents (sparingly). Inspired by the app itself + Ayro.
   ============================================================ */

@font-face {
  font-family: "TWK Continental";
  src: url("fonts/TWKContinental-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TWK Continental";
  src: url("fonts/TWKContinental-Medium.otf") format("opentype");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-muted: #fafafa;
  --bg-soft: #f5f5f5;
  --fg: #000000;
  --fg-strong: #0a0a0a;
  --fg-muted: #6b6b6b;
  --fg-faint: #b8b8b8;
  --fg-faintest: #d4d4d4;
  --border: #e5e5e5;
  --border-soft: #ececec;
  --accent: #007aff;
  --status-ok: #1f7a1f;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --font: "TWK Continental", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;

  /* Apple system colors used in the app's progress bar (rainbow accents) */
  --rb-red: #ff3b30;
  --rb-orange: #ff9500;
  --rb-yellow: #ffcc00;
  --rb-green: #34c759;
  --rb-mint: #00c7be;
  --rb-blue: #007aff;
  --rb-indigo: #5856d6;
  --rb-purple: #af52de;
  --rb-pink: #ff2d55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

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

/* ----------------------------- Layout ----------------------------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}

.section-title-muted {
  color: var(--fg-faint);
}

.section-sub {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ----------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease,
    transform 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg-soft);
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-primary:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--fg-muted);
  background: var(--bg-soft);
}

.btn-text {
  background: transparent;
  border-color: transparent;
  color: var(--fg-muted);
}
.btn-text:hover {
  background: var(--bg-soft);
  color: var(--fg);
}

.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}
.btn-xl {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ----------------------------- Nav -------------------------------- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 12px 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: var(--fg-muted);
  font-size: 14px;
  transition: color 100ms ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  padding: 11px 20px;
  font-size: 14px;
  border-radius: 999px;
}

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

/* ============================ HERO =============================== */
.hero {
  padding: 80px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero-title-muted {
  color: var(--fg-faint);
}

.hero-subtitle {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-muted);
}

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

.hero-note {
  margin-top: 14px;
  color: var(--fg-faint);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ---------- App mockup in hero ---------- */
.hero-stage {
  position: relative;
  z-index: 1;
  margin: 80px auto -36px;
  padding: 0 24px;
  max-width: 880px;
  /* Subtle slip-under: only the empty padding strip below the progress bar
     tucks behind the next section. No element of the app is cropped. */
}

.hero-backdrop {
  position: absolute;
  inset: -10% -5% -50% -5%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 18% 30%, rgba(255, 59, 48, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 28%, rgba(0, 199, 190, 0.32), transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 90%, rgba(175, 82, 222, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(255, 149, 0, 0.24), transparent 60%);
  filter: blur(40px) saturate(120%);
  border-radius: 200px;
}

.app-window {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: none;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.16),
    0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
  margin: 0 auto;
  max-width: 720px;
  user-select: none;
  /* Extra blank breathing room below progress bar — exactly the strip that
     gets covered by the next section's overlap (-36px), so no element is
     cropped, only this padding. */
  padding-bottom: 38px;
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
  position: relative;
}

.app-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f57;
}
.dot-yellow {
  background: #febc2e;
}
.dot-green {
  background: #28c840;
}

.app-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-strong);
}

.app-body {
  padding: 22px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dropzone-mock {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 18px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dropzone-mock-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
}

.dropzone-mock-hint {
  margin: 0 0 22px;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.dropzone-mock-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mock-btn {
  display: inline-block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 13px;
  color: var(--fg);
}

.mock-btn-text {
  border-color: transparent;
  background: transparent;
  color: var(--fg-muted);
  padding: 6px 10px;
}

.mock-btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.settings-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quality-mock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-label {
  font-size: 11px;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.settings-label strong {
  font-weight: 400;
  font-size: 13px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.badge-quality {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: hsl(95, 78%, 84%);
  color: hsl(95, 65%, 24%);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  line-height: 1.5;
}

.slider-mock {
  position: relative;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.slider-fill {
  position: absolute;
  inset: 0 28% 0 0;
  background: var(--fg);
  border-radius: 2px;
}

.slider-thumb {
  position: absolute;
  left: 72%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.settings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.select-mock {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.select-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 13px;
  color: var(--fg);
}

.select-trigger .chev {
  margin-left: auto;
  font-size: 10px;
  color: var(--fg-muted);
}

.badge-recommended {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--border);
  color: var(--fg-muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  line-height: 1.5;
}

.app-sep {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 2px 0;
}

.files-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.files-title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.files-count {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 400;
}

.savings {
  font-size: 11px;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
  letter-spacing: 0;
  text-transform: none;
}

.savings[hidden] {
  display: none;
}

.files-actions-mock {
  display: flex;
  align-items: center;
  gap: 6px;
}

.files-actions-mock .mock-btn {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.files-list-mock {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  min-height: 120px;
}

.files-list-mock li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
  transition: opacity 240ms ease;
}

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

.file-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  justify-self: center;
  background: var(--border);
  transition: background-color 280ms ease;
}

.files-list-mock li.is-pending .file-status {
  background: var(--border);
}
.files-list-mock li.is-processing .file-status {
  background: var(--fg);
  animation: dot-pulse 1.1s ease-in-out infinite;
}
.files-list-mock li.is-done .file-status {
  background: var(--status-ok);
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.files-list-mock li.is-pending .file-info,
.files-list-mock li.is-processing .file-info {
  color: var(--fg-faint);
}

.file-info {
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  transition: color 200ms ease;
}

.progress-mock-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.progress-mock {
  flex: 1;
  height: 8px;
  background: #f1f1f1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-mock-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--rb-red),
    var(--rb-orange),
    var(--rb-yellow),
    var(--rb-green),
    var(--rb-mint),
    var(--rb-blue),
    var(--rb-indigo),
    var(--rb-purple),
    var(--rb-pink),
    var(--rb-red)
  );
  background-size: 250% 100%;
  animation: rainbow-flow 2.4s linear infinite;
  transition: width 120ms linear;
}

.progress-text-mock {
  font-size: 11px;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-align: right;
}

@keyframes rainbow-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 250% 50%;
  }
}

.app-footer-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  color: #c8c8c8;
}

.powered-text {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: inherit;
  text-transform: lowercase;
}

.powered-logo-svg {
  height: 6px;
  width: auto;
  fill: currentColor;
  display: block;
}

/* ============================ FEATURES =========================== */
.features {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 140px 24px 100px;
  max-width: 1140px;
  margin: 0 auto;
  /* Subtle drop shadow projected upward, onto the bottom of the mockup,
     to mark the layered cut line softly. */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.045);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 140ms ease, transform 140ms ease,
    box-shadow 140ms ease;
}

.feature-card:hover {
  border-color: var(--fg-faint);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--fg);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}

@media (max-width: 880px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ QUALITY ============================ */
.quality {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quality-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.quality-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quality-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin: 0 0 12px;
}

.quality-card p:last-child {
  margin-bottom: 0;
}

.quality-uses {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.quality-uses li {
  position: relative;
  padding: 9px 0 9px 0;
  font-size: 14px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border-soft);
  line-height: 1.5;
}

.quality-uses li:first-child {
  border-top: none;
  padding-top: 4px;
}

.quality-uses strong {
  color: var(--fg);
  font-weight: 500;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ HOW =============================== */
.how {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.how-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.how-num {
  font-size: 12px;
  color: var(--fg-faint);
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 14px;
}

.how-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.how-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.how-card code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

.inline-pill {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  vertical-align: 2px;
}

@media (max-width: 720px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ THEME =============================== */
.theme-mention {
  padding: 40px 24px 0;
  max-width: 1140px;
  margin: 0 auto;
}

.theme-mention-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
}

.theme-mention-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.theme-mention-icon svg {
  width: 32px;
  height: 32px;
}

.theme-mention-content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.theme-mention-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}

@media (max-width: 600px) {
  .theme-mention-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 24px;
  }
}

/* =========================== USE CASES =========================== */
.usecases {
  padding: 100px 24px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.usecase {
  padding: 24px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: left;
  transition: border-color 140ms ease;
}

.usecase:hover {
  border-color: var(--fg-faint);
}

.usecase h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.usecase p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ PRICING ============================ */
.pricing {
  padding: 100px 24px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.pricing-fineprint {
  text-align: center;
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--fg-muted);
}

.pricing-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.price-card-free {
  border-color: var(--fg);
}

.price-pill-free {
  background: var(--status-ok);
  color: #ffffff;
}

.price-tagline {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--fg-muted);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.price-card-highlight {
  border-color: var(--fg-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.price-card-highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    var(--rb-red),
    var(--rb-orange),
    var(--rb-yellow),
    var(--rb-green),
    var(--rb-mint),
    var(--rb-blue),
    var(--rb-indigo),
    var(--rb-purple),
    var(--rb-pink)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.price-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card header {
  margin-bottom: 22px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price {
  display: baseline;
  align-items: baseline;
  gap: 8px;
}

.price .amount {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg-strong);
}

.price .period {
  margin-left: 8px;
  color: var(--fg-muted);
  font-size: 14px;
}

.price-card ul {
  flex: 1;
  margin: 0 0 28px;
}

.price-card li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14.5px;
  color: var(--fg);
  border-bottom: 1px solid var(--border-soft);
}

.price-card li:last-child {
  border-bottom: none;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(-45deg);
}

@media (max-width: 920px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 880px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================== DOWNLOAD ============================= */
.download {
  padding: 80px 24px 100px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.download-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.download-sub {
  margin: 14px 0 32px;
  color: var(--fg-muted);
  font-size: 16px;
}

.download-note {
  margin: 62px auto 0;
  max-width: 560px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.6;
  text-align: left;
}

.download-note p {
  margin: 0 0 10px;
}

.download-note p:last-child {
  margin-bottom: 0;
}

.download-note-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px !important;
}

.download-steps {
  margin: 0 0 12px;
  padding-left: 22px;
  list-style: decimal;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.download-steps li {
  margin-bottom: 6px;
}

.download-steps li strong,
.download-note strong {
  color: var(--fg);
  font-weight: 500;
}

.download-steps li em,
.download-note em {
  font-style: normal;
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 0.95em;
  color: var(--fg);
}

.download-note-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-faint);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ============================ FOOTER ============================= */
.footer {
  background: #0a0a0a;
  color: #d4d4d4;
  padding: 80px 24px 32px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.footer-tagline {
  margin-top: 14px;
  font-size: 14px;
  color: #999;
  line-height: 1.55;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 14px;
  color: #999;
  transition: color 100ms ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1140px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #777;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #555;
}

.footer-powered-text {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.footer-powered-logo {
  height: 6.5px;
  width: auto;
  fill: currentColor;
  display: block;
}

@media (max-width: 880px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ====================== COMPARE PAGES ============================ */

/* Breadcrumb */
.breadcrumb {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 0 24px;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--fg-muted);
  border-bottom: 1px solid transparent;
  transition: color 100ms ease, border-color 100ms ease;
}

.breadcrumb a:hover {
  color: var(--fg);
  border-bottom-color: var(--border);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: var(--fg-faintest);
}

/* Compare hero — narrower than the home hero, no mockup */
.compare-hero {
  padding: 50px 24px 60px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.compare-hero .hero-eyebrow {
  margin-bottom: 22px;
}

.compare-hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.compare-hero .compare-sub {
  margin: 22px auto 0;
  max-width: 600px;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* Verdict box — calm, generous padding */
.verdict-box {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 28px 32px;
  background: var(--bg-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.verdict-box .verdict-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 10px;
}

.verdict-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-strong);
}

/* Compare prose container */
.compare-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.compare-prose h2 {
  margin: 60px 0 18px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.compare-prose h3 {
  margin: 32px 0 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-strong);
}

.compare-prose p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
}

.compare-prose p:last-child {
  margin-bottom: 0;
}

.compare-prose strong {
  font-weight: 500;
  color: var(--fg-strong);
}

.compare-prose code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Comparison table */
.compare-table-wrap {
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 0 24px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--fg-strong);
  background: transparent;
  width: 26%;
  white-space: nowrap;
}

.compare-table tbody td {
  color: var(--fg);
}

.compare-table tbody tr:hover {
  background: var(--bg-muted);
}

.compare-table .col-us {
  font-weight: 500;
  color: var(--fg-strong);
}

.compare-table .col-them {
  color: var(--fg-muted);
}

.compare-table .yes {
  color: var(--status-ok);
  font-weight: 500;
}
.compare-table .no {
  color: var(--fg-faint);
}

/* Pros / cons two-column */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.pros-cons-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.pros-cons-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-strong);
}

.pros-cons-card p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.pros-cons-card p:last-child {
  margin-bottom: 0;
}

.pros-cons-card strong {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 720px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Compare CTA box */
.compare-cta {
  max-width: 760px;
  margin: 60px auto;
  padding: 36px 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.compare-cta h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.compare-cta p {
  margin: 0 0 22px;
  color: var(--fg-muted);
  font-size: 15px;
}

.compare-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compare-cta-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-faint);
}

/* FAQ with details */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-strong);
  gap: 16px;
}

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

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--fg-muted);
  transition: transform 200ms ease;
  line-height: 1;
}

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

.faq details p {
  margin: 14px 0 0;
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Related comparisons */
.related {
  max-width: 1140px;
  margin: 80px auto 0;
  padding: 0 24px;
}

.related h2 {
  text-align: center;
  margin: 0 0 30px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 120ms ease, transform 120ms ease;
}

.related-card:hover {
  border-color: var(--fg-faint);
  transform: translateY(-2px);
}

.related-card .related-eyebrow {
  font-size: 11px;
  color: var(--fg-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-card .related-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-strong);
  margin-top: 2px;
}

.related-card .related-arrow {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg-muted);
}

@media (max-width: 720px) {
  .related-cards {
    grid-template-columns: 1fr;
  }
}

/* ========================== Responsive =========================== */
@media (max-width: 720px) {
  .hero {
    padding-top: 48px;
  }
  .hero-stage {
    margin-top: 56px;
  }
  .features,
  .how,
  .usecases,
  .pricing {
    padding-top: 80px;
    padding-bottom: 60px;
  }
  .download {
    padding-top: 60px;
  }
}

/* Hide select/scroll-snap quirks */
@media (max-width: 600px) {
  .settings-row {
    grid-template-columns: 1fr;
  }
}
