/*
  alluv — site stylesheet.
  Palette derives from the six-petal logo mark: pastel blue, green, violet, yellow,
  pink and orange on white, with a graphite wordmark. No external fonts, no
  dependencies, no trackers. System typography only.
*/

:root {
  --paper: #ffffff;
  --paper-alt: #f8f7f5;
  --graphite: #55565a;
  --graphite-soft: #7c7d82;
  --line: #e6e4e0;
  --ink: #26272b;

  --petal-blue: #9ed2f5;
  --petal-green: #b7dfc2;
  --petal-violet: #cdbdf0;
  --petal-yellow: #fbe6a8;
  --petal-pink: #f9c8ce;
  --petal-orange: #f8cba6;

  --radius: 14px;
  --shell: 62rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-color: var(--petal-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--graphite);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

.brand-tag {
  font-size: 0.8rem;
  color: var(--graphite-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--graphite);
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--petal-blue);
}

/* ---------- hero ---------- */

.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(60rem 26rem at 12% -10%, rgba(158, 210, 245, 0.30), transparent 65%),
    radial-gradient(48rem 22rem at 88% 0%, rgba(205, 189, 240, 0.28), transparent 68%),
    radial-gradient(40rem 20rem at 60% 110%, rgba(251, 230, 168, 0.28), transparent 70%),
    var(--paper);
}

.hero h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.pill {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--graphite);
}

.lead {
  max-width: 44rem;
  font-size: 1.15rem;
  color: var(--graphite);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
}

.button {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.95rem;
}

.button:hover {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--paper);
}

.button-quiet {
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  background: var(--paper-alt);
  color: var(--ink);
}

.hero-mark {
  display: block;
  width: min(20rem, 70%);
  margin: 2.75rem auto 0;
  border-radius: var(--radius);
}

/* ---------- bands ---------- */

.band {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.band-alt {
  background: var(--paper-alt);
}

.band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 44rem;
  margin: 0 0 1.75rem;
  color: var(--graphite);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.15rem 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--graphite);
  font-size: 0.98rem;
}

.card:nth-child(1) { border-top: 3px solid var(--petal-blue); }
.card:nth-child(2) { border-top: 3px solid var(--petal-green); }
.card:nth-child(3) { border-top: 3px solid var(--petal-violet); }

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 0.5rem 2rem;
  max-width: 52rem;
}

.spec-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--graphite);
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--petal-blue);
}

.spec-list li:nth-child(2n)::before { background: var(--petal-green); }
.spec-list li:nth-child(3n)::before { background: var(--petal-violet); }
.spec-list li:nth-child(5n)::before { background: var(--petal-yellow); }

.note {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  font-size: 0.95rem;
  color: var(--graphite-soft);
}

.status-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) 1fr;
  gap: 0.6rem 1.5rem;
  max-width: 46rem;
}

.status-list dt {
  font-weight: 600;
  color: var(--ink);
}

.status-list dd {
  margin: 0;
  color: var(--graphite);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--paper-alt);
}

.footer-brand {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: var(--graphite);
}

.footer-note {
  margin: 0;
  max-width: 46rem;
  font-size: 0.9rem;
  color: var(--graphite-soft);
}

/* ---------- legal pages ---------- */

.legal {
  padding: 3rem 0 3.5rem;
}

.legal h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal .section-intro {
  margin-bottom: 2rem;
}

.legal-block {
  max-width: 46rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-block:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.legal-block h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal-block h2::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--petal-blue);
  vertical-align: 0.06em;
}

.legal-block:nth-of-type(4n + 2) h2::before { background: var(--petal-green); }
.legal-block:nth-of-type(4n + 3) h2::before { background: var(--petal-violet); }
.legal-block:nth-of-type(4n + 4) h2::before { background: var(--petal-yellow); }

.legal-block p {
  margin: 0 0 0.8rem;
  color: var(--graphite);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-source {
  max-width: 46rem;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--graphite-soft);
}

.legal-back {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

@media (max-width: 34rem) {
  .status-list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .status-list dd {
    margin-bottom: 0.7rem;
  }

  .hero {
    padding-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
