/* flokpit site — cockpit-dark ground, one lime accent, Instrument Sans + JetBrains Mono */
:root {
  --ink: #0d0d0d;
  --panel: #161616;
  --panel-2: #1e1e1e;
  --line: #2a2a2a;
  --fg: #f2f2f2;
  --muted: #9a9a92;
  --lime: #c6f432;
  --lime-ink: #0d0d0d;
  --lime-sub: #3b4a0a;
  --display: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --s-1: 0.8125rem;
  --s0: 1rem;
  --s1: 1.25rem;
  --s2: 1.75rem;
  --s3: 2.5rem;
  --s4: clamp(2.75rem, 7vw, 5.5rem);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--display);
  font-size: var(--s0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.kicker {
  font-family: var(--mono);
  font-size: var(--s-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}
h2 {
  font-size: var(--s3);
}
p {
  margin: 0;
}
.lede {
  color: var(--muted);
  font-size: var(--s1);
  max-width: 36ch;
}
code,
kbd {
  font-family: var(--mono);
  font-size: 0.9em;
}
.ph {
  color: var(--lime);
}

/* nav */
header.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}
.logo {
  height: 30px;
  width: auto;
  color: var(--fg);
  display: block;
}
.nav .links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav .links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
}
.nav .links a:hover,
.nav .links a[aria-current="page"] {
  color: var(--fg);
}
.nav .links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--lime);
}
.menu {
  display: none;
  margin-left: auto;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 200px;
}
.menu .panel a {
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.menu .panel a:hover {
  background: var(--panel-2);
}
@media (max-width: 820px) {
  .nav .links,
  .nav .gh {
    display: none;
  }
  .menu {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--lime);
  color: var(--lime-ink);
}
.btn.ghost {
  border-color: var(--line);
  color: var(--fg);
  background: transparent;
}
.btn.ghost:hover {
  border-color: var(--muted);
}
.btn.dark {
  background: var(--ink);
  color: var(--fg);
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

section {
  padding-block: clamp(64px, 10vw, 128px);
}
.head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 42rem;
}

/* page hero (subpages) */
.phero {
  padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px);
}
.phero h1 {
  font-size: var(--s4);
  margin-block: 16px 20px;
  max-width: 14ch;
}
.phero h1 em {
  font-style: normal;
  color: var(--lime);
}

/* landing hero */
.hero {
  padding-block: clamp(48px, 9vw, 112px) clamp(40px, 6vw, 72px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: var(--s4);
  margin-block: 18px 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.install {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.install code {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg);
  overflow-x: auto;
  max-width: 100%;
}
.flock {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 100%;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 70% 50%, #1b1f10 0%, var(--ink) 62%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.flock .bird {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
  left: var(--x);
  top: var(--y);
  opacity: var(--o);
  animation: join 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d);
}
.flock .tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
@keyframes join {
  from {
    left: var(--x0);
    top: var(--y0);
    opacity: 0.35;
  }
  to {
    left: var(--x);
    top: var(--y);
    opacity: var(--o);
  }
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .flock {
    max-width: 420px;
  }
}

.strip {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.strip figure {
  margin: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.strip img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 460px);
  object-fit: cover;
}
.strip figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: var(--mono);
  font-size: var(--s-1);
  color: var(--lime-ink);
  background: var(--lime);
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ba article {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0) 62%);
}
.ba .copy {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ba h3 {
  font-size: var(--s2);
}
.chip {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--lime-ink);
}
.chip.off {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
}
@media (max-width: 720px) {
  .ba {
    grid-template-columns: 1fr;
  }
  .ba article {
    min-height: 360px;
  }
}

.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.steps .n {
  font-family: var(--mono);
  color: var(--lime);
  font-size: 0.875rem;
  padding-top: 4px;
}
.steps h3 {
  font-size: var(--s1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.steps p {
  color: var(--muted);
}
.chat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.875rem;
}
.chat .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.chat .bar svg {
  width: 22px;
  height: auto;
  color: var(--lime);
}
.msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}
.msg .who {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.msg .b {
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--panel-2);
  line-height: 1.45;
}
.msg.bot .b {
  background: var(--lime);
  color: var(--lime-ink);
}
.msg.you {
  align-self: flex-end;
  align-items: flex-end;
}
.agents {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.agents span {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.agents span.ok {
  color: var(--lime);
  border-color: color-mix(in srgb, var(--lime) 40%, transparent);
}
.note {
  font-size: 0.75rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .how {
    grid-template-columns: 1fr;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.fact {
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fact img {
  display: block;
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
}
.fact .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.fact .big {
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fact p {
  line-height: 1.45;
}
.fact .src {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--lime-sub);
  margin-top: auto;
  padding-top: 8px;
}
.fact .lesson {
  font-weight: 600;
}
@media (max-width: 900px) {
  .facts {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

.band {
  background: var(--lime);
  color: var(--lime-ink);
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: end;
}
.band h2 {
  font-size: var(--s4);
}
.band .kicker {
  color: var(--lime-ink);
}
.band p {
  color: var(--lime-sub);
  font-size: var(--s1);
  max-width: 34ch;
}
.band .side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.band img {
  border-radius: 20px;
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.band.slim .wrap {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.band.slim h2 {
  font-size: var(--s3);
}
@media (max-width: 860px) {
  .band .wrap,
  .band.slim .wrap {
    grid-template-columns: 1fr;
  }
}

.closing {
  position: relative;
  padding: 0;
}
.closing img {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 640px);
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.85);
}
.closing .over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0) 40%, rgba(13, 13, 13, 0.95) 100%);
  display: flex;
  align-items: flex-end;
}
.closing .over .wrap {
  width: 100%;
  padding-block: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.closing h2 {
  font-size: var(--s4);
  max-width: 12ch;
}
@media (max-width: 720px) {
  .closing .over {
    position: static;
    background: var(--ink);
  }
  .closing img {
    height: 300px;
  }
  .closing .over .wrap {
    padding-block: 32px 48px;
  }
}

/* pricing */
.toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-top: 28px;
}
.toggle button {
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
}
.toggle button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--ink);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan.hot {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}
.plan .name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.plan h3 {
  font-size: var(--s2);
}
.plan .tagline {
  color: var(--muted);
}
.plan.hot .tagline,
.plan.hot li {
  color: var(--lime-sub);
}
.plan .price {
  font-size: var(--s3);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan .price small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan.hot .price small {
  color: var(--lime-sub);
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}
.plan li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 0.55em;
}
.plan.hot li::before {
  background: var(--lime-ink);
}
.plan .btn {
  margin-top: auto;
}
.plan.hot .chip {
  background: var(--lime-ink);
  color: var(--lime);
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.9375rem;
}
th,
td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--panel);
}
tbody tr:last-child td {
  border-bottom: 0;
}
td.y {
  color: var(--lime);
}
td.n {
  color: var(--muted);
}

/* faq */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  max-width: 52rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--s1);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--lime);
  font-weight: 500;
}
.faq details[open] summary::after {
  content: "–";
}
.faq .a {
  padding-bottom: 22px;
  color: var(--muted);
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
a.card:hover {
  border-color: var(--muted);
}
.card h3 {
  font-size: var(--s1);
  letter-spacing: -0.02em;
}
.card p {
  color: var(--muted);
}
.card .meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card .go {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* search */
.search {
  display: flex;
  gap: 10px;
  max-width: 40rem;
  margin-top: 28px;
  flex-wrap: wrap;
}
.search input {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--fg);
  padding: 0 18px;
  font: inherit;
  font-size: var(--s0);
}
.search input::placeholder {
  color: var(--muted);
}
.search input:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* docs */
.docs {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  padding-block: 40px 96px;
}
.side-nav {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 0.9375rem;
}
.side-nav h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.side-nav a {
  display: block;
  padding: 6px 14px;
  text-decoration: none;
  color: var(--muted);
  margin-left: -1px;
  border-left: 1px solid transparent;
}
.side-nav a:hover {
  color: var(--fg);
}
.side-nav a.on {
  color: var(--fg);
  border-left-color: var(--lime);
}
.doc {
  min-width: 0;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.doc h1 {
  font-size: var(--s3);
}
.doc h2 {
  font-size: var(--s2);
  margin-top: 36px;
  scroll-margin-top: 96px;
}
.doc h3 {
  font-size: var(--s1);
  margin-top: 12px;
  letter-spacing: -0.02em;
}
.doc p,
.doc li {
  color: #c9c9c2;
  line-height: 1.7;
}
.doc ul,
.doc ol {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc :not(pre) > code {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--fg);
}
.code {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.code .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.code button {
  font: inherit;
  font-size: 0.75rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  min-height: 32px;
}
.code button:hover {
  color: var(--fg);
}
.code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--fg);
}
.code .c {
  color: var(--muted);
}
.code .k {
  color: var(--lime);
}
.callout {
  border: 1px solid color-mix(in srgb, var(--lime) 40%, transparent);
  background: color-mix(in srgb, var(--lime) 7%, var(--ink));
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
}
.callout b {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}
.callout p {
  color: var(--fg);
}
.terms {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  margin: 0;
}
.terms dt,
.terms dd {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.terms dt {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.terms dt::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.terms dd {
  color: #c9c9c2;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .docs {
    grid-template-columns: 1fr;
  }
  .side-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 32px;
  }
}
@media (max-width: 520px) {
  .terms {
    grid-template-columns: 1fr;
  }
  .terms dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* about */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story img {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.story .txt {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story .txt p {
  color: #c9c9c2;
  font-size: var(--s1);
  line-height: 1.55;
  max-width: 40ch;
}
.word {
  font-family: var(--mono);
  font-size: var(--s1);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.word span {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.word span.hl {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.principle {
  border-top: 2px solid var(--lime);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.principle h3 {
  font-size: var(--s2);
}
.principle p {
  color: var(--muted);
}
@media (max-width: 860px) {
  .story,
  .principles {
    grid-template-columns: 1fr;
  }
}

/* changelog */
.log {
  display: flex;
  flex-direction: column;
  max-width: 52rem;
}
.rel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.rel .when {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.rel .when b {
  color: var(--fg);
  font-size: var(--s1);
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.rel .what {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rel h3 {
  font-size: var(--s2);
}
.rel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rel li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  color: #c9c9c2;
  align-items: baseline;
}
.ltag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.ltag.new {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}
.ltag.fix {
  color: var(--fg);
}
@media (max-width: 640px) {
  .rel {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* contact form */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 44rem;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.form .full {
  grid-column: 1/-1;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--fg);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
}
.form textarea {
  min-height: 140px;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.form .done {
  grid-column: 1/-1;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.875rem;
}
@media (max-width: 600px) {
  .form {
    grid-template-columns: 1fr;
  }
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 48px;
  color: var(--muted);
  font-size: 0.875rem;
}
footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
footer .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .col b {
  color: var(--fg);
  font-weight: 600;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--fg);
}
footer .logo {
  align-self: flex-start;
  height: 26px;
}
footer .mail {
  font-family: var(--mono);
  color: var(--fg);
  user-select: all;
}
footer .credits {
  grid-column: 1/-1;
  font-size: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
@media (max-width: 760px) {
  footer .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  footer .col:first-child {
    grid-column: 1/-1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flock .bird {
    animation: none;
  }
  .btn {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* interactive chat demo */
.chat .log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}
.chat .msg {
  animation: pop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.typing .b {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 42px;
  align-self: flex-start;
  padding-inline: 18px;
}
.typing .b > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-ink);
  opacity: 0.35;
  animation: blink 1s infinite;
}
.typing .b > i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing .b > i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  50% {
    opacity: 1;
  }
}
.chat .agents span {
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.agents span.work {
  color: var(--fg);
  border-color: var(--muted);
}
.agents span.work::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 6px;
  vertical-align: middle;
  animation: blink 1s infinite;
}
.agents span.wait {
  color: var(--lime-ink);
  background: var(--lime);
  border-color: var(--lime);
}
.agents span.pause {
  color: var(--muted);
  border-style: dashed;
}
.chat .dock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.chat .sugg {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chat .sugg button {
  font: inherit;
  font-size: 0.75rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  min-height: 32px;
}
.chat .sugg button:hover {
  color: var(--fg);
  border-color: var(--muted);
}
.chat form {
  display: flex;
  gap: 8px;
}
.chat input {
  flex: 1;
  min-width: 0;
  font: inherit;
  color: var(--fg);
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  min-height: 46px;
}
.chat input:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}
.chat .send {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
}
.chat .bar .reset {
  margin-left: auto;
  font: inherit;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  min-height: 30px;
}
.chat .bar .reset:hover {
  color: var(--fg);
}
.chat .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}
.chat .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 1.4s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .chat .msg,
  .typing .b i,
  .agents span.work::before,
  .chat .live::before {
    animation: none;
  }
}

/* instagram grid */
.insta .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.insta .handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  color: var(--lime);
  text-decoration: none;
  font-size: var(--s1);
}
.insta .handle svg {
  width: 24px;
  height: 24px;
}
.grid6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.grid6 a {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.grid6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.grid6 a:hover img {
  transform: scale(1.05);
}
.grid6 a::after {
  content: attr(data-cap);
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 3px 7px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s;
}
.grid6 a:hover::after,
.grid6 a:focus-visible::after {
  opacity: 1;
}
@media (max-width: 900px) {
  .grid6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ig svg {
  width: 16px;
  height: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .grid6 img {
    transition: none;
  }
}

/* cockpit band */
.cockpit {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.cockpit img {
  display: block;
  width: 100%;
  height: clamp(420px, 50vw, 620px);
  object-fit: cover;
}
.cockpit .over {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.55) 45%, rgba(13, 13, 13, 0) 75%);
  display: flex;
  align-items: center;
}
.cockpit .over .wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cockpit h2 {
  font-size: var(--s4);
  max-width: 11ch;
}
.cockpit p:not(.kicker) {
  color: #d7d7d0;
  font-size: var(--s1);
  max-width: 30ch;
}
@media (max-width: 720px) {
  .cockpit .over {
    position: static;
    background: var(--ink);
  }
  .cockpit img {
    height: 280px;
  }
  .cockpit .over .wrap {
    padding-block: 32px 8px;
  }
}
.docbanner {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.docbanner img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.docbanner figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 5px 9px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* license placeholder marker — remove before going live */
.lic {
  position: relative;
  display: block;
}
.lic::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px dashed #ff4d4d;
  z-index: 2;
  pointer-events: none;
}
.lic::after {
  content: "⚠ PLACEHOLDER · license unclear";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  background: #ff4d4d;
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
}
.lic img {
  display: block;
  width: 100%;
}
.flock svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flock .tag {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 36px);
}

/* V typing indicator: dots gather into a V, then a wingbeat runs from tail to tip */
.vtype {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 16px;
  vertical-align: middle;
  color: var(--lime);
  animation: vdrift 2.4s ease-in-out infinite;
}
.vtype i {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  animation:
    vform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    vflap 1.2s ease-in-out 0.55s infinite;
}
.vtype i:nth-child(1) {
  left: 20px;
  top: 8px;
  width: 5px;
  height: 5px;
  --sx: -14px;
  --sy: 5px;
  animation-delay: 0s, 0.85s;
}
.vtype i:nth-child(2) {
  left: 13px;
  top: 4px;
  width: 4px;
  height: 4px;
  --sx: 6px;
  --sy: 8px;
  animation-delay: 0.05s, 0.7s;
}
.vtype i:nth-child(3) {
  left: 13px;
  top: 12px;
  width: 4px;
  height: 4px;
  --sx: -6px;
  --sy: -9px;
  animation-delay: 0.1s, 0.7s;
}
.vtype i:nth-child(4) {
  left: 6px;
  top: 1.5px;
  width: 3px;
  height: 3px;
  --sx: 12px;
  --sy: 10px;
  animation-delay: 0.15s, 0.55s;
}
.vtype i:nth-child(5) {
  left: 6px;
  top: 14.5px;
  width: 3px;
  height: 3px;
  --sx: 9px;
  --sy: -11px;
  animation-delay: 0.2s, 0.55s;
}
.vtype.ink {
  color: var(--lime-ink);
}
@keyframes vform {
  from {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy)));
  }
  to {
    opacity: 0.45;
    transform: translate(-50%, -50%);
  }
}
@keyframes vflap {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, -50%);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 1.6px));
  }
}
@keyframes vdrift {
  0%,
  100% {
    translate: -1px 0;
  }
  50% {
    translate: 1px 0;
  }
}
.typingline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .vtype,
  .vtype i {
    animation: none;
  }
  .vtype i {
    opacity: 0.8;
  }
}

/* concept preview banner */
.preview {
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 0.8125rem;
  font-weight: 500;
}
.preview .wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding-block: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.preview b {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* features page */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat h3 {
  font-size: var(--s1);
  letter-spacing: -0.02em;
}
.feat p {
  color: var(--muted);
}
.feat .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--panel-2);
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.875rem;
}
.feat code {
  color: var(--lime);
}
.fsec {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 0;
}
.fsec + .fsec {
  margin-top: clamp(56px, 8vw, 96px);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.pillar {
  border-top: 2px solid var(--lime);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar b {
  font-size: var(--s1);
}
.pillar span {
  color: var(--muted);
  font-size: 0.9375rem;
}
@media (max-width: 900px) {
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .fgrid,
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* USP / compare */
.usp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.uspc {
  border-top: 2px solid var(--lime);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uspc .nr {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lime);
}
.uspc h3 {
  font-size: var(--s1);
  letter-spacing: -0.02em;
}
.uspc p {
  color: var(--muted);
}
.vs {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.9375rem;
}
.vs th,
.vs td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.vs thead th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--panel);
}
.vs thead th small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.6875rem;
  color: #6e6e68;
  margin-top: 4px;
}
.vs th.us,
.vs td.us {
  background: color-mix(in srgb, var(--lime) 8%, var(--ink));
  color: var(--fg);
}
.vs thead th.us {
  color: var(--lime);
}
.vs td {
  color: #bfbfb8;
}
.vs tbody th {
  font-weight: 500;
  color: var(--fg);
}
.vs .y {
  color: var(--lime);
  font-weight: 600;
}
.vs .p {
  color: var(--fg);
}
@media (max-width: 900px) {
  .usp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .usp {
    grid-template-columns: 1fr;
  }
}
/* pocket app */
.pocketgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.pcopy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pticks li {
  position: relative;
  padding-left: 22px;
  color: #d7d7d0;
}
.pticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}
.pticks b {
  color: var(--fg);
}
.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 12px;
  background: #f2f2f2;
  color: #0d0d0d;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.05;
}
.store:hover {
  background: var(--lime);
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.store small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
}
.storenote {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}
.storenote .chip {
  margin-right: 6px;
}
.phone {
  justify-self: center;
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 9/16;
  border-radius: 44px;
  border: 10px solid #1e1e1e;
  background: #0a0a0a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px #2a2a2a;
}
.phone .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 12px;
  background: #000;
  z-index: 3;
}
.pscr {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  padding: 44px 16px 18px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 70% at 50% 0%, #1b1f10 0%, #0a0a0a 60%);
}
.ptop {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pcount {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 18px;
}
.pcard {
  border-radius: 18px;
  background: var(--panel, #151515);
  border: 1px solid var(--line, #2a2a2a);
}
.pcard.back2 {
  height: 14px;
  margin: 0 22px;
  opacity: 0.5;
}
.pcard.back1 {
  height: 14px;
  margin: -6px 11px 0;
  opacity: 0.8;
}
.pcard.front {
  margin-top: -6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 244, 50, 0.15);
  transform: rotate(-3deg) translateX(6px);
  animation: pswipe 5s ease-in-out infinite;
}
.pcard .pk {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
.pcard p {
  margin: 0;
  font-size: 0.875rem;
  color: #d7d7d0;
}
.pcard strong {
  color: var(--fg);
}
.pmeta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
}
.pbtns {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.pbtns span {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: 9px 0;
  font-size: 0.8125rem;
  font-weight: 600;
}
.pbtns .pr {
  border: 1px solid var(--line, #2a2a2a);
  color: var(--fg);
}
.pbtns .pa {
  background: var(--lime);
  color: #0d0d0d;
}
.pswipe {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
}
@keyframes pswipe {
  0%,
  55% {
    transform: rotate(-3deg) translateX(6px);
  }
  70% {
    transform: rotate(4deg) translateX(40px);
  }
  80% {
    transform: rotate(0) translateX(0);
  }
  100% {
    transform: rotate(-3deg) translateX(6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pcard.front {
    animation: none;
  }
}
@media (max-width: 820px) {
  .pocketgrid {
    grid-template-columns: 1fr;
  }
  .phone {
    width: min(270px, 80%);
  }
}
@media (max-width: 640px) {
  pre {
    white-space: pre-wrap;
    word-break: break-word;
  }
  .store {
    flex: 1;
    min-width: 150px;
  }
}

.mcall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mcall > div {
  background: var(--panel, #151515);
  border: 1px solid var(--line, #2a2a2a);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mcall > div:first-child {
  border-color: color-mix(in srgb, var(--lime) 50%, transparent);
}
.mcall p {
  color: #d7d7d0;
  margin: 0;
}
.mcall b {
  color: var(--fg);
}
@media (max-width: 720px) {
  .mcall {
    grid-template-columns: 1fr;
  }
}

.entline {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px dashed var(--line, #2a2a2a);
  border-radius: 14px;
  color: #d7d7d0;
}
.whyprice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.whyprice > div {
  background: var(--panel, #151515);
  border: 1px solid var(--line, #2a2a2a);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.whyprice p {
  margin: 0;
  color: #d7d7d0;
  font-size: 0.9375rem;
}
@media (max-width: 820px) {
  .whyprice {
    grid-template-columns: 1fr;
  }
}

.crew {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.crewc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crewc.lead {
  border-color: color-mix(in srgb, var(--lime) 55%, transparent);
  transform: translateY(-12px);
}
.crewc:not(.lead) {
  transform: translateY(12px);
}
.crav svg {
  width: 72px;
  height: 72px;
  display: block;
}
.crewc h3 {
  font-size: var(--s2, 1.75rem);
  margin: 0;
}
.crewc p {
  color: #d7d7d0;
  margin: 0;
}
.crewc dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 6px 0 0;
  font-size: 0.875rem;
}
.crewc dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.crewc dd {
  margin: 0;
  color: var(--fg);
}
.crewfoot {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.crewchart {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--fg);
}
.crewchart .hl {
  color: var(--lime);
}
@media (max-width: 720px) {
  .crew {
    grid-template-columns: 1fr;
  }
  .crewc.lead,
  .crewc:not(.lead) {
    transform: none;
  }
}

.crewph {
  margin: -28px -28px 8px;
  position: relative;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  aspect-ratio: 5/4;
  background: #1b1f10;
}
.crewph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}
.crewph figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(13, 13, 13, 0.75);
  color: var(--lime);
  padding: 5px 10px;
  border-radius: 999px;
}
.crewph.ph2 {
  display: grid;
  place-items: center;
  background: radial-gradient(90% 80% at 50% 45%, #2a3312 0%, #141414 70%);
}
.crewph.ph2 .crav svg {
  width: 120px;
  height: 120px;
}
.crewph.ph2 figcaption {
  color: var(--muted);
}

.hero-crew {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--lime) 55%, transparent);
  border-radius: 28px;
  overflow: hidden;
}
.hero-crew figure {
  margin: 0;
  position: relative;
  min-height: 340px;
}
.hero-crew img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-crew figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(13, 13, 13, 0.75);
  color: var(--lime);
  padding: 5px 10px;
  border-radius: 999px;
}
.hero-crew .hc {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.hero-crew .meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero-crew h3 {
  font-size: var(--s3, 2.25rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.hero-crew p {
  color: #d7d7d0;
  margin: 0;
  font-size: 1.0625rem;
}
.hero-crew dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 6px 0 0;
  font-size: 0.9375rem;
}
.hero-crew dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.hero-crew dd {
  margin: 0;
}
.wingnote {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.wingnote b {
  color: var(--fg);
  font-weight: 600;
}
@media (max-width: 820px) {
  .hero-crew {
    grid-template-columns: 1fr;
  }
  .hero-crew figure {
    min-height: 0;
    aspect-ratio: 5/4;
  }
}

.wingrow {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.wingrow .wingnote {
  margin: 0;
  align-self: center;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wingrow .crewc {
  transform: none;
}
@media (max-width: 820px) {
  .wingrow {
    grid-template-columns: 1fr;
  }
  .wingrow .wingnote {
    text-align: left;
  }
}

.wingrow {
  display: block;
}
.wingrow .wingnote {
  text-align: left;
  margin: 0 0 10px;
}
.crewc.wide {
  display: grid;
  grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
}
.crewc.wide .wtxt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crewc.wide .crav svg {
  width: 88px;
  height: 88px;
}
.crewc.wide dl {
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  .crewc.wide {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .crewc.wide dl {
    grid-column: 1/-1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
}
@media (max-width: 560px) {
  .crewc.wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* utilities — one-off tweaks that used to be inline style attributes; !important keeps their inline precedence */
.u-semibold {
  font-weight: 600 !important;
}
.u-underline {
  text-decoration: underline !important;
}
.u-lime {
  color: var(--lime) !important;
}
.u-fg {
  color: var(--fg) !important;
}
.u-danger {
  color: #ff4d4d !important;
}
.u-mono {
  font-family: var(--mono) !important;
}
.u-p-0 {
  padding: 0 !important;
}
.u-pt-0 {
  padding-top: 0 !important;
}
.u-mt-0 {
  margin-top: 0 !important;
}
.u-mt-12 {
  margin-top: 12px !important;
}
.u-mt-14 {
  margin-top: 14px !important;
}
.u-mt-16 {
  margin-top: 16px !important;
}
.u-mt-20 {
  margin-top: 20px !important;
}
.u-mt-24 {
  margin-top: 24px !important;
}
.u-mt-36 {
  margin-top: 36px !important;
}
.u-mt-xl {
  margin-top: clamp(64px, 10vw, 128px) !important;
}
.u-mb-0 {
  margin-bottom: 0 !important;
}
.u-mb-12 {
  margin-bottom: 12px !important;
}
.u-mb-40 {
  margin-bottom: 40px !important;
}
.u-mb-md {
  margin-bottom: clamp(40px, 6vw, 64px) !important;
}
.u-mb-lg {
  margin-bottom: clamp(56px, 8vw, 96px) !important;
}
.u-mb-xl {
  margin-bottom: clamp(64px, 10vw, 128px) !important;
}
.u-basis-full {
  flex-basis: 100% !important;
}
.u-pin-bl {
  left: 18px !important;
  bottom: 16px !important;
}
.u-caption-bottom {
  caption-side: bottom !important;
  text-align: left !important;
  padding: 12px 16px !important;
}
.u-cover-10x7 {
  aspect-ratio: 10/7 !important;
  object-fit: cover !important;
}
.u-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}
