/* Floor No 8 — Clarity Signal Desk
   Linear/Notion-era minimal · dark sober · system + Inter */

:root {
  --bg: #143f9b;
  --bg-elevated: #0f2f7a;
  --bg-panel: #0f2f7a;
  --border: rgba(224, 220, 207, 0.18);
  --border-strong: rgba(224, 220, 207, 0.28);
  --text: #e0dccf;
  --text-muted: #b8b4a8;
  --text-faint: #9a9690;
  --accent: #e0dccf;
  --accent-hover: #f0ebe0;
  --accent-soft: rgba(224, 220, 207, 0.14);
  --pill-bg: rgba(224, 220, 207, 0.12);
  --pill-border: rgba(224, 220, 207, 0.35);
  --radius: 10px;
  --radius-sm: 6px;
  --max: 720px;
  --space: clamp(1.25rem, 4vw, 2rem);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --lh: 1.55;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("Inter"), local("Inter Variable");
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(224, 220, 207, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(224, 220, 207, 0.04), transparent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
.btn:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space);
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 560;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--text);
  opacity: 0.9;
}

.brand-mark {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--accent) 0%, #e0dccf 100%);
  box-shadow: 0 0 0 1px rgba(224, 220, 207, 0.3);
  flex-shrink: 0;
}

.phase-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  font-family: var(--mono);
}

/* Main */
main {
  flex: 1;
}

.hero {
  padding-block: clamp(3.5rem, 12vw, 6.5rem) clamp(2.5rem, 6vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

h1 {
  margin: 0;
  font-size: clamp(1.625rem, 4.2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text);
  max-width: 22ch;
}

.lede {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36ch;
}

/* Panel */
.panel {
  padding-block: 0 3.5rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
  padding: 1.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (min-width: 560px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

h2 {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  color: var(--text);
  font-size: 0.9875rem;
  border-bottom: 1px solid var(--border);
}

.audience-list li:last-child {
  border-bottom: none;
}

.audience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.boundary {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA */
.cta-block {
  padding-block: 0 4.5rem;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: var(--accent-soft);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius);
}

.cta-copy {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: #143f9b;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  color: #143f9b;
  background: var(--accent-hover);
}

.btn:active {
  transform: translateY(1px);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.footer-inner a {
  color: var(--text-muted);
}

.footer-inner a:hover {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Surveys / Typeform slots */
.surveys {
  padding-block: 0 3rem;
}

.surveys-lede {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 52ch;
}
.survey-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .survey-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.survey-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  height: 100%;
}
.survey-card:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.survey-card.is-pending {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}
.survey-title {
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}
.survey-meta {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--mono);
}
.survey-blurb {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 400;
}
.survey-card.is-live {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  border-color: var(--pill-border);
}
.survey-card.is-live:hover {
  background: var(--accent-soft);
}
