@font-face {
  font-family: "Manrope";
  src: url("/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #0f1115;
  --surface: #161920;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9ecf1;
  --muted: #8b95a3;
  --teal: #4fc3b8;
  --amber: #e8b04b;
  --coral: #f0654e;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", -apple-system, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(79, 195, 184, 0.10), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(240, 101, 78, 0.06), transparent 60%),
    var(--bg);
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.nav, main, footer { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: 0.16em; font-size: 15px; }
.brand img { display: block; }
.brand .dot { color: var(--teal); margin-left: -8px; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 22px; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.lede { font-size: 20px; color: #c3cad4; max-width: 34em; }
.cta { margin: 30px 0 12px; }
.fine { color: var(--muted); font-size: 14px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { max-width: 100%; height: auto; display: block; }

.button { display: inline-block; background: var(--teal); color: #07110f; font-weight: 800; font-size: 17px; padding: 14px 26px; border-radius: 14px; text-decoration: none; box-shadow: 0 0 34px rgba(79, 195, 184, 0.35); }
.button:hover { filter: brightness(1.08); }
.button.disabled { background: transparent; color: var(--muted); border: 1px solid var(--border); box-shadow: none; cursor: default; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 88px; }
.features article { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.features h2 { font-size: 20px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.features p { color: #b4bcc8; margin: 0; font-size: 16px; }
.swatch { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.swatch.teal { background: var(--teal); box-shadow: 0 0 12px rgba(79, 195, 184, 0.7); }
.swatch.amber { background: var(--amber); box-shadow: 0 0 12px rgba(232, 176, 75, 0.7); }
.swatch.coral { background: var(--coral); box-shadow: 0 0 12px rgba(240, 101, 78, 0.7); }

.section-lede { color: #b4bcc8; max-width: 40em; font-size: 18px; }

.themes { padding-bottom: 88px; }
.gallery { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery li { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px 20px 22px; }
.shot { height: 440px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border-radius: 14px; margin-bottom: 18px; overflow: hidden;
  background: linear-gradient(160deg, #2a3140, #171b24 60%, #12151b); }
/* Screenshots are 2x captures shown at their true point size, so every theme is at the same scale. */
.shot img { max-width: 100%; height: auto; display: block; }
.gallery p { color: var(--muted); margin: 0; font-size: 15px; }

.privacy { padding-bottom: 96px; }
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.columns p { color: #b4bcc8; margin: 0; font-size: 16px; }
.columns h3 { color: var(--text); }

.releases { padding-top: 40px; padding-bottom: 96px; max-width: 720px; }
.releases h1 { font-size: clamp(34px, 4.6vw, 48px); }
.releases article { border-top: 1px solid var(--border); padding-top: 26px; margin-top: 30px; }
.releases h2 { font-size: 26px; }
.releases .date { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-left: 10px; }
.releases ul { padding-left: 22px; margin: 0 0 16px; color: #c3cad4; }
.releases li { margin-bottom: 6px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }

footer { border-top: 1px solid var(--border); padding-top: 28px; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
footer p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; }
  .features, .gallery, .columns { grid-template-columns: 1fr; }
  .shot { height: 360px; }
  .nav nav { gap: 18px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; overflow-wrap: break-word; }
  .nav, main, footer { padding-left: 18px; padding-right: 18px; }
  .brand { font-size: 13px; letter-spacing: 0.12em; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 14px; }
  .lede { font-size: 18px; }
  .features article, .gallery li { padding: 20px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
