/* Shared styling for Narrowline legal / support pages.
   Mirrors the tokens used on the homepage so these read as part of the site. */

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

:root {
  --text-primary: #0D0D0B;
  --text-secondary: #5A5955;
  --text-tertiary: #9A9893;
  --border-light: rgba(13,13,11,0.12);
  --bg-primary: #FAFAF8;
  --bg-secondary: #F2F1EE;
  --radius-md: 8px;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #F0EFEC;
    --text-secondary: #9A9893;
    --text-tertiary: #666460;
    --border-light: rgba(240,239,236,0.1);
    --bg-primary: #141412;
    --bg-secondary: #1C1C1A;
  }
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 56px 24px 96px; }

a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text-secondary); }

.back {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-bottom: 40px;
}
.back:hover { color: var(--text-secondary); }

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 12px;
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 40px 0 12px;
}

h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin: 24px 0 8px;
}

.meta {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

p { margin-bottom: 14px; }
ul { margin: 0 0 14px 20px; }
li { margin-bottom: 7px; }

.lede { font-size: 17px; color: var(--text-primary); margin: 28px 0 4px; }

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 22px 0;
}
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }

ol.steps { margin: 0 0 14px 20px; }
ol.steps li { margin-bottom: 10px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
th { font-weight: 500; color: var(--text-primary); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-tertiary);
}
