:root {
  --ink: #f6f3fb;
  --muted: #c9bdd6;
  --accent: #e4c8f0;
  --accent-strong: #f1ca9f;
  --card: rgba(17, 82, 84, 0.42);
  --line: rgba(223, 193, 243, 0.28);
  --page: #071918;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
}

body {
  overflow-x: clip;
  min-height: 100dvh;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

.page {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vh, 40px);
  padding:
    max(clamp(20px, 4vh, 48px), env(safe-area-inset-top))
    16px
    max(clamp(20px, 4vh, 48px), env(safe-area-inset-bottom));
}

.brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  display: block;
  width: clamp(92px, 16vh, 128px);
  height: auto;
}

.wordmark {
  margin: 14px 0 0;
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wordmark .perso {
  color: #f7f4fb;
}

.wordmark .assist {
  background: linear-gradient(100deg, #a295ed 0%, #e7b4e0 46%, #f1ca9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 10px 0 0;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.summary {
  margin: 0;
  font-size: clamp(11px, 2.4vw, 15px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  color: var(--muted);
}

.platforms {
  width: min(760px, 100%);
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 18px);
}

.card {
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  text-align: center;
  background: linear-gradient(180deg, rgba(223, 193, 243, 0.1), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.card-icon {
  width: clamp(28px, 4vw, 36px);
  height: clamp(28px, 4vw, 36px);
  color: var(--accent);
}

.card-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.card h2 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(13px, 1.55vw, 17px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.status {
  margin: 2px 0 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(241, 202, 159, 0.5);
  background: rgba(241, 202, 159, 0.12);
  color: #f6e2c8;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 720px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .page {
    height: 100svh;
    max-height: 100svh;
    min-height: 0;
    overflow: hidden;
    container-type: size;
    justify-content: center;
    gap: 10px;
    padding:
      max(10px, env(safe-area-inset-top))
      16px
      max(10px, env(safe-area-inset-bottom));
  }

  .logo {
    width: 72px;
  }

  .wordmark {
    margin-top: 8px;
    font-size: 30px;
  }

  .tagline {
    margin-top: 4px;
    font-size: 14px;
  }

  .summary {
    font-size: clamp(10px, 2.8vw, 14px);
  }

  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100cqw, calc((100cqh - 170px) * 2 / 3));
  }
}

