/** @format */
@import url("./fonts.css");

:root {
  --font-brand: "GCMOXDemo", sans-serif;
  --font-body: "Inter", sans-serif;
  --color-maroon: #5c2839;
  --color-cream: #efece4;
  --color-lime: #c5e866;
  --color-pink: #a84065;
  --color-muted: #878282;
  --color-ink: #1f1f1f;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-maroon);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Wrapper ── */
.splash-gate {
  width: 100%;
  max-width: 860px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Heading ── */
.splash-heading {
  text-align: center;
}

.splash-heading h1 {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--color-cream);
  margin-bottom: 12px;
}

.splash-heading h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--color-cream);
  opacity: 0.75;
}

/* ── Cards row ── */
.splash-paths {
  display: flex;
  gap: 24px;
  width: 100%;
  justify-content: center;
  /* desktop: side by side */
  flex-direction: row;
}

/* ── Shared card ── */
.customer-path,
.vendor-path {
  flex: 1;
  max-width: 390px;
  min-height: 210px;
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.customer-path:hover,
.vendor-path:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ── Customer card ── */
.customer-path {
  background-color: var(--color-cream);
}

/* ── Vendor card ── */
.vendor-path {
  background-color: transparent;
  border: 1px solid var(--color-lime);
}

/* ── Label (h5) ── */
.customer-path h5,
.vendor-path h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
}

.customer-path h5 {
  color: var(--color-pink);
}

.vendor-path h5 {
  color: var(--color-lime);
}

/* ── Icons ── */
.customer-path svg,
.vendor-path svg {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

/* ── Card heading (h3) ── */
.customer-path h3,
.vendor-path h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  text-align: center;
}

.customer-path h3 {
  color: var(--color-ink);
}

.vendor-path h3 {
  color: var(--color-cream);
}

/* ── Card subtitle (h6) ── */
.customer-path h6,
.vendor-path h6 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.customer-path h6 {
  color: var(--color-muted);
}

.vendor-path h6 {
  color: var(--color-cream);
  opacity: 0.75;
}

/* ── Responsive: stack on small screens ── */
@media (max-width: 720px) {
  .splash-paths {
    flex-direction: column;
    align-items: center;
  }

  .customer-path,
  .vendor-path {
    width: 100%;
    max-width: 100%;
  }

  .splash-heading h1 {
    font-size: 28px;
  }
}
