/* Open Zenith website: the parts only the main pages have. The look itself
   (colours, cards, buttons, header, footer) is the Store's store.css. */
html { background: #0d1117; }
/* The zenith: a warm sun-glow high over the page, a cool sky below it. */
body {
  background:
    radial-gradient(900px 420px at 50% -160px, rgba(255, 197, 107, 0.16), transparent 70%),
    radial-gradient(1200px 600px at 50% -200px, rgba(122, 162, 255, 0.12), transparent 75%),
    #0d1117;
  background-repeat: no-repeat;
}
.brand { letter-spacing: 0.01em; }
.kicker .maker {
  background: linear-gradient(90deg, #ffc56b, #ff8a4c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700;
}
.foot .note { font-size: 14px; }
.top nav a { white-space: nowrap; }
section { margin-top: 56px; }
.hero { margin-top: 0; }
h3 { font-size: 19px; margin: 0 0 6px; }

.hero.home {
  max-width: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button.ghost:hover { background: var(--card); }

/* The picture of the Forge window */
.window {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.chrome { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1b2330; border-bottom: 1px solid var(--line); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #3a4658; }
.chrome i:first-child { background: #e0705f; }
.chrome i:nth-child(2) { background: #e3b55b; }
.chrome i:nth-child(3) { background: #7cc4a4; }
.chrome span { margin-left: 8px; color: var(--muted); font-size: 13px; }
.pane { display: grid; grid-template-columns: 150px 1fr; }
.pane img { width: 100%; height: 100%; object-fit: cover; border-left: 3px solid var(--accent); }
.side-apps { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; align-content: start; background: #121821; }
.side-apps li { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.side-apps li.on { background: var(--card); color: var(--text); }

/* What Forge is */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.point { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.point p { color: var(--muted); margin: 0; font-size: 16px; }
.point-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.bar a { color: var(--muted); text-decoration: none; }
.bar a:hover { color: var(--text); }
section .featured { margin-bottom: 0; }

/* Downloads */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.systems { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.systems li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg2); }
.systems li > span { display: grid; }
.systems .note { font-size: 13px; word-break: break-all; }
.downloads { max-width: 760px; }
.install h2 + .sub, .install h2 + p { margin-bottom: 18px; }

/* About: principles and products */
.points.three { grid-template-columns: repeat(3, 1fr); }
.products { margin-top: 18px; }
.product .kicker { margin: 0 0 4px; }
.product h3 { font-size: 26px; }

/* Commons */
.places { margin-top: 18px; }
.place h3 { font-size: 22px; }
.pilot { margin-top: 14px; }

@media (max-width: 1000px) {
  .points, .points.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero.home, .split { grid-template-columns: 1fr; }
  .window { transform: none; }
  .hero.home { padding-top: 40px; }
}
@media (max-width: 560px) {
  .points, .points.three { grid-template-columns: 1fr; }
  .pane { grid-template-columns: 1fr; }
  .side-apps { display: none; }
  .top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .top nav a { padding: 6px 9px; font-size: 15px; }
}
