/* Stellana Labs holding site. Same neutral tokens as the Tax app (app/globals.css), one warm accent. No framework. */
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --border: oklch(0.922 0 0);
  --accent: oklch(0.6 0.15 70);
  --sky: oklch(0.16 0.04 280);
  --sky-fg: oklch(0.985 0 0);
  --star: oklch(0.86 0.14 88);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --border: oklch(1 0 0 / 10%);
    --accent: oklch(0.82 0.14 88);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

/* nav */
.nav { position: absolute; z-index: 5; left: 0; right: 0; top: 0; }
.nav.solid { position: static; border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.word { font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.nav a.l { text-decoration: none; opacity: .75; }
.nav a.l:hover, .nav a.l[aria-current] { opacity: 1; }
.nav a.l[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.hero .nav, .hero .word, .hero .nav a { color: var(--sky-fg); }
@media (max-width: 420px) { .nav ul { gap: .8rem; font-size: .82rem; } }

/* hero */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 70% 40%, oklch(0.24 0.07 285), var(--sky)); color: var(--sky-fg); overflow: hidden; display: flex; align-items: flex-end; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 5rem; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--background)); }
.hero .copy { width: 100%; position: relative; z-index: 2; padding-bottom: clamp(7rem, 18svh, 10rem); pointer-events: none; }
.hero .copy a { pointer-events: auto; }
.vision { font-size: clamp(2rem, 6.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 17ch; text-wrap: balance; }
.vision em { font-style: normal; color: var(--star); }
.tagline { margin: 1.25rem 0 0; max-width: 34rem; font-size: clamp(1rem, 2.2vw, 1.2rem); opacity: .72; text-wrap: balance; }
.cue { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.5rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .5; }
@media (max-width: 640px) { .cue { display: none; } }

/* sections */
section.block { padding: clamp(4rem, 12vw, 8rem) 0; }
.eyebrow { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem; font-weight: 600; }
h2.big { font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 2.5rem; font-weight: 600; max-width: 22ch; text-wrap: balance; }
.three { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .three { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.five { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .five { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 1000px) { .five { grid-template-columns: repeat(3, 1fr); } }
.five h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 600; }
.five p { margin: 0; color: var(--muted-foreground); }
.five > div { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.lead { margin: 0 0 1.5rem; font-size: clamp(1.15rem, 2.6vw, 1.5rem); letter-spacing: -.015em; max-width: 34rem; }
.uses { list-style: none; margin: 0; padding: 0; }
.uses li { display: grid; gap: .15rem; padding: 1rem 0; border-top: 1px solid var(--border); }
.uses li:last-child { border-bottom: 1px solid var(--border); }
.uses b { font-weight: 600; }
.uses span { color: var(--muted-foreground); }
@media (min-width: 720px) { .uses li { grid-template-columns: 14rem 1fr; gap: 2rem; } }
.three h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 600; }
.three p { margin: 0; color: var(--muted-foreground); }
.three > div { border-top: 1px solid var(--border); padding-top: 1.25rem; }

/* tax tile */
.tile { display: grid; gap: 1.5rem; align-items: center; border: 1px solid var(--border); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--muted); text-decoration: none; transition: border-color .2s, transform .2s; }
@media (min-width: 720px) { .tile { grid-template-columns: 1fr auto; } }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile .k { font-size: .8rem; color: var(--accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tile h3 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); letter-spacing: -.025em; margin: .4rem 0 .5rem; font-weight: 600; line-height: 1.1; }
.tile p { margin: 0; color: var(--muted-foreground); }
.tile .go { display: inline-block; margin-top: 1.1rem; font-weight: 600; }
.tile:hover .go { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.phone { width: 76px; height: 132px; border: 2px solid var(--foreground); border-radius: 16px; position: relative; justify-self: start; opacity: .9; }
.phone::before { content: ""; position: absolute; top: 7px; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--foreground); opacity: .4; }
.phone i { position: absolute; left: 12px; right: 12px; height: 7px; border-radius: 4px; background: var(--foreground); opacity: .18; }
.phone i:nth-child(1) { top: 26px; } .phone i:nth-child(2) { top: 42px; right: 24px; } .phone i:nth-child(3) { top: 58px; right: 18px; }
.phone b { position: absolute; left: 50%; bottom: 14px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s ease-in-out infinite; }
.phone b::after { content: ""; position: absolute; left: 11px; top: 8px; width: 8px; height: 14px; border: solid var(--background); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.phone i:nth-child(1) { animation: fill 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 45%, transparent); } 50% { transform: scale(1.06); box-shadow: 0 0 0 10px transparent; } }
@keyframes fill { 0%, 100% { opacity: .18; } 50% { opacity: .5; } }
.soon { margin: 2rem 0 0; color: var(--muted-foreground); font-size: .95rem; }

/* tax band, bottom of Home */
.band { padding: 0 0 clamp(3rem, 8vw, 5rem); }
.bandlink { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 600; font-size: clamp(1.05rem, 2.6vw, 1.3rem); letter-spacing: -.01em; }
.bandlink .arr { margin-left: auto; transition: transform .25s; }
.bandlink:hover .arr { transform: translateX(6px); }
.bandlink:hover { border-color: var(--accent); }
.dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } .bandlink .arr { transition: none; } }

/* mission */
.lines { padding: clamp(6rem, 18vw, 11rem) 0 clamp(4rem, 10vw, 7rem); }
.line { font-size: clamp(1.75rem, 5.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; margin: 0 0 clamp(4rem, 14vw, 9rem); max-width: 22ch; text-wrap: balance; }
.line.long { font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; max-width: 36ch; margin-bottom: clamp(3rem, 9vw, 6rem); text-wrap: pretty; }
.line:last-child { margin-bottom: 0; }
.line span { color: var(--accent); }
.page-title { padding: clamp(4rem, 12vw, 8rem) 0 0; }
.page-title .mhead { font-size: clamp(2.2rem, 7.4vw, 5rem); max-width: 16ch; text-wrap: balance; line-height: 1.03; }
.mhead span { color: var(--accent); }
.page-title h1 { font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -.04em; line-height: 1; margin: 0; font-weight: 600; }
.about p { font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.4; max-width: 34rem; margin: 0 0 1.5rem; letter-spacing: -.01em; }
.about p.fine { font-size: 1rem; color: var(--muted-foreground); }

footer { border-top: 1px solid var(--border); padding: 1.75rem 0 2.5rem; font-size: .85rem; color: var(--muted-foreground); }

/* scroll reveal: only when JS ran and motion is welcome */
/* Content is visible by default. labs.js adds .pre (a dimmed, lowered state) only to blocks below the fold, then .in on reveal;
   a failed script, a crawler, a link preview or a full-page capture all see readable text. */
.rv.pre { opacity: .6; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.rv.pre.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv.pre { opacity: 1; transform: none; transition: none; }
  .phone b, .phone i { animation: none !important; }
  .tile { transition: none; }
}
