/* ============================================================
   kubelizeme — product landing page
   Custom CSS, no framework. Dark, orange accent (#f97316).
   ============================================================ */

:root {
  /* brand — matches mioranza.tech kubelizeme page */
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-hover: #fb923c;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-ring: rgba(249, 115, 22, 0.35);

  /* surfaces */
  --bg: #0b0d10;
  --bg-elev: #12161b;
  --bg-elev-2: #181d24;
  --bg-card: #141920;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --text: #e8ecf2;
  --text-muted: #a6adb8;
  --text-dim: #707884;

  /* utility */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 12px 30px -12px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(249, 115, 22, 0.15), 0 20px 60px -20px rgba(249, 115, 22, 0.35);
  --container: 1200px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

code,
kbd,
pre {
  font-family: var(--font-mono);
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  font-size: 0.78em;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--accent);
  color: #140a03;
  z-index: 100;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.06rem;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.brand-name {
  background: linear-gradient(180deg, #fff 0%, #cbd2dd 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 12px;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-cta {
  padding: 9px 18px !important;
  font-size: 0.87rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.mobile-nav a:last-child {
  border-bottom: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #140a03;
  box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #fdba74 0%, var(--accent-light) 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #140a03;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 820px;
  background: radial-gradient(
      60% 55% at 50% 0%,
      rgba(249, 115, 22, 0.2) 0%,
      rgba(249, 115, 22, 0.08) 40%,
      transparent 70%
    ),
    radial-gradient(35% 40% at 80% 30%, rgba(251, 146, 60, 0.12) 0%, transparent 60%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, black 30%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
}

.hero-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 0 24px;
}

.hero-sub {
  margin: 0 0 32px;
  font-size: 1.13rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.hero-badges li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-badges strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.hero-badges span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
}
.hero-img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.1em 0;
}
.section-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* ============================================================
   FEATURES GRID (6 cards)
   ============================================================ */
.features {
  padding: 80px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, transparent 100%),
    var(--bg-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.05) 0%, transparent 100%),
    var(--bg-card);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--text-muted);
}

/* ============================================================
   FULL FEATURE ACCORDION
   ============================================================ */
.all-features {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
}

.caps-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cap-group {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cap-group[open] {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.4);
}

.cap-group summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  color: var(--text);
  font-weight: 600;
  transition: background 0.15s;
}
.cap-group summary::-webkit-details-marker {
  display: none;
}
.cap-group summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--c, var(--accent));
  background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent);
}
.cap-icon svg {
  width: 20px;
  height: 20px;
}

.cap-title {
  flex: 1;
  font-size: 1rem;
}
.cap-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  white-space: nowrap;
}
.cap-chev {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.cap-group[open] .cap-chev {
  transform: rotate(180deg);
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0 22px 10px 22px;
}
.cap-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
}
.cap-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--accent));
}
.cap-list li strong {
  color: var(--text);
  font-weight: 600;
}
.cap-list li code {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text);
}

.changelog-link {
  text-align: center;
  margin-top: 32px;
}
.changelog-link a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s, border-color 0.15s;
}
.changelog-link a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   SCREENSHOTS GALLERY
   ============================================================ */
.screenshots {
  padding: 80px 0;
}
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.shot:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.shot img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.shot figcaption {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev-2);
}
.shot figcaption h6 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.shot figcaption p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 20px 0 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 146, 60, 0.03) 100%),
    var(--bg-elev);
  text-align: center;
}
.stat {
  padding: 4px 8px;
  border-left: 1px solid var(--border);
}
.stat:first-child {
  border-left: 0;
}
.stat-value {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.1em 0;
}
.stat-label {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  padding: 40px 0 80px;
}
.download .section-head {
  max-width: 720px;
}
.install-icon {
  display: block;
  margin: 0 auto 20px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-strong);
}

.os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  max-width: 620px;
  margin: 0 auto 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elev);
}
.os-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.os-tab svg {
  flex-shrink: 0;
}
.os-tab:hover {
  color: var(--text);
}
.os-tab.is-active {
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  color: #140a03;
  font-weight: 600;
}

.os-panels {
  max-width: 760px;
  margin: 0 auto;
}
.os-panel {
  display: none;
  animation: fade 0.3s ease;
}
.os-panel.is-active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.os-panel pre {
  position: relative;
  margin: 0 0 28px;
  padding: 22px 26px;
  padding-right: 80px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius);
  background: #0a0c10;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
}
.os-panel pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-family: var(--font-mono);
}
.os-comment {
  color: var(--text-dim);
}
.copy-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
.copy-btn.is-copied {
  background: var(--accent);
  color: #140a03;
  border-color: var(--accent);
}

.small-block {
  margin: 0 !important;
  padding: 12px 16px !important;
  font-size: 0.85rem !important;
}

.download-direct {
  text-align: center;
  margin-bottom: 28px;
}
.download-direct p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.download-direct small {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* security note */
.security-note {
  padding: 22px 26px;
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.security-note-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.98rem;
}
.security-note img {
  max-width: 540px;
  width: 100%;
  margin: 12px auto 16px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.security-note p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.security-note p strong {
  color: var(--text);
}
.security-note .dim {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.security-note .small-block {
  margin-top: 8px !important;
}

/* prereqs */
.prereqs {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.prereqs summary {
  cursor: pointer;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.prereqs summary::-webkit-details-marker {
  display: none;
}
.prereqs summary strong {
  color: var(--text);
}
.prereqs-body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prereq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prereq-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.prereq-head code {
  color: var(--accent);
  font-weight: 600;
}
.badge-opt {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prereqs-foot {
  margin: 0 !important;
  font-size: 0.8rem !important;
  color: var(--text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  background: var(--bg-elev);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 340px;
}
.footer-brand img {
  border-radius: 8px;
}
.footer-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.footer-sub {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--accent);
}

/* license block */
.license {
  margin: 28px auto;
  padding: 20px 24px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.04);
}
.license h5 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.license p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.license p:last-child {
  margin-bottom: 0;
}
.license .dim,
footer .dim {
  color: var(--text-dim);
  font-size: 0.8rem !important;
}
.license strong {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    order: 2;
  }
  .hero-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shots {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .mobile-nav.is-open {
    display: flex;
  }

  .hero {
    padding: 48px 0 32px;
  }
  .hero-logo {
    width: 200px;
  }
  .features,
  .all-features,
  .screenshots,
  .download {
    padding: 56px 0;
  }
  .stats {
    padding: 0 0 56px;
  }

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

  .stats-grid {
    padding: 22px;
    gap: 12px;
  }
  .stat {
    padding: 4px;
    border-left: 0;
  }

  .os-tab {
    flex: 1 1 calc(33% - 4px);
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .cap-group summary {
    padding: 14px 16px;
    gap: 10px;
  }
  .cap-title {
    font-size: 0.92rem;
  }
  .cap-count {
    display: none;
  }
  .cap-list {
    padding: 0 16px 8px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 180px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .badge-free {
    width: auto;
  }
  .download-btns {
    flex-direction: column;
    align-items: stretch;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
