:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1b1d26;
  --muted: #5d6070;
  --line: #e3dfd5;
  --brand: #d9801a;
  --brand-2: #e2445c;
  --shadow: 0 1px 2px rgba(20, 22, 31, .06), 0 6px 20px rgba(20, 22, 31, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161f;
    --surface: #1d2030;
    --text: #eceaf2;
    --muted: #a3a6b8;
    --line: #2d3145;
    --brand: #ffb547;
    --brand-2: #ff5f7e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
main, .top, footer { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.logo { box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #14161f; color: #ffb547; font-weight: 800; }
.top nav { display: flex; gap: 18px; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a:focus-visible { color: var(--text); }

h1 { font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; margin: .2em 0 .3em; letter-spacing: -.02em; }
h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; letter-spacing: -.01em; }
h3 { margin: 0 0 .2em; font-size: 1.05rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }
.muted { color: var(--muted); }

.hero { padding: 40px 0 8px; }
.hero h1 { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.group { margin: 1.6em 0 .7em; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.card {
  display: flex; gap: 14px; padding: 16px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform .15s ease;
}
.card:hover, .card:focus-visible { transform: translateY(-2px); }
.card img { flex: none; border-radius: 16px; }
.card p { margin: 0 0 .4em; color: var(--muted); font-size: .93rem; }
.more { font-size: .85rem; font-weight: 600; color: var(--accent); }

.news { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news p { margin: .2em 0 0; color: var(--muted); }
.news a { text-decoration: none; }
time { font-size: .82rem; color: var(--muted); }
.upcoming { padding-left: 1.2em; }
.upcoming li { margin: .4em 0; }

.app-hero { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; padding: 12px 0; }
.app-hero > img { border-radius: 28px; box-shadow: var(--shadow); }
.app-hero > div { flex: 1 1 300px; }
.app-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.note { font-weight: 600; }
.button {
  display: inline-block; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 700;
  background: var(--accent, var(--brand)); color: #fff; margin-right: 14px;
}
.button.alt { background: #1b2838; }
.link { color: var(--muted); font-size: .92rem; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { height: 360px; width: auto; max-width: none; border-radius: 14px; border: 1px solid var(--line); scroll-snap-align: start; }

.post { max-width: 46em; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }

footer { margin-top: 64px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer p { margin: .3em 0; }

@media (max-width: 520px) {
  .shots img { height: 300px; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
