/* ————— Posse · yourposseai.com ————— */

@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/zillaslab-500.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/zillaslab-600.woff2') format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/zillaslab-700.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/archivo-400.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/archivo-500.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/archivo-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibmplexmono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibmplexmono-500.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --night: #0b0e14;
  --panel: #121829;
  --panel-2: #0e1320;
  --line: #242e47;
  --line-soft: #1a2238;
  --paper: #eaedf5;
  --dust: #99a2b8;
  --dust-dim: #6b7590;
  --gold: #e2a83d;
  --gold-bright: #f0bd5e;
  --gold-deep: #8a6118;
  --ok: #7cc49a;
  --display: 'Zilla Slab', 'Rockwell', serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-deep); color: var(--paper); }

a { color: var(--gold); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* ————— header ————— */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 3.75rem;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .01em; color: var(--paper); text-decoration: none;
  display: flex; align-items: center; gap: .55rem;
}
.wordmark img { display: block; }
.site-nav { display: flex; gap: 1.8rem; }
.site-nav a {
  color: var(--dust); text-decoration: none;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }
@media (max-width: 40rem) {
  .site-head .wrap { gap: .8rem; }
  .wordmark { font-size: 1.15rem; gap: .4rem; }
  .site-nav { gap: .65rem; }
  .site-nav a { font-size: .6rem; letter-spacing: .02em; }
}

/* ————— hero ————— */

.hero { position: relative; padding: 5.5rem 0 3rem; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(240,189,94,.55), transparent 100%),
    radial-gradient(1px 1px at 38% 64%, rgba(234,237,245,.34), transparent 100%),
    radial-gradient(1.5px 1.5px at 71% 15%, rgba(240,189,94,.4), transparent 100%),
    radial-gradient(1px 1px at 87% 52%, rgba(234,237,245,.3), transparent 100%),
    radial-gradient(1px 1px at 55% 33%, rgba(234,237,245,.22), transparent 100%),
    radial-gradient(1.5px 1.5px at 27% 84%, rgba(240,189,94,.3), transparent 100%);
  background-size: 620px 540px, 780px 660px, 700px 590px, 860px 720px, 540px 480px, 920px 800px;
}
.hero .wrap { position: relative; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 3.5rem; align-items: center;
}
@media (max-width: 56rem) {
  .hero { padding-top: 3.5rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

.eyebrow {
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: var(--gold-deep);
}

.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.1rem);
  line-height: 1.04; letter-spacing: -.015em;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede {
  color: var(--dust); font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 33rem; margin: 0 0 2rem;
}

.actions { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: .45rem;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1a1405; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--paper); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-bright); }
.apk-note { font-family: var(--mono); font-size: .74rem; color: var(--dust-dim); margin: .8rem 0 0; }

/* ————— terminal ————— */

.term {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: .6rem;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(226,168,61,.05);
  overflow: hidden;
  font-family: var(--mono); font-size: .82rem; line-height: 1.75;
}
.term-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .9rem; border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
}
.term-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--line); }
.term-bar i:first-child { background: var(--gold-deep); }
.term-bar span {
  margin-left: auto; font-size: .68rem; color: var(--dust-dim); letter-spacing: .08em;
}
.term-body { padding: 1rem 1.1rem 1.2rem; min-height: 17.5rem; }
@media (max-width: 30rem) { .term { font-size: .72rem; } .term-body { min-height: 15rem; } }
.term-body .ln { display: block; white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: var(--gold); }
.t-cmd { color: var(--paper); }
.t-dim { color: var(--dust-dim); }
.t-ok { color: var(--ok); }
.t-gold { color: var(--gold-bright); }
.t-cursor {
  display: inline-block; width: .55em; height: 1.05em;
  background: var(--gold); vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .t-cursor { animation: none; }
  html { scroll-behavior: auto; }
}

/* ————— riders interstitial ————— */

.riders {
  position: relative;
  margin: 0 0 1.5rem;
  display: flex; justify-content: center;
}
.riders img {
  width: min(64rem, 100%);
  height: clamp(15rem, 30vw, 21rem);
  object-fit: cover;
  object-position: 50% 44%;
  display: block;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(48% 62% at 50% 48%, #000 35%, transparent 82%);
          mask-image: radial-gradient(48% 62% at 50% 48%, #000 35%, transparent 82%);
}
.riders figcaption {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dust-dim); white-space: nowrap;
}

/* ————— sections ————— */

section { padding: 4rem 0; }
section[id] { scroll-margin-top: 4.6rem; }
#features { padding-bottom: 2.5rem; }
.sec-head { max-width: 40rem; margin-bottom: 2.4rem; }
.sec-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.12; margin: 0 0 .8rem; text-wrap: balance;
}
.sec-head p { color: var(--dust); margin: 0; }

.divider {
  border: none; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

/* ————— features ————— */

.feat-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: .7rem;
  overflow: hidden;
}
@media (max-width: 56rem) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  background: var(--night);
  padding: 1.9rem 1.7rem 2rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: background .25s ease;
}
.feat:hover { background: var(--panel-2); }
.feat.wide { grid-column: span 2; }
@media (max-width: 36rem) { .feat.wide { grid-column: span 1; } }

.feat svg { color: var(--gold); flex: none; }
.feat h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.22rem;
  margin: .35rem 0 0; letter-spacing: .005em;
}
.feat p { margin: 0; color: var(--dust); font-size: .93rem; line-height: 1.6; }
.feat .tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dust-dim);
}

/* ————— trail (pipeline) ————— */

.trail-rail {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; position: relative; margin-top: .5rem;
}
.trail-rail::before {
  content: ""; position: absolute; top: .8rem; left: 4%; right: 4%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-deep) 0 6px, transparent 6px 14px);
}
@media (max-width: 56rem) {
  .trail-rail { grid-template-columns: 1fr; gap: 1.6rem; }
  .trail-rail::before {
    top: 0; bottom: 0; left: .8rem; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--gold-deep) 0 6px, transparent 6px 14px);
  }
}
.station { position: relative; padding: 2.4rem .9rem 0 .4rem; }
.station::before {
  content: ""; position: absolute; top: .35rem; left: .4rem;
  width: .9rem; height: .9rem; border-radius: 50%;
  background: var(--night); border: 2px solid var(--gold);
}
@media (max-width: 56rem) {
  .station { padding: 0 0 0 2.4rem; }
  .station::before { top: .25rem; left: .35rem; }
}
.station b {
  display: block; font-family: var(--mono); font-weight: 500;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: .3rem;
}
.station span { font-size: .85rem; color: var(--dust); line-height: 1.55; display: block; }
.trail-note {
  margin-top: 2.6rem; font-size: .9rem; color: var(--dust);
  border-left: 2px solid var(--gold-deep); padding-left: 1rem; max-width: 44rem;
}

/* ————— atlas ————— */

.atlas { padding: 2rem 0 3.5rem; }
.atlas .wrap { max-width: 60rem; }
.atlas .wrap::after { content: ""; display: block; clear: both; }
.atlas-fig {
  float: left;
  width: min(23rem, 44%);
  margin: 1rem 2.75rem .75rem 0;
  shape-outside: circle(48%);
}
.atlas-fig img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 94%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 94%);
}
@media (max-width: 56rem) {
  .atlas-fig { float: none; margin: 0 auto 1.5rem; width: min(17rem, 70%); }
}
.atlas h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12;
  margin: 0 0 1rem; text-wrap: balance;
}
.atlas p { color: var(--dust); margin: 0 0 1.1rem; }
.atlas ul {
  margin: 2.4rem 0 0; padding: 0; list-style: none;
  clear: both;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2.2rem;
}
@media (max-width: 56rem) { .atlas ul { grid-template-columns: 1fr; gap: 1.2rem; } }
.atlas li { font-size: .98rem; color: var(--paper); font-weight: 500; }
.atlas li::before {
  content: "✦ "; color: var(--gold);
  font-size: .85rem; margin-right: .45rem;
}
.atlas li small {
  color: var(--dust); display: block; font-size: .88rem;
  font-weight: 400; margin-top: .35rem; line-height: 1.55;
}

.tok-compare { margin: 2.6rem auto 0; max-width: 30rem; }
.tok-row { display: flex; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.tok-label {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  color: var(--dust); flex: 0 0 10.5rem; text-align: right;
}
.tok-bar { display: block; height: .85rem; border-radius: 2px; flex: none; }
.tok-bar-full { width: 100%; max-width: 15rem; background: var(--line); flex: 1; }
.tok-bar-atlas {
  width: 7%; min-width: .9rem; flex: none;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 10px rgba(226,168,61,.35);
}
.tok-cap {
  margin: .9rem 0 0; font-size: .8rem; color: var(--dust-dim);
  font-family: var(--mono); padding-left: 11.5rem;
}
@media (max-width: 36rem) {
  .tok-label { flex-basis: 8rem; }
  .tok-cap { padding-left: 0; }
}

/* ————— secret band ————— */

.secrets {
  background: linear-gradient(180deg, var(--panel-2), var(--night));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.secrets .wrap { max-width: 66rem; }
.guard-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: .7rem; overflow: hidden; margin-top: 2.6rem; text-align: left;
}
@media (max-width: 56rem) { .guard-grid { grid-template-columns: 1fr; } }
.guard { background: var(--night); padding: 1.8rem 1.8rem 1.9rem; }
.guard h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  margin: 0 0 .6rem; color: var(--gold-bright);
}
.guard p { margin: 0; font-size: .93rem; color: var(--dust); text-align: left; }
.secrets .eyebrow { justify-content: center; }
.secrets .eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: var(--gold-deep); }
.secrets h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08;
  margin: 0 0 1.2rem; text-wrap: balance;
}
.secrets p { color: var(--dust); margin: 0 auto 2rem; max-width: 36rem; }

/* ————— bossy ————— */

.shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
@media (max-width: 56rem) {
  .shots {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: .8rem;
  }
  .shots .shot { flex: 0 0 78%; scroll-snap-align: center; }
}
.shot {
  margin: 0;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: .6rem;
  overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(0,0,0,.65);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-ph {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem;
  border-top: none;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(226,168,61,.04) 14px 15px),
    var(--panel-2);
}
.shot-ph span { color: var(--gold-deep); font-size: 1.3rem; }
.shot-ph p {
  margin: 0; text-align: center;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  color: var(--dust);
}
.shot-ph small { color: var(--dust-dim); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

/* ————— providers ————— */

.providers { text-align: center; padding: 3.25rem 0; }
.providers h2 {
  font-family: var(--mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--dust-dim);
  margin: 0 0 1.6rem;
}
.provider-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
}
.provider-row span {
  font-family: var(--mono); font-size: .82rem; color: var(--dust);
  border: 1px solid var(--line); border-radius: .4rem;
  padding: .5rem 1rem; background: var(--panel-2);
}
.provider-row span.local { color: var(--gold-bright); border-color: var(--gold-deep); }
.providers .foot { margin: 1.4rem 0 0; font-size: .88rem; color: var(--dust-dim); }

/* ————— download ————— */

.download { text-align: center; }
.download .wrap { max-width: 44rem; }
.download h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 .9rem; text-wrap: balance;
}
.download p { color: var(--dust); margin: 0 auto 2rem; max-width: 33rem; }
.download .actions { justify-content: center; }

/* ————— footer ————— */

.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: 2.2rem 0 2.6rem;
}
.site-foot .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.site-foot p { margin: 0; font-family: var(--mono); font-size: .75rem; color: var(--dust-dim); }
.site-foot .stars { color: var(--gold-deep); letter-spacing: .5em; }

