@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #F7F1EC;
  --surface: #FBF7F2;
  --tint: #F0E2D6;
  --text: #1E1B1A;
  --muted: rgba(30, 27, 26, .55);
  --faint: rgba(30, 27, 26, .45);
  --accent: #8C1D18;
  --accent-dark: #6E140F;
  --veg: #4A7C3F;
  --ink: #23211F;
  --divider: rgba(30, 27, 26, .14);
  --hairline: rgba(30, 27, 26, .10);

  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(45, 43, 43, .10);
  --shadow-md: 0 3px 10px rgba(45, 43, 43, .16);
  --shadow-lg: 0 12px 32px rgba(45, 43, 43, .22);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --body: 'Lora', Georgia, serif;

  --page: 760px;
  --page-narrow: 620px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: pretty; }

/* Cormorant defaults to oldstyle figures, which turn ₹110 into ₹I I0 on a price list. */
.btn, .choice, .cart-btn, .pill, .panel-title, h1, h2, h3,
.tnum, .item-price .amount, .stepper .qty { font-variant-numeric: lining-nums tabular-nums; }
.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;
}
[hidden] { display: none !important; }

/* ── Motion ─────────────────────────────────────────────────────────── */
@keyframes hp-up    { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hp-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes hp-sheet { from { opacity: 0; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes hp-toast { 0% { opacity: 0; transform: translate(-50%, 12px); } 12%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -6px); } }
@keyframes hp-pop   { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 18px; border: 1px solid var(--accent); border-radius: var(--radius);
  background: transparent; color: var(--accent);
  font-family: var(--serif); font-weight: 600; font-size: 16px;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--tint); }
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--accent); color: var(--surface); box-shadow: var(--shadow-md); }
.btn-solid:hover { background: var(--accent-dark); color: var(--surface); transform: translateY(-2px); }

.btn-ink { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-md); }
.btn-ink:hover { background: #0F0E0D; color: var(--bg); transform: translateY(-2px); }

.btn-quiet { border-color: rgba(140, 29, 24, .55); background: rgba(251, 247, 242, .72); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px; font-size: 17px; letter-spacing: .16em; }
.btn-sm { padding: 8px 20px; font-size: 14px; letter-spacing: .16em; background: var(--surface); box-shadow: var(--shadow-sm); }
.btn-sm:hover { background: var(--accent); color: var(--surface); }

.btn-icon {
  width: 34px; height: 34px; flex: none; padding: 0;
  border: 1px solid rgba(30, 27, 26, .18); border-radius: var(--radius);
  background: transparent; color: var(--text);
  font-size: 16px; letter-spacing: 0; text-transform: none;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn-icon:hover { background: var(--tint); color: var(--accent); }

.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.link-btn {
  border: 0; background: none; padding: 0;
  font-family: var(--body); font-size: 12px; letter-spacing: .06em;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: var(--accent); }

/* ── Ornaments ──────────────────────────────────────────────────────── */
.rule-motif {
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M12 1L21 7L12 13L3 7Z' fill='none' stroke='%238C1D18' stroke-width='1.1'/%3E%3Ccircle cx='12' cy='7' r='2' fill='%238C1D18'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; opacity: .4;
}

.kicker {
  font-family: var(--serif); font-size: 15px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}

.eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ── Home ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%238C1D18' stroke-width='1' opacity='0.16'%3E%3Cpath d='M32 6L58 32L32 58L6 32Z'/%3E%3Cpath d='M32 20L44 32L32 44L20 32Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
}
.hero::before {
  content: ''; position: absolute; left: 50%; top: 8%;
  width: min(560px, 120vw); height: min(560px, 120vw);
  transform: translateX(-50%);
  border: 1px solid rgba(140, 29, 24, .16); border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(247,241,236,.92) 34%, rgba(247,241,236,.78) 62%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 44px 20px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  animation: hp-up .8s ease both;
}
.hero-logo { width: min(300px, 66vw); height: auto; display: block; }
.hero-title {
  font-size: clamp(25px, 7.4vw, 34px); line-height: 1.16;
  text-align: center; max-width: 460px;
}
.hero-actions {
  display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px; width: 100%; max-width: 520px; margin-top: 4px;
}
.hero-actions .span-2 { grid-column: span 2; }
.hero-actions .btn { font-size: 15px; letter-spacing: .1em; padding: 15px 12px; }
.hero-actions .span-2.btn-solid { padding: 17px 18px; font-size: 19px; letter-spacing: .12em; }
.hero-meta {
  margin: 2px 0 0; font-size: 12px; letter-spacing: .06em;
  color: var(--muted); text-align: center; max-width: 360px;
}
.hero-scroll {
  margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint);
}
.hero-scroll:hover { color: var(--accent); }

/* ── Menu ───────────────────────────────────────────────────────────── */
.menu-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 241, 236, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
}
.menu-header-row {
  max-width: var(--page); margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; gap: 14px;
}
.brand { flex: 1; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.1; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-sub { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.cart-btn {
  flex: none; padding: 9px 15px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: transparent; color: var(--accent);
  font-family: var(--serif); font-weight: 600; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background .18s ease;
}
.cart-btn:hover { background: var(--tint); }

.cat-nav {
  max-width: var(--page); margin: 0 auto; padding: 0 18px 11px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; padding: 6px 13px;
  border: 1px solid rgba(30, 27, 26, .16); border-radius: 999px;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(30, 27, 26, .7); white-space: nowrap; transition: all .18s ease;
}
.cat-chip:hover, .cat-chip.is-active { border-color: var(--accent); color: var(--accent); }

.menu-body { max-width: var(--page); margin: 0 auto; padding: 24px 16px 40px; }
/* The fixed cart bar sits over the page foot, so the foot keeps clear of it. */
body.has-bar .site-foot { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }

.cat { scroll-margin-top: 112px; margin-bottom: 38px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px; }
.cat-head h2 { font-size: clamp(23px, 6.4vw, 28px); letter-spacing: -.01em; }
.cat-head .rule { flex: 1; height: 1px; background: var(--divider); }
.cat-note { margin: 0 0 18px; font-size: 12.5px; font-style: italic; color: var(--muted); }

.item { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.item-row { display: flex; gap: 16px; align-items: flex-start; }
.item-thumb {
  width: clamp(74px, 21vw, 92px); height: clamp(74px, 21vw, 92px); flex: none;
  border-radius: var(--radius); overflow: hidden;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='none' stroke='%238C1D18' stroke-width='1' opacity='0.3'%3E%3Cpath d='M18 4L32 18L18 32L4 18Z'/%3E%3Cpath d='M18 11L25 18L18 25L11 18Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 36px 36px;
}
.item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-main { flex: 1; min-width: 0; }
.item-top { display: flex; align-items: flex-start; gap: 12px; }
.item-name-wrap { flex: 1; min-width: 0; }
.item-name-row { display: flex; align-items: center; gap: 8px; }
.item-name { font-weight: 600; font-size: clamp(17px, 4.7vw, 20px); line-height: 1.2; }

.mark {
  width: 13px; height: 13px; flex: none;
  border: 1.5px solid var(--accent); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mark::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mark.is-veg { border-color: var(--veg); }
.mark.is-veg::after { background: var(--veg); }

.tag {
  display: inline-block; margin-top: 6px; padding: 2px 8px;
  border: 1px solid rgba(140, 29, 24, .4); border-radius: 2px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}

.item-price { text-align: right; flex: none; }
.item-price .amount {
  font-family: var(--serif); font-weight: 600; font-size: 19px;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.item-price .note {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.item-desc { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: rgba(30, 27, 26, .62); }
.item-actions { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.stepper {
  display: flex; align-items: center; flex: none;
  border: 1px solid var(--accent); border-radius: var(--radius); overflow: hidden;
  animation: hp-pop .25s ease;
}
.stepper button {
  width: 34px; height: 34px; border: 0; background: var(--surface);
  color: var(--accent); font-size: 17px; cursor: pointer;
}
.stepper button:hover { background: var(--tint); }
.stepper .qty {
  min-width: 30px; text-align: center; font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600; color: var(--accent);
}
.stepper.is-quiet { border-color: rgba(140, 29, 24, .5); }
.stepper.is-quiet button { width: 30px; height: 30px; background: transparent; font-size: 16px; }
.stepper.is-quiet .qty { min-width: 26px; font-size: 14px; }

.menu-foot { margin: 18px 0 0; text-align: center; font-size: 12px; font-style: italic; color: var(--muted); }

/* ── Cart & checkout ────────────────────────────────────────────────── */
.view-narrow { max-width: var(--page-narrow); margin: 0 auto; padding: 24px 16px 40px; animation: hp-in .3s ease both; }
.view-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.view-head h2 { font-size: 30px; }
.view-sub { margin: -16px 0 24px 48px; font-size: 12.5px; font-style: italic; color: var(--muted); }

.cart-line {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--hairline);
}
.cart-line .mark { margin-top: 5px; }
.cart-line-main { flex: 1; min-width: 0; }
.cart-line-name { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.cart-line-sub { font-size: 12px; color: var(--muted); }
.cart-line-total {
  width: 70px; text-align: right; flex: none;
  font-family: var(--serif); font-weight: 600; font-size: 17px; font-variant-numeric: lining-nums tabular-nums;
}
.cart-empty { font-style: italic; color: var(--muted); }
.cart-empty .link-btn { font-size: inherit; font-style: normal; color: var(--accent); }

.panel {
  border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 16px; background: var(--surface);
}
.panel-accent { border-color: rgba(140, 29, 24, .28); }
.panel-title { font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .06em; }
.panel-note { margin: 4px 0 12px; font-size: 12.5px; font-style: italic; color: var(--muted); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 14px; border: 1px solid rgba(140, 29, 24, .5); border-radius: 999px;
  background: transparent; color: var(--accent);
  font-family: var(--body); font-size: 13px; cursor: pointer; transition: background .18s ease;
}
.pill:hover { background: var(--tint); }

.bill { margin-top: 26px; border-top: 2px solid var(--divider); padding-top: 16px; }
.bill-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 5px 0; font-size: 14px; color: rgba(30, 27, 26, .72);
}
.bill-total {
  display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--divider);
  font-family: var(--serif); font-weight: 600; font-size: 22px;
}

.form { display: flex; flex-direction: column; gap: 20px; }
.field label, .field .eyebrow { display: block; margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(30, 27, 26, .2); border-radius: var(--radius);
  background: var(--surface); font-size: 15px; color: var(--text);
}
.textarea { resize: vertical; }
.select { appearance: none; background-image: none; cursor: pointer; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); outline: none; }
.input.is-error, .textarea.is-error, .select.is-error { border-color: var(--accent); background: #FBEDEA; }

.field-error { margin: 6px 0 0; font-size: 12px; color: var(--accent); }
.field-hint { margin: 6px 0 0; font-size: 12px; font-style: italic; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-col { display: flex; flex-direction: column; gap: 10px; }
.choice {
  padding: 11px 16px; border: 1px solid rgba(30, 27, 26, .2); border-radius: var(--radius);
  background: transparent; color: var(--text);
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  cursor: pointer; transition: all .18s ease; text-align: left;
}
.choice:hover { border-color: var(--accent); }
.choice.is-on { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.choice small {
  display: block; font-family: var(--body); font-weight: 400; font-size: 11px;
  letter-spacing: 0; text-transform: none; opacity: .7;
}
.choice-caps { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.choice-split { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(30, 27, 26, .72); cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }

.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13.5px; }
.summary-rule { height: 1px; background: var(--divider); margin: 12px 0; }
.summary-total {
  display: flex; justify-content: space-between; margin-top: 10px; padding-top: 11px;
  border-top: 1px solid var(--divider);
  font-family: var(--serif); font-weight: 600; font-size: 20px;
}

/* ── Item sheet ─────────────────────────────────────────────────────── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(30, 27, 26, .42);
  display: flex; align-items: flex-end; justify-content: center;
  animation: hp-in .2s ease both;
}
.sheet {
  width: 100%; max-width: 560px; max-height: 88svh; overflow: auto;
  background: var(--bg);
  border: 1px solid var(--divider); border-bottom: 0; border-radius: 8px 8px 0 0;
  padding-bottom: 20px;
  animation: hp-sheet .32s cubic-bezier(.2, .8, .25, 1) both;
  box-shadow: 0 -12px 32px rgba(45, 43, 43, .22);
}
.sheet-media {
  position: relative; height: 190px; overflow: hidden;
  border-bottom: 1px solid rgba(30, 27, 26, .12);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%238C1D18' stroke-width='1' opacity='0.22'%3E%3Cpath d='M24 5L43 24L24 43L5 24Z'/%3E%3Cpath d='M24 14L34 24L24 34L14 24Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 48px 48px;
}
.sheet-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* No photo for this dish yet — keep the band as a slim ornament, not a gap. */
.sheet-media.is-empty { height: 84px; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(30, 27, 26, .18); background: rgba(247, 241, 236, .9);
  font-size: 15px; cursor: pointer;
}
.sheet-body { padding: 20px 22px 0; }
.sheet-name-row { display: flex; align-items: center; gap: 9px; }
.sheet-name { font-weight: 600; font-size: 25px; }
.sheet-desc { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: rgba(30, 27, 26, .65); }
.sheet-group { margin-top: 20px; }
.sheet-confirm { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.sheet-confirm .stepper { border-color: rgba(30, 27, 26, .2); }
.sheet-confirm .stepper button { width: 40px; height: 46px; background: transparent; color: var(--text); font-size: 18px; }
.sheet-confirm .stepper .qty { min-width: 34px; color: var(--text); }
.sheet-confirm .btn { flex: 1; height: 46px; padding: 0 12px; font-size: 16px; letter-spacing: .14em; }

/* ── Fixed bar & toast ──────────────────────────────────────────────── */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247,241,236,0), rgba(247,241,236,.96) 34%);
  animation: hp-up .3s ease both;
}
.cart-bar button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 20px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--surface);
  cursor: pointer; box-shadow: var(--shadow-lg); transition: background .18s ease;
}
.cart-bar button:hover { background: var(--accent-dark); }
.cart-bar .left { font-size: 13px; letter-spacing: .04em; opacity: .9; }
.cart-bar .right { font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 80;
  padding: 11px 20px; border-radius: var(--radius);
  background: var(--text); color: var(--bg);
  font-size: 13px; letter-spacing: .03em; white-space: nowrap;
  box-shadow: 0 12px 32px rgba(45, 43, 43, .3);
  animation: hp-toast 2.2s ease forwards;
}
/* The sheet covers the bottom of the screen, so the toast moves out of its way. */
.toast.is-high { top: calc(16px + env(safe-area-inset-top)); bottom: auto; }

/* ── Done ───────────────────────────────────────────────────────────── */
.done { max-width: 520px; margin: 0 auto; padding: 72px 22px; text-align: center; animation: hp-up .5s ease both; }
.done h2 { font-size: 34px; margin-bottom: 10px; }
.done .lead { margin: 0 0 6px; font-size: 15px; color: rgba(30, 27, 26, .7); }
.done .meta { margin: 0 0 26px; font-size: 13px; font-style: italic; color: var(--muted); }
.done .rule-motif { opacity: .5; margin-bottom: 28px; }
.done-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--divider);
  margin-top: 40px;
  padding: 32px 18px calc(40px + env(safe-area-inset-bottom));
  text-align: center; font-size: 12.5px; color: var(--muted);
}
.site-foot .rows { max-width: var(--page); margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.site-foot .credit { font-size: 11px; color: var(--faint); margin-top: 4px; }
.site-foot strong { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--text); }

@media (min-width: 620px) {
  .done-actions { flex-direction: row; justify-content: center; }
}
