/* MythicRep marketing site. Colors match the app's theme tokens (mythicrep-web/src/styles/index.css). */

@font-face {
  font-family: 'Archivo Black';
  src: url('assets/fonts/ArchivoBlack-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #15171f;
  --ink-deep: #0b0d14;
  --ink-raised: #1e2130;
  --ink-line: #2e3242;
  --paper: #f2efe6;
  --paper-muted: #a3a8ba;
  --paper-soft: #c9ccd8;
  --cream: #f4efe3;
  --cream-band: #e8e0cc;
  --cream-ink: #2e3040;
  --gold: #f2b33d;
  --gold-frame: #d9a632;
  --violet: #7a3fb8;
  --strength: #c8501e;
  --cardio: #3d7dd8;
  --hiit: #7a3fb8;
  --display: 'Archivo Black', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1080px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--ink-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 35px;
}
.wordmark {
  font-family: var(--display);
  font-size: 22px;
  color: var(--paper);
}
.wordmark .mythic {
  color: var(--gold);
}
.site-nav {
  display: flex;
  gap: 22px;
}
.site-nav a {
  color: var(--paper-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: radial-gradient(ellipse at 70% 40%, #232740 0%, var(--ink) 60%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
}
.hero .lede {
  font-size: 19px;
  color: var(--paper-soft);
  max-width: 34em;
  margin: 0 0 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 12px;
}
.button.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--ink-line);
}
.button[aria-disabled='true'] {
  cursor: default;
}
.fine {
  color: var(--paper-muted);
  font-size: 14px;
}

/* Cards (a simplified CardFace) */
.fan {
  position: relative;
  height: 430px;
}
.card {
  position: absolute;
  width: 250px;
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.5);
}
.card .face {
  background: var(--cream);
  border-radius: 11px;
  overflow: hidden;
  color: var(--cream-ink);
}
.card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--cream-band);
  font-family: var(--display);
  font-size: 15px;
}
.card .lv {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  color: #5b5e6e;
}
.card .art {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.card .text {
  padding: 9px 11px 12px;
  font-size: 13px;
  line-height: 1.4;
  font-style: italic;
  min-height: 62px;
}
.card .suit {
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.suit.strength {
  color: var(--strength);
}
.suit.cardio {
  color: var(--cardio);
}
.suit.hiit {
  color: var(--hiit);
}

.frame-standard {
  background: #8b8f9e;
}
.frame-gold {
  background: linear-gradient(140deg, #f7d27a, var(--gold-frame) 45%, #a87a18);
}
.frame-foil {
  background: linear-gradient(115deg, #b8bccb, #eef1f8 18%, #9fe3ff 32%, #f5b8ff 46%, #fff6c2 58%, #b6ffd9 70%, #eef1f8 84%, #b8bccb);
  background-size: 300% 300%;
  animation: foil 6s linear infinite;
}
.frame-mythic {
  background: conic-gradient(from var(--angle, 0deg), #2a1240, #f2b33d 12%, #4b1f7a 25%, #1a0b2a 45%, #f2b33d 62%, #5e2a96 75%, #2a1240);
  box-shadow:
    0 0 34px rgb(122 63 184 / 0.55),
    0 24px 50px rgb(0 0 0 / 0.5);
  animation: mythic 8s linear infinite;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes mythic {
  to {
    --angle: 360deg;
  }
}
@keyframes foil {
  to {
    background-position: 300% 50%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-foil,
  .frame-mythic {
    animation: none;
  }
}

.fan .card:nth-child(1) {
  left: 0;
  top: 40px;
  transform: rotate(-9deg);
}
.fan .card:nth-child(2) {
  left: 22%;
  top: 0;
  transform: rotate(0deg);
  z-index: 2;
}
.fan .card:nth-child(3) {
  left: 44%;
  top: 40px;
  transform: rotate(9deg);
}

/* Sections */
section {
  padding: 72px 0;
}
section.alt {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
}
.section-head p {
  color: var(--paper-soft);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  padding: 22px;
}
.tile h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.tile p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 16px;
}
.tile .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #2a2418;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 14px;
}

.frames {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.frames .tier {
  text-align: center;
}
.frames .swatch {
  aspect-ratio: 5 / 7;
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 12px;
}
.frames .swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.frames strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
}
.frames span {
  color: var(--paper-muted);
  font-size: 14px;
}

.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.roster img {
  border-radius: 12px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--paper-soft);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 37%);
  mask: radial-gradient(circle, #000 35%, transparent 37%);
  box-shadow: 0 0 0 3px var(--gold) inset;
}
.checks strong {
  color: var(--paper);
}

.announcer {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 14px;
  font-size: 16px;
}
.announcer b {
  color: var(--gold);
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.closing {
  text-align: center;
}
.closing .cta-row {
  justify-content: center;
}
.closing img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 20px;
}

/* Long-form pages: support and privacy */
.page {
  padding: 56px 0 80px;
}
.prose {
  max-width: 720px;
}
.prose h1 {
  font-size: clamp(32px, 5vw, 44px);
}
.prose h2 {
  font-size: 24px;
  margin-top: 44px;
}
.prose h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  margin: 28px 0 6px;
}
.prose p,
.prose li {
  color: var(--paper-soft);
}
.prose strong {
  color: var(--paper);
}
.prose .meta {
  color: var(--paper-muted);
  font-size: 15px;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 6px;
}
.summary {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0 8px;
}
.summary p:last-child {
  margin-bottom: 0;
}

details {
  border-bottom: 1px solid var(--ink-line);
  padding: 4px 0;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
  color: var(--paper);
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 22px;
  color: var(--gold);
}
details[open] summary::after {
  content: '\2212';
}
details > *:not(summary) {
  margin-top: 0;
}
.contact {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
}
.contact h2 {
  margin-top: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ink-line);
  padding: 32px 0 44px;
  color: var(--paper-muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
}
.site-footer a {
  color: var(--paper-soft);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 860px) {
  .hero .wrap,
  .split {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .fan {
    height: 380px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .card {
    width: 210px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .frames {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .site-nav {
    gap: 16px;
  }
  .site-nav a {
    font-size: 14px;
  }
  .wordmark {
    font-size: 19px;
  }
  .grid,
  .roster {
    grid-template-columns: 1fr;
  }
  .fan {
    height: 300px;
  }
  .card {
    width: 160px;
  }
  .card .top {
    font-size: 12px;
  }
  .card .text {
    font-size: 11px;
    min-height: 48px;
  }
  .fan .card:nth-child(2) {
    left: 25%;
  }
  .fan .card:nth-child(3) {
    left: auto;
    right: 0;
  }
  section {
    padding: 56px 0;
  }
}

.body {
  color: var(--paper-soft);
}

/* Shared deck page */
.share-page {
  margin: 0 auto;
  text-align: center;
}
.share-page img {
  margin: 0 auto 20px;
}
.share-page .cta-row {
  justify-content: center;
  margin: 24px 0;
}
.button[hidden] {
  display: none;
}
