/* ============================================================
   Cares & Cares — site stylesheet
   Self-hosted fonts. No external requests of any kind.
   ============================================================ */

/* Arimo is metrically identical to Helvetica/Arial and is served
   locally. Devices that have Helvetica installed (all Apple devices)
   will use it first; everyone else gets the identical local file. */
@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/arimo-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/arimo-latin-700-normal.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --gray-bg: #f4f4f3;
  --gray-line: #e4e4e2;
  --gray-mid: #6f6f6d;
  --ink: #1c1c1b;
  --font-stack: "Helvetica Neue", Helvetica, "Arimo", Arial, sans-serif;
  --max-width: 1100px;
}

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

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

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
header {
  border-bottom: 1px solid var(--gray-line);
}

.wordmark {
  display: block;
  padding: 28px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
}

/* ---------- Hero image ---------- */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero img {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
}

/* ---------- Statement ---------- */
.statement {
  padding: 8px 0 64px;
  text-align: center;
}

.statement p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-mid);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 56px 0;
  text-align: center;
}

.contact .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 14px;
}

.contact a {
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--gray-mid);
  border-color: var(--gray-mid);
}

/* ---------- Privacy notice ---------- */
.privacy {
  padding: 48px 0 32px;
}

.privacy h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 14px;
}

.privacy p {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 10px;
}

.privacy a {
  color: var(--gray-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-line);
}

.privacy a:hover,
.privacy a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--gray-line);
  padding: 24px 0 40px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-mid);
}

footer a {
  color: var(--gray-mid);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--ink);
}

/* ---------- 404 page ---------- */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page .code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gray-mid);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--gray-mid);
  margin-bottom: 24px;
}

.error-page a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .wordmark { padding: 22px 0; font-size: 12px; }
  .hero { padding: 36px 0 28px; }
  .statement { padding: 4px 0 48px; }
  .statement p { font-size: 15px; }
  .contact { padding: 44px 0; }
  .contact a { font-size: 16px; }
  footer .container { flex-direction: column; align-items: center; text-align: center; }
}
