/* seecop design system — see ../../skills/web-design/SKILL.md for the rationale.
   Static, hand-authored. No build step, no frameworks. */

:root {
  color-scheme: dark;

  /* Surfaces + ink */
  --bg: #0b0f14;
  --bg-2: #0e131a;
  --surface: #141a22;
  --surface-2: #19212b;
  --ink: #e8eef6;
  --ink-dim: #b9c4d0;
  --muted: #8b98a8;
  --faint: #5d6b7a;
  --line: #243040;
  --line-2: #2e3d4f;

  /* Accent + status */
  --accent: #7dd3c0;
  --accent-ink: #08110f;
  --accent-soft: rgba(125, 211, 192, 0.14);
  --live: #7dd3c0;
  --optional: #d8b45a;
  --off: #6b7885;

  /* Radii */
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;

  /* Layout */
  --maxw: 72rem;
  --readw: 44rem;
  --gutter: 1.5rem;

  /* Type */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Menlo", "Consolas", monospace;

  --shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 12px 40px -24px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 640;
  color: var(--ink);
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--accent-soft);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--r-1) 0;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 4rem;
  border-top: 1px solid var(--line);
}

.section--alt {
  background: var(--bg-2);
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.75rem;
}

.section-head {
  max-width: var(--readw);
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  .section-head h2 {
    font-size: 2rem;
  }
}

.section-head .lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.lead {
  color: var(--ink-dim);
}

.measure {
  max-width: var(--readw);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 640;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
}

.brand svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-1);
  font-size: 0.9375rem;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
  text-decoration: none;
}

.nav__cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem var(--gutter) 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.6rem;
    font-size: 1rem;
  }

  .nav__cta {
    margin: 0.4rem 0 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 560;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.btn:hover {
  text-decoration: none;
  border-color: var(--accent);
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 640;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, white);
  border-color: color-mix(in srgb, var(--accent) 88%, white);
}

.btn-ghost {
  color: var(--ink-dim);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary:active {
    transform: translateY(1px);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 78% -8%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding-block: 5rem 4.5rem;
}

@media (min-width: 768px) {
  .hero__inner {
    padding-block: 7rem 6rem;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 18ch;
}

.hero .lead {
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  color: var(--ink-dim);
  max-width: 42ch;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__meta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat b {
  font-size: 1.5rem;
  font-weight: 660;
  letter-spacing: -0.02em;
}

.stat span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 1.4rem;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.card__glyph {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-1);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card__glyph svg {
  width: 1.25rem;
  height: 1.25rem;
}

a.card:hover {
  text-decoration: none;
  border-color: var(--line-2);
}

/* Domain grid (compact) */
.domain-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.domain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 1.1rem 1.2rem;
}

.domain h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.domain h3 svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  flex: none;
}

.domain p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Use cases ---------- */
.usecase-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
}

.usecase {
  background: var(--surface);
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.3rem;
}

@media (min-width: 768px) {
  .usecase {
    grid-template-columns: 14rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.usecase h3 {
  font-size: 1rem;
}

.usecase p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Roadmap ---------- */
.roadmap {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.roadmap li {
  position: relative;
  padding: 1.4rem 0 1.4rem 3.25rem;
  border-top: 1px solid var(--line);
}

.roadmap li:first-child {
  border-top: 0;
}

.roadmap li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--r-1);
}

.roadmap h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.roadmap p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 60ch;
}

/* ---------- Status badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--off);
}

.badge--live::before {
  background: var(--live);
}

.badge--optional::before {
  background: var(--optional);
}

.badge--off::before {
  background: var(--off);
}

/* ---------- Launch cards ---------- */
.launch-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .launch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.launch {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 1.75rem;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.launch:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: var(--surface-2);
}

.launch__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.launch strong {
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.launch span {
  color: var(--muted);
  font-size: 0.9375rem;
}

.launch__arrow {
  color: var(--accent);
  width: 1.35rem;
  height: 1.35rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 3rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  }
}

.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

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

.site-footer a:hover {
  color: var(--ink);
}

.site-footer__brand p {
  margin-top: 0.75rem;
  max-width: 34ch;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-1);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.social a:hover {
  color: var(--accent);
  border-color: var(--line-2);
  background: var(--surface-2);
  transform: translateY(-1px);
  text-decoration: none;
}

.social a svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .social a:hover {
    transform: none;
  }
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.8125rem;
}

.note {
  color: var(--faint);
  font-size: 0.8125rem;
}
