:root {
  --bg: #f5efe7;
  --surface: #fffaf5;
  --surface-strong: #fff5eb;
  --surface-dark: #111827;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #111827;
  --muted: #4b5563;
  --muted-soft: #6b7280;
  --brand: #f86600;
  --brand-deep: #d75600;
  --brand-ink: #7e3400;
  --blue: #2052d1;
  --green: #15856c;
  --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.14);
  --shadow-md: 0 18px 40px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(248, 102, 0, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffaf5 0%, #f5efe7 60%, #efe5d9 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 245, 0.72);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(248, 102, 0, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  background: var(--brand);
  color: white !important;
  box-shadow: 0 16px 28px rgba(248, 102, 0, 0.28);
}

.nav-toggle {
  display: none;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text,
.section-head p,
.feature-card p,
.problem-card p,
.step-card p,
.format-card p,
.article-card p,
.cta-banner p,
.faq-item p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 36rem;
  margin: 1.3rem 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff8f32 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(248, 102, 0, 0.28);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0;
}

.proof-strip div {
  min-width: 8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.proof-strip dt {
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.proof-strip dd {
  margin: 0.35rem 0 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.58)),
    url("../assets/match-hero.jpg") center / cover;
  box-shadow: var(--shadow-lg);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.58));
}

.hero-card-top,
.score-stack {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(248, 102, 0, 0.94);
}

.score-stack {
  display: grid;
  gap: 0.95rem;
}

.score-card {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.score-card-alt {
  background: rgba(255, 247, 239, 0.96);
}

.score-card-header,
.article-meta,
.score-teams,
.score-teams div,
.leaderboard li,
.footer-grid,
.faq-wrap,
.split-head,
.cta-banner,
.article-toolbar {
  display: flex;
}

.score-card-header,
.article-meta {
  justify-content: space-between;
  gap: 1rem;
}

.score-card-header {
  margin-bottom: 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.score-teams {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.score-teams + .score-teams {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.score-teams div {
  flex-direction: column;
  gap: 0.25rem;
}

.score-teams strong {
  font-size: 1rem;
}

.score-teams small {
  color: var(--muted-soft);
}

.score-teams b {
  font-family: "Sora", sans-serif;
  font-size: 1.9rem;
  color: var(--brand);
}

.score-teams-muted b {
  color: #59657d;
}

.leaderboard {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.leaderboard li {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.leaderboard li:first-child {
  padding-top: 0;
  border-top: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.7;
}

.hero-orb-left {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  top: 2rem;
  background: rgba(248, 102, 0, 0.18);
}

.hero-orb-right {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: 6rem;
  background: rgba(32, 82, 209, 0.16);
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: rgba(255, 250, 245, 0.75);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(248, 102, 0, 0.22), transparent 22rem),
    linear-gradient(180deg, #111827 0%, #172033 100%);
  color: white;
}

.section-dark .section-head p,
.section-dark .step-card p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 48rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.06;
  margin-bottom: 1rem;
}

.split-head {
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.split-head > * {
  flex: 1 1 0;
}

.problem-grid,
.feature-grid,
.steps-grid,
.format-grid,
.article-grid {
  display: grid;
  gap: 1.2rem;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.feature-card,
.step-card,
.article-card,
.faq-item,
.article-shell,
.article-sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.problem-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.78);
}

.problem-card h3,
.feature-card h3,
.step-card h3,
.format-card h3,
.article-card h3,
.faq-item summary,
.article-shell h2,
.article-sidebar-card h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: rgba(248, 102, 0, 0.12);
  color: var(--brand-deep);
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.step-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.44);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.format-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-card {
  min-height: 20rem;
  padding: 1.65rem;
  border-radius: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.format-card p {
  color: rgba(255, 255, 255, 0.82);
}

.format-card a {
  font-weight: 700;
}

.format-card-americano {
  background: linear-gradient(160deg, #fa6c04 0%, #a73f00 100%);
}

.format-card-mexicano {
  background: linear-gradient(160deg, #2052d1 0%, #0c234f 100%);
}

.format-card-match {
  background: linear-gradient(160deg, #1f8a70 0%, #0b2d24 100%);
}

.format-label,
.article-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.format-label {
  background: rgba(255, 255, 255, 0.14);
}

.article-toolbar {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.filter-pill {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 0.78rem 1rem;
  color: var(--muted);
  cursor: pointer;
}

.filter-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
}

.article-card[data-hidden="true"] {
  display: none;
}

.article-tag {
  margin-bottom: 1rem;
  background: rgba(248, 102, 0, 0.12);
  color: var(--brand-deep);
}

.article-meta {
  align-items: center;
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted-soft);
}

.article-meta a {
  color: var(--brand-deep);
  font-weight: 700;
}

.cta-banner {
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 16rem),
    linear-gradient(135deg, #f86600 0%, #d75600 100%);
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-banner p,
.cta-banner .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-banner .eyebrow {
  margin-bottom: 0.6rem;
}

.faq-wrap {
  align-items: start;
  gap: 2rem;
}

.faq-head {
  flex: 0 0 min(24rem, 100%);
  margin-bottom: 0;
}

.faq-list {
  flex: 1 1 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.88);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.site-footer {
  padding: 3.5rem 0;
  background: #0c1423;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  align-items: start;
  justify-content: space-between;
  gap: 1.6rem;
}

.footer-grid > * {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.brand-footer {
  margin-bottom: 0.4rem;
  color: white;
}

.footer-grid h3 {
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: white;
}

.article-page {
  background:
    radial-gradient(circle at top left, rgba(32, 82, 209, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffaf5 0%, #f5efe7 50%, #f0e7dd 100%);
}

.article-hero {
  padding: 4.5rem 0 2.5rem;
}

.article-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.article-breadcrumbs a {
  color: var(--brand-deep);
  font-weight: 700;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
}

.article-hero h1 {
  max-width: 14ch;
}

.article-hero p {
  margin-top: 1.2rem;
  max-width: 40rem;
}

.article-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.article-meta-chip {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.article-hero-card {
  min-height: 20rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(17, 24, 39, 0.7)),
    url("../assets/match-hero.jpg") center / cover;
  box-shadow: var(--shadow-lg);
}

.article-content-section {
  padding: 0 0 4.8rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.5rem;
  align-items: start;
}

.article-shell {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
}

.article-shell > * + * {
  margin-top: 1.25rem;
}

.article-shell p,
.article-shell li {
  color: var(--muted);
  line-height: 1.8;
}

.article-shell ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-shell blockquote {
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  background: rgba(248, 102, 0, 0.08);
  color: var(--brand-ink);
  font-weight: 600;
}

.article-shell h2 {
  margin-top: 2rem;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.article-sidebar-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.86);
}

.article-sidebar-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.article-sidebar-card a {
  color: var(--brand-deep);
  font-weight: 700;
}

.article-inline-cta {
  margin-top: 2.25rem;
  padding: 1.35rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(248, 102, 0, 0.2), transparent 13rem),
    linear-gradient(180deg, #172033 0%, #111827 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.article-inline-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.article-inline-cta .nav-cta {
  display: inline-flex;
  margin-top: 0.9rem;
}

.article-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.article-link-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.article-link-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.article-link-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.article-link-card p {
  margin: 0.65rem 0 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.article-link-card a {
  display: inline-flex;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--brand-deep);
}

@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .feature-grid,
  .steps-grid,
  .format-grid,
  .article-grid,
  .article-hero-grid,
  .article-layout,
  .faq-wrap,
  .footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 250, 245, 0.96);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .split-head {
    align-items: start;
  }

  .article-sidebar {
    position: static;
  }

  .article-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-section {
    padding-top: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-card,
  .cta-banner,
  .article-shell {
    padding: 1.25rem;
  }

  .hero-card {
    border-radius: 28px;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .site-footer {
    padding-bottom: 5rem;
  }
}
