/* SPDX-License-Identifier: GPL-3.0-or-later */
/* The article's design: the Bazzite design of the suite's wiki (docs/stylesheets/suite.css), dark, with glows and
   gradients. The hero's background is images/hero.webp when the app folder has one, else the placeholder drawn
   below (.hero--placeholder). */

@font-face { font-family: "Inter"; font-weight: 600; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 700; src: url("fonts/Inter-Bold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 800; src: url("fonts/Inter-ExtraBold.ttf") format("truetype"); }

:root {
  --primary: #5835CE;           /* the wiki's main color */
  --secondary: #8A2BE2;         /* the wiki's second color */
  --ink: #120c22;               /* darkest */
  --deep: #1e1340;              /* deep */
  --soft: #a98bff;              /* light: links */
  --mist: #c9bfee;              /* pale: text on the cards */
  --stage: #8b4fd8;             /* the stage pill */
  --warn: #ef6c00;              /* "Changes the board": the portal's orange (core's theme.ORANGE) */
  --page: #17141f;              /* the wiki's page background */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.55;
}
a { color: var(--soft); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* --- the hero ------------------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 940px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink) center / cover no-repeat;
}
.hero::after {                      /* a veil, so the words stay readable on any picture */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 12, 34, .92) 0%, rgba(18, 12, 34, .55) 55%, rgba(18, 12, 34, .15) 100%);
}
.hero--placeholder {
  background:
    radial-gradient(circle at 78% 38%, rgba(138, 43, 226, .55), transparent 34%),
    radial-gradient(circle at 62% 80%, rgba(88, 53, 206, .5), transparent 40%),
    radial-gradient(circle at 92% 90%, rgba(0, 220, 255, .22), transparent 30%),
    linear-gradient(160deg, var(--deep), var(--ink) 70%);
}
.hero--placeholder::before {        /* a floor of light lines toward the horizon */
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10%;
  height: 60%;
  background:
    repeating-linear-gradient(90deg, rgba(169, 139, 255, .55) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(0deg, rgba(169, 139, 255, .55) 0 2px, transparent 2px 80px);
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero .inner { position: relative; z-index: 1; width: 100%; }
.hero__logo { width: 112px; filter: drop-shadow(0 0 28px rgba(138, 43, 226, .8)); }
.hero__stage {
  display: inline-block;
  margin: 26px 0 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--stage);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 18ch;                  /* two lines for the headline (owner, 25-11-2026) */
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, #fff 30%, var(--soft) 70%, #7fe7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__claim { max-width: 42rem; margin: 22px 0 34px; color: var(--mist); font-size: 1.2rem; }

/* --- buttons -------------------------------------------------------------------------------------------------- */
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  padding: 13px 26px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); color: #fff; }
.button--primary {
  border-color: transparent;
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  box-shadow: 0 0 32px rgba(138, 43, 226, .55);
}
.button--primary:hover { background: linear-gradient(100deg, var(--secondary), var(--primary));
                         box-shadow: 0 0 46px rgba(138, 43, 226, .8); }

/* --- the numbers ---------------------------------------------------------------------------------------------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  padding: 34px 0;
  text-align: center;
}
.numbers strong {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(100deg, #fff, var(--soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numbers span { color: var(--mist); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
/* the board's numbers: seven in a row, the labels as copy.md writes them (GHz stays GHz) */
.specs { max-width: 1500px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.specs strong { font-size: 2.4rem; }
.specs span { display: block; text-transform: none; letter-spacing: .08em; font-size: .72rem; line-height: 1.4; }
.specs sup a, #spec-notes .mark { color: var(--soft); }
.band--specs { border-top: none; }
.band { background: linear-gradient(90deg, var(--deep), var(--ink), var(--deep)); border-block: 1px solid rgba(169, 139, 255, .25); }

/* --- sections ------------------------------------------------------------------------------------------------- */
section { padding: 90px 0; }
section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.kicker { color: var(--soft); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; margin: 0 0 8px; }
.lead { color: var(--mist); font-size: 1.15rem; max-width: 46rem; margin: 0 0 30px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.features { list-style: none; margin: 0; padding: 0; }
.features li { padding: 9px 0 9px 32px; position: relative; color: var(--mist); }
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--soft), var(--secondary));
  box-shadow: 0 0 12px rgba(169, 139, 255, .8);
}
.shot {
  border-radius: 18px;
  border: 1px solid rgba(169, 139, 255, .35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(88, 53, 206, .35);
}
.dark { background: var(--ink); }
.glow { background: radial-gradient(circle at 50% 0%, rgba(88, 53, 206, .35), transparent 60%), var(--page); }

/* --- the apps ------------------------------------------------------------------------------------------------- */
.category .shot { margin: 10px 0 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(88, 53, 206, .22), rgba(30, 19, 64, .65));
  border: 1px solid rgba(169, 139, 255, .22);
  color: var(--mist);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--soft); box-shadow: 0 0 30px rgba(138, 43, 226, .4);
              color: var(--mist); }
.card header { display: flex; align-items: center; gap: 12px; }
.card img { width: 44px; height: 44px; border-radius: 10px; }
.card h3 { margin: 0; color: #fff; font-size: 1.05rem; font-weight: 700; }
.card p { margin: 0; font-size: .95rem; }
.tag {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--warn);
  color: var(--warn);
  font-size: .75rem;
}

/* --- And more: the small touches, highlighted above the safety band ------------------------------------------ */
.more {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 220, 255, .18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(138, 43, 226, .35), transparent 45%),
    var(--deep);
  border-top: 1px solid rgba(169, 139, 255, .35);
}
.chips { list-style: none; margin: 26px 0 0; padding: 0; display: grid;
         grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.chips li {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(169, 139, 255, .4);
  box-shadow: 0 0 22px rgba(138, 43, 226, .25), inset 0 0 18px rgba(169, 139, 255, .08);
  color: #fff;
}

/* --- the safety band, the video and the steps ----------------------------------------------------------------- */
.safety { background: linear-gradient(100deg, var(--primary), var(--secondary)); }
.safety .lead { color: #fff; margin: 0; }
.kicker--warn { color: var(--warn); font-weight: 800; }
.video { display: block; position: relative; }
.video::after {                     /* a play symbol over the poster */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: rgba(18, 12, 34, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 48px no-repeat;
  box-shadow: 0 0 40px rgba(138, 43, 226, .9);
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 34px; display: grid;
         grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.steps li { counter-increment: step; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .06);
            border: 1px solid rgba(169, 139, 255, .22); color: var(--mist); }
.steps li::before { content: counter(step); display: block; font-size: 2rem; font-weight: 800; color: var(--soft); }

/* --- the footer ----------------------------------------------------------------------------------------------- */
footer { background: var(--ink); padding: 60px 0 40px; color: var(--mist); font-size: .85rem; }
footer .links { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; font-size: 1rem; }
footer h4 { color: #fff; margin: 24px 0 6px; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; }
footer p { margin: 0 0 10px; max-width: 70rem; }
#spec-notes { margin-top: 18px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
