:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101010;
  --panel-2: #151515;
  --border: #2c2c2c;
  --text: #f5f5f5;
  --muted: #a7a7a7;
  --accent: #ffffff;
  --green: #78d58b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 6%, rgba(255,255,255,.06), transparent 24rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.brand-name {
  font-size: 18px;
  font-weight: 750;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}


main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 48px;
  align-items: center;
  padding: 68px 0 84px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .94;
  letter-spacing: -.05em;
  margin: 14px 0 24px;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.hero-logo {
  width: min(100%, 310px);
  justify-self: end;
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.downloads-section {
  padding: 30px 0 34px;
}

.section-heading h2 {
  font-size: 38px;
  margin: 10px 0 26px;
  letter-spacing: -.03em;
}

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

.download-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 18px;
}

.download-card {
  padding: 24px;
}

.download-card.featured {
  border-color: #4b4b4b;
}

.platform-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.platform-name {
  font-size: 24px;
  font-weight: 780;
}

.version {
  color: var(--muted);
  margin-top: 5px;
  font-size: 14px;
}

.status {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.status.available {
  background: rgba(120,213,139,.12);
  color: var(--green);
  border: 1px solid rgba(120,213,139,.28);
}

.status.planned {
  background: rgba(255,255,255,.06);
  color: var(--muted);
  border: 1px solid var(--border);
}

.status.testing {
  background: rgba(255, 190, 80, .10);
  color: #ffd27a;
  border: 1px solid rgba(255, 190, 80, .26);
}

.android-test {
  border-color: #4a402d;
}

.tester-note {
  font-size: 14px;
  margin-top: -4px;
}

.download-card p {
  color: var(--muted);
  line-height: 1.55;
  min-height: 70px;
}

.download-button {
  width: 100%;
  margin-top: 8px;
}

.download-button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.disabled {
  opacity: .48;
  cursor: not-allowed;
  pointer-events: none;
}

.checksum {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.checksum span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.checksum code {
  display: block;
  word-break: break-all;
  font-size: 11px;
  color: #c9c9c9;
}


footer {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 28px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-muted { color: var(--muted); }

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero-logo {
    width: 180px;
    justify-self: start;
  }

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

  .download-card p {
    min-height: auto;
  }
}

/* BEGIN VE CAM WEBSITE V5 HERO CLEANUP */

/* Cleaner hero: smaller title/logo and less empty vertical space. */
.hero {
  min-height: 390px;
  grid-template-columns: 1.55fr .55fr;
  gap: 34px;
  padding: 52px 0 66px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 70px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 12px 0 20px;
}

.hero-logo {
  width: min(100%, 240px);
  justify-self: end;
  border-radius: 24px;
}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 52px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-logo {
    width: 155px;
    justify-self: start;
  }
}

/* END VE CAM WEBSITE V5 HERO CLEANUP */

/* VE Cam v6 - four platform cards across on desktop */
@media (min-width: 850px) {
  .download-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  main,
  .site-header,
  footer {
    max-width: 1500px !important;
  }
}

@media (max-width: 849px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .download-grid {
    grid-template-columns: 1fr !important;
  }
}

/* BEGIN VE CAM WEBSITE V6 FOUR-COLUMN DESKTOP */

/* Use the available desktop width so all four platform cards sit side-by-side. */
@media (min-width: 1000px) {
  main {
    max-width: 1500px !important;
    width: calc(100% - 64px) !important;
  }

  .download-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .download-card {
    min-width: 0 !important;
  }
}

/* Tablets keep two cards per row. */
@media (min-width: 650px) and (max-width: 999px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Phones use one card per row. */
@media (max-width: 649px) {
  .download-grid {
    grid-template-columns: 1fr !important;
  }
}

/* END VE CAM WEBSITE V6 FOUR-COLUMN DESKTOP */