@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;
}

.segment-hover-section {
  width: 100%;
  color: var(--color-text-strong);
  font-family: var(--font-family-brand);
  container-type: inline-size;
}

.segment-hover-section__rail {
  display: flex;
  gap: 16px;
  min-height: 486px;
}

.segment-hover-section__segment {
  position: relative;
  min-width: 0;
  min-height: 486px;
  border: 1px solid var(--color-brand-100);
  border-radius: 12px;
  background: linear-gradient(90deg, rgb(246, 255, 254) 0%, rgb(246, 255, 254) 100%);
  overflow: hidden;
  transition:
    flex 0.7s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.segment-hover-section__segment.is-active {
  box-shadow:
    0 39px 79px rgba(0, 0, 0, 0.03),
    0 7px 10px rgba(0, 0, 0, 0.06);
}

.segment-hover-section__segment-link {
  position: relative;
  display: block;
  height: 100%;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}

.segment-hover-section__content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 24px 20px;
}

.segment-hover-section__content-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 16px;
  width: 100%;
  max-width: 12.5rem;
}

.segment-hover-section__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-400);
}

.segment-hover-section__icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.segment-hover-section__title,
.segment-hover-section__subtitle,
.segment-hover-section__description {
  margin: 0;
}

.segment-hover-section__title {
  color: var(--color-text-strong);
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: balance;
}

.segment-hover-section__subtitle {
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  text-wrap: balance;
}

.segment-hover-section__expanded {
  display: grid;
  gap: 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.45s ease,
    opacity 0.25s ease;
}

.segment-hover-section__description {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 1.714;
}

.segment-hover-section__cta {
  display: inline-flex;
  min-width: 140px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border-radius: 12px;
  background-image:
    linear-gradient(180deg, rgba(26, 188, 156, 0.99) 0%, rgba(26, 188, 156, 0) 100%),
    linear-gradient(90deg, rgb(19, 138, 114) 0%, rgb(19, 138, 114) 100%);
  box-shadow:
    0 4px 4px rgba(8, 8, 8, 0.08),
    0 1px 2px rgba(8, 8, 8, 0.2),
    inset 0 2px 6px rgba(26, 188, 156, 1),
    inset 0 0 0 1px rgba(19, 138, 114, 1);
  color: var(--color-surface-white);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

.segment-hover-section__media {
  position: absolute;
  right: -164px;
  bottom: 24px;
  z-index: 1;
  width: min(31.5rem, 72%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(18px, 0, 0);
  transition:
    opacity 0.3s ease,
    transform 0.45s ease;
}

.segment-hover-section__media-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.segment-hover-section__segment.is-active .segment-hover-section__expanded,
.segment-hover-section__segment-link:focus-visible .segment-hover-section__expanded {
  max-height: 240px;
  opacity: 1;
  pointer-events: auto;
}

.segment-hover-section__segment.is-active .segment-hover-section__media,
.segment-hover-section__segment-link:focus-visible .segment-hover-section__media {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.segment-hover-section__segment-link:focus-visible {
  outline: none;
}

.segment-hover-section__segment-link:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(19, 138, 114, 0.38);
}

@container (max-width: 960px) {
  .segment-hover-section__rail {
    display: grid;
    min-height: auto;
  }

  .segment-hover-section__segment {
    min-height: 0;
  }

  .segment-hover-section__segment-link {
    min-height: 0;
  }

  .segment-hover-section__content {
    display: grid;
    gap: 24px;
    padding: 24px;
  }

  .segment-hover-section__content-copy {
    max-width: none;
  }

  .segment-hover-section__expanded {
    max-height: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
  }

  .segment-hover-section__media {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    opacity: 1;
    transform: none;
  }
}

@container (max-width: 640px) {
  .segment-hover-section__rail {
    gap: 12px;
  }

  .segment-hover-section__content {
    padding: 20px;
  }

  .segment-hover-section__icon,
  .segment-hover-section__icon svg {
    width: 40px;
    height: 40px;
  }

  .segment-hover-section__title {
    font-size: 20px;
    line-height: 1.28;
  }

  .segment-hover-section__subtitle {
    font-size: 15px;
    line-height: 1.45;
  }

  .segment-hover-section__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .segment-hover-section__segment,
  .segment-hover-section__expanded,
  .segment-hover-section__media {
    transition: none;
  }
}

