/* LoraCasa Poker: the public site's one stylesheet.
   No web fonts, no external requests, no inline styles (the edge sends default-src 'self').
   Colours build on the brand file: primary #1F2937, accent #0EA5E9, felt #0F5132. */

:root {
  color-scheme: light dark;
  --bg: #F6F3EC;
  --surface: #FFFFFF;
  --surface-2: #EFEBE1;
  --ink: #1F2937;
  --ink-2: #4B5563;
  --line: #DCD6C8;
  --accent: #0EA5E9;
  --accent-ink: #03628F;
  --felt: #0F5132;
  --felt-deep: #0A3622;
  --felt-bright: #1B7A4D;
  --night: #0B1220;
  --cream: #FBF8F1;
  --gold: #E3B45C;
  --red: #D43F4C;
  --ok: #0C4429;
  --ok-bg: #D9EEE2;
  --wait: #7A4E00;
  --wait-bg: #FBEAC4;
  --soon: #334155;
  --soon-bg: #E3E7ED;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 14px 34px -14px rgba(15, 23, 42, .22);
  --radius: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --surface: #131C2C;
    --surface-2: #182336;
    --ink: #EEF2F6;
    --ink-2: #A9B4C4;
    --line: #27344B;
    --accent-ink: #5CC8F5;
    --ok: #86DDAE;
    --ok-bg: #12382A;
    --wait: #F4C56A;
    --wait-bg: #3A2C0C;
    --soon: #B9C4D3;
    --soon-bg: #212C40;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }
svg text { font-family: var(--sans); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.35rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }

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

::selection { background: var(--accent); color: #06202E; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--night);
  font-weight: 700;
}
.skip:focus { top: 12px; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Surfaces that are dark in both themes ---------- */

.on-dark {
  --ink: #F6F2E8;
  --ink-2: #D6E2DA;
  --line: rgba(255, 255, 255, .16);
  --surface: rgba(255, 255, 255, .06);
  --surface-2: rgba(255, 255, 255, .1);
  --accent-ink: #A5E1FD;
  --ok: #9BE6BD;
  --ok-bg: rgba(134, 221, 174, .16);
  --wait: #F8D48A;
  --wait-bg: rgba(244, 197, 106, .16);
  --soon: #D5DEE9;
  --soon-bg: rgba(255, 255, 255, .12);
  --shadow: none;
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.logo img { width: 36px; height: 36px; }
.logo-name { font: 700 1.32rem/1 var(--serif); letter-spacing: -.01em; }
.logo-tag {
  font: 700 .68rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  padding: 5px 0 0 1px;
  display: block;
}

.nav-desktop ul { display: flex; gap: 4px; }
.nav-desktop a,
.nav-mobile nav a {
  display: block;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.nav-desktop a:hover,
.nav-mobile nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.nav-desktop a[aria-current="page"],
.nav-mobile nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .1); }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 650;
  font-size: .92rem;
  -webkit-user-select: none;
  user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::before {
  content: "";
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.nav-mobile[open] summary { background: rgba(255, 255, 255, .1); }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(300px, 100vw - 32px);
  padding: 10px;
  border-radius: 16px;
  background: #101A2B;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
}
.nav-mobile nav a { padding: 12px 14px; font-size: 1.02rem; }
.nav-mobile nav .btn { margin-top: 8px; width: 100%; color: #04202F; font-size: 1rem; }
.nav-mobile nav .btn:hover { color: #04202F; background: #38BDF8; }

@media (max-width: 940px) {
  .nav-desktop, .site-header .header-cta { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #04202F;
  box-shadow: 0 10px 26px -10px rgba(14, 165, 233, .75);
}
.btn-primary:hover { background: #38BDF8; }

.btn-ghost { border-color: color-mix(in srgb, var(--ink) 38%, transparent); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }

.btn-small { padding: 10px 18px; font-size: .92rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    url("/assets/pattern.svg"),
    radial-gradient(90% 70% at 78% 46%, #125C3A 0%, #0F5132 34%, #0A3622 62%, #0B1220 100%);
  background-color: var(--night);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 180, 92, .55), transparent);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
}

.hero-copy > * + * { margin-top: 22px; }
.hero h1 em { display: block; font-style: italic; color: #A7E3C4; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 .78rem/1.3 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.hero .lead { color: #DDE7E0; }

.fine { font-size: .9rem; color: var(--ink-2); }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.facts li { display: flex; align-items: baseline; gap: 9px; font-size: .95rem; color: var(--ink-2); }
.facts b { font: 700 1.5rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) {
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .facts li { flex-direction: column; gap: 6px; font-size: .86rem; line-height: 1.35; }
}

.hero-art { position: relative; }
.hero-art svg { width: 100%; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .45)); }

.page-hero .wrap { padding-block: clamp(40px, 5.5vw, 72px) clamp(44px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 15em; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

.hero .wrap.one { grid-template-columns: minmax(0, 1fr); }
.hero .wrap.one .hero-copy { max-width: 760px; }
.hero .wrap.one h1 { max-width: 17em; }

.hero-deco {
  position: absolute;
  right: max(-40px, calc(50% - 640px));
  bottom: -70px;
  width: min(420px, 34vw);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  pointer-events: none;
}
@media (max-width: 1180px) {
  .hero-deco { display: none; }
}

.legend { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 9px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 9vw, 116px); }
.section.tint { background: var(--surface-2); }
.section.felt {
  background:
    url("/assets/pattern.svg"),
    radial-gradient(80% 90% at 20% 10%, #125C3A 0%, #0F5132 40%, #0A3622 100%);
  background-color: var(--felt);
}
.section.night { background: var(--night); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head > * + * { margin-top: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.sub { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 22px; }
.section-head.sub h3 { font: 700 1.55rem/1.2 var(--serif); letter-spacing: -.01em; }
.section-head.sub p { color: var(--ink-2); margin-top: 8px; }

.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split.flip > :first-child { order: 2; }
.split-copy > * + * { margin-top: 18px; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card p { color: var(--ink-2); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; }
.card .more a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.card .more a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .more svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card.link { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.card.link:hover { transform: translateY(-4px); border-color: var(--accent); }
.card.link:hover .more svg { transform: translateX(4px); }
.card.link:focus-within { border-color: var(--accent); }

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--felt) 12%, transparent);
  color: var(--felt);
  flex: none;
}
.icon svg { width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) {
  .icon { background: rgba(134, 221, 174, .12); color: #86DDAE; }
}
.on-dark .icon { background: rgba(255, 255, 255, .1); color: #A7E3C4; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font: 700 .74rem/1.4 var(--sans);
  letter-spacing: .04em;
  white-space: nowrap;
  background: var(--soon-bg);
  color: var(--soon);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.built { background: var(--ok-bg); color: var(--ok); }
.badge.wait { background: var(--wait-bg); color: var(--wait); }

/* Lists */

.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .42em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--accent-ink);
  border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.ticks strong, .dots strong { color: var(--ink); font-weight: 650; }

.dots { display: grid; gap: 9px; }
.dots li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .97rem; }
.dots li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .62em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--accent-ink);
  border-radius: 1.5px;
}

/* Game cards */

.game .fan {
  margin: -28px -28px 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: radial-gradient(120% 130% at 50% 0%, #1B7A4D 0%, #0F5132 55%, #0A3622 100%);
  overflow: hidden;
}
.game .fan svg { width: 100%; }
.game .meta { font: 700 .76rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }

/* Feature rows */

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature > div > * + * { margin-top: 6px; }
.feature p { color: var(--ink-2); font-size: .97rem; }

/* Illustration frames */

.art {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.art svg { width: 100%; }
.art.bare { border: 0; box-shadow: none; background: none; overflow: visible; border-radius: 0; }
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-2); text-align: center; }

/* Steps */

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--felt-deep);
  font: 700 1.1rem/1 var(--serif);
  box-shadow: 0 0 0 4px rgba(227, 180, 92, .45), inset 0 0 0 2px var(--felt);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .96rem; }

/* Flow: a vertical chain of steps */

.flow li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding-bottom: 26px; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 6px;
  border-left: 2px dashed var(--gold);
}
.flow h3 { margin-top: 2px; }
.flow p { color: var(--ink-2); font-size: .96rem; margin-top: 4px; }

.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
caption { text-align: left; padding: 18px 22px 0; font-weight: 700; }
th, td { text-align: left; vertical-align: top; padding: 15px 22px; border-bottom: 1px solid var(--line); }
thead th {
  font: 700 .76rem/1.4 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface-2);
}
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 650; min-width: 11em; }
td { color: var(--ink-2); }
/* Small screens: each row becomes a block, each cell names its column. */
@media (max-width: 720px) {
  .table-wrap { overflow: visible; }
  .stack, .stack tbody, .stack tr, .stack tbody th, .stack td { display: block; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .stack tbody tr:last-child { border-bottom: 0; }
  .stack tbody th, .stack td { padding: 0; border: 0; min-width: 0; }
  .stack tbody th { font-size: 1.06rem; }
  .stack td { margin-top: 12px; }
  .stack td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    font: 700 .72rem/1.4 var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-ink);
  }
}

/* Status board */

.status-col { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.status-col h3 { display: flex; align-items: center; gap: 10px; }

/* FAQ */

.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2.5px solid var(--accent-ink);
  border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); max-width: 70ch; }
.faq .answer > * + * { margin-top: 10px; }

/* Code-like chips */

code, .mono { font-family: var(--mono); font-size: .88em; }
.chiplist { display: flex; flex-wrap: wrap; gap: 8px; }
.chiplist li > a, .chiplist li > span {
  display: block;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.chiplist li > a:hover { border-color: var(--accent); background: var(--surface-2); }

/* Game definition "recipe" */

.recipe {
  padding: 26px;
  border-radius: 22px;
  background: var(--night);
  border: 1px solid rgba(227, 180, 92, .4);
  box-shadow: var(--shadow);
  color: #F6F2E8;
}
.recipe-title { font: 700 .76rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #E3B45C; margin-bottom: 8px; }
.recipe dl { margin: 0; }
.recipe dl > div { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.recipe dt { font-weight: 650; font-size: .95rem; color: #CBD8D0; padding-top: 4px; }
.recipe dd { margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.recipe dd span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem;
  font-weight: 600;
}
.recipe dd span:first-child { background: rgba(14, 165, 233, .2); border-color: #38BDF8; color: #BAE6FD; }
@media (max-width: 480px) {
  .recipe dl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* Call to action band */

.cta-band { text-align: center; }
.cta-band .wrap > * + * { margin-top: 20px; }
.cta-band .lead { margin-inline: auto; }
.cta-band .cta-row { justify-content: center; padding-top: 8px; }
.cta-band .suits { display: flex; justify-content: center; gap: 14px; }
.cta-band .suits svg { width: 22px; height: 22px; fill: var(--gold); opacity: .9; }

/* Note box */

.note {
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--surface);
  color: var(--ink-2);
  font-size: .96rem;
}
.note strong { color: var(--ink); }
.grid + .note, .table-wrap + .note { margin-top: 28px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); padding-block: 56px 36px; font-size: .95rem; }
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}
.site-footer h2 {
  font: 700 .76rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .about > * + * { margin-top: 16px; }
.site-footer .about p { color: var(--ink-2); max-width: 34em; }
.site-footer .legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: .86rem;
}
@media (max-width: 860px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */

.lost { min-height: 62vh; display: grid; align-items: center; }
.lost .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.lost .hero-copy { max-width: 640px; }
.lost .cta-row { justify-content: center; }
.lost-cards { width: min(300px, 70vw); margin-inline: auto; }

/* ---------- Motion ---------- */

.deal, .pop { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .deal { animation: deal .6s cubic-bezier(.2, .8, .2, 1) both; }
  .pop { animation: pop .5s cubic-bezier(.2, 1.3, .4, 1) both; }
  .d1 { animation-delay: .25s; }
  .d2 { animation-delay: .37s; }
  .d3 { animation-delay: .49s; }
  .d4 { animation-delay: .85s; }
  .d5 { animation-delay: 1.2s; }
  .d6 { animation-delay: 1.45s; }
  .d7 { animation-delay: 1.6s; }
  .ring { animation: ring 12s linear infinite; }
  .float { animation: float 7s ease-in-out infinite; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

@keyframes deal {
  from { opacity: 0; transform: translateY(-26px) rotate(-8deg) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: none; }
}
@keyframes ring {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 170; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media print {
  .site-header { position: static; }
  .reveal, .deal, .pop { animation: none; }
  .btn { border-color: currentColor; }
}
