/* Mạn Open Kitchen & Bar — public legal pages */
:root {
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --paper: #f7f1e8;
  --paper-2: #efe6d8;
  --line: #d8cbb8;
  --wine: #6f2c2c;
  --wine-dark: #4d1d1d;
  --gold: #8a6a3b;
  --max: 44rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--wine-dark);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.1rem 0 1rem;
}

header.site .brand {
  display: block;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.15rem;
}

header.site .brand-sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav.site {
  margin-top: 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

nav.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

nav.site a {
  color: var(--ink);
}

.lang-switch {
  margin-top: 0.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

main {
  padding: 2rem 0 3rem;
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 700;
}

h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

h3 {
  margin: 1.2rem 0 0.35rem;
  font-size: 1.05rem;
}

.lede {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
}

.meta-line {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

section.lang {
  padding-top: 0.5rem;
}

section.lang + section.lang {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

address {
  font-style: normal;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}

.card p:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.links a {
  display: inline-block;
  margin-right: 0.85rem;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

footer.site strong {
  color: var(--ink);
  font-weight: 600;
}

.placeholder {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #efe3cf;
  padding: 0.05em 0.28em;
  border-radius: 0.2em;
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.55rem;
  }

  header.site,
  main,
  footer.site {
    padding-left: 0;
    padding-right: 0;
  }
}
