@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Geist:wght@400;500;600;700&display=swap");

.theme-redesign {
  --theme-paper: oklch(98.5% 0.006 248);
  --theme-sheet: oklch(99% 0.004 248);
  --theme-ink: oklch(18% 0.025 252);
  --theme-ink-2: oklch(34% 0.03 252);
  --theme-muted: oklch(50% 0.035 248);
  --theme-rule: oklch(83% 0.022 248);
  --theme-green: oklch(57% 0.16 145);
  --theme-green-soft: oklch(91% 0.07 145);
  --theme-blue-soft: oklch(93% 0.045 224);
  --theme-coral-soft: oklch(92% 0.055 30);
  --theme-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --theme-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  color: var(--theme-ink);
  font-family: var(--theme-body);
}

.theme-redesign a {
  color: inherit;
}

.theme-hero,
.theme-toolbar,
.theme-copy-block {
  border: 1px solid var(--theme-rule) !important;
  background: var(--theme-sheet) !important;
  box-shadow: none !important;
}

.theme-hero {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-block-end: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.25rem;
}

.theme-hero__copy,
.theme-hero__sheet,
.theme-page-card {
  min-width: 0;
}

.theme-eyebrow {
  width: fit-content;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--theme-blue-soft);
  color: var(--theme-ink);
  font: 800 0.78rem / 1 var(--theme-display);
  text-transform: uppercase;
}

.theme-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--theme-ink);
  font: 800 clamp(2.55rem, 6vw, 5.1rem) / 0.92 var(--theme-display);
  letter-spacing: 0;
  text-wrap: balance;
}

.theme-lead {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--theme-ink-2);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.theme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block-start: 1.4rem;
}

.theme-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme-green);
  border-radius: 999px;
  padding: 0 1.05rem;
  background: var(--theme-green);
  color: white !important;
  font-weight: 800;
  text-decoration: none;
}

.theme-button--secondary {
  border-color: var(--theme-rule);
  background: var(--theme-sheet);
  color: var(--theme-ink) !important;
}

.theme-stats {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.theme-stats div {
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--theme-rule);
}

.theme-stats dt {
  color: var(--theme-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.theme-stats dd {
  margin: 0.2rem 0 0;
  color: var(--theme-ink);
  font-weight: 800;
}

.theme-hero__sheet {
  margin: 0;
  padding: 1rem;
  border: 2px solid var(--theme-ink);
  border-radius: 1rem;
  background: var(--theme-sheet);
}

.theme-hero__sheet img,
.theme-hero__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.theme-hero__sheet figcaption {
  margin-block-start: 0.75rem;
  color: var(--theme-muted);
  font-weight: 800;
  line-height: 1.25;
}

.theme-toolbar {
  border-radius: 1rem !important;
}

.theme-toolbar h2 {
  color: var(--theme-ink) !important;
  font-family: var(--theme-display);
}

.theme-toolbar .bg-gradient-to-r {
  background: var(--theme-green) !important;
  color: white !important;
  box-shadow: none !important;
  transform: none !important;
}

.theme-page-grid {
  gap: clamp(0.9rem, 2vw, 1.35rem) !important;
  align-items: start;
}

.theme-page-card {
  border: 1px solid var(--theme-rule);
  border-radius: 0.75rem !important;
  background: var(--theme-sheet) !important;
  box-shadow: none !important;
  transform: none !important;
}

.theme-page-card:hover {
  border-color: color-mix(in oklch, var(--theme-green) 60%, var(--theme-rule));
}

.theme-page-card__image {
  display: grid;
  place-items: center;
  background: var(--theme-paper) !important;
}

.theme-page-card__image img,
.theme-page-card__image picture {
  width: 100%;
  height: 100%;
}

.theme-page-card__image img {
  object-fit: contain;
}

.theme-page-card__title {
  color: var(--theme-ink) !important;
  font: 800 1rem / 1.14 var(--theme-display);
  overflow-wrap: anywhere;
}

.theme-page-card .bg-primary,
.theme-page-card .bg-secondary {
  background: var(--theme-green) !important;
  color: white !important;
}

.theme-copy-block {
  border-radius: 1rem !important;
}

.theme-copy-block article {
  color: var(--theme-ink-2);
}

.theme-copy-block h2 {
  color: var(--theme-ink);
  font-family: var(--theme-display);
}

@media (min-width: 52rem) {
  .theme-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
  }

  .theme-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .theme-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .theme-page-card__title {
    font-size: 0.85rem;
  }
}
