/* PoC: MEL Marketing Platform public landing — teal / light gray per design reference */

:root {
  --teal: #2d7d71;
  --teal-dark: #256a61;
  --bg: #f2f2f2;
  --text-on-teal: #ffffff;
  --text-muted: #5c5c5c;
  --card: #ffffff;
  --link-on-teal: #c8f0e8;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: #1a1a1a;
  line-height: 1.5;
}

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .layout {
    flex-direction: row;
    min-height: calc(100vh - 120px);
  }
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  color: var(--text-on-teal);
  background: linear-gradient(145deg, var(--teal-dark) 0%, #1d5a52 45%, var(--teal) 100%);
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse 50% 50% at 50% 90%, rgba(0, 0, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  line-height: 0;
  opacity: 0.98;
  color: #fff;
}

/* Official stirista-logo.svg is gray/orange for light UI; invert for contrast on teal hero. */
.brand__logo {
  display: block;
  max-width: min(240px, 70vw);
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lead {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.95;
}

.app-name {
  font-weight: 600;
}

.panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  background: var(--bg);
}

.card {
  width: 100%;
  max-width: 400px;
  padding: 2rem 1.75rem;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.card__hint {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--teal-dark);
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn__icon {
  display: flex;
  flex-shrink: 0;
}

.card__rule {
  border: 0;
  height: 1px;
  margin: 1.5rem 0 1rem;
  background: #e0e0e0;
}

.card__legal {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.card__legal a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.card__legal a:hover,
.card__legal a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.site-footer {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  background: #ebebeb;
  border-top: 1px solid #ddd;
}

.site-footer__links {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}

.site-footer__links a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
}

.site-footer__sep {
  margin: 0 0.5rem;
  color: #999;
}

@media (min-width: 900px) {
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .layout {
    padding-bottom: 5rem;
    min-height: 100vh;
  }
}

