@font-face {
  font-family: "ClashDisplayBold";
  src: url("assets/fonts/ClashDisplay-Bold.woff2");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'ClashDisplayBold', Courier, monospace
}


/* === General layout === */
body {
  margin: 0;
  font-family: "Clash Display", sans-serif;
  background: #f7c90f;
  color: #0e1421;
}

.slider-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 5rem 0 3.25rem;
}

.slider-item:first-child {
  padding-left: 0;
}

.slider-item:not(:first-child)::before {
  content: "//";
  position: absolute;
  left: 0;
  transform: translateX(-60%);
  font-size: 0.85em;
  font-weight: 600;
  color: rgba(14, 20, 33, 0.55);
  line-height: 1;
}

.confidence-pill {
  display: inline-flex;
  align-items: center;
  border: 2px solid #0e1421;
  border-radius: 9999px;
  background: #fffdfc;
  padding: 0.45rem 1.3rem;
  color: #0e1421;
  box-shadow: 0 8px 16px rgba(14, 20, 33, 0.08);
}


.system-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.system-tile {
  border: 2px solid #0e1421;
  border-radius: 22px;
  background: #fffdfc;
  padding: 1.75rem;
  box-shadow: 0 16px 28px rgba(14, 20, 33, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.system-tile--primary {
  background: linear-gradient(135deg, #fffdfc 0%, #ffe98f 100%);
}

.system-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.system-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid #0e1421;
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.system-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.system-meta span {
  border: 2px solid #0e1421;
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
}

.system-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.system-list li::before {
  content: "•";
  margin-right: 0.4rem;
}

.system-list li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-subline {
  display: block;
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.b2c-card {
  border: 2px solid #0e1421;
  border-radius: 22px;
  background: #fffdfc;
  padding: 1.75rem;
  box-shadow: 0 14px 26px rgba(14, 20, 33, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.b2c-card--accent {
  background: linear-gradient(135deg, #fffdfc 0%, #ffe98f 100%);
}

.b2c-icon {
  font-size: 1.9rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid #0e1421;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.b2c-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  opacity: 0.78;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.b2c-list li::before {
  content: "•";
  margin-right: 0.4rem;
}

.b2c-list li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.nav-links {
  align-items: center;
  gap: 1.5rem;
}

/* Ensure hero and intro sections fill the full mobile viewport */
.hero-viewport {
  min-height: 100vh;
}

@supports (min-height: 100svh) {
  .hero-viewport {
    min-height: 100svh;
  }
}

@supports (min-height: 100dvh) {
  .hero-viewport {
    min-height: 100dvh;
  }
}

#intro {
  min-height: 100vh;
}

@supports (min-height: 100svh) {
  #intro {
    min-height: 100svh;
  }
}

@supports (min-height: 100dvh) {
  #intro {
    min-height: 100dvh;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #0e1421;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  background: #0e1421;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0e1421;
  border-radius: 9999px;
  padding: 0.45rem 0.6rem;
  background: transparent;
  color: #0e1421;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #0e1421;
  color: #fffdfc;
}

.mobile-menu {
  border: 2px solid #0e1421;
  border-radius: 18px;
  background: #fffdfc;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.mobile-menu .nav-link {
  font-size: 1rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid #0e1421;
  border-radius: 9999px;
  background-color: #0e1421;
  color: #fffdfc;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(14, 20, 33, 0.18);
}

.cta-link svg {
  stroke: currentColor;
}

.form-card {
  border: 2px solid #0e1421;
  border-radius: 22px;
  background: #fffdfc;
  padding: 2.5rem;
  box-shadow: 0 18px 32px rgba(14, 20, 33, 0.14);
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.input-field,
.form-group select {
  border: 2px solid #0e1421;
  border-radius: 16px;
  background: #ffffff;
  color: #0e1421;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.input-field:focus,
.form-group select:focus {
  outline: none;
  border-color: #0e1421;
  box-shadow: 0 0 0 3px rgba(14, 20, 33, 0.1);
}

textarea.input-field {
  min-height: 160px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.checkbox-field input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.hero-header {
  display: flex;
  height: 100vh;
  background: #f7c90f;
  overflow: hidden;
}

/* === Diagonal boxes === */
.pattern-box {
  position: relative;
  flex-basis: 10%;
  overflow: hidden;
  background: #f7c90f;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.pattern-row {
  position: static;
  left: auto;
  width: 220%;
  font-weight: 700;
  font-size: 4vw;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 0.05em;
  color: #0e1421;
  opacity: 1;
  transform: rotate(-50.64deg);
}

/* === Center content === */
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f7c90f;
  height: 100%;
}

.hero-top {
  flex: 7;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-bottom {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Chat white box === */
.white-box {
  width: 90%;
  height: 100%;
  background: #fffdfc;
  border: 3px solid #0e1421;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Chat header */
.chat-header {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
}

/* Chat messages */
.chat-messages {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chat-profile {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #0e1421;
}

.chat-bubble {
  background: #0e1421;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  max-width: 70%;
  font-size: 0.95rem;
}

/* Chat buttons and input */
.chat-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.chat-buttons button {
  border: 2px solid #0e1421;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-buttons .demo-btn {
  background: #fffdfc;
  color: #0e1421;
}

.chat-buttons .contact-btn {
  background: #0e1421;
  color: #fff;
}

.chat-buttons button:hover {
  opacity: 0.8;
}

/* Input area */
.chat-input-area {
  display: flex;
  align-items: center;
  border: 2px solid #0e1421;
  border-radius: 9999px;
  overflow: hidden;
}

.chat-input-area input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
  background: #fffdfc;
  color: #0e1421;
}

.chat-input-area button {
  background: #0e1421;
  color: #fffdfc;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  border-left: 2px solid #0e1421;
}

/* === Marquee Section === */
.marquee {
  --speed: 28s;
  --gap: 3rem;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--gap);
  white-space: nowrap;
  will-change: transform;
  animation: marquee var(--speed) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* === Simple fade slider === */
.text-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 180px;
  margin: 0 auto;
  overflow: hidden;
}

.text-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease-in-out;
}

input[name="slide-toggle"] {
  display: none;
}

/* active slide */
#t1:checked~.slides .text-slide:nth-child(1),
#t2:checked~.slides .text-slide:nth-child(2),
#t3:checked~.slides .text-slide:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dots label {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: rgba(14, 20, 33, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#t1:checked~.dots label[for="t1"],
#t2:checked~.dots label[for="t2"],
#t3:checked~.dots label[for="t3"] {
  background-color: #0e1421;
}


/* In: main.css */

df-messenger {
  width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

[data-chat-frame] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.chat-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.chat-quick-prompt {
  border: 2px solid #0e1421;
  background: #fff;
  color: #0e1421;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-quick-prompt:hover,
.chat-quick-prompt:focus-visible {
  background: #0e1421;
  color: #fffdfc;
}

.chat-quick-prompt:focus-visible {
  outline: 3px solid #18213a;
  outline-offset: 2px;
}
