:root {
  --font-display: "Crimson Text", Georgia, serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --color-accent-1: #485c11;
  --color-accent-2: #dfecc6;
  --color-accent-4: #000000;
  --color-accent-6: #929292;
  --color-bg-1: #ffffff;
  --color-text-headline: #000000;
  --color-text-paragraph: #6f6f6f;
  --color-text-captions: #485c11;
  --color-text-on-accent: #ffffff;
  --color-divider: #e9e9e9;
  --color-footer-muted: rgb(255 255 255 / 0.55);
  --color-footer-link: rgb(255 255 255 / 0.47);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-1);
  font-family: var(--font-sans);
  color: var(--color-text-paragraph);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: color-mix(in srgb, var(--color-accent-2) 70%, white);
  color: var(--color-accent-1);
}

.heading-1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-text-headline);
}

.heading-1.on-dark,
.heading-1.text-white {
  color: #ffffff;
}

.heading-faq {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-headline);
}

.heading-2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-text-headline);
}

.heading-3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-headline);
}

.caption {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-captions);
}

.section-y {
  padding-block: 5rem;
}

@media (width >= 48rem) {
  .section-y {
    padding-block: 6rem;
  }
}

.display-stat {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-accent-6);
}

.reveal {
  animation: rise-in 0.8s ease both;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.links-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-inline: 2.75rem;
}

.links-carousel__track::-webkit-scrollbar {
  display: none;
}

.links-carousel__card {
  flex: 0 0 auto;
  width: min(72vw, 220px);
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.links-carousel__card:hover {
  transform: scale(1.02);
}

.links-carousel__card:focus-visible {
  outline: 2px solid var(--color-accent-1);
  outline-offset: 3px;
}

.links-carousel__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.links-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 0;
  background: rgb(255 255 255 / 0.85);
  color: var(--color-accent-1);
  box-shadow: 0 2px 10px rgb(72 92 17 / 0.1);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.links-carousel__control:hover {
  background: #ffffff;
  box-shadow: 0 4px 14px rgb(72 92 17 / 0.14);
}

.links-carousel__control:focus-visible {
  outline: 2px solid var(--color-accent-1);
  outline-offset: 2px;
}

.links-carousel__control--prev {
  left: 0;
}

.links-carousel__control--next {
  right: 0;
}

@media (width >= 48rem) {
  .links-carousel__card {
    width: 260px;
  }

  .links-carousel__track {
    gap: 1.5rem;
    padding-inline: 3.25rem;
  }
}

@media (width >= 64rem) {
  .links-carousel__card {
    width: 279px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3 {
    animation: none;
  }

  .mobile-menu {
    transition: none;
  }

  .links-carousel__track {
    scroll-behavior: auto;
  }

  .links-carousel__card {
    transition: none;
  }
}

body.menu-open {
  overflow: hidden;
}

#menu-toggle {
  z-index: 80;
}

.mobile-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#menu-toggle.is-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#menu-toggle.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

[data-faq] [data-faq-button] img {
  transition: transform 0.25s ease;
}

[data-faq].is-open [data-faq-button] img {
  transform: rotate(180deg);
}

.theme-care {
  --care-blue: #3d7fd9;
  --care-blue-soft: #d7e8fb;
  --care-navy: #15244d;
  --care-yellow: #f4d35e;
  --care-yellow-soft: #fff6d6;
  --care-ink: #1a2333;
  --care-muted: #5c677a;
  --font-care: "Figtree", "DM Sans", sans-serif;
  --font-care-display: "Fraunces", "Crimson Text", serif;
  font-family: var(--font-care);
  color: var(--care-muted);
  background: #fff;
}

.theme-care .care-display {
  font-family: var(--font-care-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--care-ink);
  line-height: 1.05;
}

.theme-care .care-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.85rem 1.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-care .care-btn:hover {
  transform: translateY(-1px);
}

.theme-care .care-btn-yellow {
  background: var(--care-yellow);
  color: var(--care-ink);
}

.theme-care .care-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.theme-care .care-card {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(21, 36, 77, 0.08);
}

.theme-care .care-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--care-yellow);
  color: var(--care-ink);
  font-weight: 800;
  font-size: 0.85rem;
}

.theme-lane {
  --lane-teal: #2f9d78;
  --lane-teal-soft: #e7f7f1;
  --lane-ink: #0c1c17;
  --lane-muted: #5a6b65;
  --lane-line: #e6eeea;
  --font-lane: "Outfit", "DM Sans", sans-serif;
  font-family: var(--font-lane);
  color: var(--lane-muted);
  background: #fff;
}

.theme-lane .lane-display {
  font-family: var(--font-lane);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--lane-ink);
  line-height: 1.08;
}

.theme-lane .lane-accent {
  color: var(--lane-teal);
}

.theme-lane .lane-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--lane-teal-soft);
  color: var(--lane-teal);
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.theme-lane .lane-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 14px;
  padding: 0.9rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-lane .lane-btn:hover {
  transform: translateY(-1px);
}

.theme-lane .lane-btn-solid {
  background: var(--lane-teal);
  color: #fff;
}

.theme-lane .lane-card {
  border-radius: 20px;
  border: 1px solid var(--lane-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 28, 23, 0.05);
}

.theme-lane .lane-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--lane-teal-soft);
  color: var(--lane-teal);
  font-weight: 700;
  font-size: 0.85rem;
}
