/* Accomplify — standalone coming-soon (decoupled from the app).
   A faithful static copy of the app's P01b coming-soon (src/components/marketing/
   ComingSoon.tsx + src/styles/coming-soon.css), rebuilt as plain HTML/CSS so the apex
   serves ONLY this teaser — zero app code, zero secrets, no script. Token values are
   inlined from src/styles/tokens.css (the canonical source). When a token here drifts
   from the app, the app's tokens.css wins; re-copy at the P11c launch cutover. */

/* ---- self-hosted brand fonts (latin subset; same families as the app) ---- */
@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/hanken-grotesk-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Geist Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-mono-latin.woff2) format("woff2");
}

:root {
  --serif: "Newsreader Variable", Georgia, serif;
  --sans: "Hanken Grotesk Variable", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono Variable", ui-monospace, monospace;

  --ink: #1c1c18;
  --ink-80: #4a483f;
  --body: #6b6960;
  --on-page: #605e54; /* AA (5.09:1) for text on the mauve page */

  --page: #ece0ea; /* mauve page */
  --card: #ffffff;
  --line-card: #efebe3;

  --c-impact: #c68a5a;
  --c-leadership: #6e72b3;
  --c-growth: #6e9a79;
  --c-recognition: #b0728c;

  --accent-ink: #b0728c;
  --accent-soft: #f4ebe3;
  --focus-ring: #9a5c82;

  --r-pill: 20px;
  --r-shell: 26px;
  --shadow-shell: 0 24px 60px rgba(60, 40, 55, 0.1), 0 2px 8px rgba(60, 40, 55, 0.05);

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: radial-gradient(
    120% 100% at 50% 0%,
    color-mix(in srgb, var(--page) 70%, #fff) 0%,
    var(--page) 60%
  );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---- layout: a single centered column, fluid, full dynamic viewport ---- */
.cs-page {
  min-height: 100vh;
  /* dvh override (progressive enhancement for engines without dvh) */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vh, 32px);
  padding: calc(32px + var(--safe-t)) calc(20px + var(--safe-r)) calc(28px + var(--safe-b))
    calc(20px + var(--safe-l));
  text-align: center;
}

.cs-card {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: var(--r-shell);
  box-shadow: var(--shadow-shell);
  padding: clamp(34px, 7vw, 56px) clamp(22px, 6vw, 48px);
  /* transform-only entrance: no opacity fade, so text never has a low-contrast frame */
  animation: csRise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes csRise {
  from {
    transform: translateY(10px);
  }
  to {
    transform: none;
  }
}

/* ---- logo mark (Logo.tsx @ 56px, ratio-driven) ---- */
.cs-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 13px; /* round(56 * 0.23) */
  background: #1c1c18;
}
.cs-logo-a {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-size: 37px; /* round(56 * 0.66) */
}
.cs-logo-dot {
  position: absolute;
  right: 24%;
  bottom: 28.5%;
  width: 6px; /* round(56 * 0.105) */
  height: 6px;
  border-radius: 50%;
  background: #b0728c;
}

/* ---- wordmark (Wordmark.tsx: brand-owns-typography) ---- */
.cs-wordmark {
  margin-top: clamp(18px, 4vw, 26px);
  max-width: 100%;
  font-size: min(clamp(2.25rem, 10vw, 4rem), 14vw); /* 36 -> 64px, capped to viewport */
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.wordmark-dot {
  color: var(--accent-ink);
}

.cs-tagline {
  margin-top: clamp(16px, 3.5vw, 22px);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink-80);
  font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.cs-subcopy {
  margin-top: 14px;
  max-width: 42ch;
  color: var(--body);
  font-size: clamp(0.9375rem, 2.6vw, 1.0625rem);
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

/* ---- the four category hues, a quiet decorative thread ---- */
.cs-dots {
  display: flex;
  gap: 9px;
  margin-top: clamp(22px, 5vw, 30px);
  padding: 0;
  list-style: none;
}
.cs-dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cs-dots li:nth-child(1) {
  background: var(--c-impact);
}
.cs-dots li:nth-child(2) {
  background: var(--c-leadership);
}
.cs-dots li:nth-child(3) {
  background: var(--c-growth);
}
.cs-dots li:nth-child(4) {
  background: var(--c-recognition);
}

/* ---- status pill (stands in for the notify-me CTA; real sink is P10a) ---- */
.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(20px, 4.5vw, 28px);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-80);
}
.cs-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-ink);
}

.cs-foot {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--on-page); /* AA (5.09:1) on the mauve page */
}

/* Links (the 404 page's "front door") — AA-safe accent text on the cream card. */
.cs-subcopy a {
  color: #9a5c82; /* --accent-ink-aa (4.97:1 on white) */
  text-underline-offset: 2px;
}
.cs-subcopy a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
