:root{
  --violet:#16101f;
  --violet-light:#241a33;
  --magenta:#ff3ea5;
  --cyan:#35e0e0;
  --chartreuse:#d8e838;
  --orange:#ff7a1a;
  --cream:#f4f0e8;
  --muted:#9e97a8;
  --teal:#00929e;
  --rust:#e85f0c;
  --berry:#c2187a;
  --olive:#7c8a0a;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  background:var(--violet);
  color:var(--cream);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  line-height:1.45;
}

body{
  min-height:100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,62,165,0.12), transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(53,224,224,0.10), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(216,232,56,0.06), transparent 40%),
    var(--violet);
}

a{
  color:var(--cyan);
  text-decoration:none;
}
a:hover,a:focus{
  color:var(--magenta);
  text-decoration:underline;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  padding:1.25rem 1.5rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  background:rgba(22,16,31,0.92);
  backdrop-filter:blur(8px);
}

.wordmark,
.wordmark-small{
  font-weight:900;
  letter-spacing:-0.04em;
  line-height:0.95;
  font-size:1.35rem;
}
.word-in{
  color:var(--cream);
}
.word-power{
  color:var(--magenta);
}

.site-nav{
  display:flex;
  flex-wrap:wrap;
  gap:1.25rem;
  font-size:0.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.08em;
}

/* Hero */
.hero{
  padding:6rem 1.5rem 7rem;
  max-width:1100px;
  margin:0 auto;
  position:relative;
}
.hero::before{
  content:"";
  position:absolute;
  top:2rem;
  right:0;
  width:18rem;
  height:18rem;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,62,165,0.18), transparent 70%);
  filter:blur(40px);
  pointer-events:none;
}

.cycle-label{
  color:var(--orange);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-size:0.8rem;
  margin-bottom:1.25rem;
}

.hero-title{
  font-size:clamp(2.6rem,8vw,6rem);
  font-weight:900;
  line-height:0.95;
  letter-spacing:-0.04em;
  margin-bottom:1.5rem;
}

.hero-lede{
  font-size:clamp(1.1rem,2.5vw,1.5rem);
  color:var(--muted);
  max-width:680px;
  margin-bottom:3rem;
}

.num{
  color:var(--cyan);
  font-weight:700;
}

.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:2.5rem 4rem;
}
.stat{
  display:flex;
  flex-direction:column;
  gap:0.35rem;
}
.stat-value{
  font-size:clamp(2rem,5vw,3.5rem);
  font-weight:900;
  color:var(--chartreuse);
  line-height:1;
}
.stat-label{
  font-size:0.85rem;
  color:var(--muted);
  max-width:180px;
  text-transform:uppercase;
  letter-spacing:0.06em;
}

/* Sections */
section{
  padding:5rem 1.5rem;
}
section h2{
  font-size:clamp(2rem,5vw,3.5rem);
  font-weight:900;
  letter-spacing:-0.03em;
  margin-bottom:1rem;
}

/* Mix */
.mix{
  background:linear-gradient(160deg, rgba(36,26,51,0.6) 0%, transparent 60%);
  max-width:1100px;
  margin:0 auto;
  border-radius:0;
}
.mix-text p{
  color:var(--muted);
  font-size:1.05rem;
  max-width:720px;
  margin-bottom:2.5rem;
}

.mix-chart{
  width:min(100%,520px);
  aspect-ratio:1 / 1;
  margin:0 auto 2.5rem;
  position:relative;
}
.mix-chart svg{
  width:100%;
  height:100%;
  display:block;
}

.mix-legend{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.25rem 2rem;
}
.legend-item{
  display:flex;
  flex-direction:column;
  gap:0.25rem;
}
.legend-item dt{
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-weight:800;
  font-size:1.1rem;
}
.legend-item dd{
  color:var(--muted);
  font-size:0.9rem;
  padding-left:1.6rem;
}
.swatch{
  display:inline-block;
  width:0.9rem;
  height:0.9rem;
  border-radius:50%;
  background:var(--c);
}

/* Tariffs */
.tariffs{
  max-width:1100px;
  margin:0 auto;
}
.tariffs-lede{
  color:var(--muted);
  font-size:1.05rem;
  max-width:720px;
  margin-bottom:2.5rem;
}
.plans{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:1.5rem;
}
.plan{
  padding:1.75rem;
  background:rgba(244,240,232,0.04);
  border-radius:2rem;
  transition:transform 0.2s ease, background 0.2s ease;
}
.plan:hover{
  transform:translateY(-4px);
  background:rgba(244,240,232,0.08);
}
.plan h3{
  font-size:1.6rem;
  font-weight:900;
  margin-bottom:0.5rem;
  color:var(--cyan);
}
.plan-for{
  color:var(--orange);
  font-size:0.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  margin-bottom:1.25rem;
}
.plan-rate{
  font-size:1.5rem;
  font-weight:800;
  margin-bottom:0.75rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem;
}
.rate-sun{
  color:var(--chartreuse);
}
.rate-shade{
  color:var(--magenta);
}
.rate-flat{
  color:var(--cyan);
}
.rate-free{
  color:var(--orange);
}
.plan-note{
  color:var(--muted);
  font-size:0.9rem;
  line-height:1.5;
}
.plan-highlight{
  background:linear-gradient(135deg, rgba(255,62,165,0.12), rgba(53,224,224,0.08));
}
.plan-highlight h3{
  color:var(--magenta);
}

/* Facts */
.facts{
  background:linear-gradient(120deg, rgba(53,224,224,0.06), rgba(255,62,165,0.06));
}
.facts h2{
  max-width:1100px;
  margin:0 auto 2rem;
}
.facts-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:2rem;
}
.fact{
  display:flex;
  flex-direction:column;
  gap:0.4rem;
}
.fact-num{
  font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:900;
  color:var(--cream);
}
.fact-label{
  color:var(--muted);
  font-size:0.9rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
}

/* Ledger */
.ledger{
  max-width:1100px;
  margin:0 auto;
}
.ledger-lede{
  color:var(--muted);
  font-size:1.05rem;
  max-width:720px;
  margin-bottom:2rem;
}
.ledger-entries{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-bottom:2rem;
}
.ledger-entry{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem 2rem;
  padding:1.25rem 0;
  border-bottom:1px solid rgba(244,240,232,0.12);
}
.ledger-route{
  font-weight:800;
  color:var(--cyan);
  font-size:1.1rem;
  min-width:220px;
}
.ledger-places{
  color:var(--muted);
  flex:1;
}
.ledger-status{
  font-size:0.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--chartreuse);
}
.ledger-note{
  color:var(--muted);
  font-size:0.95rem;
  max-width:720px;
  line-height:1.6;
  font-style:italic;
}

/* Footer */
.site-footer{
  padding:4rem 1.5rem 3rem;
  text-align:center;
  color:var(--muted);
  font-size:0.85rem;
  background:var(--violet);
}
.site-footer > * + *{
  margin-top:0.75rem;
}
.wordmark-small{
  font-size:1rem;
}
.footer-note{
  color:rgba(158,151,168,0.7);
  font-size:0.75rem;
  margin-top:1.5rem;
}

/* Responsive */
@media (max-width:600px){
  .site-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .site-nav{
    gap:0.85rem 1rem;
  }
  .hero-stats{
    gap:1.5rem 2.5rem;
  }
  .ledger-entry{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* Notice stream */
.stream{
  max-width:1100px;
  margin:0 auto;
  background:linear-gradient(140deg, rgba(255,62,165,0.05), rgba(53,224,224,0.05));
}
.stream-lede{
  color:var(--muted);
  font-size:1.05rem;
  max-width:720px;
  margin-bottom:1.5rem;
}
.stream-controls{
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem;
  margin-bottom:2rem;
}
.stream-filter{
  background:rgba(244,240,232,0.08);
  color:var(--cream);
  border:none;
  padding:0.55rem 1.1rem;
  border-radius:2rem;
  font-weight:700;
  font-size:0.8rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  cursor:pointer;
  transition:background 0.15s ease, color 0.15s ease;
}
.stream-filter:hover,
.stream-filter.active{
  background:var(--magenta);
  color:var(--violet);
}
.stream-entries{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}
.stream-entry{
  padding:1.75rem 0;
  border-bottom:1px solid rgba(244,240,232,0.10);
}
.stream-entry:last-child{
  border-bottom:none;
}
.stream-header{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:0.5rem 1rem;
  margin-bottom:0.75rem;
}
.stream-kind{
  font-size:0.75rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--orange);
}
.stream-time{
  font-size:0.75rem;
  color:var(--muted);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.stream-title{
  font-size:1.4rem;
  font-weight:800;
  margin-bottom:0.75rem;
  color:var(--cream);
}
.stream-body{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:1rem;
  max-width:720px;
}
.stream-footer{
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem 1.5rem;
  font-size:0.8rem;
  color:var(--muted);
}
.stream-byline strong{
  color:var(--cyan);
}
.stream-role{
  text-transform:uppercase;
  font-size:0.65rem;
  letter-spacing:0.06em;
  color:var(--chartreuse);
}
.stream-reply{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color:var(--magenta);
}
.stream-tags{
  color:rgba(158,151,168,0.7);
}
.stream-loading,
.stream-empty{
  color:var(--muted);
  font-style:italic;
}

/* Personas page */
.hero-small{
  padding:4rem 1.5rem 3rem;
}
.hero-small .hero-title{
  font-size:clamp(2.2rem,6vw,4rem);
}
.personas{
  max-width:1100px;
  margin:0 auto;
  padding-top:0;
}
.personas-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}
.persona-card{
  padding:1.75rem;
  background:rgba(244,240,232,0.04);
  border-radius:2rem;
  transition:transform 0.2s ease, background 0.2s ease;
}
.persona-card:hover{
  transform:translateY(-4px);
  background:rgba(244,240,232,0.08);
}
.persona-card h3{
  font-size:1.5rem;
  font-weight:900;
  margin-bottom:0.5rem;
  color:var(--cyan);
}
.persona-type{
  display:inline-block;
  font-size:0.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.08em;
  padding:0.25rem 0.6rem;
  border-radius:1rem;
  margin-bottom:1rem;
}
.persona-staff{
  background:rgba(53,224,224,0.15);
  color:var(--cyan);
}
.persona-community{
  background:rgba(216,232,56,0.15);
  color:var(--chartreuse);
}
.persona-canon{
  background:rgba(255,62,165,0.15);
  color:var(--magenta);
}
.persona-role{
  color:var(--orange);
  font-weight:700;
  margin-bottom:0.75rem;
}
.persona-voice{
  color:var(--muted);
  font-style:italic;
  margin-bottom:0.75rem;
}
.persona-traits{
  list-style:none;
  margin-bottom:1rem;
}
.persona-traits li{
  position:relative;
  padding-left:1.1rem;
  color:var(--muted);
  font-size:0.9rem;
  margin-bottom:0.35rem;
}
.persona-traits li::before{
  content:"—";
  position:absolute;
  left:0;
  color:var(--magenta);
}
.persona-stance{
  color:var(--cream);
  font-size:0.9rem;
  margin-bottom:0.5rem;
}
.persona-seen{
  color:rgba(158,151,168,0.7);
  font-size:0.75rem;
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .plan:hover,.persona-card:hover{transform:none;}
}
