/* Slackwise landing page. Plain CSS, no external resources. */

:root {
  color-scheme: light dark;
  --bg: #fdfdfb;
  --text: #1f2328; /* ~15:1 on --bg */
  --muted: #57606a; /* ~6.3:1 on --bg */
  --accent: #1a6b54; /* ~6.4:1 on --bg */
  --border: #d0d7de;
  --quote-bg: #f3f4f1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --text: #e6e8eb; /* ~14:1 on --bg */
    --muted: #a0a8b2; /* ~7.4:1 on --bg */
    --accent: #6fd3b0; /* ~10:1 on --bg */
    --border: #343a42;
    --quote-bg: #1d2024;
  }
}

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

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

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 2rem 16px 3rem;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 2em 0 0.5em;
}

h1 {
  font-size: 2rem;
  margin-top: 0.5em;
}

h2 {
  font-size: 1.5rem;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.6em;
}

li::marker {
  color: var(--muted);
}

blockquote {
  margin: 1em 0 1.5em;
  padding: 0.75em 1em;
  border-left: 4px solid var(--border);
  background: var(--quote-bg);
  color: var(--muted);
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote strong {
  color: var(--text);
}

/* Status line and mock-up label: plain text, colours from the tokens above. */
.status {
  font-weight: 600;
  padding-left: 0.75em;
  border-left: 4px solid var(--accent);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Subtle emphasis for the "coming" markers in the availability list. */
section li strong {
  color: var(--accent);
  font-weight: 600;
}

/* Waitlist form. Input border uses --muted (>= 3:1 non-text contrast);
   the button is --bg on --accent (~6.4:1 light, ~10:1 dark). */
.waitlist label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35em;
}

.waitlist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75em;
}

.waitlist input,
.waitlist button {
  font: inherit;
  min-height: 44px;
  border-radius: 6px;
}

.waitlist input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.5em 0.75em;
  border: 1px solid var(--muted);
  background: var(--bg);
  color: var(--text);
}

.waitlist button {
  flex: 0 0 auto;
  padding: 0.5em 1.1em;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
}

.waitlist button:disabled {
  cursor: default;
  opacity: 0.75;
}

.waitlist input:focus-visible,
.waitlist button:focus-visible,
.waitlist a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.waitlist a {
  color: var(--accent);
}

.waitlist-consent {
  color: var(--muted);
  font-size: 0.9rem;
}

.waitlist-status {
  min-height: 1.6em;
  font-weight: 600;
}

.waitlist-status:empty {
  margin: 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
