/* Shared styles for the contact and policy pages */
:root {
  --ink: #17212f;
  --muted: #5b6b7a;
  --teal: #1497b3;
  --teal-light: #73c9d9;
  --light-bg: #f4f8fa;
  --light-bg-2: #e3eef3;
  --border: #b9d9e3;
  --night: #0a1630;
  --night-2: #142c55;
  --night-glow: #1f4f80;
  --gold: #f7d046;
  --gold-2: #e5a516;
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%2373c9d9' fill-opacity='.55'%3E%3Ccircle cx='24' cy='30' r='1.6'/%3E%3Ccircle cx='70' cy='58' r='1.2'/%3E%3Ccircle cx='118' cy='22' r='1.8'/%3E%3Ccircle cx='170' cy='70' r='1.3'/%3E%3Ccircle cx='196' cy='150' r='1.6'/%3E%3Ccircle cx='140' cy='132' r='1.1'/%3E%3Ccircle cx='86' cy='170' r='1.7'/%3E%3Ccircle cx='30' cy='120' r='1.2'/%3E%3Ccircle cx='52' cy='204' r='1'/%3E%3C/g%3E%3Cpath d='M24 30 70 58 118 22M170 70 140 132 196 150M86 170 30 120' stroke='%2373c9d9' stroke-opacity='.3' stroke-width='.8' fill='none'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Outfit", Arial, sans-serif;
  color: var(--ink);
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.night {
  background:
    var(--stars),
    radial-gradient(ellipse at 50% 0%, var(--night-glow) 0%, var(--night-2) 45%, var(--night) 100%);
  color: #fff;
}

/* ---------- Header ---------- */
.top { padding: 22px 0 56px; }
.top__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.logo svg { width: 34px; height: 34px; }
.logo b { font-weight: 800; }
.back {
  color: #c3d2e0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.back:hover { color: #fff; }
.top h1 {
  margin-top: 48px;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.top p { margin-top: 12px; color: #c3d2e0; font-size: 17px; }

/* ---------- Document ---------- */
.doc {
  position: relative;
  margin-top: -28px;
  margin-bottom: 64px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: 0 16px 40px rgba(23, 33, 47, 0.08);
}
.doc h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--light-bg-2);
}
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }

/* Details the business still has to fill in */
.todo {
  background: #fff3c4;
  color: #7a5200;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--light-bg));
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.contact-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.contact-card__icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, var(--night-glow), var(--night));
  color: var(--teal-light);
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
}
.contact-card div span {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  word-break: break-word;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #9fb2c4;
}
.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}
.footer a { color: #dbe6f0; text-decoration: none; }
.footer a:hover,
.footer a[aria-current] { text-decoration: underline; }

@media (min-width: 700px) {
  .doc { padding: 48px 56px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
