:root {
  --cream: #f3ead6;
  --cream-dark: #ece0c4;
  --black: #17140f;
  --gold: #ddb04e;
  --gold-dark: #c99b34;
  --border: #17140f;
  --text-muted: #6f6a5e;
  --font-pixel: "Press Start 2P", monospace;
  --font-mono: "VT323", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream-dark);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1.4;
}

a {
  color: var(--black);
  text-decoration: none;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: -3px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.site {
  max-width: 1200px;
  margin: 24px auto;
  background: var(--cream);
  border: 2px solid var(--border);
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: var(--black);
  border: 2px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pixel-cloud-svg {
  width: 26px;
  height: 26px;
  fill: var(--cream);
  image-rendering: pixelated;
}

.brand-text h1 {
  font-family: var(--font-pixel);
  font-size: 22px;
  margin: 0;
  letter-spacing: 1px;
}

.brand-text p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--gold);
  border: 2px solid var(--border);
  padding: 10px 18px;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 2px solid var(--border);
}

.hero-icon {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid var(--border);
}

.hero-cloud {
  width: 120px;
  height: 120px;
  fill: var(--cream);
}

.hero-content {
  padding: 36px 30px;
  background-image: radial-gradient(var(--gold-dark) 1px, transparent 1px);
  background-size: 18px 18px;
  background-color: var(--cream);
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: 40px;
  margin: 0 0 14px;
  letter-spacing: 2px;
}

.hero-tagline {
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--black);
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-weight: bold;
  font-size: 16px;
}

.platform-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sep {
  color: var(--text-muted);
}

/* ===== GRID / CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

.card {
  border: 2px solid var(--border);
  border-top: none;
  border-left: none;
  margin: -2px 0 0 -2px;
  background: var(--cream);
}

.span-main {
  grid-column: 1;
}

.span-side {
  grid-column: 2;
}

.span-full {
  grid-column: 1 / -1;
}

.card-header {
  background: var(--gold);
  border-bottom: 2px solid var(--border);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 18px;
}

.card-body {
  padding: 20px 22px;
}

.card-body p {
  margin: 0 0 14px;
}

.bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--gold-dark);
  border: 1px solid var(--border);
}

.req-label {
  font-weight: bold;
  margin: 0 0 8px !important;
}

/* Free plan box */
.free-plan-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 2px solid var(--border);
  background: var(--cream-dark);
  padding: 16px 18px;
}

.free-plan-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.free-plan-icon .pixel-cloud-svg {
  width: 24px;
  height: 24px;
}

.free-plan-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.free-plan-text p {
  margin: 0;
  font-size: 15px;
}

.free-plan-text .muted {
  color: var(--text-muted);
  font-size: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid var(--border);
  white-space: nowrap;
}

.btn-black {
  background: var(--black);
  color: var(--cream);
}

.btn-black:hover {
  background: #2a251c;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* News */
.news-list .news-item {
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.news-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.news-item p {
  margin: 0 0 4px;
  font-size: 15px;
}

.news-item .date {
  font-size: 13px;
  color: var(--text-muted);
}

.more-news {
  display: block;
  text-align: right;
  font-weight: bold;
  font-size: 14px;
}

.more-news:hover {
  text-decoration: underline;
}

/* Download grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.download-col {
  border: 2px solid var(--border);
  padding: 16px 10px;
  text-align: center;
  background: var(--cream-dark);
}

.dl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.download-col strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.download-col p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Why list */
.why-list .why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

.why-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.why-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.why-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Plans table */
.plans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.plans-table th,
.plans-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: center;
}

.plans-table thead th {
  background: var(--gold);
  font-weight: bold;
}

.plans-table .col-feature {
  text-align: left;
  font-weight: bold;
  background: var(--cream-dark);
}

.plan-size {
  font-weight: normal;
  font-size: 13px;
  color: var(--text-muted);
}

.price-row td {
  font-weight: bold;
  background: var(--cream-dark);
}

/* ===== FOOTER ===== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px;
  border-top: 2px solid var(--border);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .span-main, .span-side, .span-full {
    grid-column: 1;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-icon {
    border-right: none;
    border-bottom: 2px solid var(--border);
    padding: 20px;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .free-plan-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
  .plans-table {
    font-size: 12px;
  }
  .plans-table th, .plans-table td {
    padding: 6px 6px;
  }
}
