/* 101cruise public Drinks Calculator — intro / landing embed */

.dc-intro {
  --dc-green: #8DD9BF;
  --dc-green-hover: #79CDB1;
  --dc-green-ink: #245C4E;
  --dc-green-soft: #EFFAF6;
  --dc-text: #111;
  --dc-muted: #666;
  --dc-border: #e8e8e8;
  --dc-card: #ffffff;
  --dc-soft: #f6f8f7;
  --dc-max: 920px;
  --dc-radius: 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--dc-max);
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--dc-text);
  font-family: "Halyard Display", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.dc-intro-section {
  margin: 0 0 34px;
}

.dc-intro-section-title {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--dc-text);
  text-align: center;
}

.dc-intro-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}

.dc-intro-step {
  text-align: center;
  padding: 8px 10px;
}

.dc-intro-step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--dc-green-soft);
  color: var(--dc-green-ink);
}

.dc-intro-step-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-intro-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 650;
}

.dc-intro-step p {
  margin: 0;
  color: var(--dc-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dc-intro-chooser {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 0 0;
  text-align: center;
}

.dc-intro-chooser .dc-intro-section-title {
  margin-bottom: 14px;
}

.dc-intro-field {
  margin: 0 0 14px;
  text-align: left;
}

.dc-intro-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dc-intro-select-wrap {
  position: relative;
}

.dc-intro-select {
  appearance: none;
  width: 100%;
  min-height: 52px;
  padding: 12px 44px 12px 16px;
  border: 1px solid var(--dc-border);
  border-radius: 14px;
  background: var(--dc-card);
  color: var(--dc-text);
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(20, 48, 43, 0.05);
  cursor: pointer;
}

.dc-intro-select:focus {
  outline: none;
  border-color: var(--dc-green);
  box-shadow: 0 0 0 3px rgba(141, 217, 191, 0.35);
}

.dc-intro-select:disabled {
  opacity: 0.7;
  cursor: wait;
}

.dc-intro-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #7a8783;
  border-bottom: 2px solid #7a8783;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.dc-intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin: 0 0 12px;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--dc-green);
  color: #12352d;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.dc-intro-button:hover:not(:disabled) {
  background: var(--dc-green-hover);
}

.dc-intro-button:active:not(:disabled) {
  transform: scale(0.99);
}

.dc-intro-button:focus-visible {
  outline: 3px solid rgba(141, 217, 191, 0.55);
  outline-offset: 2px;
}

.dc-intro-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.dc-intro-note {
  margin: 0;
  color: var(--dc-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.dc-intro-status {
  margin: 0 0 12px;
  color: var(--dc-muted);
  font-size: 0.92rem;
}

.dc-intro-status.is-error {
  color: #9b2c2c;
}

.dc-intro-supported {
  margin-top: 40px;
  padding: 28px 22px 22px;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  background: var(--dc-soft);
}

.dc-intro-supported .dc-intro-section-title {
  margin-bottom: 20px;
}

.dc-intro-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: stretch;
  justify-items: stretch;
}

.dc-intro-logo-card {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  padding: 5%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(24, 56, 52, 0.06);
}

.dc-intro-logo-card img {
  display: block;
  width: 90%;
  height: 90%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.dc-intro-logo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--dc-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  padding: 4px;
}

.dc-intro-supported-foot {
  margin: 16px 0 0;
  color: var(--dc-muted);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 820px) {
  .dc-intro-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dc-intro-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dc-intro-supported {
    padding: 22px 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dc-intro-button {
    transition: none;
  }
}
