:root {
  --paper: #fbf8f1;
  --tile: #fcf9ee;
  --tile-lift: #fffdf8;
  --ink: #2c322c;
  --ink-soft: #3d4a3f;
  --muted: #5c6758;
  --forest: #2f4a35;
  --sage: #6b7f5e;
  --clay: #c8735a;
  --line: rgba(47, 74, 53, 0.28);
  --line-strong: rgba(47, 74, 53, 0.42);
  --focus: #2f4a35;
  --gap: 14px;
  --radius: 10px;
  --page-pad: 24px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Atkinson Hyperlegible", "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--paper);
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  background: var(--paper);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10;
  padding: 0.4rem 0.7rem;
  background: var(--forest);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: calc(100% - (var(--page-pad) * 2));
  max-width: none;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.28em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 560;
  text-transform: uppercase;
}

.brand .mark {
  width: 18px;
  height: 22px;
  color: var(--forest);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social a {
  display: inline-flex;
  color: var(--forest);
  text-decoration: none;
}

.social a:hover {
  color: var(--clay);
}

.social .icon-social {
  width: 15px;
  height: 15px;
}

.nav a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a[aria-current="page"] {
  color: var(--forest);
  box-shadow: inset 0 -1px 0 var(--clay);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--clay);
}

h1,
h2,
.tile-title,
.bot-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.hero-copy h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.7rem, 4.6vw, 4.4rem);
  line-height: 0.94;
}

.hero-lede {
  margin: 0 0 1rem;
  font-size: 1.16rem;
  color: var(--ink-soft);
}

.kicker {
  margin: 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.bento,
.bots,
.sites {
  display: grid;
  gap: var(--gap);
}

.bento {
  grid-template-columns: 1.32fr 0.92fr 1.05fr 0.92fr;
  grid-template-areas:
    "hero quail firstbuzz cactus"
    "hero heistmas pipsnap pipsnap"
    "fuellog reward reward reward";
}

.tile-hero { grid-area: hero; }
.tile-quail { grid-area: quail; }
.tile-firstbuzz { grid-area: firstbuzz; }
.tile-cactus { grid-area: cactus; }
.tile-heistmas { grid-area: heistmas; }
.tile-pipsnap { grid-area: pipsnap; }
.tile-fuel-log { grid-area: fuellog; }
.tile-rewardtracker { grid-area: reward; }

.tile {
  position: relative;
  min-width: 0;
  padding: 22px 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tile-hero {
  min-height: 780px;
  padding: 28px 26px 0;
  justify-content: space-between;
}

.hero-art {
  margin: 12px -18px 0;
  min-height: 220px;
  flex: 1 1 auto;
}

.ink {
  background: var(--tile);
}

.ink img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.ink-fill,
.ink-hero,
.ink-plate,
.ink-page {
  display: block;
  width: 100%;
  height: 100%;
}

.ink-fill img,
.ink-hero img,
.ink-plate img,
.ink-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.ink-hero img {
  object-position: center 40%;
}

.ink-plate img,
.tile-cactus .ink-fill img {
  object-fit: cover;
  object-position: center 42%;
}

.tile-pipsnap .ink-fill {
  flex: 1 1 auto;
  min-height: 180px;
  max-height: 240px;
  overflow: hidden;
}

.tile-pipsnap .ink-fill img,
.ink-joshua-tree img {
  object-fit: cover;
  object-position: center 18%;
}

.tile-app {
  min-height: 320px;
}

.tile-has-plate > .ink-tile-art {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tile-has-plate > .ink-tile-art img {
  object-fit: cover;
  object-position: center 40%;
}

.tile-has-plate .tile-head {
  position: relative;
  z-index: 1;
}

a.tile-link {
  color: inherit;
  text-decoration: none;
}

a.tile-link:hover {
  color: inherit;
  background: var(--tile-lift);
  border-color: var(--line-strong);
}

a.tile-link:hover .tile-title {
  color: var(--clay);
}

.tile-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  min-height: 0;
}

.tile-copy {
  min-width: 0;
  flex: 1;
}

.tile-title {
  margin: 0 0 0.3rem;
  font-size: 1.5rem;
  line-height: 1.12;
}

.tile-blurb {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.tile-foot {
  margin-top: auto;
  padding-top: 14px;
}

.store-row {
  margin: 10px 0 0;
}

.store-badge-link {
  display: inline-block;
  line-height: 0;
}

.store-badge {
  display: block;
  width: 120px;
  height: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px 4px;
  border-radius: 99px;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.pill-sage {
  background: var(--sage);
  color: #fff;
}

.pill-clay {
  background: var(--clay);
  color: #fff;
}

a.pill:hover {
  color: #fff;
  filter: brightness(0.94);
}

.phone {
  flex: 0 0 auto;
  width: min(52%, 250px);
  margin: -4px -2px 0 auto;
  padding: 5px 5px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #fffef8;
  box-shadow: none;
}

.tile-firstbuzz,
.tile-heistmas,
.tile-fuel-log {
  min-height: 400px;
}

.tile-firstbuzz .tile-head,
.tile-heistmas .tile-head,
.tile-fuel-log .tile-head {
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.tile-heistmas .tile-head,
.tile-fuel-log .tile-head {
  flex: 0 1 auto;
}

.tile-firstbuzz .phone {
  width: 80%;
  max-width: 230px;
  margin: 10px auto 2px;
}

.tile-heistmas .phone {
  width: 72%;
  max-width: 186px;
  margin: 10px auto 8px;
}

.tile-fuel-log .phone {
  width: 76%;
  max-width: 196px;
  margin: 12px auto 8px;
}

.tile-heistmas .ink-app-plate,
.tile-fuel-log .ink-app-plate {
  flex: 1 1 auto;
  min-height: 168px;
  max-height: 230px;
  overflow: hidden;
  margin: 2px -8px -4px;
}

.tile-heistmas .ink-app-plate img {
  object-fit: cover;
  object-position: center 48%;
}

.tile-fuel-log .ink-app-plate img {
  object-fit: cover;
  object-position: center 42%;
}

.phone img {
  width: 100%;
  border-radius: 20px;
  background: #eeeae0;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 390 / 780;
}

.tile-plate {
  min-height: 400px;
  padding: 8px 10px 12px;
}

.tile-plate .ink-plate {
  flex: 1;
  min-height: 250px;
  overflow: hidden;
}

.plate-caption {
  width: 100%;
  margin: 6px 2px 0;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tile-cactus,
.tile-pipsnap {
  min-height: 400px;
}

.tile-cactus .ink-fill,
.tile-pipsnap .ink-fill {
  flex: 1;
  min-height: 170px;
  margin: 4px -8px -4px;
}

.tile-rewardtracker {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(14rem, 1.15fr);
  gap: 12px 8px;
  align-items: stretch;
  min-height: 320px;
}

.tile-rewardtracker .tile-copy {
  display: flex;
  flex-direction: column;
}

.tile-rewardtracker .ink-fill {
  min-height: 220px;
  align-self: end;
}

.section {
  margin-top: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 6px 2px 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sites {
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}

.bots {
  grid-template-columns: 1.2fr 1fr;
}

.bot-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.bot-summary {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.tile-bot .ink-fill {
  height: 148px;
  min-height: 148px;
  max-height: 148px;
  margin: -10px -10px 12px;
  overflow: hidden;
  flex: none;
}

.tile-bot .ink-fill img {
  object-fit: cover;
  object-position: center 40%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 18px 0 0;
  padding: 16px 2px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand .mark {
  width: 18px;
  height: 22px;
  color: var(--forest);
  flex: none;
}

.footer-lede {
  margin: 0 0 0.2rem;
  color: var(--forest);
  font-family: var(--font-display);
}

.footer-sub {
  margin: 0;
}

.footer-contact {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.legal {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.64rem;
  color: var(--forest);
}

.page {
  padding: 8px 0 48px;
}

.page-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile);
  overflow: hidden;
  min-height: 520px;
}

.page-card .ink-page {
  min-height: 280px;
  background: var(--tile);
}

.page-card-body {
  padding: 28px 32px 40px;
}

.page-card h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.prose {
  max-width: 42rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: 1.8rem;
  font-size: 1.35rem;
}

.note {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tile-lift);
}

.app-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0 0 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.app-nav a[aria-current="page"] {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.page-date {
  margin: -0.15rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: start;
}

.app-landing .phone {
  width: 180px;
  margin: 0;
}

.app-links {
  margin: 1.3rem 0 0;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.page-card-lost .page-card-body {
  display: grid;
  align-content: center;
}

@media (max-width: 1180px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "hero hero"
      "firstbuzz heistmas"
      "fuellog pipsnap"
      "reward reward"
      "quail cactus";
  }

  .tile-hero {
    min-height: 420px;
  }

  .tile-rewardtracker {
    grid-template-columns: 1fr 1fr;
  }

  .bots {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 14px;
  }

  .site-header {
    padding: 16px 0 12px;
  }

  .bento,
  .bots {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "firstbuzz"
      "heistmas"
      "fuellog"
      "pipsnap"
      "reward"
      "cactus"
      "quail";
  }

  .tile,
  .tile-app,
  .tile-hero,
  .tile-plate,
  .tile-rewardtracker {
    min-height: 0;
  }

  .tile-hero {
    padding: 22px 18px 0;
  }

  .tile-head {
    flex-direction: column;
  }

  .phone {
    width: min(56%, 210px);
    margin: 8px auto 4px;
  }

  .hero-art {
    min-height: 160px;
    margin: 10px -10px 0;
  }

  .tile-rewardtracker {
    grid-template-columns: 1fr;
  }

  .page-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-card .ink-page {
    min-height: 180px;
  }

  .page-card-body {
    padding: 22px 18px 32px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-end {
    align-items: flex-start;
  }

  .app-landing {
    grid-template-columns: 1fr;
  }

  .app-landing .phone {
    width: min(52%, 180px);
    margin: 0 auto;
  }

  .header-end {
    gap: 0.7rem;
  }

  .nav {
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
