:root {
  --paper: #f5eee2;
  --card: #fffdf8;
  --ink: #2b2420;
  --soft: #6d6158;
  --line: #e4d9c8;
  --pin: #e2553f;
  --pin-dark: #b63a28;
  --wrestle: #1b2a2c;
  --wrestle-gold: #e9cf98;
  --matcha: #7ea35a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(120, 90, 60, .07) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink);
  font: 17px/1.6 "Nunito", system-ui, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 28px 0 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 "Fraunces", Georgia, serif; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; transform: rotate(-18deg); }

.hero { padding: 56px 0 40px; max-width: 720px; }
.hero h1 { font: 800 clamp(40px, 7vw, 68px)/1.02 "Fraunces", Georgia, serif; letter-spacing: -.025em; margin: 0 0 18px; }
.hero h1 em { font-style: italic; color: var(--pin); }
.hero p { font-size: 20px; color: var(--soft); margin: 0; max-width: 560px; }

.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 36px; padding: 28px 0 72px; }
.note {
  position: relative; display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 34px 26px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 30px -18px rgba(60,40,20,.35);
  transform: rotate(var(--tilt, -1.2deg)); transition: transform .25s ease, box-shadow .25s ease;
}
.note:nth-child(2n) { --tilt: 1.4deg; }
.note:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 22px 40px -20px rgba(60,40,20,.45); }
.note::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9c86 0 18%, var(--pin) 45%, var(--pin-dark) 100%);
  box-shadow: 0 3px 4px rgba(0,0,0,.25);
}
.note .row { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.note img.icon { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.note h2 { font: 700 23px/1.15 "Fraunces", Georgia, serif; margin: 0; }
.note .sub { color: var(--soft); font-size: 15px; margin: 2px 0 0; }
.note p { margin: 0 0 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: #f1e6d4; color: #8a6a43; }
.tag.live { background: #e4f1da; color: #4b7a2c; }
.note.soon { border-style: dashed; background: transparent; box-shadow: none; display: grid; place-items: center; text-align: center; color: var(--soft); min-height: 220px; }
.note.soon h2 { color: var(--soft); }

footer { border-top: 1px dashed var(--line); padding: 28px 0 44px; color: var(--soft); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--ink); }

/* App pages */
.app-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 48px 0 24px; }
.app-hero img.icon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.app-hero h1 { font: 800 clamp(32px, 5.5vw, 52px)/1.05 "Fraunces", Georgia, serif; letter-spacing: -.02em; margin: 0 0 6px; }
.app-hero .sub { font-size: 19px; color: var(--soft); margin: 0 0 14px; }
.lede { font-size: 20px; max-width: 680px; margin: 8px 0 28px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 40px; }
.shots img { border-radius: 14px; box-shadow: 0 10px 26px -14px rgba(0,0,0,.45); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0 0 40px; }
.points div { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.points h3 { font: 700 19px/1.2 "Fraunces", Georgia, serif; margin: 0 0 6px; }
.points p { margin: 0; color: var(--soft); font-size: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 56px; }
.links a { text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.links a:hover { border-color: var(--ink); }
.back { display: inline-block; margin-top: 8px; color: var(--soft); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--ink); }

@media (max-width: 700px) {
  .app-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .app-hero img.icon { width: 96px; height: 96px; border-radius: 22px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 32px 0 20px; }
  .board { gap: 30px; }
}
