/* The coming soon page (CHG-0228): the brand panel of the application's
   sign-in screen (app CHG-0149, src/client/style.css), on its own and
   across the page. Colours, sizes and gradients are the application's;
   the fonts are the system's, so no font file is copied here. No inline
   style and no script (CSP style-src 'self'). */

:root {
  --color-primary: #127a85;
  --color-on-primary: #ffffff;
  --color-title: #2e3a46;
  --color-text: #2e3a46;
  --color-lead: #46535f;
  --color-page: #f7f7fa;
  --color-card: rgb(255 255 255 / 74%);
  --color-card-border: rgb(255 255 255 / 95%);
  --color-grid: rgb(18 122 133 / 5%);
  --color-glow-aqua: rgb(105 203 213 / 45%);
  --color-glow-lavender: rgb(201 211 242 / 70%);
  --color-glow-teal: rgb(165 223 228 / 55%);
  --color-hero: #dff2f4;
  --color-hero-end: #eceef9;
  --color-heading-strong: #0b555d;
  --color-hero-line: rgb(18 122 133 / 7%);
  --radius-card: 28px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  padding: 20px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
}

/* The design's background: three soft glows and a 48px grid */
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before {
  background:
    radial-gradient(closest-side, var(--color-glow-aqua), transparent) -10% -30% / 900px 700px no-repeat,
    radial-gradient(closest-side, var(--color-glow-lavender), transparent) 115% 10% / 800px 640px no-repeat,
    radial-gradient(closest-side, var(--color-glow-teal), transparent) 40% 135% / 900px 600px no-repeat;
  filter: blur(40px);
}
body::after {
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* The panel, the whole page */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  min-height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 32px 24px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(var(--color-hero-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--color-hero-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(150deg, var(--color-hero), var(--color-hero-end));
}
.brand { margin: 0; line-height: 0; }
.hero-text { margin: auto 0; max-width: 38rem; }
.hero-foot { margin: 0; font-size: 14px; color: var(--color-lead); }

.soon {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-title);
}
.hero-accent { display: block; color: var(--color-heading-strong); }
.hero-lead { margin: 0 0 28px; font-size: 17px; color: var(--color-lead); }
.hero-points { display: grid; gap: 12px; justify-items: start; margin: 0; padding: 0; list-style: none; }
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--color-card);
  font-size: 15px;
}
.hero-dot {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The illustration, decorative, behind the words on a wide screen */
.hero-art { display: none; }

@media (min-width: 960px) {
  .hero { padding: 48px 56px 40px; }
  .hero-art {
    display: block;
    position: absolute;
    right: -24px;
    bottom: -40px;
    width: min(40%, 375px);
    height: auto;
    pointer-events: none;
    user-select: none;
  }
  :is(.brand, .hero-text, .hero-foot) { position: relative; z-index: 1; }
}

/* The headline's last words in the design's gradient, teal to blue */
.hero-accent {
  width: fit-content;
  background: linear-gradient(90deg, var(--color-heading-strong) 0%, #1f8d8f 55%, #5f6fcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .hero-accent { background: none; color: CanvasText; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
