:root {
  color-scheme: light;
  --ink: #183532;
  --muted: #5e6d6b;
  --teal: #1a403d;
  --teal-soft: #eaf2f0;
  --gold: #b98d2f;
  --gold-soft: #fbf6e8;
  --line: #dfe8e5;
  --paper: #ffffff;
  --background: #f5f7f6;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #8b671a; }

.site-header {
  color: #fff;
  background: var(--teal);
  border-bottom: 4px solid var(--gold);
}

.header-inner,
.page,
.footer-inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner { padding: 30px 0 28px; }

.brand {
  color: #ead39a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header h1 {
  margin: 6px 0 4px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
}

.site-header p { margin: 0; color: rgba(255,255,255,.72); }

.legal-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px max(16px, calc((100% - 920px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.legal-nav a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] { color: #fff; background: var(--teal); border-color: var(--teal); }

.page {
  margin-top: 28px;
  margin-bottom: 36px;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(20, 55, 51, .07);
}

.updated { margin: 0 0 26px; color: var(--muted); font-size: 14px; }

h2 {
  margin: 30px 0 8px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.3;
}

h2:first-of-type { margin-top: 0; }
h3 { margin: 22px 0 6px; color: var(--teal); font-size: 17px; }
p { margin: 0 0 14px; }
ul { margin: 8px 0 18px; padding-left: 24px; }
li + li { margin-top: 6px; }

.callout,
.contact-card {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid #ead7a9;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: var(--gold-soft);
}

.contact-card { border-color: #bcd2cd; border-left-color: var(--teal); background: var(--teal-soft); }
.contact-card p:last-child, .callout p:last-child { margin-bottom: 0; }

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 6px 8px 6px 0;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

dl { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; gap: 10px 18px; }
dt { font-weight: 800; }
dd { margin: 0; }

.site-footer { color: rgba(255,255,255,.75); background: var(--teal); }
.footer-inner { padding: 24px 0; font-size: 13px; text-align: center; }
.footer-inner a { color: #ead39a; }

@media (max-width: 620px) {
  body { font-size: 15px; }
  .page { width: calc(100% - 20px); margin-top: 14px; padding: 22px 18px; border-radius: 14px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
}

@media print {
  .legal-nav { display: none; }
  .page { width: 100%; margin: 0; padding: 24px 0; border: 0; box-shadow: none; }
  .site-header { border-bottom-width: 2px; }
}

button.action-link { border: 0; font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
.danger-action { background: #9b3030; }
.secondary-action { color: var(--teal); background: var(--teal-soft); }
.delete-consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; }
.delete-consent input { width: 22px; height: 22px; flex: 0 0 auto; }
#deletion-message { margin-top: 18px; font-weight: 700; }
#deletion-sign-in { max-width: 100%; overflow: hidden; }
#deletion-code-input { display: block; width: 100%; max-width: 460px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: inherit; }
