/* Tempera website. Tokens from Tempera design system v1. */
:root {
  --canvas: #F2F3F7;
  --surface: #FFFFFF;
  --ink: #0F1115;
  --ink-muted: #5A6070;
  --track: #E4E6EC;
  --hairline: #F0F1F5;
  --accent: #5B4BEF;
  --accent-ink: #4536D6;
  --accent-soft: #EEECFF;
  --success-ink: #256B43;
  --success-soft: #E8F3EC;
  --button-hover: #2A2E37;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  background: var(--ink);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* Page shell */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

/* Header */
.site-header {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.home-link:hover { color: var(--ink); }
.home-link img {
  display: block;
  width: 44px;
  height: auto;
  mix-blend-mode: multiply;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.brand-tagline {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .875rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--accent);
}

.site-nav { display: flex; gap: 6px; }
.site-nav a {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
}
.site-nav a:hover { background: var(--track); color: var(--ink); }
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
}

/* Main */
main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 24px 0 72px;
  display: flex;
  flex-direction: column;
}
.main-wide { max-width: 1040px; gap: 20px; }
.main-text { max-width: 720px; gap: 32px; }

/* Footer */
.site-footer {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--track);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 40px;
}
.site-footer p {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 560px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink);
}

/* Shared pieces */
.card {
  background: var(--surface);
  border-radius: 22px;
  padding: 24px;
}

.label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Landing */
.hero {
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-text {
  padding: clamp(32px, 7vw, 80px) clamp(24px, 7vw, 80px) 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.hero h1 {
  font-size: clamp(2.75rem, 8.4vw, 5.5rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 560px;
}
.hero-mark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(8px, 3vw, 24px);
  mix-blend-mode: multiply;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.feature-icon.is-success { background: var(--success-soft); color: var(--success-ink); }
.feature-icon.is-accent { background: var(--accent-soft); color: var(--accent-ink); }
.feature-body { display: flex; flex-direction: column; gap: 4px; }
.feature h2 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.feature p { font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }

/* Text pages */
.page-intro { display: flex; flex-direction: column; gap: 14px; }
.back-link {
  align-self: flex-start;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }
.page-intro h1 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.updated { font-size: .9375rem; color: var(--ink-muted); }
.lead { font-size: 1.125rem; line-height: 1.55; color: var(--ink-muted); }

.body-text { font-size: 1.0625rem; line-height: 1.6; }

.section-title {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* Privacy */
.summary { display: flex; flex-direction: column; gap: 14px; }
.summary-statement { font-size: 1.375rem; line-height: 1.35; font-weight: 700; }
.checklist {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.5;
}
.checklist li { display: flex; gap: 10px; }
.check { color: var(--success-ink); font-weight: 800; }

.policy {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.policy section,
.ruled {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy section + section,
.ruled {
  border-top: 1px solid var(--track);
  padding-top: 28px;
}
.policy .contact { gap: 12px; }

.contact-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.contact-card a {
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: break-word;
  min-width: 0;
}

/* Support */
.email-card { display: flex; flex-direction: column; gap: 18px; }
.email-card-head { display: flex; flex-direction: column; gap: 6px; }
.muted { font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 0 22px;
  border-radius: 26px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--button-hover); color: #FFFFFF; }
.button svg { flex: none; }
.button span { overflow-wrap: anywhere; }

.panel {
  background: var(--canvas);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel ul {
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  line-height: 1.5;
}
.panel p { font-size: .9375rem; line-height: 1.5; color: var(--ink-muted); }

.troubleshoot { display: flex; flex-direction: column; gap: 16px; }
.troubleshoot > h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.steps {
  padding: 0;
  list-style: none;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.steps li { display: flex; gap: 16px; padding: 20px; }
.steps li + li { border-top: 1px solid var(--hairline); }
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .9375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.step-body { display: flex; flex-direction: column; gap: 4px; }
.steps h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.steps p { font-size: 1rem; line-height: 1.5; color: var(--ink-muted); }
.steps strong { color: var(--ink); }

.disclaimer {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 18px;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
