/* matchmode.app, in the app's own look (MMTheme): black on white, one green for "go",
   system type, 4/8/16/24/32 spacing, 12px controls and 16px cards. Archivo Black only for
   the big display lines, as in the app. */
@font-face { font-family: "Archivo Black"; src: url("/fonts/ArchivoBlack-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #ffffff; --ink: #0a0a0b; --surface: #f1f1f3; --raised: #ffffff;
  --line: rgba(0, 0, 0, .14); --muted: rgba(0, 0, 0, .56);
  --go: #1e8f45; --on-go: #ffffff; --go-tint: #e6f6ec; --band: #2b6a3d;
  --r-control: 12px; --r-card: 16px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 12px 32px -12px rgba(10, 10, 11, .18);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --ink: #ffffff; --surface: rgb(20, 21, 24); --raised: rgb(28, 29, 33);
    --line: rgba(255, 255, 255, .16); --muted: rgba(255, 255, 255, .56);
    --go: #34c759; --on-go: #000000; --go-tint: rgba(52, 199, 89, .16); --band: #1f4d2c;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 48px -16px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: 13px; }
p { margin: 0 0 8px; }

/* type: the app's MMType sizes */
.display {
  font-family: "Archivo Black", -apple-system, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 9vw, 88px); line-height: .92; letter-spacing: -.02em; margin: 0 0 24px;
}
.display-sm { font-size: clamp(32px, 6vw, 52px); margin-bottom: 8px; }
.title { font-size: clamp(26px, 4vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 8px; }
.h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 16px; }
.h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.lead { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--go); margin: 0 0 16px; }
.link { color: var(--go); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* buttons: 15 semibold, 12px radius, like MMButton */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: var(--r-control);
  font-size: 15px; font-weight: 600; border: 0; cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), opacity .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); opacity: .85; }
.btn-go { background: var(--go); color: var(--on-go); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-quiet { background: var(--surface); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.wide { width: 100%; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stores.center { justify-content: center; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.crest { width: 24px; height: 27px; }
.crest-shield { fill: var(--ink); }
.crest-mm { fill: var(--bg); }
.top-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.top-nav a:not(.btn):hover { color: var(--muted); }
@media (max-width: 480px) { .top-nav a:not(.btn) { display: none; } }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--ink); }

/* hero */
.hero { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr .85fr; padding-top: 80px; padding-bottom: 80px; } }

/* phone: an Explore screen drawn in HTML with the app's own pieces */
.phone {
  justify-self: center; width: 300px; padding: 10px; border-radius: 48px; background: #0a0a0b;
  box-shadow: var(--shadow), 0 40px 80px -30px rgba(30, 143, 69, .35); transform: rotate(-2deg);
}
.screen { background: var(--bg); border-radius: 38px; padding: 28px 16px 20px; min-height: 560px; overflow: hidden; }
.m-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.m-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.m-sub { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 3px; }
.m-sub svg { width: 12px; height: 12px; }
.m-plus { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.m-search { background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.m-h { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.m-card { background: var(--surface); border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
.m-band { height: 64px; background: var(--band); position: relative; }
.m-tag { position: absolute; left: 10px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.m-body { padding: 10px 12px 12px; }
.m-t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.m-s { font-size: 12px; color: var(--muted); }
.m-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.m-dots { display: flex; align-items: center; }
.m-dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--surface); margin-right: -6px; background: #c9ccd1; }
.m-dots i:nth-child(2) { background: #8a9099; } .m-dots i:nth-child(3) { background: #e3c9a8; } .m-dots i:nth-child(4) { background: #5b6470; }
.m-dots b { font-size: 11px; font-weight: 600; margin-left: 10px; color: var(--muted); }
.m-going { background: var(--go-tint); color: var(--go); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.m-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.m-pitch { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--muted); display: grid; place-items: center; }
.m-pitch svg { width: 20px; height: 15px; }

/* sections */
.section { padding-top: 48px; padding-bottom: 8px; }
.band { background: var(--surface); padding: 48px 0; }
.band .card { background: var(--raised); }
.card { background: var(--surface); border-radius: var(--r-card); padding: 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* city tiles */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 32px; }
.city { background: var(--surface); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2); }
.city:hover { transform: translateY(-2px); }
.city:active { transform: scale(.98); }
.city-t { font-weight: 600; }
.city-s { font-size: 13px; color: var(--muted); }

/* lists, as the app's rows */
.list { border-top: 1px solid var(--line); margin-bottom: 16px; }
.venue { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.venue:hover { opacity: .7; }
.venue-main { flex: 1; min-width: 0; }
.venue-t { font-weight: 600; }
.chev { color: var(--muted); font-size: 22px; line-height: 1; }
.note { margin-top: 16px; max-width: 40em; }

/* venue page */
.venue-page { max-width: 640px; }
.place { display: flex; align-items: center; gap: 6px; font-size: 16px; margin-bottom: 16px; }
.place svg { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.gap { margin-top: 32px; margin-bottom: 12px; }
.acts { display: grid; gap: 8px; }
.loc { display: flex; flex-direction: column; gap: 4px; padding: 16px; transition: opacity .2s; }
.loc:hover { opacity: .8; }

/* faq */
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .25s cubic-bezier(.2, .9, .3, 1.2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* call to action */
.cta { text-align: center; background: var(--surface); border-radius: 24px; padding: 40px 24px 24px; margin: 32px 0 16px; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 40px 0 24px; font-size: 15px; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-grid .brand { margin-bottom: 8px; }
.foot-grid a:not(.brand) { display: block; padding: 3px 0; color: var(--muted); }
.foot-grid a:not(.brand):hover { color: var(--ink); }
.foot-h { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.foot-small { padding-top: 24px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .phone { transform: none; } }

/* matchday look: black and green blocks, big Archivo Black caps, hard lines.
   The header and footer stay white in both themes, so the MM badge is always black. */
.top, .foot {
  --bg: #ffffff; --ink: #0a0a0b; --surface: #f1f1f3; --line: rgba(0, 0, 0, .14); --muted: rgba(0, 0, 0, .56); --go: #1e8f45;
  background: #fff; color: #0a0a0b;
}
.top { backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.top-row { height: 76px; }
.brand, .foot-grid .brand { gap: 10px; font: 400 22px/1 "Archivo Black", -apple-system, sans-serif; text-transform: uppercase; letter-spacing: -.02em; }
.crest { width: 42px; height: 47px; flex: none; }
.foot .crest { width: 56px; height: 63px; }
.foot .brand { font-size: 28px; }
.foot { margin-top: 0; }
.top-nav { font-weight: 600; }
@media (max-width: 480px) { .brand { font-size: 18px; } .crest { width: 36px; height: 40px; } }

.dark, .loud { background: var(--bg); color: var(--ink); }
.dark {
  --bg: #000000; --ink: #ffffff; --surface: rgb(20, 21, 24); --raised: rgb(28, 29, 33);
  --line: rgba(255, 255, 255, .22); --muted: rgba(255, 255, 255, .62);
  --go: #34c759; --on-go: #000000; --go-tint: rgba(52, 199, 89, .16); --band: #1f4d2c;
}
.loud { --bg: #34c759; --ink: #000000; --muted: rgba(0, 0, 0, .72); --line: rgba(0, 0, 0, .3); }
.loud .crest-shield { fill: #000; }
.loud .crest-mm { fill: #fff; }
.green { color: var(--go); }
.display-xl { font-size: clamp(52px, 14.5vw, 132px); line-height: .88; }
.title, .h2 {
  font: 400 clamp(30px, 5vw, 48px)/1 "Archivo Black", -apple-system, sans-serif;
  text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 24px;
}
.title.small-t, .card .title { font-size: 26px; }
.btn-black { background: #000; color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .04em; }

/* the moving strip under the home hero */
.strip { background: #34c759; color: #000; overflow: hidden; padding: 12px 0; }
.strip div { display: flex; width: max-content; animation: strip 60s linear infinite; }
.strip span { font: 400 20px/1 "Archivo Black", -apple-system, sans-serif; text-transform: uppercase; padding-right: 40px; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip div { animation: none; } }

/* huge words, then a paragraph that says the rest */
.big-words {
  font: 400 clamp(52px, 13vw, 128px)/.92 "Archivo Black", -apple-system, sans-serif;
  text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 32px;
}
.big-words-sm { font-size: clamp(32px, 9vw, 80px); }
.prose { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 38em; margin: 0 0 16px; }

