/* SpiceToon — landing stub
   Palette taken from the brand logo and the reference UI:
   near-black surface, hot-pink accent, off-white type. */

:root {
  --bg: #0d0d0f;
  --bg-deep: #121213;
  --surface-line: #424246;
  --pink: #ff3a9b;
  --pink-soft: #ff4ba3;
  --text: #f0eaed;
  --text-muted: #9b9ba3;

  --space: clamp(1.5rem, 4vw, 3rem);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;

  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;

  /* keep the footer clear of iOS/Android home indicators */
  padding:
    env(safe-area-inset-top) env(safe-area-inset-right)
    env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Soft brand-coloured halo behind the logo. */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      60% 42% at 50% 38%,
      rgba(255, 58, 155, 0.18) 0%,
      rgba(255, 58, 155, 0.06) 42%,
      transparent 72%
    );
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

/* Stage — the logo sits optically centred in the viewport. */
.stage {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space) * 1.5) var(--space);
}

.brand {
  margin: 0;
  font-size: 0; /* the <h1> carries the logo; no text box to leak */
  line-height: 0;
}

.brand__logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(255, 58, 155, 0.22));
}

/* Footer — company / legal details. */
.legal {
  padding: var(--space) var(--space) calc(var(--space) * 1.15);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal::before {
  content: "";
  display: block;
  width: min(140px, 40vw);
  height: 1px;
  margin: 0 auto calc(var(--space) * 0.9);
  background: linear-gradient(90deg, transparent, var(--surface-line), transparent);
}

.legal__entity {
  font-style: normal;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.legal__name {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal__reg {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.legal__address {
  line-height: 1.55;
}

.legal__mail {
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 58, 155, 0.35);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.legal__mail:hover,
.legal__mail:focus-visible {
  color: var(--pink-soft);
  border-color: var(--pink-soft);
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 3px;
}

.legal__copy {
  margin: calc(var(--space) * 0.8) 0 0;
  font-size: 0.75rem;
  color: #74747c;
}

@media (max-width: 480px) {
  .legal {
    font-size: 0.78125rem;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}

/* The brand is dark by design; forced light mode keeps it readable. */
@media (prefers-contrast: more) {
  :root {
    --text-muted: #c4c4cb;
  }
}

@media print {
  .glow { display: none; }
  body { background: #fff; color: #000; }
  .legal, .legal__copy { color: #000; }
}
