/* ==========================================================================
   Senior Care — Editorial
   base.css : tokens, reset, primitives
   ========================================================================== */

:root {
  /* Brand */
  --teal-900: #003b3f;
  --teal-800: #06484c;
  --teal-700: #103f42;
  --pink-600: #bf1e7b;

  /* Neutrals */
  --white: #ffffff;
  --cream: #f7f3ec;
  --sand: #f2eee6;
  --ice: #e9f5f6;
  --ice-200: #c9f8fb;
  --aqua-600: #018b95;
  --ink-900: #1a1a1a;
  --ink-700: #4a4a4a;
  --ink-500: #6b6b6b;
  --mist-200: #d9e5e5;
  --mist-300: #ccdbdb;
  --mist-400: #c7d9d9;
  --mist-500: #bfd1d1;
  --line: rgba(0, 59, 63, 0.12);
  --line-light: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1680px;
  --gutter: 120px;
  --gutter-sm: 64px;
  --radius-pill: 999px;
  --radius-card: 4px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

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

.section {
  padding-block: 90px;
}

/* --------------------------------------------------------------------------
   Eyebrow label
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-600);
}

.eyebrow--light {
  color: var(--mist-200);
}

/* --------------------------------------------------------------------------
   Pills / buttons
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill--primary {
  background: var(--pink-600);
  color: var(--white);
}

.pill--primary:hover {
  background: #a3186a;
}

.pill--glass {
  background: rgba(16, 63, 66, 0.3);
  border-color: var(--line-light);
  color: var(--white);
  font-size: 16px;
}

.pill--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--teal-900);
}

.pill--outline:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Focus visibility (accessibility)
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--pink-600);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
