@import url(https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap);
:host {
  --color-brand-950: #062e24;
  --color-brand-900: #0b4d3c;
  --color-brand-800: #0f6b57;
  --color-brand-700: #138a72;
  --color-brand-600: #16a085;
  --color-brand-500: #1abc9c;
  --color-brand-400: #33c3af;
  --color-brand-300: #66d2c3;
  --color-brand-200: #99e1d7;
  --color-brand-100: #ccf0eb;
  --color-brand-50: #e6f7f5;

  --color-neutral-950: #0a0c0d;
  --color-neutral-900: #141719;
  --color-neutral-800: #1f2326;
  --color-neutral-700: #2e3337;
  --color-neutral-600: #4a545b;
  --color-neutral-500: #6b7780;
  --color-neutral-400: #9ba7ae;
  --color-neutral-300: #d1d8dc;
  --color-neutral-200: #e8ecee;
  --color-neutral-100: #f2f3f4;
  --color-neutral-70: #f7f7f7;
  --color-neutral-50: #fafbfb;
  --color-surface-white: #ffffff;

  --color-surface-soft: var(--color-brand-50);
  --color-surface-soft-strong: var(--color-brand-100);
  --color-surface-danger-soft: #ffefef;
  --color-border-soft: var(--color-neutral-200);
  --color-border-brand: rgba(26, 188, 156, 0.18);
  --color-border-danger-soft: #ffdfdf;

  --color-text-strong: var(--color-neutral-950);
  --color-text-default: var(--color-neutral-800);
  --color-text-muted: var(--color-neutral-600);
  --color-text-subtle: var(--color-neutral-500);
  --color-text-on-brand: var(--color-surface-white);

  --color-success: var(--color-brand-600);
  --color-danger: #d64545;
  --color-danger-strong: #ff7777;

  --shadow-soft:
    0 10px 26px rgba(20, 23, 25, 0.06),
    0 4px 10px rgba(20, 23, 25, 0.04);
  --shadow-button:
    0 10px 20px rgba(26, 188, 156, 0.18),
    0 2px 6px rgba(20, 23, 25, 0.08);

  --radius-card-lg: 28px;
  --radius-card-md: 22px;
  --radius-card-sm: 18px;
  --radius-pill: 999px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;

  --font-family-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-brand: "Be Vietnam Pro", var(--font-family-base);
  --font-size-display: clamp(2.4rem, 4vw, 4.5rem);
  --font-size-h1: clamp(2rem, 3.2vw, 3.25rem);
  --font-size-h2: clamp(1.75rem, 2.6vw, 2.5rem);
  --font-size-h3: 1.375rem;
  --font-size-body-lg: 1.125rem;
  --font-size-body: 1rem;
  --font-size-body-sm: 0.9375rem;
  --font-size-caption: 0.8125rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 800;
}

:host {
  color: var(--color-text-default);
  font-family: var(--font-family-base);
}

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

body {
  margin: 0;
  color: var(--color-text-default);
  font-family: var(--font-family-base);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.seo-bento-grid {
  container-type: inline-size;
  display: grid;
  width: 100%;
  color: var(--color-text-default);
  font-family: var(--font-family-brand);
}

.seo-bento-grid__card-title,
.seo-bento-grid__metric-label,
.seo-bento-grid__rich-text p,
.seo-bento-grid__rich-text ul,
.seo-bento-grid__rich-text ol {
  margin: 0;
}

.seo-bento-grid__rich-text {
  color: var(--color-text-muted);
  font-size: var(--font-size-body);
  line-height: 1.65;
  white-space: pre-line;
}

.seo-bento-grid__rich-text :where(p + p, p + ul, ul + p, ol + p) {
  margin-top: 0.75rem;
}

.seo-bento-grid__rich-text ul,
.seo-bento-grid__rich-text ol {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.1rem;
}

.seo-bento-grid__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-800);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
}

.seo-bento-grid__grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: minmax(11rem, auto);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
}

.seo-bento-grid__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  min-height: 13rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  overflow-wrap: anywhere;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 251, 0.98)),
    var(--color-surface-white);
  box-shadow: var(--shadow-soft);
  transition:
    opacity 540ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.seo-bento-grid.seo-reveal--ready .seo-bento-grid__card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease var(--seo-reveal-delay, 0ms),
    transform 560ms ease var(--seo-reveal-delay, 0ms),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.seo-bento-grid.seo-reveal--ready .seo-bento-grid__card[data-seo-reveal-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

.seo-bento-grid__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-200);
  box-shadow:
    0 18px 40px rgba(20, 23, 25, 0.08),
    0 6px 14px rgba(20, 23, 25, 0.05);
}

.seo-bento-grid.seo-reveal--ready .seo-bento-grid__card[data-seo-reveal-visible="true"]:hover {
  transform: translateY(-4px);
}

.seo-bento-grid__card--highlighted {
  border-color: var(--color-border-brand);
  background:
    radial-gradient(circle at top right, rgba(26, 188, 156, 0.12), transparent 34%),
    linear-gradient(180deg, var(--color-surface-white), #f7fffd);
}

.seo-bento-grid__card--small {
  grid-column: span 3;
}

.seo-bento-grid__card--wide {
  grid-column: span 6;
}

.seo-bento-grid__card--tall {
  grid-column: span 3;
  grid-row: span 2;
}

.seo-bento-grid__card--large {
  grid-column: span 6;
  grid-row: span 2;
}

.seo-bento-grid--heroTop .seo-bento-grid__card:first-child,
.seo-bento-grid--compact .seo-bento-grid__card:first-child {
  grid-column: span 12;
  grid-row: span 1;
}

.seo-bento-grid--mosaic .seo-bento-grid__card:nth-child(2),
.seo-bento-grid--alternating .seo-bento-grid__card:nth-child(4) {
  grid-column: span 6;
}

.seo-bento-grid__grid--count-3 .seo-bento-grid__card:first-child {
  grid-column: span 6;
  grid-row: span 1;
}

.seo-bento-grid__grid--count-3 .seo-bento-grid__card:nth-child(n + 2) {
  grid-column: span 3;
  grid-row: span 1;
}

.seo-bento-grid__grid--count-5 .seo-bento-grid__card:last-child {
  grid-column: span 12;
  grid-row: span 1;
}

.seo-bento-grid__grid--count-6 .seo-bento-grid__card:nth-last-child(-n + 2) {
  grid-column: span 6;
  grid-row: span 1;
}

.seo-bento-grid__card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.seo-bento-grid__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.9rem;
  background: var(--color-surface-soft);
  color: var(--color-brand-700);
}

.seo-bento-grid__card-copy {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.seo-bento-grid__card-title {
  color: var(--color-text-strong);
  font-size: 1.18rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
}

.seo-bento-grid__metric {
  color: var(--color-text-strong);
  font-size: clamp(2.4rem, 6cqw, 4.5rem);
  font-weight: var(--font-weight-black);
  line-height: 0.92;
}

.seo-bento-grid__metric-label {
  color: var(--color-brand-800);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-bold);
}

.seo-bento-grid__image,
.seo-bento-grid__image-placeholder {
  width: 100%;
  min-height: 11rem;
  margin-top: auto;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-card-sm);
}

.seo-bento-grid__image {
  display: block;
  object-fit: cover;
}

.seo-bento-grid__image-placeholder {
  display: grid;
  place-items: center;
  background: var(--color-neutral-50);
  color: #cbd6e2;
}

.seo-bento-grid__card-link {
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: auto;
  margin-top: auto;
  color: var(--color-brand-800);
}

@container (max-width: 920px) {
  .seo-bento-grid__grid {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-bento-grid__grid > .seo-bento-grid__card,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:first-child,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:nth-child(n + 2),
  .seo-bento-grid__grid--count-6 > .seo-bento-grid__card:nth-last-child(-n + 2),
  .seo-bento-grid--heroTop .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--compact .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--mosaic .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(2),
  .seo-bento-grid--alternating .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(4) {
    grid-column: auto / span 1;
    grid-row: auto / span 1;
  }

  .seo-bento-grid__grid--count-5 > .seo-bento-grid__card:last-child {
    grid-column: 1 / -1;
    grid-row: auto / span 1;
  }
}

@container (max-width: 560px) {
  .seo-bento-grid__grid {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-bento-grid__grid > .seo-bento-grid__card,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:first-child,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:nth-child(n + 2),
  .seo-bento-grid__grid--count-5 > .seo-bento-grid__card:last-child,
  .seo-bento-grid__grid--count-6 > .seo-bento-grid__card:nth-last-child(-n + 2),
  .seo-bento-grid--heroTop .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--compact .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--mosaic .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(2),
  .seo-bento-grid--alternating .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: auto / span 1;
  }

  .seo-bento-grid__card {
    min-height: auto;
  }
}

@media (max-width: 920px) {
  .seo-bento-grid__grid {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-bento-grid__grid > .seo-bento-grid__card,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:first-child,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:nth-child(n + 2),
  .seo-bento-grid__grid--count-6 > .seo-bento-grid__card:nth-last-child(-n + 2),
  .seo-bento-grid--heroTop .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--compact .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--mosaic .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(2),
  .seo-bento-grid--alternating .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(4) {
    grid-column: auto / span 1;
    grid-row: auto / span 1;
  }

  .seo-bento-grid__grid--count-5 > .seo-bento-grid__card:last-child {
    grid-column: 1 / -1;
    grid-row: auto / span 1;
  }
}

@media (max-width: 560px) {
  .seo-bento-grid__grid {
    grid-auto-flow: row;
    grid-auto-rows: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-bento-grid__grid > .seo-bento-grid__card,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:first-child,
  .seo-bento-grid__grid--count-3 > .seo-bento-grid__card:nth-child(n + 2),
  .seo-bento-grid__grid--count-5 > .seo-bento-grid__card:last-child,
  .seo-bento-grid__grid--count-6 > .seo-bento-grid__card:nth-last-child(-n + 2),
  .seo-bento-grid--heroTop .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--compact .seo-bento-grid__grid > .seo-bento-grid__card:first-child,
  .seo-bento-grid--mosaic .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(2),
  .seo-bento-grid--alternating .seo-bento-grid__grid > .seo-bento-grid__card:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: auto / span 1;
  }

  .seo-bento-grid__card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-bento-grid__card {
    transition: none;
  }

  .seo-bento-grid__card:hover {
    transform: none;
  }

  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card,
  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card[data-seo-reveal-visible="true"] {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .seo-bento-grid,
  .seo-bento-grid *,
  .seo-bento-grid *::before,
  .seo-bento-grid *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .seo-bento-grid__card:hover,
  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card,
  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card:hover,
  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card[data-seo-reveal-visible="true"],
  .seo-bento-grid.seo-reveal--ready .seo-bento-grid__card[data-seo-reveal-visible="true"]:hover {
    opacity: 1;
    transform: none;
  }
}

