/* AcıkanVar website. Colours and type follow the app's direction D
   (app/src/theme): pine field, warm cream, yolk highlight, mint doodles,
   tomato only as the small "live" dot. Nunito, self-hosted, subset to
   Latin + Turkish. */

@font-face { font-family: Nunito; font-weight: 500; font-display: swap; src: url(/fonts/nunito-500Medium.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(/fonts/nunito-700Bold.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/fonts/nunito-800ExtraBold.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(/fonts/nunito-900Black.woff2) format('woff2'); }

:root {
  --pine: #0F4A3C;
  --pine-deep: #0A3A2F;
  --cream: #FBF6EC;
  --yolk: #FFD43B;
  --yolk-pressed: #F2C014;
  --mint: #7FD6A6;
  --mint-cream: #C9E6D4;
  --tomato: #E8452C;
  --ink: #10231D;
  --wood: #8A5A35;
  --wood-dark: #6E4527;

  --bg: #FBF6EC;
  --bg-alt: #F3EAD6;
  --surface: #FFFFFF;
  --text: #10231D;
  --muted: #4A5B53;
  --subtle: #5E6E66;
  --border: #EADFCB;
  --border-strong: #CBBFA6;
  --tag: #DCF1E4;
  --tag-text: #0F4A3C;
  --quiet: #F3EAD6;
  --danger: #B0301B;
  --field: #0F4A3C;
  --on-field: #FBF6EC;
  --on-field-muted: #C9E6D4;
  --paper: #FFFDF7;
  --shadow: 74 52 21;
  --focus: #0F4A3C;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1F1A;
    --bg-alt: #0F2822;
    --surface: #13302A;
    --text: #F4EEE2;
    --muted: #B9C9C0;
    --subtle: #9FB2A8;
    --border: #22453B;
    --border-strong: #3A6153;
    --tag: #1D4A3D;
    --tag-text: #C9E6D4;
    --quiet: #1B3A32;
    --danger: #FF8A73;
    --field: #0D3F33;
    --paper: #17362F;
    --shadow: 0 0 0;
    --focus: #FFD43B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1F1A;
  --bg-alt: #0F2822;
  --surface: #13302A;
  --text: #F4EEE2;
  --muted: #B9C9C0;
  --subtle: #9FB2A8;
  --border: #22453B;
  --border-strong: #3A6153;
  --tag: #1D4A3D;
  --tag-text: #C9E6D4;
  --quiet: #1B3A32;
  --danger: #FF8A73;
  --field: #0D3F33;
  --paper: #17362F;
  --shadow: 0 0 0;
  --focus: #FFD43B;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-field :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--yolk); }

h1, h2, h3 { font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yolk); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 900; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-head { background: var(--field); color: var(--on-field); position: relative; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-field); flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.wordmark { font-weight: 900; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; }
.wordmark b { color: var(--yolk); font-weight: 900; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 800; padding: 10px 12px; border-radius: 999px; color: var(--on-field); }
.nav a:hover { background: rgba(251, 246, 236, .12); }
.nav a[aria-current="page"] { color: var(--yolk); }
.head-tools { display: flex; align-items: center; gap: 6px; }
.chip-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid rgba(251, 246, 236, .45); background: transparent; color: var(--on-field);
  font: inherit; font-weight: 900; font-size: .9rem; text-decoration: none; cursor: pointer;
}
.chip-btn:hover { background: rgba(251, 246, 236, .12); }
.chip-btn svg { width: 20px; height: 20px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: var(--surface); color: var(--text); border-radius: 18px; padding: 8px;
  box-shadow: 0 18px 40px rgb(var(--shadow) / .25); border: 1px solid var(--border);
}
.menu-panel a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 800; }
.menu-panel a:hover { background: var(--quiet); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .head-tools { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 900; font-size: 1.08rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-yolk { background: var(--yolk); color: var(--ink); }
.btn-yolk:hover { background: var(--yolk-pressed); }
.btn-pine { background: var(--pine); color: var(--cream); }
.btn-pine:hover { background: var(--pine-deep); }
:root[data-theme="dark"] .btn-pine { background: var(--yolk); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-pine { background: var(--yolk); color: var(--ink); } }
.btn-line { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn svg { width: 22px; height: 22px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px 8px 14px;
  border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; border: 1.5px solid rgba(255,255,255,.18);
  position: relative; cursor: not-allowed;
}
.store svg { width: 26px; height: 26px; flex-shrink: 0; }
.store small { display: block; font-size: .7rem; font-weight: 700; opacity: .8; line-height: 1.1; }
.store span { display: block; font-weight: 900; font-size: 1.05rem; line-height: 1.15; }
.store .soon {
  position: absolute; top: -9px; right: -8px; background: var(--yolk); color: var(--ink);
  font-size: .68rem; font-weight: 900; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- Tags, dots ---------- */
.live-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(251, 246, 236, .1); border: 1px solid rgba(251, 246, 236, .22);
  font-weight: 800; font-size: .92rem; color: var(--on-field);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 0 rgba(232,69,44,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(232,69,44,.55); } 70% { box-shadow: 0 0 0 9px rgba(232,69,44,0); } 100% { box-shadow: 0 0 0 0 rgba(232,69,44,0); } }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: .82rem; background: var(--quiet); color: var(--muted); }
.tag-mint { background: var(--mint); color: var(--ink); }
.eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: block; }
.on-field .eyebrow { color: var(--mint); }

/* ---------- Hero ---------- */
.on-field { background: var(--field); color: var(--on-field); }
.hero { position: relative; overflow: hidden; padding: 56px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 18px; }
.hero h1 .hl { color: var(--yolk); display: block; }
.hero .lead { font-size: 1.2rem; color: var(--on-field-muted); max-width: 34ch; margin-bottom: 28px; }
.hero .lead strong { color: var(--on-field); font-weight: 800; }
.hero .stores { margin-bottom: 18px; }
.hero .below { font-weight: 800; color: var(--on-field-muted); }
.hero .below a { color: var(--yolk); }
.doodles { position: absolute; inset: 0; pointer-events: none; color: var(--mint); opacity: .35; }
.doodles svg { position: absolute; z-index: 0; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .hero { padding: 28px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero .lead { font-size: 1.1rem; }
}

/* The table: the app's real meze table photo, chairs and guests around it. */
.scene { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; }
.scene .tabletop {
  position: absolute; inset: 15%; border-radius: 50%;
  box-shadow: 0 26px 50px rgba(0,0,0,.35), 0 0 0 10px rgba(255,255,255,.04);
}
.scene .tabletop img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.seat { position: absolute; width: 21%; aspect-ratio: 1; display: grid; place-items: center; }
.seat .chair { position: absolute; width: 92%; height: 42%; background: var(--wood); border-radius: 14px; box-shadow: inset 0 -5px 0 var(--wood-dark); }
.seat .face {
  position: relative; width: 78%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: clamp(1.1rem, 4.5vw, 1.9rem); color: var(--cream); border: 4px solid var(--yolk);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.seat .check { position: absolute; right: -4%; bottom: -4%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--pine); border: 3px solid var(--cream); display: grid; place-items: center; }
.seat .check svg { width: 60%; stroke: var(--cream); stroke-width: 3.5; fill: none; }
.seat .name { position: absolute; white-space: nowrap; font-weight: 900; font-size: .95rem; display: flex; gap: 6px; align-items: center; }
.seat.n { top: 0; left: 39.5%; } .seat.n .chair { top: -2%; } .seat.n .name { top: -28%; }
.seat.s { bottom: 0; left: 39.5%; } .seat.s .chair { bottom: -2%; } .seat.s .name { bottom: -26%; }
.seat.w { left: 0; top: 39.5%; } .seat.w .chair { left: -2%; width: 42%; height: 92%; } .seat.w .name { bottom: -26%; }
.seat.e { right: 0; top: 39.5%; } .seat.e .chair { right: -2%; width: 42%; height: 92%; } .seat.e .name { bottom: -26%; }
.seat.empty .face { background: var(--field); border: 3px dashed var(--mint); color: var(--mint); box-shadow: none; font-size: 1.6rem; animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.bubble {
  position: absolute; background: var(--cream); color: var(--ink); font-weight: 800; font-size: .92rem;
  padding: 9px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 10px 24px rgba(0,0,0,.25); white-space: nowrap;
}
.bubble.b1 { top: 8%; right: -2%; }
.bubble.b2 { bottom: 9%; left: -3%; border-radius: 16px 16px 4px 16px; background: var(--tag); color: var(--tag-text); }
:root[data-theme="dark"] .bubble.b2 { background: #DCF1E4; color: #0F4A3C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bubble.b2 { background: #DCF1E4; color: #0F4A3C; } }
@media (max-width: 520px) { .seat .name { font-size: .8rem; } .bubble { font-size: .8rem; padding: 7px 11px; } .bubble.b1 { right: 0; top: 4%; } .bubble.b2 { left: 0; bottom: 5%; } }
@media (prefers-reduced-motion: no-preference) {
  .seat.taken { animation: sit .55s cubic-bezier(.2,.9,.3,1.3) both; }
  .seat.taken:nth-of-type(2) { animation-delay: .35s; }
  .seat.taken:nth-of-type(3) { animation-delay: .7s; }
  .bubble { animation: pop .4s ease-out both; }
  .bubble.b1 { animation-delay: 1.3s; } .bubble.b2 { animation-delay: 1.9s; }
}
@keyframes sit { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.95); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .live-dot, .seat.empty .face { animation: none; } }

/* Gingham strip: the room's tablecloth, used once as a seam. */
.gingham {
  height: 26px;
  background-color: #FBF6EC;
  background-image:
    linear-gradient(90deg, rgba(232,69,44,.55) 50%, transparent 50%),
    linear-gradient(rgba(232,69,44,.55) 50%, transparent 50%);
  background-size: 26px 26px;
}
:root[data-theme="dark"] .gingham { opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
@media (max-width: 860px) { section { padding: 60px 0; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.alt { background: var(--bg-alt); }

/* How it works: an "adisyon", the order slip a lokanta waiter writes on. */
.adisyon {
  background: var(--paper); border-radius: 6px; position: relative; padding: 40px 36px;
  box-shadow: 0 20px 50px rgb(var(--shadow) / .12); border: 1px solid var(--border);
  --zig: 14px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  padding-bottom: 56px;
}
.adisyon-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px dashed var(--border-strong); padding-bottom: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.adisyon-top strong { font-weight: 900; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; }
.adisyon-top span { color: var(--subtle); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 28px 24px 8px; position: relative; }
.step + .step { border-left: 2px dashed var(--border); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--yolk); color: var(--ink);
  display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; margin-bottom: 14px;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--pine);
}
.step h3 { font-size: 1.45rem; }
.step p { color: var(--muted); }
.step .demo { margin-top: 18px; }
@media (max-width: 860px) {
  .adisyon { padding: 28px 18px 48px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 6px 10px; }
  .step + .step { border-left: 0; border-top: 2px dashed var(--border); }
}
.adisyon-total { display: flex; justify-content: space-between; border-top: 2px dashed var(--border-strong); margin-top: 18px; padding-top: 16px; font-weight: 900; font-size: 1.1rem; gap: 12px; flex-wrap: wrap; }
.adisyon-total span:last-child { color: var(--pine); }
:root[data-theme="dark"] .adisyon-total span:last-child { color: var(--yolk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .adisyon-total span:last-child { color: var(--yolk); } }

/* Mini copies of app parts */
.mini-card {
  display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 10px; box-shadow: 0 3px 10px rgb(var(--shadow) / .06);
}
.mini-card + .mini-card { margin-top: 8px; }
.mini-card img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.mini-card b { display: block; font-weight: 900; font-size: 1rem; line-height: 1.2; }
.mini-card small { display: block; color: var(--muted); font-size: .85rem; }
.dots { display: flex; gap: 4px; margin-top: 5px; align-items: center; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--pine); }
.dots i.on { background: var(--pine); }
:root[data-theme="dark"] .dots i { border-color: var(--mint); } :root[data-theme="dark"] .dots i.on { background: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dots i { border-color: var(--mint); } :root:not([data-theme="light"]) .dots i.on { background: var(--mint); } }
.dots .tag { margin-left: 6px; font-size: .72rem; padding: 1px 8px; }
.chat { display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 85%; padding: 8px 13px; border-radius: 16px; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.msg small { display: block; font-weight: 900; font-size: .75rem; color: var(--pine); }
:root[data-theme="dark"] .msg small { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg small { color: var(--mint); } }
.msg.them { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--tag); color: var(--tag-text); border-bottom-right-radius: 4px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.quick span { border: 1.5px solid var(--border-strong); border-radius: 999px; padding: 4px 11px; font-weight: 800; font-size: .82rem; }
.arrive { background: var(--field); border-radius: 18px; padding: 18px; color: var(--on-field); }
.arrive .row { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; margin-bottom: 12px; color: var(--on-field-muted); }
.arrive .faces { display: flex; }
.arrive .faces i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--yolk); display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: .8rem; color: var(--cream); margin-right: -6px; }
.arrive .go { background: var(--yolk); color: var(--ink); border-radius: 999px; text-align: center; font-weight: 900; font-size: 1.1rem; padding: 12px; }

/* ---------- App peek ---------- */
.peek { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.phones { display: flex; justify-content: center; gap: 22px; position: relative; }
.phone {
  width: min(250px, 44vw); aspect-ratio: 393 / 852; border-radius: 40px; padding: 9px; background: #10231D;
  box-shadow: 0 30px 60px rgb(var(--shadow) / .28), inset 0 0 0 2px #2A3C36; position: relative; flex-shrink: 0;
}
.phone { display: flex; flex-direction: column; }
.phone .bar { height: 11%; flex-shrink: 0; background: #0F4A3C; border-radius: 32px 32px 0 0; }
.phone img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; border-radius: 0 0 32px 32px; background: var(--cream); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 30%; height: 20px; border-radius: 99px; background: #10231D; z-index: 1; }
.phone:nth-child(2) { margin-top: 64px; }
.peek ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.peek li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.peek li svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--pine); }
:root[data-theme="dark"] .peek li svg { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .peek li svg { color: var(--mint); } }
@media (max-width: 860px) {
  .peek { grid-template-columns: 1fr; gap: 36px; }
  .phones { gap: 12px; }
  .phone { border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 0 0 25px 25px; }
  .phone .bar { border-radius: 25px 25px 0 0; }
  .phone::before { top: 12px; height: 14px; }
  .phone:nth-child(2) { margin-top: 40px; }
}

/* ---------- Safety ---------- */
.safety { position: relative; overflow: hidden; }
.safety .section-head p { color: var(--on-field-muted); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust article {
  background: rgba(251, 246, 236, .06); border: 1px solid rgba(251, 246, 236, .16); border-radius: 24px; padding: 28px 24px;
}
.trust .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--yolk); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.trust .ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { color: var(--cream); }
.trust p { color: var(--on-field-muted); margin: 0; }
.trust .tag { margin-top: 14px; background: rgba(251,246,236,.12); color: var(--cream); }
.rules { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-weight: 800; color: var(--on-field-muted); }
.rules a { color: var(--yolk); }
.rules .sos { display: inline-flex; gap: 8px; align-items: center; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 900; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto blockquote { margin: 0 auto 28px; font-weight: 900; font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.15; max-width: 20ch; text-wrap: balance; }
.manifesto blockquote em { font-style: normal; background: linear-gradient(transparent 58%, var(--yolk) 58%, var(--yolk) 92%, transparent 92%); padding: 0 .1em; }
:root[data-theme="dark"] .manifesto blockquote em { color: var(--yolk); background: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .manifesto blockquote em { color: var(--yolk); background: none; } }
.isnot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.isnot span { border: 2px solid var(--border-strong); border-radius: 999px; padding: 8px 16px; font-weight: 800; color: var(--muted); }
.isnot span s { text-decoration-thickness: 2px; text-decoration-color: var(--tomato); }
.isnot span.yes { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.food-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.food-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 16px rgb(var(--shadow) / .18); border: 3px solid var(--surface); }
.food-row img:nth-child(odd) { translate: 0 8px; }

/* ---------- Forms ---------- */
.card-yolk { background: var(--yolk); color: var(--ink); border-radius: 32px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.card-yolk h2 { color: var(--ink); }
.card-yolk p { color: #2D3B35; font-weight: 700; }
@media (max-width: 860px) { .card-yolk { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 26px; gap: 20px; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 900; font-size: .95rem; }
.field .hint { color: var(--subtle); font-size: .88rem; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--text); background: var(--surface);
  border: 2px solid var(--border-strong); border-radius: 16px; min-height: 54px; padding: 12px 16px;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--subtle); font-weight: 600; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.card-yolk input { background: #FFFDF5; color: var(--ink); border-color: rgba(16, 35, 29, .25); }
.card-yolk input:focus-visible { outline-color: var(--pine); }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .inline-form { flex-direction: column; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--muted); }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--pine); flex-shrink: 0; }
.form-note { margin-top: 12px; font-size: .9rem; font-weight: 700; }
.done {
  display: none; border-radius: 22px; padding: 22px; background: var(--field); color: var(--on-field); align-items: flex-start; gap: 14px;
}
.done.show { display: flex; }
.done svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--yolk); }
.done h3 { margin: 0 0 4px; color: var(--yolk); }
.done p { margin: 0; color: var(--on-field-muted); }
.err { color: var(--danger); font-weight: 800; font-size: .92rem; min-height: 1.2em; }
.card-yolk .err { color: #8A1F0C; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 36px; box-shadow: 0 10px 30px rgb(var(--shadow) / .07); }
@media (max-width: 860px) { .panel { padding: 24px 18px; border-radius: 22px; } }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */
.page-head { padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 18ch; }
.page-head p { color: var(--on-field-muted); font-size: 1.15rem; max-width: 56ch; margin: 0; }
.page-head .eyebrow { color: var(--mint); }
.page-body { padding: 56px 0 88px; }

/* ---------- Venues ---------- */
.venue-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .venue-grid { grid-template-columns: 1fr; gap: 32px; } }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.perks li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.perks .n { width: 48px; height: 48px; border-radius: 16px; background: var(--tag); color: var(--tag-text); display: grid; place-items: center; }
.perks .n svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.perks b { display: block; font-weight: 900; font-size: 1.1rem; }
.perks span { color: var(--muted); }
.slot {
  border: 2.5px dashed var(--border-strong); border-radius: 24px; display: grid; place-items: center; text-align: center;
  padding: 24px; color: var(--subtle); font-weight: 800; background:
  repeating-linear-gradient(-45deg, transparent 0 14px, rgb(var(--shadow) / .03) 14px 28px);
}
.slot code { font-size: .85rem; display: block; margin-top: 6px; color: var(--muted); }

/* ---------- Prose (legal) ---------- */
.prose { font-size: 1.05rem; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .4em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--pine); font-weight: 900; }
:root[data-theme="dark"] .prose li::marker { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose li::marker { color: var(--mint); } }
.prose blockquote { margin: 0 0 1.5em; padding: 16px 20px; border-radius: 16px; background: var(--quiet); border-left: 5px solid var(--yolk); }
.prose blockquote p:last-child { margin: 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--quiet); font-weight: 900; }
.prose code { font-size: .9em; background: var(--quiet); padding: 1px 6px; border-radius: 6px; }
.prose mark.todo { background: rgba(255, 212, 59, .35); color: inherit; border-radius: 6px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.prose a { color: var(--pine); font-weight: 800; }
:root[data-theme="dark"] .prose a { color: var(--yolk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose a { color: var(--yolk); } }
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 20px; display: grid; gap: 4px; }
.legal-nav a { text-decoration: none; font-weight: 800; padding: 10px 14px; border-radius: 12px; color: var(--muted); }
.legal-nav a:hover { background: var(--quiet); }
.legal-nav a[aria-current="page"] { background: var(--pine); color: var(--cream); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; } .legal-nav { position: static; display: flex; flex-wrap: wrap; } .legal-nav a { border: 1.5px solid var(--border-strong); border-radius: 999px; padding: 8px 14px; } }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--quiet); border-radius: 18px; padding: 16px 18px; font-weight: 700; margin-bottom: 28px; }
.notice svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--pine); }
:root[data-theme="dark"] .notice svg { color: var(--yolk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice svg { color: var(--yolk); } }

/* ---------- Support / delete ---------- */
.faq details { border-bottom: 1.5px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 900; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--quiet); display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; }
.faq details[open] summary::after { content: "–"; background: var(--yolk); color: var(--ink); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.contact-cards > div { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.contact-cards b { display: block; font-weight: 900; font-size: 1.1rem; margin: 10px 0 4px; }
.contact-cards p { margin: 0; color: var(--muted); }
.contact-cards .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--tag); color: var(--tag-text); display: grid; place-items: center; }
.contact-cards .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-cards .sos .ic { background: var(--tomato); color: #fff; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.placeholder-mail { font-weight: 900; font-size: 1.05rem; background: var(--quiet); border: 2px dashed var(--border-strong); border-radius: 12px; padding: 4px 10px; display: inline-block; margin-top: 8px; }
.path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.path span { background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: 999px; padding: 6px 14px; font-weight: 900; }
.path i { color: var(--subtle); font-style: normal; font-weight: 900; }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.numbered > li::before { content: counter(n); width: 44px; height: 44px; border-radius: 50%; background: var(--yolk); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 1.15rem; }
.numbered b { display: block; font-weight: 900; font-size: 1.12rem; }
.numbered p { margin: 4px 0 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.list-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.list-card h3 { display: flex; gap: 10px; align-items: center; }
.list-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.list-card li { margin-bottom: 6px; }

/* ---------- Shared table (m/<id>) ---------- */
.invite { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 0 64px; position: relative; overflow: hidden; }
.invite-card { position: relative; z-index: 1; width: min(460px, 100% - 32px); background: var(--bg); color: var(--text); border-radius: 32px; padding: 30px 26px 26px; box-shadow: 0 30px 70px rgba(0,0,0,.35); text-align: center; }
.invite-card h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); margin: 6px 0 10px; }
.invite-card .lead { color: var(--muted); margin-bottom: 20px; }
.mini-table { width: 190px; height: 190px; margin: 0 auto 18px; position: relative; }
.mini-table .top { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #D8A06A, #B67B45 70%); box-shadow: inset 0 0 0 6px rgba(0,0,0,.08), 0 10px 20px rgb(var(--shadow) / .25); }
.mini-table .plate { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 50%; background: #FFFDF7; box-shadow: inset 0 0 0 4px #EADFCB; }
.mini-table .p1 { top: 29%; left: 42.5%; } .mini-table .p2 { bottom: 29%; left: 42.5%; } .mini-table .p3 { left: 29%; top: 42.5%; } .mini-table .p4 { right: 29%; top: 42.5%; }
.mini-table .s { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--yolk); display: grid; place-items: center; font-weight: 900; color: var(--cream); }
.mini-table .s.free { border: 3px dashed var(--pine); background: transparent; color: var(--pine); }
:root[data-theme="dark"] .mini-table .s.free { border-color: var(--mint); color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini-table .s.free { border-color: var(--mint); color: var(--mint); } }
.mini-table .s1 { top: 0; left: 39%; } .mini-table .s2 { bottom: 0; left: 39%; } .mini-table .s3 { left: 0; top: 39%; } .mini-table .s4 { right: 0; top: 39%; }
.skel { display: grid; gap: 8px; margin: 0 0 22px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.skel .row { display: flex; gap: 12px; align-items: center; }
.skel .ph { background: var(--quiet); border-radius: 8px; height: 14px; }
.skel .pic { width: 54px; height: 54px; border-radius: 12px; background: var(--quiet); flex-shrink: 0; display: grid; place-items: center; }
.skel .pic svg { width: 26px; height: 26px; color: var(--subtle); fill: none; stroke: currentColor; stroke-width: 2; }
.skel p { margin: 0; font-size: .9rem; color: var(--subtle); font-weight: 700; }
.invite-card .btn { width: 100%; }
.invite-card .stores { justify-content: center; margin-top: 16px; }
.invite-card .stores .store { flex: 1 1 170px; justify-content: center; }
.invite-card .fine { margin: 16px 0 0; font-size: .88rem; color: var(--subtle); font-weight: 700; }
.invite-card .fine code { font-size: .85em; word-break: break-all; }
.divider-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; color: var(--subtle); font-weight: 800; font-size: .9rem; }
.divider-or::before, .divider-or::after { content: ""; height: 1.5px; background: var(--border); flex: 1; }

/* ---------- Footer ---------- */
.site-foot { background: var(--field); color: var(--on-field); padding: 56px 0 32px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; position: relative; z-index: 1; }
.foot-grid h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid a { text-decoration: none; font-weight: 800; display: inline-block; padding: 6px 0; }
.foot-grid a:hover { color: var(--yolk); }
.foot-brand p { color: var(--on-field-muted); max-width: 30ch; margin-top: 14px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(251,246,236,.16); color: var(--on-field-muted); font-weight: 700; font-size: .92rem; position: relative; z-index: 1; }
.foot-base .live-chip { padding: 4px 12px 4px 9px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-glass { position: absolute; right: 4%; bottom: -10px; width: 170px; color: var(--mint); opacity: .16; }
.foot-glass svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* 404 */
.lost { text-align: center; padding: 96px 0; }
.lost .plate { width: 180px; height: 180px; margin: 0 auto 28px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 14px var(--quiet), 0 14px 30px rgb(var(--shadow) / .15); display: grid; place-items: center; font-weight: 900; font-size: 2.4rem; color: var(--subtle); }

@media (max-width: 860px) { .doodles svg:nth-child(1), .doodles svg:nth-child(4) { display: none; } .doodles svg:nth-child(2) { width: 52px !important; top: 3% !important; right: 3% !important; } }
.err:empty { margin: 0; min-height: 0; }
.legal-layout > * { min-width: 0; }
.foot-grid a.brand { display: inline-flex; padding: 0; }
@media (max-width: 860px) { .doodles svg:nth-child(3) { display: none; } }
.invite-card .eyebrow { color: var(--muted); }
/* The yolk card keeps light-mode colours in dark mode too. */
.card-yolk .btn-pine, :root[data-theme="dark"] .card-yolk .btn-pine { background: #0F4A3C; color: #FBF6EC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-yolk .btn-pine { background: #0F4A3C; color: #FBF6EC; } }
.card-yolk input::placeholder { color: #5E6E66; }
.card-yolk label { color: #10231D; }
[hidden] { display: none !important; }
.page-head .doodles svg:nth-child(3) { display: none; }
.prose .soon-fill { font-style: italic; color: var(--subtle); }
.mail-link { display: inline-block; margin-top: 8px; font-weight: 900; font-size: 1.05rem; color: var(--pine); }
:root[data-theme="dark"] .mail-link { color: var(--yolk); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mail-link { color: var(--yolk); } }
