/* HyperVolume's own palette, taken from the app: --ground and --surface are the
   app's near-black and raised surface, --accent is its #007AFF.

   No web fonts and no external requests. These pages open from inside the App
   Store listing and from an in-app browser, so they have to paint instantly,
   work with no network, and raise no licensing question about a typeface. */
:root {
  --ground: #F2F4F8;
  --surface: #FFFFFF;
  --border: #D8DEE8;
  --ink: #0B0E14;
  --ink-2: #3D4655;
  --dim: #626C7D;
  --accent: #0063D1;
  --rule: rgba(255, 255, 255, 0.10);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #07090F;
    --surface: #12161F;
    --border: #232A36;
    --ink: #FFFFFF;
    --ink-2: #C7CEDA;
    --dim: #8E97A6;
    --accent: #4DA2FF;
    --rule: rgba(255, 255, 255, 0.08);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* The app's accent, ruled with upright bars that read as an equalizer without
   shipping an image for it. */
header.hero {
  background-color: #0A2A54;
  background-image:
    repeating-linear-gradient(to right, var(--rule) 0 2px, transparent 2px 26px),
    linear-gradient(165deg, #14264F 0%, #0B1226 60%, #07090F 100%);
  color: #fff;
  padding: 56px 24px 44px;
}

.hero-inner, main, footer .inner { max-width: 720px; margin: 0 auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 56ch; }

main { padding: 40px 24px 72px; }

h2 {
  margin: 44px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
h2:first-of-type { margin-top: 8px; }
h3 { margin: 26px 0 6px; font-size: 17.5px; }

p, li { color: var(--ink-2); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }
strong { color: var(--ink); }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.lede {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 8px;
}
.lede p:last-child { margin-bottom: 0; }

/* Used for the hearing-safety note, which should not read like the rest of the
   small print. */
.warn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid #E8A33D;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.warn p:last-child { margin-bottom: 0; }

.stamp {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 28px;
}

table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 15px; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
td { color: var(--ink-2); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 26px 24px 56px;
  color: var(--dim);
  font-size: 14.5px;
}
footer .inner { display: flex; gap: 18px; flex-wrap: wrap; }

.cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 8px; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
}
.card:hover { border-color: var(--accent); }
.card h2 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; font-size: 15px; color: var(--dim); }
