:root {
  --ink: #0b0c11; --ink-soft: #41454f; --paper: #fafafb; --paper-2: #f2f3f8; --line: #e6e8ef; --line-2: #d6d9e4;
  --blue: #2f6bff; --coral: #ff5b6e; --free: #1c7a54; --grad: linear-gradient(100deg, #2f6bff 0%, #ff5b6e 100%);
  --font: 'Bai Jamjuree', 'Noto Sans Thai', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="th"] [data-l]:not([data-l="th"]),
html[data-lang="fil"] [data-l]:not([data-l="fil"]) { display: none; }
body { margin: 0; font-family: var(--font); font-size: 1.05rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.dark { color: var(--paper); background: var(--ink); }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 0; }
.wordmark { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--coral); }
.langs { display: flex; gap: 6px; }
.langs button { width: 44px; height: 32px; padding: 0; overflow: hidden; background: none; border: 0; border-radius: 6px; cursor: pointer; opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px; }
.langs button svg { display: block; width: 100%; height: 100%; }
.langs button[aria-pressed="true"] { opacity: 1; outline-color: var(--paper); }
.langs button:hover { opacity: 1; }
.langs { gap: 12px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.lede { max-width: 34ch; margin-top: 22px; font-size: 1.25rem; color: #ffffffd1; }
.where { margin-top: 28px; padding-left: 14px; border-left: 3px solid; border-image: var(--grad) 1; }
.where p + p { color: #ffffffb8; }
.rule { height: 3px; background: var(--grad); }

.phone { justify-self: center; width: min(100%, 340px); padding: 6px; background: #000; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 40px; }
.screen { overflow: hidden; color: var(--ink); background: var(--paper); border-radius: 34px; }
.appbar { padding: 16px 16px 12px; font-weight: 600; font-size: 0.95rem; color: var(--paper); background: var(--ink); border-bottom: 3px solid; border-image: var(--grad) 1; }
.screen h2 { padding: 16px 16px 8px; font-size: 1.1rem; font-weight: 600; }
.rows { list-style: none; padding: 0 16px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.row__main, .row__seats { display: flex; flex-direction: column; }
.row__seats { align-items: flex-end; text-align: right; }
.row__name { font-weight: 600; font-size: 0.95rem; }
.row__meta { font-size: 0.8rem; color: var(--ink-soft); }
.row__count { font-weight: 600; font-size: 0.88rem; color: var(--ink-soft); }
.row__count--free { color: var(--free); }
.pips { display: flex; gap: 3px; margin-bottom: 3px; }
.pip { width: 10px; height: 13px; border: 1.5px solid var(--line-2); border-radius: 5px 5px 2px 2px; }
.pip--free { background: var(--free); border-color: var(--free); }
.screen__note { padding: 10px 16px 16px; font-size: 0.76rem; color: var(--ink-soft); }

section { padding: 72px 0; }
section h2 { max-width: 22ch; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 600; line-height: 1.22; letter-spacing: -0.015em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 40px; margin-top: 36px; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; margin-bottom: 6px; font-weight: 600; color: var(--blue); }
.steps h3 { font-size: 1.2rem; font-weight: 600; }
.steps p { margin-top: 6px; color: var(--ink-soft); }
.plain { margin-top: 32px; font-size: 1.2rem; font-weight: 600; }

.cafes { background: var(--paper-2); }
.cafes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px 64px; align-items: start; }
.cafes__lede { max-width: 46ch; margin-top: 18px; color: var(--ink-soft); }
.points { list-style: none; }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.points li:first-child { border-top: 1px solid var(--line-2); }

footer { padding: 44px 0 36px; color: #ffffffb8; }
footer p { max-width: 60ch; }
footer .built { margin-bottom: 10px; color: #fff; font-weight: 600; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }

@media (min-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); padding: 64px 0 96px; }
  .phone { justify-self: end; }
}

/* ---- Shared navigation ---- */
.sitenav { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 8px; font-size: 0.95rem; }
.sitenav a { text-decoration: none; opacity: 0.85; }
.sitenav a:hover, .sitenav a[aria-current="page"] { opacity: 1; text-decoration: underline; }
a.wordmark { text-decoration: none; }

/* ---- Advertisers page ---- */
.mocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; justify-items: center; padding: 8px 0 72px; }
.mock { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 340px; }
.mock .phone { justify-self: auto; }
.mock figcaption { font-size: 0.95rem; color: #ffffffb8; text-align: center; }
figure { margin: 0; }
.ad { margin: 12px 16px 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ad__label { font-size: 0.74rem; color: #767b88; }
.ad__title { font-weight: 600; font-size: 0.98rem; }
.ad__body { font-size: 0.86rem; color: var(--ink-soft); }
.ad__link { display: inline-block; margin-top: 4px; font-size: 0.86rem; font-weight: 500; color: #2156e0; text-decoration: underline; text-underline-offset: 3px; }
.ad--slot { background: #eaf0ff; border: 2px dashed var(--blue); }
.ad--slot .ad__title { color: #2156e0; }
.ad__brand { display: flex; align-items: center; gap: 10px; }
.ad__mark { flex: none; width: 38px; height: 38px; border-radius: 9px; background: #3b2a20; color: #f3d9b1; font-weight: 600; font-size: 1.05rem; display: grid; place-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; margin-top: 36px; }
.grid2 h3, .money h3 { font-size: 1.2rem; font-weight: 600; }
.grid2 p, .money p { margin-top: 6px; color: var(--ink-soft); }
.grid2 > div { padding-top: 16px; border-top: 2px solid var(--ink); }
.money { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 40px; margin-top: 32px; }
.money > div { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.intro { max-width: 52ch; margin-top: 16px; color: var(--ink-soft); }
.nots { margin-top: 40px; }
.nots h3 { font-size: 1.1rem; font-weight: 600; }
.nots ul { margin-top: 10px; list-style: none; }
.nots li { padding: 10px 0; border-top: 1px solid var(--line-2); }
.cta { color: var(--paper); background: var(--ink); }
.cta p { max-width: 50ch; margin-top: 12px; color: #ffffffd1; }
.button { display: inline-block; margin-top: 24px; padding: 13px 22px; font-weight: 600; color: var(--ink); background: var(--coral); border-radius: 10px; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 4px; }
.chip { padding: 2px 10px; font-size: 0.78rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.chip--on { font-weight: 600; color: #2156e0; background: #eaf0ff; border-color: var(--blue); }
.ad__mark--pet { background: #20463a; color: #d8f0c9; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; margin-top: 32px; align-items: start; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 50px -20px rgb(20 28 60 / 0.28); }
.shots figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.console-shots { padding-top: 0; }

/* ---- Page headers, partners and about ---- */
.pagehead { padding: 40px 0 64px; }
.lede--wide { max-width: 46ch; }
.pill { display: inline-block; margin-top: 22px; padding: 8px 16px; font-weight: 500; color: var(--ink); background: #eaf0ff; border-radius: 999px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pblock { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.pblock h3 { font-size: 1.25rem; font-weight: 600; }
.pblock ul { margin-top: 12px; padding-left: 18px; }
.pblock li + li { margin-top: 8px; }
.pblock--get { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.bigmail { display: inline-block; margin: 18px 0 6px; font-size: clamp(1.4rem, 5vw, 2.4rem); font-weight: 600; color: var(--coral); overflow-wrap: anywhere; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--ink-soft); }
.prose .button { margin-top: 8px; }

/* ---- The way in: pick a seat ---- */
.entry[hidden] { display: none; }
.entry { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; color: var(--paper); text-align: center; background: var(--ink); }
.entry__name { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.01em; }
.entry__name b { font-weight: 600; color: var(--coral); }
.entry__ask { min-height: 3.2em; max-width: 17em; font-size: 1.2rem; }
.entry__after, .entry--picked .entry__before { display: none; }
.entry--picked .entry__after { display: inline; }
.entry__table { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.entry__seats { display: flex; align-items: flex-end; gap: 12px; }
.entry__seat { display: grid; place-items: center; width: 50px; height: 66px; padding: 0; color: var(--ink); background: none; border: 3px solid var(--paper); border-radius: 22px 22px 8px 8px; }
.entry__seat--taken { opacity: 0.45; }
.entry__laptop { width: 24px; height: 16px; border: 2px solid var(--paper); border-radius: 3px; }
.entry__seat--free { background: #35c486; border-color: #35c486; cursor: pointer; animation: entry-nudge 2.4s ease-in-out infinite; }
.entry__seat--free:nth-of-type(2) { animation-delay: 0.3s; }
.entry__seat--free:nth-of-type(3) { animation-delay: 0.6s; }
.entry__seat--free:hover, .entry__seat--free:focus-visible { transform: translateY(-6px); animation: none; }
.entry__seat--mine { background: var(--coral); border-color: var(--coral); cursor: default; animation: entry-sit 0.35s ease-out; }
.entry__cup { width: 32px; height: 36px; }
.entry__steam { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; animation: entry-steam 1.8s ease-in-out infinite; }
.entry__steam--late { animation-delay: 0.6s; }
.entry__top { width: 330px; max-width: 80vw; height: 8px; background: var(--grad); border-radius: 4px; }
.entry__choices { display: flex; flex-direction: column; gap: 10px; width: min(100%, 300px); margin-top: 8px; opacity: 0.18; transition: opacity 0.3s ease-out; }
.entry--picked .entry__choices { opacity: 1; }
.entry__go { min-height: 48px; padding: 0 20px; font: 600 1rem var(--font); color: var(--paper); background: none; border: 1.5px solid var(--paper); border-radius: 10px; }
.entry__go--main { color: var(--ink); background: var(--coral); border-color: var(--coral); }
.entry__link { padding: 8px; font: 500 1rem var(--font); color: var(--paper); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; }
.entry--picked .entry__go, .entry--picked .entry__link { cursor: pointer; }
.entry__tagline { margin-top: 6px; font-size: 0.95rem; color: #ffffffb8; }
@keyframes entry-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes entry-sit { 0% { transform: translateY(-10px) scale(1.08); } 100% { transform: translateY(0) scale(1); } }
@keyframes entry-steam { 0% { opacity: 0; transform: translateY(3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .entry__seat--free, .entry__seat--mine, .entry__steam { animation: none; } }
