/* Urgewave legal pages — white, mobile-friendly
   Host with privacy.html + termofuse.html at techarm.ca/urgewave/ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #0b6e4f;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

a:hover,
a:focus-visible {
  color: #08553c;
}

.page {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.site-header {
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

.brand {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
}

h1 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #111111;
}

.meta {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5c5c5c;
}

.meta dt {
  display: inline;
  font-weight: 600;
  color: #3d3d3d;
}

.meta dd {
  display: inline;
  margin: 0 0 0 0.25em;
}

.meta dd::after {
  content: "";
  display: block;
  margin-bottom: 0.35em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  text-decoration: underline;
}

.intro {
  margin: 0 0 28px;
  font-size: 1rem;
  color: #2a2a2a;
}

.intro p {
  margin: 0 0 12px;
}

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

section {
  margin: 0 0 28px;
  padding-top: 4px;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 650;
  color: #222222;
}

section p {
  margin: 0 0 12px;
}

section p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 650;
  color: #111111;
}

.legal-caps {
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ececec;
}

th {
  background: #f7f7f7;
  font-weight: 650;
  color: #222;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) td {
  background: #fafafa;
}

.site-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  font-size: 0.875rem;
  color: #5c5c5c;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer .tagline {
  font-style: italic;
  color: #6b6b6b;
}

@media (min-width: 640px) {
  .page {
    padding: 40px 32px 64px;
  }

  h1 {
    font-size: 2rem;
  }

  body {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
