/* The marketing pages: /pricing, the guest book pages, the hunt and the rest.
 *
 * They are built from the landing page's own parts (the nav, the hero wash,
 * section heads, feature cards, tiers, the FAQ grid, the footer), so this file
 * only holds what the landing page never needed: a column of prose, a
 * comparison table, the breadcrumb, and the hunt generator.
 */

/* ------------------------------------------------------------------ hero --- */

.page-hero { padding-bottom: 56px; }
.page-hero .hero-inner { max-width: 820px; }
.page-hero h1 { margin-top: 16px; }
.page-hero .lede + .lede { margin-top: 12px; }

@media (min-width: 900px) {
  /* The landing hero is 76px for four words. These run to ten. */
  .page-hero h1 { font-size: 60px; }
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* Three real frames under the hero, tilted like the drifting ones on the
   landing page. Two on a phone, where three would be thumbnails. */
.page-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 44px auto 0;
}
.page-photos figure {
  margin: 0;
  border-radius: var(--r-tile);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 44px rgba(var(--ink-rgb), .14);
  animation: drift 7s ease-in-out infinite alternate;
}
.page-photos figure:nth-child(1) { --tilt: -3deg; }
.page-photos figure:nth-child(2) { --tilt: 2deg; animation-delay: 1.1s; }
.page-photos figure:nth-child(3) { --tilt: -2deg; animation-delay: .6s; }
.page-photos img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .page-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .page-photos figure:nth-child(3) { display: none; }
}

/* ----------------------------------------------------------------- prose --- */

/* A section that is words, not a grid. Centred head, centred paragraphs,
   held to a readable measure. */
.prose { text-align: center; max-width: 720px; margin: 0 auto; }
.prose p { margin: 16px auto 0; color: var(--muted); }
.prose h2 + p { margin-top: 20px; }
.prose .hero-actions { margin-top: 28px; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }

.feature .tile-icon { width: 46px; height: 46px; background-size: 22px 22px; }

/* --------------------------------------------------------------- compare --- */

.compare-wrap {
  max-width: 980px;
  margin: 36px auto 0;
  overflow-x: auto;
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.compare th, .compare td { padding: 16px 18px; vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 700; color: var(--muted); }
.compare tbody th { font-weight: 700; }
.compare tbody tr { border-top: 1px solid rgba(var(--ink-rgb), .07); }
.compare td { color: var(--muted); }

/* The column that is us, in tint rather than accent, like the recommended tier. */
.compare .us { background: var(--tint); color: var(--ink); font-weight: 600; }
.compare thead .us { color: var(--accent); }

/* --------------------------------------------------------------- pricing --- */

/* On /pricing the tier names are the first headings under the h1, so they are
   h2s there and h3s on the landing page. Same look either way. */
.tier h2 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.015em; font-weight: 700; line-height: 1.2; }

/* ----------------------------------------------------------------- packs --- */

.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; max-width: 560px; } }

.packs .card { padding: 26px 24px; }
.packs h3 { font-size: 22px; }
.packs .muted { font-size: 14px; margin-top: 4px; }
.packs ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: shot; display: flex; flex-direction: column; gap: 10px; }
.packs li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.4; }
.packs li::before {
  content: '';
  width: 12px; height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translateY(1px);
}

/* ------------------------------------------------------------- generator --- */

.maker {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px;
  display: grid;
  gap: 22px;
}
@media (max-width: 640px) { .maker { padding: 20px 16px; } }

.maker-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
@media (max-width: 640px) { .maker-top { grid-template-columns: 1fr; } }
.maker label.lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }

.maker-packs { display: flex; flex-wrap: wrap; gap: 10px; }
.maker-packs .chip { min-height: 40px; font-size: 14px; padding: 0 16px; }

.maker-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  max-height: 560px;
  overflow-y: auto;
  padding: 4px;
}
@media (max-width: 760px) { .maker-list { grid-template-columns: 1fr; max-height: 480px; } }

.maker-pack-name {
  grid-column: 1 / -1;
  margin: 10px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.shot-row { display: flex; gap: 10px; align-items: center; }
.shot-row input[type='checkbox'] { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--accent); }
.shot-row input[type='text'] {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 2px solid transparent;
  border-radius: var(--r-chip);
  background: var(--ground);
  font-size: 15px;
}
.shot-row input[type='text']:focus { outline: 0; border-color: var(--accent); background: var(--card); }
.shot-row input[type='checkbox']:not(:checked) + input[type='text'] { color: var(--muted); }

.maker-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.maker-add .btn { min-height: 52px; }

.maker-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--ink-rgb), .08);
}
.maker-count { font-weight: 700; }
.maker-note { min-height: 1.5em; font-size: 14px; }

/* ---------------------------------------------------------------- related --- */

.related { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 30px auto 0; }
.related a { display: inline-flex; align-items: center; gap: 8px; }

/* ----------------------------------------------------------- comparison --- */

.compare-wrap.wide { max-width: 1180px; }
.compare-wrap.wide .compare { min-width: 860px; font-size: 14px; }
.compare .us-row th, .compare .us-row td { background: var(--tint); color: var(--ink); }

/* One app to a block, in a single readable column. Not a card each: the page
   is a document, and nine shadowed boxes in a row is what it must not look like. */
.apps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.app { padding: 34px 0; border-top: 1px solid rgba(var(--ink-rgb), .1); }
.app:first-child { border-top: 0; padding-top: 0; }
.app h3 { font-size: 26px; }
.app p { margin-top: 12px; max-width: none; color: var(--muted); }
.app p strong { color: var(--ink); }
.app .text-link { margin-left: 6px; }
.app.us { padding-inline: 26px; border-radius: var(--r-card); background: var(--tint); border-top: 0; }
.app.us + .app { border-top: 0; }

.maker-go { display: flex; flex-wrap: wrap; gap: 12px; }
.maker-how { font-size: 14px; max-width: 64ch; }
