@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer-web/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer-web/Switzer-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.font-mono-ui,
button,
input[type='submit'],
input[type='button'],
.mono-ui {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.nav-logo {
  display: block;
  filter: brightness(0) saturate(100%) invert(95%) sepia(62%) saturate(523%) hue-rotate(11deg) brightness(108%) contrast(104%);
}

.footer-logo {
  display: block;
  height: 2rem;
  width: auto;
  filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(746%) hue-rotate(2deg) brightness(107%) contrast(102%);
}

@media (min-width: 768px) {
  .footer-logo {
    height: 2.25rem;
  }
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 40, 43, 0.10) 0%, rgba(6, 40, 43, 0.18) 35%, rgba(6, 40, 43, 0.28) 100%),
    linear-gradient(90deg, rgba(255, 255, 225, 0.10) 0%, rgba(255, 255, 225, 0.00) 45%, rgba(0, 0, 0, 0.08) 100%);
}

#hero-headline,
#hero-badge-name,
#hero-badge-desc {
  transition: opacity 240ms ease, transform 240ms ease;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: opacity;
}

.hero-image-enter {
  opacity: 0;
}

.hero-image-enter-active {
  opacity: 1;
  transition: opacity 600ms ease;
}

.hero-image-exit {
  opacity: 1;
}

.hero-image-exit-active {
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-copy-fading {
  opacity: 0;
  transform: translateY(10px);
}

.hero-line {
  display: inline-block;
  white-space: nowrap;
  min-width: 19ch;
}

.hero-phrase-slot {
  display: inline-block;
  text-align: left;
}

@media (max-width: 640px) {
  .hero-line {
    white-space: normal;
    min-width: 0;
  }
}

.nav-scrolled {
  background: rgba(6, 40, 43, 0.84);
  backdrop-filter: blur(18px);
}

.editorial-step {
  transition: opacity 180ms ease, transform 180ms ease;
}

.editorial-step.is-active {
  opacity: 1;
  transform: translateX(0);
}

.editorial-step:not(.is-active) {
  opacity: 0.72;
  transform: translateX(0);
}

.chat-frame-shell {
  min-height: 260px;
  background: #ffffe1;
  border: 1px solid rgba(7, 98, 74, 0.10);
  box-shadow: 0 24px 56px rgba(6, 40, 43, 0.12);
}

.chat-frame-enter {
  animation: chat-frame-enter 400ms ease forwards;
}

@keyframes chat-frame-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-frame {
  display: block;
  min-height: 260px;
  height: 260px;
  transition: height 220ms ease;
}

.chat-skeleton {
  min-height: 260px;
  padding: 1.25rem;
  background: rgba(255, 255, 225, 0.6);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-bubble {
  height: 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(7, 98, 74, 0.12) 0%, rgba(7, 98, 74, 0.20) 50%, rgba(7, 98, 74, 0.12) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-bubble--assistant {
  width: 70%;
  align-self: flex-start;
}

.skeleton-bubble--user {
  width: 40%;
  align-self: flex-end;
  background: linear-gradient(90deg, rgba(6, 40, 43, 0.10) 0%, rgba(6, 40, 43, 0.16) 50%, rgba(6, 40, 43, 0.10) 100%);
  background-size: 200% 100%;
}

.skeleton-composer {
  height: 3.5rem;
  margin-top: auto;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(7, 98, 74, 0.12) 0%, rgba(7, 98, 74, 0.20) 50%, rgba(7, 98, 74, 0.12) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beender-card {
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.beender-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(6, 40, 43, 0.10);
  background-color: rgba(255, 255, 255, 0.62);
}

.artboard-tabs-shell {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  margin-inline: auto;
}

.artboard-tabs-selected {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.1rem;
  height: auto;
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  transition: left 220ms ease, opacity 180ms ease;
}

.artboard-tabs-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.artboard-tab-button {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  color: rgba(6, 40, 43, 0.78);
  transition: color 180ms ease, font-weight 180ms ease;
}

.artboard-tab-button.is-active {
  color: #06282b;
  font-weight: 600;
}

.you-here-graphic {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.you-here-image-wrap {
  flex: 0 0 auto;
}

.you-here-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
}

.you-here-start {
  flex: 0 0 auto;
  width: 6rem;
  text-align: right;
}

.you-here-end {
  flex: 0 0 auto;
  width: 6rem;
  align-self: center;
  text-align: left;
}

.artboard-path-copy {
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #07624a;
  text-align: center;
}

@media (max-width: 640px) {
  .artboard-tabs-selected {
    width: 1.5rem;
  }

  .artboard-tabs-buttons {
    gap: 1.25rem;
  }

  .artboard-path-copy {
    font-size: 1rem;
  }

  .you-here-graphic {
    gap: 0.75rem;
  }

  .you-here-start {
    flex: 0 0 auto;
    width: 4rem;
    text-align: right;
  }

  .you-here-image {
    max-width: 110px;
  }

  .you-here-end {
    flex: 0 0 auto;
    width: 4rem;
    text-align: left;
  }

  .chat-frame-shell,
  .chat-frame {
    min-height: 300px;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .you-here-graphic {
    gap: 1rem;
  }

  .you-here-start {
    width: 6rem;
  }

  .you-here-image {
    max-width: 200px;
  }

  .you-here-end {
    width: 6rem;
  }
}

@keyframes placeholder-cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#goal-input.placeholder-cursor {
  caret-color: transparent;
}
