/* alithix.com: one stylesheet for every page. The look is the approved "Alithix Site" canvas. */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --ground: #ffffff;
  --text: #0f1b2d;
  --muted: #4a5a70;
  --hair: #dde3eb;
  --soft: #f2f5f9;
  --link: #0b3d7e;
  --link-hover: #072a57;
  --band: #071a33;
  --band-text: #ffffff;
  --band-muted: #c3d0e2;
  --band-link: #dce5f0;
  --decks: #2f5a27;
  --politickit: #b4233a;
  --mootzer: #1f6e8c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b1422;
    --text: #e8edf4;
    --muted: #a9b6c8;
    --hair: #24324a;
    --soft: #121e31;
    --link: #8db8ff;
    --link-hover: #b9d3ff;
    --band: #050f1f;
    --decks: #9dbf8e;
    --politickit: #f08a99;
    --mootzer: #7fc4e8;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; line-height: 1.15; margin: 0; }
p, ul, ol { margin: 0; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ground); padding: 8px 12px; }

/* The header band */
.band { background: var(--band); color: var(--band-text); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--band-text); text-decoration: none; }
.brand:hover { color: var(--band-text); }
.brand img { width: 40px; height: 40px; background: #ffffff; border-radius: 10px; padding: 4px; }
.brand span { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: 0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--band-link); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: #ffffff; text-decoration: underline; }
.hero { display: flex; flex-direction: column; gap: 20px; padding-block: 72px 88px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.01em; max-width: 820px; }
.hero p { font-size: 20px; color: var(--band-muted); max-width: 680px; }

/* Sections */
.section { padding-block: 64px 24px; }
.section h2 { font-size: 32px; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* Product cards */
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--hair); border-radius: 16px; }
.card img { width: 72px; height: 72px; border-radius: 16px; }
.card h3 { font-size: 26px; }
.card .line { font-weight: 600; }
.card .store { font-size: 15px; color: var(--muted); }
.card .more { margin-top: auto; align-self: flex-start; padding: 12px 0; font-weight: 600; }
.decks .line { color: var(--decks); }
.politickit .line { color: var(--politickit); }
.mootzer .line { color: var(--mootzer); }

/* A tinted box */
.box { padding: 36px 40px; border-radius: 16px; background: var(--soft); }
.links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.links a { display: inline-block; padding: 8px 0; }
.links .row { display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* A product's own band: Decks in its Sage look */
.product-band { background: #1f2a24; color: #fcfdfc; }
.product-band .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; padding-block: 64px 72px; }
.product-band img { width: 120px; height: 120px; border-radius: 28px; }
.product-band h1 { font-size: clamp(36px, 5vw, 56px); }
.product-band .line { font-size: 24px; font-weight: 600; color: #9dbf8e; margin-top: 12px; }
.product-band .store { color: #babebb; margin-top: 8px; }
.points h3 { font-size: 21px; margin-bottom: 8px; }

/* Text pages: privacy, support, account deletion */
.doc { display: flex; flex-direction: column; gap: 32px; padding-block: 56px 80px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; }
.doc h2 { font-size: 26px; margin-bottom: 10px; }
.doc section { display: flex; flex-direction: column; gap: 10px; }
.doc ul, .doc ol { padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.kicker { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.kicker img { width: 32px; height: 32px; border-radius: 8px; }
.kicker a { color: var(--muted); }
.lede { font-size: 19px; color: var(--muted); margin-top: 10px; }

/* Footer */
.foot { border-top: 1px solid var(--hair); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: var(--muted); padding: 6px 0; }

@media (max-width: 600px) {
  .box { padding: 24px 22px; }
  .card { padding: 24px; }
}
