/* styles.css */

/* ---------------------------
   Base + design tokens
---------------------------- */
:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1100px;

  --bg: #ffffff;
  --ink: #14211e;
  --muted: #51635e;

  --accent: #d56a2b; /* thin orange rule */
  --deep: #19342f;   /* dark strip */
  --cream: #f3ede4;  /* section background */

  --sand: #caa273;
  --clay: #8b4b3d;
  --forest: #2f5a46;

  --radius: 10px;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

  --focus: 3px solid rgba(213, 106, 43, 0.55);
}

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

html {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
}

body {
  margin: 0;
}

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

/* Visible focus for keyboard users */
:focus-visible {
  outline: var(--focus);
  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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transform: translateY(-200%);
  transition: transform 150ms ease;
  z-index: 1000;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------------------------
   Layout helpers
---------------------------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ---------------------------
   Header
---------------------------- */
.site-header {
  position: relative;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}
.brand-name {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.brand-sub {
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #2a3f39;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  line-height: 1;
}

.header-note {
  padding: 0.5rem 0.5rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 100px;
}

.header-accent {
  height: 3px;
  background: var(--accent);
}

/* ---------------------------
   Buttons
---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  width: fit-content;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost {
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
  color: #2a3f39;
}

.btn--brand {
  background: #1f3f35;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 63, 53, 0.22);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(31, 63, 53, 0.28);
  color: #1f3f35;
}

/* ---------------------------
   Hero + care article
---------------------------- */
.hero {
  position: relative;
}

.hero-media {
  position: relative;
  height: clamp(220px, 52vw, 340px);
  background-image: url("hero.jpg"); /* replace */
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* subtle overlay so white text can work if you choose */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08));
}

/* Cards overlay at bottom of hero (used on other pages) */
.hero-cards {
  position: relative;
  margin-top: -72px; /* pull cards onto hero */
  padding-bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

main {
  margin-top: 2em;
}

.article-layout {
  position: relative;
  margin-top: -72px; /* pull article onto hero */
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.about-article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.8vw, 2rem);
  color: #2a3f39;
}

.article-eyebrow {
  margin: 0 0 0.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(42, 63, 57, 0.62);
}

.about-article h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: #2a3f39;
}

.about-article p {
  margin: 0 0 1rem;
  color: #4d5f59;
  font-size: 0.98rem;
}

.article-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(42, 63, 57, 0.12);
}

.article-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: #c05a2a;
}

.article-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: #4d5f59;
}

.article-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.care-article {
  position: relative;
  margin-top: -92px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.care-article__header {
  border-bottom: 2px solid rgba(213, 106, 43, 0.2);
  padding-bottom: 1.35rem;
  margin-bottom: 1.65rem;
}

.care-article__kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clay);
  margin: 0 0 0.6rem;
}

.care-article__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.care-article__lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.care-article__notice {
  background: rgba(202, 162, 115, 0.2);
  border-left: 4px solid var(--sand);
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: #553822;
  font-size: 0.95rem;
}

.care-article__body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.2rem);
  align-items: start;
}

.care-section + .care-section {
  margin-top: 1.75rem;
}

.care-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #1f2c28;
}

.care-section p {
  margin: 0 0 0.85rem;
  color: #4d5c58;
}

.care-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #3d4b47;
}

.care-list li + li {
  margin-top: 0.35rem;
}

.care-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.care-split h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #244039;
}

.care-split p {
  margin: 0;
  color: #4d5c58;
}

.care-article__aside {
  display: grid;
  gap: 1rem;
}

/* Card system (shared across pages) */
.card {
  --card-bg: #fff;
  --card-ink: #1c2f2a;
  --card-muted: rgba(28, 47, 42, 0.78);
  --card-heading: #1f3f35;
  --card-border: none;
  --card-shadow: var(--shadow);
  --card-radius: var(--radius);
  --card-bullet: rgba(42, 63, 57, 0.55);
  background: var(--card-bg);
  color: var(--card-ink);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 1.05rem 1.1rem 1.2rem;
  overflow: hidden;
}

.card h2,
.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--card-heading);
}

.card p {
  margin: 0 0 0.95rem;
  color: var(--card-muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--card-muted);
}

.card li + li {
  margin-top: 0.35rem;
}

.card-note {
  margin: 0;
  color: var(--card-muted);
  font-size: 0.88rem;
}

.card--roomy {
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  border-radius: clamp(18px, 2.2vw, 26px);
}

.card--surface {
  --card-bg: #fff;
  --card-border: 1px solid rgba(24, 51, 43, 0.12);
  --card-shadow: 0 18px 36px rgba(22, 35, 31, 0.08);
}

.card--soft {
  --card-bg: #f7faf8;
  --card-border: 1px solid rgba(31, 63, 53, 0.15);
  --card-shadow: 0 16px 30px rgba(18, 32, 28, 0.08);
}

.card--tint {
  --card-bg: rgba(202, 162, 115, 0.12);
  --card-border: 1px solid rgba(202, 162, 115, 0.3);
  --card-shadow: 0 16px 30px rgba(18, 32, 28, 0.08);
  --card-ink: #2b1c16;
  --card-muted: rgba(43, 28, 22, 0.72);
  --card-heading: #8b4b3d;
  --card-bullet: rgba(139, 75, 61, 0.6);
}

.card--tint h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #8b4b3d;
}

.card--paper {
  --card-bg: #fffaf4;
  --card-border: 1px solid rgba(139, 75, 61, 0.12);
  --card-heading: #8b4b3d;
}

.card--sand {
  --card-bg: linear-gradient(180deg, rgba(202, 162, 115, 0.94), rgba(202, 162, 115, 0.9));
  --card-ink: rgba(255, 255, 255, 0.95);
  --card-muted: rgba(255, 255, 255, 0.85);
  --card-heading: #fff;
  --card-bullet: rgba(255, 255, 255, 0.75);
}

.card--clay {
  --card-bg: linear-gradient(180deg, rgba(139, 75, 61, 0.96), rgba(139, 75, 61, 0.92));
  --card-ink: rgba(255, 255, 255, 0.95);
  --card-muted: rgba(255, 255, 255, 0.85);
  --card-heading: #fff;
  --card-bullet: rgba(255, 255, 255, 0.75);
}

.card--forest {
  --card-bg: linear-gradient(180deg, rgba(47, 90, 70, 0.96), rgba(47, 90, 70, 0.92));
  --card-ink: rgba(255, 255, 255, 0.95);
  --card-muted: rgba(255, 255, 255, 0.85);
  --card-heading: #fff;
  --card-bullet: rgba(255, 255, 255, 0.75);
}

/* ---------------------------
   Sponsor article
---------------------------- */
.hero-cards--article {
  margin-top: -84px;
  padding-bottom: 2rem;
  display: block;
}

.sponsor-hero {
  background: #f7f8f5;
  padding: 2.75rem 0 3rem;
}

.sponsor-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}

.sponsor-hero__media {
  display: block;
  width: 100%;
  height: clamp(320px, 55vw, 520px);
  border-radius: 24px;
  object-fit: cover;
  object-position: left center;
  box-shadow: 0 24px 50px rgba(31, 44, 40, 0.14);
}

.sponsor-hero__content {
  display: grid;
  gap: 1rem;
  color: #1c2f2a;
}

.sponsor-hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: rgba(31, 63, 53, 0.65);
}

.sponsor-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #18332b;
}

.sponsor-hero__lede {
  margin: 0;
  font-size: 1.05rem;
  color: #445754;
  max-width: 68ch;
}

.sponsor-hero__meta {
  display: grid;
  gap: 1rem;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid rgba(24, 51, 43, 0.12);
  border-bottom: 1px solid rgba(24, 51, 43, 0.12);
}

.sponsor-hero__block {
  display: grid;
  gap: 0.35rem;
}

.sponsor-hero__label {
  margin: 0;
  font-weight: 600;
  color: #1f3f35;
  font-size: 1rem;
}

.sponsor-hero__text {
  margin: 0;
  color: #51635f;
  font-size: 0.95rem;
}

.sponsor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sponsor-details {
  background: #f7f8f5;
  padding: 0 0 2.75rem;
}

.sponsor-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.sponsor-panel--full {
  grid-column: 1 / -1;
}

.sponsor-callouts {
  padding: 2.75rem 0 3rem;
  background: #fff;
}

.sponsor-callouts__header {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto 2rem;
}

.sponsor-callouts__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(31, 63, 53, 0.65);
}

.sponsor-callouts h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #18332b;
}

.sponsor-callouts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.sponsor-article__note {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.sponsor-article__list {
  margin: 0 0 0.25rem;
  padding-left: 1.1rem;
}

/* ---------------------------
   Pricing article
---------------------------- */
.pricing-article {
  position: relative;
  margin-top: -72px;
  padding-bottom: 2.25rem;
}

.pricing-article-header h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: #8b4b3d;
}

.pricing-article-header p {
  margin: 0 0 0.9rem;
  color: #40524f;
  max-width: 70ch;
}

.pricing-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c05a2a;
  margin: 0 0 0.5rem;
}

.pricing-section {
  margin-top: 2rem;
}

.pricing-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #2f5a46;
}

.pricing-subhead {
  margin: 0 0 1rem;
  color: #5c6e69;
  font-weight: 600;
}

.pricing-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.pricing-panel p {
  margin: 0 0 0.85rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.95rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.pricing-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--card-bullet, rgba(42, 63, 57, 0.55));
}

.pricing-panel .pricing-note {
  margin: 0 0 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-section p {
  max-width: 75ch;
  color: var(--card-muted);
  margin-top: 1em;
}

.pricing-note {
  color: #35504a;
}


.pricing-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}


/* ---------------------------
   CTA strip
---------------------------- */
.cta-strip {
  background: var(--deep);
  color: #fff;
  padding: 1rem 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-strip-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

/* ---------------------------
   Feature section
---------------------------- */
.feature {
  background: var(--cream);
  padding: 2.25rem 0 2.6rem;
}

.feature-title {
  text-align: center;
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #c05a2a; /* matches the screenshot vibe */
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.feature-item {
  padding: 0.75rem 0.75rem 0;
}

.feature-item--wide {
  grid-column: span 2;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1.5rem;
}

.feature-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #c05a2a;
}

.feature-item p {
  margin: 0 auto;
  max-width: 34ch;
  color: #5c6e69;
  font-size: 0.95rem;
}

/* ---------------------------
   Responsive behavior
---------------------------- */
@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    right: 1rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 0.65rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    min-width: 220px;
    z-index: 100;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
  }

  .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
    text-decoration: none;
  }

  .hero-cards {
    margin-top: -44px;
    grid-template-columns: 1fr;
  }

  .article-layout {
    margin-top: -44px;
    grid-template-columns: 1fr;
  }

  .pricing-article {
    margin-top: -44px;
  }

  .pricing-compare,
  .pricing-callouts {
    grid-template-columns: 1fr;
  }

  .sponsor-hero__layout {
    grid-template-columns: 1fr;
  }

  .sponsor-details__grid,
  .sponsor-callouts__grid {
    grid-template-columns: 1fr;
  }

  .care-article {
    margin-top: -54px;
  }

  .care-article__body {
    grid-template-columns: 1fr;
  }

  .care-split {
    grid-template-columns: 1fr;
  }

  .cta-strip-inner {
    flex-direction: column;
    aligns-items: flex-start;
    align-items: stretch;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item--wide {
    grid-column: auto;
  }
}

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