@font-face {
  font-family: 'Archivo';
  src: url('/assets/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* Field-guide green with a hi-vis spotter's accent */
:root {
  --bg: #16291f;
  --surface: #1f3629;
  --field: #24402f;
  --ink: #eef2dc;
  --muted: #bccaa8;
  --accent: #d7f25c;
  --accent-ink: #16291f;
  --t1: #2a4a37;
  --t2: #3d6a4c;
  --t3: #6f9b72;
  --t4: #8fb27a;
  --t5: #c4d99a;
  --m: clamp(16px, 2.2vw, 32px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body) / 1.5 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
.display {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.86;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
.vh {
  position: absolute;
  width: 1px; /* taste-skill-ignore: visually hidden heading, not a rule */
  height: 1px; /* taste-skill-ignore */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: var(--step-body);
  text-decoration: none;
  padding: 18px 30px;
  transition:
    transform 160ms var(--ease),
    background 160ms;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--ink);
}
.btn:active {
  transform: translateY(1px);
}
.btn-ink {
  background: var(--bg);
  color: var(--ink);
}
.btn-ink:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---- Top bar ---- */
.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px var(--m);
}
.mark {
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.top nav {
  display: flex;
  gap: 24px;
}
.top nav a {
  text-decoration: none;
  font-weight: 500;
}
.top nav a:hover {
  color: var(--accent);
}

/* ---- Hero: the field and the band, the specimen card straddling the seam ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-field {
  position: relative;
  background: var(--bg);
  padding: 0 var(--m);
}
.hero h1 {
  position: relative;
  z-index: 1;
  margin-top: 16svh;
  font-size: clamp(96px, 17vw, 300px);
  line-height: 0.84;
  max-width: 62%;
}
.hero-band {
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px var(--m);
}
.lede {
  font-size: var(--step-lead);
  line-height: 1.3;
  max-width: 44ch;
  font-weight: 500;
}
.hero-band .btn {
  background: var(--bg);
  color: var(--ink);
  white-space: nowrap;
}
.hero-band .btn:hover {
  background: var(--surface);
}
.specimen {
  position: absolute;
  z-index: 2;
  right: 12vw;
  bottom: -9svh;
  width: min(32vw, 470px);
  margin: 0;
  transform: rotate(5deg);
  background: var(--ink);
  color: var(--accent-ink);
  border-radius: 240px 240px 0 0;
  padding: 92px 34px 34px;
  animation: shutter 1.1s var(--ease) both 0.15s;
}
.specimen-in {
  animation: settle 1.1s var(--ease) both 0.15s;
}
.sp-site {
  font-weight: 800;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: 54px;
  line-height: 0.9;
  text-align: center;
}
.sp-meta {
  text-align: center;
  font-size: var(--step-small);
  margin: 10px 0 22px;
}
.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sp-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  background: #dde4c4;
  padding: 10px 14px;
}
.sp-list b {
  font-size: 19px;
}
.sp-list span {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.sp-list em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: var(--step-small);
  color: #3b4a33;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes shutter {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes settle {
  from {
    transform: scale(1.12);
  }
  to {
    transform: none;
  }
}

/* ---- Sightings board ---- */
.log-head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: end;
  padding: 0 calc(var(--m) - 12px);
  margin-bottom: 48px;
}
.log-head img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 35%;
}
.log {
  padding: 160px 12px 0;
}
.sec-h {
  font-size: var(--step-head);
}
.log-sub {
  max-width: 52ch;
  margin-top: 18px;
}
.board {
  display: grid;
  gap: 4px;
  clip-path: inset(36px 0 36px 0);
  margin: -36px 0;
}
.row {
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 2fr 1.4fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 0 20px;
  background: var(--surface);
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms;
}
.row:hover {
  background: var(--field);
}
.row b {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row .fact {
  font-size: var(--step-body);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.row .st {
  justify-self: end;
  font-size: var(--step-small);
  font-weight: 700;
  padding: 6px 10px;
  background: var(--t4);
  color: var(--accent-ink);
}
.row .st-blocked {
  background: #e98a5b;
}
.row .st-robots {
  background: var(--t5);
}
.row.open {
  min-height: 216px;
  background: var(--accent);
  color: var(--accent-ink);
  align-items: start;
  padding-top: 18px;
}
.row.open .fact {
  color: var(--accent-ink);
}
.row .detail {
  grid-column: 1 / -1;
  display: none;
  font-size: 17px;
  line-height: 1.45;
  max-width: 120ch;
}
.row.open .detail {
  display: block;
}
.board-empty {
  padding: 40px 20px;
  background: var(--surface);
}

/* ---- Guide: panel with margin notes ---- */
.guide {
  padding: 200px var(--m) 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 440px) 1fr;
  gap: 40px;
  align-items: start;
}
.guide-h {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(40px, 4.4vw, 72px);
  text-align: right;
  justify-self: end;
}
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 56px;
}
.notes-l {
  grid-column: 1;
  grid-row: 1;
  margin-top: 220px;
  text-align: right;
  justify-items: end;
}
.notes-r {
  grid-column: 3;
  grid-row: 1;
  margin-top: 120px;
}
.notes li {
  max-width: 26ch;
  cursor: default;
  transition: color 160ms;
}
.notes b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.notes span {
  color: var(--muted);
}
.notes li.on b {
  color: var(--accent);
}
.panel {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  background: #0f1d15;
  color: var(--muted);
  padding: 28px 26px;
  font: 400 15px / 1.6 ui-monospace, 'SF Mono', Menlo, monospace; /* taste-skill-ignore: a real API response */
  overflow-x: auto;
}
.panel [data-part] {
  color: var(--ink);
  transition:
    color 160ms,
    background 160ms;
}
.panel [data-part='call'] {
  color: var(--accent);
}
.panel [data-part].on {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---- How: accordion of tints ---- */
.how {
  padding: 200px var(--m) 0;
}
.how-intro {
  display: grid;
  grid-template-columns: 5fr 1fr 5fr;
  align-items: end;
}
.how-intro h2 {
  font-size: clamp(48px, 6vw, 96px);
}
.how-intro p {
  grid-column: 3;
  font-size: 18px;
  max-width: 52ch;
}
.acc {
  display: flex;
  height: 560px;
  margin-top: 64px;
}
.stage {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  transition: flex-grow 450ms var(--ease);
}
.stage:nth-child(1) {
  background: var(--t1);
}
.stage:nth-child(2) {
  background: var(--t2);
}
.stage:nth-child(3) {
  background: var(--t3);
  color: var(--accent-ink);
}
.stage:nth-child(4) {
  background: var(--t4);
  color: var(--accent-ink);
}
.stage:nth-child(5) {
  background: var(--t5);
  color: var(--accent-ink);
}
.stage.open {
  flex-grow: 7;
}
.stage-tab {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  font: 700 20px / 1 'Archivo', sans-serif;
  text-align: left;
  cursor: pointer;
}
.stage-tab:hover {
  background: rgba(255, 255, 255, 0.06);
}
.stage:not(.open) .stage-tab {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 24px 20px;
}
.stage.open .stage-tab {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.stage-body {
  display: none;
  height: 100%;
  padding: 32px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 24px 32px;
}
.stage.open .stage-body {
  display: grid;
}
.stage-body h3 {
  font-size: 48px;
}
.stage-body p {
  grid-row: 2;
  align-self: end;
  max-width: 36ch;
  font-size: 18px;
}
.stage-body img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Pricing: two fields ---- */
.pricing {
  display: grid;
  grid-template-columns: 5fr 7fr;
  margin-top: 200px;
}
.plan {
  min-height: 90svh;
  padding: 40px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
}
.plan-free {
  background: var(--ink);
  color: var(--accent-ink);
}
.plan-pro {
  background: var(--accent);
  color: var(--accent-ink);
}
.plan-pro .btn {
  background: var(--bg);
  color: var(--ink);
}
.plan-pro .btn:hover {
  background: var(--surface);
}
.plan h3 {
  font-size: clamp(56px, 6vw, 104px);
}
.plan > p {
  font-size: 20px;
  max-width: 26ch;
}
.plan .incl {
  font-size: var(--step-body);
  max-width: 46ch;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.price {
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(96px, 13vw, 210px);
  line-height: 0.8;
}
.price span {
  font-size: 18px;
  font-weight: 500;
  font-stretch: 100%;
}

/* ---- FAQ bands ---- */
.faq-head {
  background: var(--accent);
  color: var(--accent-ink);
  min-height: 40svh;
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 32px;
  align-items: end;
  padding: 40px var(--m);
}
.faq-head img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.faq-head h2 {
  font-size: clamp(64px, 10vw, 160px);
}
.qa {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
  padding: 56px var(--m);
}
.qa:nth-of-type(even) {
  background: var(--surface);
}
.qa h3 {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 0.95;
}
.qa p {
  grid-column: 3;
  font-size: 18px;
  max-width: 60ch;
}

/* ---- CTA: the whole band is the link ---- */
.cta {
  position: relative;
  display: block;
  min-height: 60svh;
  background: var(--ink);
  color: var(--accent-ink);
  text-decoration: none;
  padding: 24px var(--m);
  overflow: hidden;
}
.cta:hover,
.cta:focus-visible {
  background: var(--accent-ink);
  color: var(--accent);
}
.cta-line {
  display: block;
  max-width: 34ch;
  font-size: 20px;
}
.cta-arrow {
  position: absolute;
  top: 24px;
  right: var(--m);
  width: 48px;
  height: 48px;
  transition: transform 200ms var(--ease);
}
.cta:hover .cta-arrow {
  transform: translate(6px, -6px);
}
.cta-word {
  position: absolute;
  left: var(--m);
  bottom: 24px;
  width: calc(100% - 2 * var(--m));
  height: auto;
}
.cta-word text,
.foot-word text {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-stretch: 62%;
  font-size: 300px;
  fill: currentColor;
}
.foot-word text {
  font-size: 150px;
}

/* ---- Footer ---- */
.foot {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 40px var(--m) 20px;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  font-size: 16px;
}
.foot-cols p {
  font-weight: 700;
  margin-bottom: 8px;
}
.foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.foot-cols a:hover {
  background: var(--accent-ink);
  color: var(--accent);
}
.foot-word {
  grid-row: 3;
  display: block;
  width: 100%;
  height: auto;
}
.legal {
  grid-row: 4;
  font-size: var(--step-small);
  margin-top: 20px;
}

/* ---- Entrances ---- */
.rise {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}
.rise.in {
  opacity: 1;
  transform: none;
}

/* ---- Phone ---- */
@media (max-width: 900px) {
  .top nav a:not(:last-child) {
    display: none;
  }
  .hero {
    grid-template-rows: 78fr 22fr;
  }
  .hero h1 {
    margin-top: 12svh;
    font-size: 27vw;
    max-width: none;
  }
  .specimen {
    width: 60vw;
    right: var(--m);
    bottom: -2svh;
    padding: 56px 18px 18px;
  }
  .sp-list li:nth-child(n + 3) {
    display: none;
  }
  .log-head,
  .faq-head {
    grid-template-columns: 1fr;
  }
  .sp-site {
    font-size: 34px;
  }
  .sp-list li:nth-child(n + 4) {
    display: none;
  }
  .sp-list em {
    display: none;
  }
  .hero-band {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 28px;
  }
  .lede {
    font-size: 18px;
  }
  .log-head {
    padding-inline: calc(var(--m) - 8px);
  }
  .hero-band .btn {
    text-align: center;
  }
  .log {
    padding: 120px 8px 0;
  }
  .row {
    grid-template-columns: 1fr auto;
    font-size: 20px;
    min-height: 64px;
    padding: 0 14px;
  }
  .row .fact {
    display: none;
  }
  .row.open .fact {
    display: block;
    grid-column: 1 / -1;
  }
  .row.open {
    min-height: 200px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .guide-h,
  .notes-l,
  .notes-r,
  .panel {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
    text-align: left;
    justify-self: start;
    justify-items: start;
  }
  .notes {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .notes-l li:last-child,
  .notes-r li:last-child {
    grid-column: 1 / -1;
  }
  .notes span {
    font-size: 15px;
  }
  .panel {
    width: 100%;
    font-size: 13px;
  }
  .guide,
  .how {
    padding-top: 120px;
  }
  .how-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .how-intro p {
    grid-column: 1;
  }
  .acc {
    flex-direction: column;
    height: auto;
  }
  .stage:not(.open) .stage-tab {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0 16px;
    height: 64px;
    position: static;
    font-size: 18px;
  }
  .stage-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .stage-body p {
    grid-row: auto;
  }
  .stage-body img {
    grid-column: 1;
    grid-row: auto;
    height: 240px;
  }
  .stage-body h3 {
    font-size: 36px;
  }
  .pricing {
    grid-template-columns: 1fr;
    margin-top: 120px;
  }
  .plan {
    min-height: 70svh;
    padding: 20px;
  }
  .plan-pro {
    order: -1;
  }
  .price-row {
    flex-direction: column;
    align-items: stretch;
  }
  .price {
    font-size: 30vw;
  }
  .price-row .btn {
    text-align: center;
  }
  .faq-head {
    min-height: 30svh;
  }
  .faq-head h2 {
    font-size: 18vw;
  }
  .qa {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 20px;
  }
  .qa h3 {
    font-size: 22px;
    line-height: 1.05;
  }
  .qa p {
    grid-column: 1;
    font-size: 17px;
  }
  .cta {
    min-height: 46svh;
  }
  .cta-line {
    font-size: 17px;
    max-width: 24ch;
  }
  .cta-arrow {
    width: 32px;
    height: 32px;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
  .rise {
    opacity: 1;
    transform: none;
  }
}
