/* SOF-143: shared style of the public pages (/, /ca/, /es/), a plain static
   translation of design/landing/Landing.dc.html. Colours and fonts are the design
   tokens (design/tokens.json). The only files loaded are the same-origin fonts in
   /fonts/ (SIL OFL, see fonts/README.md). Breakpoints are in em so they follow the
   text size. Fixed heights of the design are min-heights so text can grow.
   Colour fixes against 4.5:1 are marked "contrast:". */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk-Variable.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/DMMono-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/DMMono-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
:root {
  --cream: #fbf6ee; --white: #ffffff; --sand: #efe5d6; --line: #eadfd0; --line-strong: #d9cbb8;
  --ink: #2a1a14; --body: #4a362e; --muted: #8a6a5e;
  --accent: #7f1d1d; --accent-dark: #5c1212; --terracotta: #b0402f; --orange: #c2410c;
  --saffron: #f5c56b; --saffron-ink: #5c3a10; --blush: #f2cfc8; --star-off: #c9b9a6;
  --success: #1f6b44; --success-tint: #e6f1ea;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --section-gap: clamp(72px, 9vw, 120px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--body); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--cream); font-weight: 600; }
.skip:focus { top: 12px; color: var(--cream); }
.page { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-dark .eyebrow, .eyebrow.gold { color: var(--saffron); }

/* Header */
header.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.6px; color: var(--accent); text-decoration: none; }
.wordmark:hover { color: var(--accent-dark); }
.head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.navlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.navlink:hover, .navlink:focus-visible { color: var(--accent); }
nav.lang { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
nav.lang a, nav.lang span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; }
nav.head-lang { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; }
nav.head-lang a { color: var(--muted); text-decoration: none; }
nav.head-lang a:hover, nav.head-lang a:focus-visible { color: var(--accent); }
nav.head-lang span[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 18px; border-radius: 14px; background: var(--accent); color: var(--cream); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:hover, .btn:focus-visible { background: var(--accent-dark); color: var(--cream); }
.btn:focus-visible { outline-color: var(--accent); outline-offset: 3px; border-radius: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--accent); border-radius: 28px; padding: clamp(28px, 5vw, 64px); margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 48px; align-items: center; }
.disc { position: absolute; border-radius: 50%; pointer-events: none; }
.disc-a { top: -60px; right: -60px; width: 160px; height: 160px; background: var(--terracotta); opacity: .8; }
.disc-b { bottom: -40px; left: 0; width: 110px; height: 110px; background: var(--saffron); opacity: .9; }
.hero-text { position: relative; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .eyebrow { color: var(--saffron); }
h1 { font-size: clamp(40px, 6.6vw, 96px); font-weight: 700; line-height: .96; letter-spacing: -.035em; color: var(--cream); text-wrap: balance; overflow-wrap: anywhere; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; color: var(--blush); max-width: 30em; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.store { display: flex; flex-direction: column; justify-content: center; min-width: min(190px, 100%); max-width: 100%; min-height: 60px; padding: 8px 20px; border-radius: 18px; background: var(--cream); color: var(--ink); text-align: left; cursor: default; }
.store-top { font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.store-name { font-size: 18px; font-weight: 700; line-height: 1.1; }
.chips { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--blush); }

/* Phone pictures: decoration (aria-hidden). Natural size of the stage is --w x --h px, scaled by --s. */
.phones { position: relative; height: calc(670px * var(--s)); --s: .58; --w: 430px; --dx: 142px; }
.stage { position: absolute; top: 0; left: 50%; width: var(--w); height: 670px; margin-left: calc(var(--w) / -2); transform: scale(var(--s)); transform-origin: top center; }
.phone { position: absolute; background: var(--ink); padding: 8px; }
.phone-find { left: 8px; top: 20px; width: 290px; height: 624px; border-radius: 42px; transform: rotate(-4deg); box-shadow: 0 30px 80px rgba(42,26,20,.4); z-index: 2; }
.phone-ticket { left: var(--dx); top: 64px; width: 268px; height: 580px; border-radius: 40px; transform: rotate(7deg); box-shadow: 0 30px 80px rgba(42,26,20,.35); z-index: 1; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; }
.phone-find .screen { border-radius: 34px; background: var(--cream); }
.phone-ticket .screen { border-radius: 32px; background: var(--accent); }
.screen-in { position: absolute; top: 0; left: 0; width: 390px; height: 844px; transform-origin: top left; display: flex; flex-direction: column; }
.phone-find .screen-in { transform: scale(.7); background: var(--cream); color: var(--ink); }
.phone-ticket .screen-in { transform: scale(.646); background: var(--accent); }
.statusbar { height: 52px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 28px 6px; font-family: var(--mono); font-size: 13px; font-weight: 500; flex-shrink: 0; }
.phone-ticket .statusbar { color: var(--cream); }
.batt { display: inline-block; width: 22px; height: 11px; border: 1.5px solid var(--ink); border-radius: 3px; padding: 1px; margin-left: 5px; vertical-align: middle; }
.batt i { display: block; width: 80%; height: 100%; background: var(--ink); border-radius: 1px; }
.find-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 6px 0 24px; }
.find-head { padding: 0 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.find-head .eyebrow { font-size: 11px; color: var(--muted); }
.find-head .hello { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; line-height: 1.1; }
.avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--saffron); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent); }
.search { margin: 0 24px; height: 52px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; padding: 0 16px; gap: 10px; color: var(--muted); font-size: 15px; }
.glass { width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 50%; }
.pills { display: flex; gap: 8px; padding: 0 24px; overflow: hidden; }
.pill { height: 38px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 500; background: var(--sand); color: var(--ink); }
.pill.on { background: var(--ink); color: var(--cream); }
.find-list { padding: 0 24px; display: flex; flex-direction: column; gap: 16px; }
.find-list-head { display: flex; justify-content: space-between; align-items: baseline; }
.find-list-head span:first-child { font-size: 18px; font-weight: 600; }
.find-list-head span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.card { border-radius: 24px; overflow: hidden; color: var(--cream); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; flex-shrink: 0; }
.card.c1 { background: var(--terracotta); }
.card.c2 { background: var(--accent); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tag { background: rgba(251,246,238,.92); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 6px 10px; border-radius: 999px; }
.rate { background: rgba(42,26,20,.5); font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.card-title { font-size: 26px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.card-sub { font-size: 14px; opacity: .85; margin-top: 6px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.card-foot span:first-child { font-family: var(--mono); font-size: 13px; }
.card-foot span:last-child { font-size: 18px; font-weight: 700; }
.tabbar { height: 84px; border-top: 1px solid var(--line); background: var(--cream); display: flex; padding: 8px 12px 20px; flex-shrink: 0; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.tab i { display: block; width: 28px; height: 4px; border-radius: 2px; }
.tab.on { color: var(--accent); }
.tab.on i { background: var(--accent); }
.tk-body { flex: 1; display: flex; flex-direction: column; padding: 8px 24px 28px; gap: 18px; }
.tk-close { display: flex; justify-content: flex-end; }
.tk-close span { width: 44px; height: 44px; border-radius: 50%; background: rgba(251,246,238,.15); color: var(--cream); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.tk-hello { color: var(--cream); }
.tk-hello .eyebrow { font-size: 11px; color: var(--saffron); }
.tk-hello .big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; }
.tk-card { background: var(--cream); border-radius: 24px; overflow: hidden; flex: 1; display: flex; flex-direction: column; color: var(--ink); }
.tk-info { padding: 22px 22px 16px; display: flex; flex-direction: column; gap: 14px; }
.tk-name { font-size: 22px; font-weight: 700; line-height: 1.1; }
.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tk-grid .wide { grid-column: 1 / -1; }
.lbl { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; }
.val { font-weight: 600; margin-top: 2px; }
.perf { border-top: 2px dashed var(--line); margin: 0 -12px; position: relative; }
.perf::before, .perf::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--perf, var(--accent)); }
.perf::before { left: 0; }
.perf::after { right: 0; }
.tk-qrbox { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.qr { width: 132px; height: 132px; border-radius: 8px; opacity: .85; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, var(--ink) 0 4px, var(--cream) 4px 8px); background-blend-mode: multiply; }
.code { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; }

/* Sections */
.sec { padding-top: var(--section-gap); display: flex; flex-direction: column; gap: 32px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.sec-title { display: flex; flex-direction: column; gap: 12px; max-width: 720px; min-width: 0; }
h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.sec-intro { max-width: 26em; font-size: 16px; color: var(--body); text-wrap: pretty; }
.film { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.film-frame { aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--line-strong); background: var(--ink); }
.film video { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-text { max-width: 56em; font-size: 15px; color: var(--body); text-wrap: pretty; overflow-wrap: anywhere; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { border-radius: 24px; padding: 24px; color: var(--cream); display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.step:nth-child(1) { background: var(--accent); }
.step:nth-child(2) { background: var(--terracotta); }
.step:nth-child(3) { background: var(--orange); }
.step-n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--saffron); }
.step:nth-child(2) .step-n, .step:nth-child(3) .step-n { color: var(--cream); } /* contrast: saffron on terracotta is 3.6, cream is 5.4 */
h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin-top: auto; color: var(--cream); overflow-wrap: anywhere; }
.step p { font-size: 15px; color: var(--cream); }
.step:nth-child(1) p { color: var(--blush); }

.booked { padding-top: var(--section-gap); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.booked-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.points { border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pt-n { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.pt-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.pt-text { font-size: 15px; color: var(--body); }
.ticket-stage { position: relative; overflow: hidden; background: var(--sand); border-radius: 28px; padding: 40px 24px; display: flex; justify-content: center; --perf: var(--sand); }
.disc-c { top: -50px; left: -50px; width: 180px; height: 180px; background: var(--saffron); }
.ticket { position: relative; width: 100%; max-width: 340px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: var(--ink); }
.ticket-art { flex-wrap: wrap; min-height: 120px; background: var(--terracotta); padding: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ticket .tag { color: var(--ink); }
.ok { background: var(--success-tint); color: var(--success); font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; }
.ticket-info { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ticket-name { font-size: 22px; font-weight: 700; line-height: 1.1; }
.ticket-where { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ticket-foot { flex-wrap: wrap; display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.qr-s { width: 72px; height: 72px; flex-shrink: 0; border-radius: 6px; opacity: .85; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px), repeating-linear-gradient(0deg, var(--ink) 0 4px, var(--white) 4px 8px); background-blend-mode: multiply; }
.ticket-foot .hint { font-size: 13px; color: var(--muted); }

.kitchens { margin-top: var(--section-gap); background: var(--ink); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: center; color: var(--cream); }
.kitchens-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kitchens h2 { font-size: clamp(34px, 4.4vw, 56px); color: var(--cream); }
.kitchens .lead { font-size: 16px; color: var(--blush); max-width: 30em; text-wrap: pretty; }
.kbuy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kbtn { max-width: 100%; display: inline-flex; align-items: center; min-height: 56px; padding: 8px 22px; border-radius: 18px; background: var(--saffron); color: var(--ink); font-size: 16px; font-weight: 600; cursor: default; }
.ksoon { font-family: var(--mono); font-size: 12px; color: var(--star-off); }
.dash { overflow: hidden; display: flex; flex-direction: column; gap: 10px; max-width: 440px; width: 100%; justify-self: center; background: var(--cream); border-radius: 24px; padding: 20px; color: var(--ink); }
.dash-name { font-size: 20px; font-weight: 700; line-height: 1.1; }
.dash-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
.scan > div { min-width: 0; }
.scan { background: var(--saffron); border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.scan-ico { width: 20px; height: 20px; flex-shrink: 0; border: 2.5px solid var(--ink); border-radius: 4px; }
.scan b { display: block; font-weight: 600; font-size: 15px; }
.scan small { display: block; font-size: 13px; color: var(--saffron-ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--sand); border-radius: 16px; padding: 12px; min-width: 0; }
.stat .lbl { color: var(--body); }
.stat b { display: block; font-size: 24px; font-weight: 700; }

.cta { margin-top: var(--section-gap); position: relative; overflow: hidden; background: var(--accent); border-radius: 28px; padding: clamp(40px, 7vw, 96px) clamp(28px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.disc-d { top: -60px; left: -50px; width: 120px; height: 120px; background: var(--terracotta); opacity: .8; }
.disc-e { bottom: -40px; right: 8%; width: 110px; height: 110px; background: var(--saffron); opacity: .9; }
.cta > :not(.disc) { position: relative; }
.cta .eyebrow { color: var(--saffron); }
.cta h2 { font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; color: var(--cream); max-width: 12em; }
.cta .stores { justify-content: center; margin-top: 0; }

footer { margin-top: 40px; border-top: 1px solid var(--line-strong); padding: 16px 0 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.foot-mark { font-size: 20px; font-weight: 700; color: var(--accent); letter-spacing: -.4px; }
nav.foot-lang a, nav.foot-lang span { padding: 0 6px; font-size: 15px; }
nav.foot-lang a { color: var(--body); text-decoration: underline; }
nav.foot-lang a:hover { color: var(--accent); }
nav.foot-lang span[aria-current] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.made { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Phones: the stage keeps its natural size and is scaled; wider screens get the roomier composition. */
@media (min-width: 26em) { .phones { --s: .7; } }
@media (min-width: 32em) { .phones { --s: .85; } }
@media (min-width: 40em) { .phones { --s: 1; --w: 520px; --dx: 232px; } .phone-find { left: 16px; } }
@media (min-width: 68em) { .phones { --s: .85; } }
@media (min-width: 75em) { .phones { --s: 1; } }
@media (min-width: 48em) { .disc-d { top: -90px; left: -70px; width: 260px; height: 260px; } }
/* The big terracotta hero disc sits beside the text only when the hero has two columns
   (light text on it would be 4.0 or less: contrast), so on one column it stays small. */
@media (min-width: 68em) { .disc-a { top: -120px; right: -80px; width: 420px; height: 420px; } .disc-b { left: 12%; } }
/* Very large text or zoom (under 22em, about 200% zoom): no phone pictures, no decoration. */
@media (max-width: 21.99em) {
  .phones, .disc, .ticket-stage, .dash { display: none; } /* all aria-hidden pictures */
  .hero { gap: 0; }
  .hero, .cta, .step { padding: 16px; }
  h1 { font-size: 20px; } h2, .kitchens h2, .cta h2 { font-size: 20px; } h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kbtn span { min-width: 0; overflow-wrap: anywhere; }
/* Classes near you (SOF-144): added by /classes.js after a tap; none of this shows without it. */
button.btn { border: 0; font-family: inherit; }
.cl-prompt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cl-prompt h2.cl-prompt-title { font-size: clamp(24px, 3vw, 34px); }
.cl-prompt-text { max-width: 36em; font-size: 15px; color: var(--body); text-wrap: pretty; overflow-wrap: anywhere; }
.cl-btn[aria-disabled="true"] { opacity: .7; }
.cl-status { font-size: 15px; color: var(--body); overflow-wrap: anywhere; }
.cl-status:empty { margin-top: -14px; }
.cl-focus-keeper { display: block; height: 0; overflow: hidden; outline: none; }
.cl-section { gap: 32px; }
.cl-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.cl-example { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-ink); background: var(--saffron); padding: 4px 10px; border-radius: 999px; overflow-wrap: anywhere; }
.cl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cl-card { border-radius: 24px; overflow: hidden; background: var(--cl-bg, var(--accent)); color: var(--cl-fg, var(--cream)); padding: 20px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.cl-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cl-pill { position: relative; background: rgba(251,246,238,.92); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; padding: 6px 10px; border-radius: 999px; overflow-wrap: anywhere; }
.cl-body { min-width: 0; }
h3.cl-title { font-size: 28px; line-height: 1.02; margin-top: 0; color: inherit; }
.cl-where { font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
.cl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 30%, transparent); }
.cl-next { font-family: var(--mono); font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.cl-price { font-size: 20px; font-weight: 700; }
#main:focus, #classes-title:focus { outline: none; }
@media (max-width: 21.99em) { .cl-card { padding: 16px; min-height: 0; } h3.cl-title { font-size: 19px; } .cl-prompt h2.cl-prompt-title { font-size: 20px; } }
button.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
