/* Sports Fusion brand tokens, same values as the suite's own stylesheets. */
:root {
  --sf-black: #000000;
  --sf-charcoal: #1c1c1e;
  --sf-sun: #fdcb14;
  --sf-spark: #f8ef42;
  --sf-red: #ea3e3a;
  --sf-page: #e9e6e1;
  --sf-card: #ffffff;
  --sf-ink: #111111;
  --sf-muted: #5c5c5c;
  --sf-hairline: #d9d4cc;
  --sf-gradient: linear-gradient(120deg, #fdcb14 0%, #f7a238 38%, #f0763d 68%, #ea3e3a 100%);
  --sf-radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--sf-page);
  color: var(--sf-ink);
  line-height: 1.5;
}

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* A demo must say so, everywhere, so a screenshot can never be mistaken
   for the real console in someone's board pack. */
.demo-bar {
  background: var(--sf-black); color: var(--sf-sun);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; text-align: center; padding: 8px 16px;
}

header.top { background: var(--sf-black); color: #fff; padding: 28px 0 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brandmark { height: 28px; width: auto; display: block; }
.seam { height: 4px; background: var(--sf-gradient); margin-top: 24px; }

.picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 0 0; }
.picker label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #bdbdbd; }
.picker select {
  font: inherit; font-weight: 700; color: #fff; background: #1c1c1e;
  border: 1px solid #3a3a3d; border-radius: 999px; padding: 9px 16px; min-width: 190px;
}
.picker select:focus-visible { outline: 2px solid var(--sf-sun); outline-offset: 2px; }

/* ---- landing ---- */
.hero { padding: 64px 0 10px; }
.hero .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sf-muted); margin: 0 0 14px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.04; margin: 0 0 16px; }
.hero h1 em { font-style: normal; background: var(--sf-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 18px; color: var(--sf-muted); margin: 0; max-width: 60ch; }

.context {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0;
  margin: 34px 0 0; background: var(--sf-card); border: 1px solid var(--sf-hairline);
  border-radius: var(--sf-radius); overflow: hidden;
}
.context div { padding: 18px 22px; border-right: 1px solid var(--sf-hairline); }
.context div:last-child { border-right: 0; }
.context dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 5px; }
.context dd { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; padding: 40px 0 72px; }

.card {
  display: flex; flex-direction: column; background: var(--sf-card);
  border: 1px solid var(--sf-hairline); border-radius: var(--sf-radius);
  overflow: hidden; text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px); border-color: #c9c2b6;
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
}
.card:focus-visible { outline: 2px solid var(--sf-sun); outline-offset: 3px; }

.card .shot { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #111; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 420ms ease; }
.card:hover .shot img { transform: scale(1.04); }
/* A wash rather than a flat scrim: the photograph still reads, and the seam
   below it carries the brand colour instead of the image fighting it. */
.card .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.42) 100%);
}
.card .seam-thin { height: 3px; background: var(--sf-gradient); }

/* The product wordmarks are white type with a coloured mark, drawn for the
   black band at the top of an email. On a white card only the mark showed.
   They keep their own band here, which is also how the emails read. */
.card .plate { background: var(--sf-black); padding: 16px 24px; }
.card .mark { height: 26px; width: auto; display: block; }

.card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card p { margin: 0 0 20px; color: var(--sf-muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.card .go { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-ink); }
.card .go::after { content: " \2192"; color: var(--sf-red); }

footer.foot { border-top: 1px solid var(--sf-hairline); padding: 22px 0 48px; color: var(--sf-muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .card, .card .shot img { transition: none; }
  .card:hover, .card:focus-visible { transform: none; }
  .card:hover .shot img { transform: none; }
}

/* ---- system pages: a mock sign-in, then a mock console ---- */
.sys-head { background: var(--sf-black); color: #fff; padding: 22px 0; }
.sys-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sys-head a.back { font-size: 13px; color: #bdbdbd; text-decoration: none; }
.sys-head a.back:hover { color: var(--sf-sun); }
.sys-title { font-size: 19px; font-weight: 900; margin: 0; }
.sys-title span { color: var(--sf-sun); }
.sys-mark { height: 26px; width: auto; display: block; }

.signin { max-width: 420px; margin: 56px auto; background: var(--sf-card); border: 1px solid var(--sf-hairline); border-radius: var(--sf-radius); padding: 32px; }
.signin h2 { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.signin .sub { margin: 0 0 22px; color: var(--sf-muted); font-size: 14px; }
.signin label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-muted); margin: 14px 0 5px; }
.signin input { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--sf-hairline); border-radius: 10px; background: #faf8f5; }
.signin input:focus-visible { outline: 2px solid var(--sf-sun); outline-offset: 1px; }
.signin button { width: 100%; margin-top: 22px; font: inherit; font-weight: 700; padding: 13px; border: 0; border-radius: 999px; background: var(--sf-sun); color: var(--sf-black); cursor: pointer; }
.signin button:hover { background: var(--sf-spark); }
.signin .hint { margin: 16px 0 0; font-size: 12.5px; color: var(--sf-muted); text-align: center; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 28px 0; }
.stat { background: var(--sf-card); border: 1px solid var(--sf-hairline); border-radius: var(--sf-radius); padding: 18px 20px; }
.stat dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 6px; }
.stat dd { margin: 0; font-size: 27px; font-weight: 900; letter-spacing: -0.02em; }

.panel { background: var(--sf-card); border: 1px solid var(--sf-hairline); border-radius: var(--sf-radius); overflow: hidden; margin-bottom: 40px; }
.panel h3 { margin: 0; padding: 18px 20px; font-size: 15px; font-weight: 900; border-bottom: 1px solid var(--sf-hairline); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-muted); padding: 11px 20px; border-bottom: 1px solid var(--sf-hairline); }
td { padding: 11px 20px; border-bottom: 1px solid #f0ece6; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pill.active { background: #e6f6ea; color: #1f7a38; }
.pill.pending { background: #fff4d6; color: #8a6400; }
.pill.transferred { background: #eceaff; color: #4b3fa8; }

/* ---- Match: fixtures and table ---- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.score { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.when { color: var(--sf-muted); font-size: 13px; white-space: nowrap; }

/* ---- Pathways ---- */
.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 40px; }
.profile { background: var(--sf-card); border: 1px solid var(--sf-hairline); border-radius: var(--sf-radius); padding: 20px; }
.profile h4 { margin: 0 0 3px; font-size: 16px; font-weight: 900; }
.profile .meta { margin: 0 0 14px; font-size: 13px; color: var(--sf-muted); }
.profile .interest { font-size: 13.5px; font-weight: 700; }
.profile .consent { display: block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.profile .consent.granted { color: #1f7a38; }
.profile .consent.pending { color: #8a6400; }

/* ---- MySportsApp: a phone, because that is where it lives ---- */
.phone-row { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; margin-bottom: 48px; }
@media (max-width: 760px) { .phone-row { grid-template-columns: 1fr; } }
.phone { background: var(--sf-black); border-radius: 30px; padding: 12px; box-shadow: 0 18px 50px rgba(0,0,0,0.22); }
.phone-screen { background: var(--sf-page); border-radius: 21px; overflow: hidden; min-height: 520px; }
.phone-top { background: var(--sf-black); color: #fff; padding: 14px 18px 18px; }
.phone-top .pname { font-size: 17px; font-weight: 900; margin: 0; }
.phone-top .pmeta { margin: 2px 0 0; font-size: 12px; color: #bdbdbd; }
.pcard { margin: -10px 14px 0; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.pcard .pid { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-muted); }
.pcard .pval { font-size: 15px; font-weight: 900; }
.pcard .strip { height: 3px; border-radius: 2px; background: var(--sf-gradient); margin: 10px 0; }
.feed { padding: 16px 14px 20px; }
.feed li { list-style: none; background: #fff; border: 1px solid var(--sf-hairline); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.feed p { margin: 0; font-size: 13.5px; font-weight: 500; }
.feed time { display: block; margin-top: 5px; font-size: 11.5px; color: var(--sf-muted); }
.feed ul { margin: 0; padding: 0; }

.card .creds {
  font-size: 12px; color: var(--sf-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #faf8f5; border: 1px solid var(--sf-hairline); border-radius: 8px;
  padding: 8px 10px; margin: 0 0 16px; word-break: break-word;
}
.card-static { opacity: 0.92; }
.card-static:hover { transform: none; box-shadow: none; }
.card .note { font-size: 13px; color: var(--sf-muted); line-height: 1.5; }
