@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f4fa;
  --paper: #ffffff;
  --surface: #ece7f4;
  --soft: #f2edf9;
  --ink: #1e1828;
  --muted: #5a5268;
  --accent: #6d4eae;
  --accent-strong: #563a91;
  --accent-soft: #e6ddf5;
  --accent-ink: #ffffff;
  --gold-soft: #fcf4df;
  --gold-ink: #7d5610;
  --line: rgba(30, 24, 40, 0.09);
  --line-strong: rgba(109, 78, 174, 0.28);
  --shadow-sm: 0 6px 18px rgba(28, 20, 44, 0.05);
  --shadow-md: 0 14px 36px rgba(28, 20, 44, 0.08);
  --shadow-lg: 0 24px 52px rgba(28, 20, 44, 0.12);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
  --display: Outfit, ui-sans-serif, system-ui, sans-serif;
  --text: Outfit, ui-sans-serif, system-ui, sans-serif;
  --step-small: 0.875rem;
  --step-body: 1rem;
  --step-lead: 1.08rem;
  --step-head: clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem);
  --page: 1220px;
  --read: 68ch;
  --margin: 24px;
  --gutter: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 78, 174, 0.08), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(109, 78, 174, 0.06), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.62;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, output, select { color: inherit; font: inherit; }
a { color: inherit; text-underline-offset: 0.18em; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, section { scroll-margin-top: 88px; }

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  transform: translateY(-200%);
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { transform: none; }

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(109, 78, 174, 0.26);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
}

.btn:active { transform: scale(0.97); }

.btn-quiet {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-nav {
  min-height: 40px;
  padding-inline: 18px;
  white-space: nowrap;
  font-size: 0.88rem;
  box-shadow: 0 6px 16px rgba(109, 78, 174, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
  .btn-quiet:hover { background: var(--paper); border-color: var(--accent); }
}

/* Header */
.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 20px;
  padding: 10px max(var(--margin), calc((100vw - var(--page)) / 2));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.03em; }

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-drop { position: relative; padding-block: 10px; }
.nav-drop > a,
.nav-sub a { text-decoration: none; }
.nav-drop > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 160ms ease, background-color 160ms ease;
}
.nav-drop > a[aria-current="page"],
.nav-drop:hover > a,
.nav-drop:focus-within > a {
  color: var(--accent);
  background: var(--soft);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  display: none;
  min-width: 268px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.nav-sub a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: var(--step-small);
  font-weight: 500;
}
.nav-sub a:hover,
.nav-sub a:focus-visible,
.nav-sub a[aria-current="page"] {
  background: var(--soft);
  color: var(--accent-strong);
}
.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub { display: block; }
.nav-mobile { display: none; }

main {
  width: min(var(--page), calc(100vw - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

/* Scenic Home Hero (latam-1 style in white + lilac) */
.home-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 58px 28px 112px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #e9e2f5;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 70% at 50% 44%, rgba(255, 255, 255, 0.94) 0%, rgba(248, 245, 253, 0.84) 56%, rgba(246, 244, 250, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(246, 244, 250, 0.18) 65%, rgba(246, 244, 250, 0.9) 100%);
  z-index: 2;
}

.home-hero__content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.home-hero__lead {
  margin: 16px auto 0;
  max-width: 60ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: #362e47;
  font-weight: 500;
}

.home-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.home-hero__meta {
  margin: 16px auto 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.home-hero__meta strong {
  color: var(--accent-strong);
  font-weight: 700;
}

/* 5 Direction Feature Cards overlapping Home Hero */
.direction-cards-wrap {
  position: relative;
  z-index: 5;
  margin-top: -66px;
  padding: 0 18px;
}

.direction-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.direction-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .direction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-strong);
  }
}

.direction-card__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.direction-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.direction-card h2,
.direction-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.direction-card p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Section Headers & Game Category Cards */
.section-block {
  margin-top: 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: var(--step-head);
  color: var(--ink);
}

.section-header p {
  margin: 6px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.pill-tab:hover,
.pill-tab.is-active {
  background: var(--soft);
  border-color: var(--line-strong);
  color: var(--accent-strong);
}

.illustrated-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
  }
  .media-card:hover .media-card__thumb img {
    transform: scale(1.04);
  }
}

.media-card__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #221a30;
}

.media-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}

.media-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.media-card__body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.media-card__body p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 3 Trust Badges Row */
.trust-badges-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-badge-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.trust-badge-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.trust-badge-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust-badge-card h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-badge-card p {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Detail Overview Two-Column Cards */
.detail-overview {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.toc-card,
.quick-facts-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.quick-facts-card {
  background: var(--soft);
  border-color: var(--line-strong);
}

.toc-card h2,
.quick-facts-card h2 {
  margin: 0 0 14px;
  font-size: 1.28rem;
  color: var(--ink);
}

/* Editorial Article Cards */
.article-card {
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.article-card--with-art {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.article-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.38rem, 2vw, 1.8rem);
}

.article-card h2:not(:first-child) {
  margin-top: 28px;
}

.article-card h3 {
  margin: 20px 0 8px;
  font-size: 1.08rem;
}

.article-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.article-card p:last-child { margin-bottom: 0; }

.article-card a,
.main a,
.tile-copy a,
.stair a,
.links a,
.facts a,
.related a {
  color: var(--accent);
  font-weight: 600;
}

.article-spot-art {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.article-spot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-grid-2 {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editorial-grid-2 .article-card {
  margin-top: 0;
}

/* Test Offers Section (injected by script.js) */
.offers {
  margin-top: 32px;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.offers-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.offers h2 {
  margin: 0;
  font-size: 1.35rem;
}

.offers-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-list {
  display: grid;
  gap: 12px;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(200px, 2.5fr) minmax(220px, 3fr) 120px 156px;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.offer-row-featured {
  background: var(--soft);
  border-color: var(--line-strong);
}

.offer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.offer-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 700;
}

.offer-brand h3 { margin: 0 0 2px; font-size: 1.02rem; }
.offer-brand p { margin: 0; color: var(--muted); font-size: 0.8rem; }

.offer-value { margin: 0; line-height: 1.3; }
.offer-value strong { display: block; font-size: 0.98rem; color: var(--ink); }
.offer-value span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.8rem; }

.offer-score { display: flex; align-items: baseline; gap: 4px; margin: 0; white-space: nowrap; }
.offer-score strong { font-size: 1.2rem; color: var(--accent-strong); }
.offer-score span { color: var(--muted); font-size: 0.8rem; }

.offer-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.offer-action:hover { background: var(--accent-strong); }
.offers-note { margin: 14px 0 0; color: var(--muted); font-size: 0.8rem; }

/* Sheets, Tables, Checklists (Home + Inner pages) */
.sheet {
  margin-top: 24px;
  padding: 32px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.side {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main { min-width: 0; }
.main h2 {
  margin: 32px 0 12px;
  font-size: clamp(1.38rem, 2vw, 1.85rem);
}
.main h2:first-child { margin-top: 0; }
.main h3 { margin: 24px 0 8px; font-size: 1.15rem; }
.main p,
.main li { max-width: var(--read); line-height: 1.68; color: var(--muted); }
.main p strong,
.main li strong { color: var(--ink); }
.main p { margin: 0 0 14px; }
.main ul,
.main ol { margin: 0 0 18px; padding-left: 1.25em; }

.q-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.q-list li {
  max-width: none;
  margin: 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.topic {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px 24px;
  align-items: start;
  margin: 28px 0;
}
.topic:first-child { margin-top: 0; }
.topic img {
  width: 160px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--soft);
}
.topic h2 { margin-top: 0; }

.inline-photo {
  margin: 22px 0 26px;
  max-width: 560px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}
.inline-photo img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

/* Check & Proof tables */
.check,
.proof {
  margin-top: 24px;
  padding: 30px 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.check > h2,
.proof > h2 {
  margin: 0 0 14px;
  font-size: var(--step-head);
}
.proof h2 span + span { margin-left: 0.25em; }

.check-grid .list-note { color: var(--muted); margin: 0 0 12px; }
.check-grid > ul { margin: 0 0 20px; padding-left: 1.2em; color: var(--muted); }
.check-grid .shot {
  width: min(100%, 340px);
  height: 160px;
  margin: 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.check-grid .shot img { width: 100%; height: 100%; object-fit: cover; }
.col-label { margin: 18px 0 10px; font-size: 1rem; font-weight: 700; }
.check .takeaway,
.check .links { margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }

.rows,
.facts,
.md-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.md-table { max-width: none; margin: 18px 0 26px; }
.rows td,
.facts td,
.md-table th,
.md-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.md-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.rows tr:last-child td,
.facts tr:last-child td,
.md-table tr:last-child td { border-bottom: 0; }
.md-table td:first-child,
.md-table th:first-child,
.rows td:first-child,
.facts td:first-child { width: 24%; font-weight: 700; color: var(--ink); }
.rows td:last-child,
.facts td:last-child { text-align: right; white-space: nowrap; }
.rows a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* Callout Field Banner */
.field {
  margin-top: 24px;
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2b1d47 0%, #4d3282 100%);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: var(--shadow-md);
}
.field p { margin: 0; }
.field-num {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f6d365;
}
.field-line {
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* Wagering Calculator (Stairs) */
.stairs {
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stairs form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.stair {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}

.stair:nth-child(3) {
  background: var(--soft);
  border-color: var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stair:nth-child(4) {
  grid-column: 1 / -1;
  padding: 14px 18px;
  background: var(--gold-soft);
  border-color: rgba(217, 164, 65, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.clause {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.stair p,
.stair label {
  display: block;
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.stair input {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  caret-color: var(--accent);
}
.stair input:focus { border-color: var(--accent); outline: 0; }

.out {
  display: block;
  margin-top: 4px;
  color: var(--accent-strong);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

/* FAQ Stack */
.faq {
  margin-top: 40px;
}
.faq-row {
  margin: 0 0 12px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.faq-row:first-child {
  padding: 0 0 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.faq-row h2 { margin: 0; font-size: var(--step-head); }
.faq-row h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); }
.faq-row p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Provenance / Close Block */
.close {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.close-photos { display: none; }
.close-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.close-copy { max-width: 72ch; }
.close-statement { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.close-copy p { margin: 6px 0 0; font-size: 0.88rem; color: var(--muted); }
.portrait {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: contain;
  background: var(--soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* Inner Pages Head (Split Hero style like latam-1) */
.page-head {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.crumbs {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.1;
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}
.page-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 16 / 10;
  max-height: 260px;
}
.page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary {
  margin: 22px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--soft);
  border: 1px solid var(--line-strong);
}
.summary p { margin: 0; color: var(--ink); }
.summary strong { display: block; margin-bottom: 6px; font-size: 1.08rem; color: var(--accent-strong); }
.takeaway-box {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 0.96rem;
}
.checklist { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.checklist li {
  position: relative;
  margin: 0;
  padding: 11px 14px 11px 36px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  top: 11px;
  left: 13px;
  font-weight: 700;
  color: var(--accent-strong);
}
.related { padding: 12px 0; font-size: 0.92rem; }
.article blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--soft);
  border-left: 4px solid var(--accent);
  color: var(--ink);
}
.age-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--muted);
  font-size: var(--step-small);
}

/* Footer */
.footer {
  padding: 44px max(var(--margin), calc((100vw - var(--page)) / 2)) 32px;
  background: #191324;
  color: var(--paper);
}
.footer-name {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.footer-name a { text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.places a { display: block; margin: 0 0 8px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.places a:hover,
.foot-links a:hover { color: #d5c2ff; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.foot-links a { display: block; margin: 0 0 8px; color: rgba(255, 255, 255, 0.74); font-size: var(--step-small); text-decoration: none; }
.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--step-small);
}
.legal p { max-width: 76ch; margin: 0; }
.legal a { color: inherit; }

/* Responsive */
@media (max-width: 1024px) {
  .direction-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .illustrated-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stairs form { grid-template-columns: 1fr 1fr; }
  .stair:nth-child(3) { grid-column: 1 / -1; }
  .offer-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  :root { --margin: 18px; }
  main { width: calc(100vw - 28px); padding: 16px 0 48px; }
  .bar { min-height: 64px; gap: 12px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile:not([open]) .drawer-group { display: none; }
  .nav-mobile summary {
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--accent-strong);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    list-style: none;
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile[open] {
    position: fixed;
    inset: 0;
    z-index: 80;
    overflow: auto;
    padding: 18px var(--margin) 48px;
    background: var(--paper);
  }
  .nav-mobile[open] summary { margin-bottom: 24px; display: inline-block; }
  .drawer-group { margin: 0 0 22px; }
  .drawer-group > a { font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--accent-strong); }
  .drawer-group ul { margin: 8px 0 0; padding: 0; list-style: none; }
  .drawer-group li { margin: 6px 0; }
  .drawer-group a { text-decoration: none; }
  .drawer-group li a { color: var(--muted); }

  .home-hero { min-height: 380px; padding: 40px 20px 88px; }
  .direction-cards-wrap { margin-top: -48px; padding: 0 10px; }
  .direction-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-badges-row,
  .detail-overview,
  .editorial-grid-2,
  .article-card--with-art,
  .page-head,
  .stairs form,
  .footer-grid { grid-template-columns: 1fr; }

  .sheet,
  .article-card,
  .check,
  .proof,
  .stairs,
  .page-head { padding: 22px 20px; }

  .topic { grid-template-columns: 1fr; }
  .topic img { width: 100%; height: 160px; }
  .offer-row { grid-template-columns: 1fr; gap: 10px; }
  .foot-links { grid-template-columns: 1fr 1fr; }

  .rows, .facts, .rows tbody, .facts tbody, .rows tr, .facts tr, .rows td, .facts td,
  .md-table, .md-table thead, .md-table tbody, .md-table tr, .md-table th, .md-table td {
    display: block;
    width: 100%;
    text-align: left;
  }
  .md-table td:first-child, .md-table th:first-child, .rows td:first-child, .facts td:first-child { width: 100%; }
  .rows td:last-child, .facts td:last-child { text-align: left; white-space: normal; }
}

@media (max-width: 520px) {
  .bar .btn-nav { display: none; }
  .direction-cards,
  .illustrated-grid-4,
  .foot-links { grid-template-columns: 1fr; }
  .close-field { flex-direction: column; align-items: flex-start; }
}
