/* Audience marketing pages. ResultCard chrome mirrors apps/web browse SoT (D-2026-061/062). */

:root {
  --tf-blue: #1e58e8;
  --primary: #1e58e8;
  --primary-deep: #1849c4;
  --primary-soft: #dce7fb;
  --ink: #0f172a;
  --muted: #64748b;
  --canvas: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-soft: #e8eef5;
  --key-gold: #d4a017; /* mascot / pin micro-accent only — never CTA fill */
  --shadow-rest: 0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-card: 0 10px 28px rgb(15 23 42 / 0.07);
  --shadow-float: 0 22px 48px rgb(15 23 42 / 0.14);
  --shadow-cta: 0 12px 26px rgb(30 88 232 / 0.28);
  --radius-control: 10px;
  --radius-cta: 12px;
  --radius-card-page: 16px;
  --radius-sheet: 22px;
  --radius-pill: 999px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;

  /* SPA ResultCard tokens — Exact to apps/web/src/index.css */
  --color-primary: #1e58e8;
  --color-primary-deep: #1849c4;
  --color-primary-soft: #dbeafe;
  --color-ink: #0f172a;
  --color-muted: #64748b;
  --color-canvas: #f8fafc;
  --color-receded: #f1f5f9;
  --color-card: #ffffff;
  --color-line: #e2e8f0;
  --color-gold: #d4a017;
  --radius-card: 20px;
  --shadow-card-spa: 0 16px 40px rgb(15 23 42 / 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: calc(12px + env(safe-area-inset-top, 0px));
  z-index: 40;
  padding: 8px 12px;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--card);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - 32px, 1100px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--canvas);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav {
  flex: 1 1 240px;
  justify-content: flex-end;
}

.footer-nav {
  justify-content: center;
  margin: 0 0 14px;
}

.site-nav a,
.footer-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta,
.mkt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-cta);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
}

.header-cta:hover,
.mkt-cta:hover {
  background: var(--primary-deep);
}

.mkt-cta {
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.mkt-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--radius-cta);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
}

.mkt-cta-secondary:hover {
  border-color: rgb(30 88 232 / 0.28);
  color: var(--primary-deep);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 36px 0 12px;
}

.hero-atmosphere {
  position: absolute;
  inset: 0 -10% 8%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-env {
  position: absolute;
  top: 0;
  right: 0;
  width: min(78%, 920px);
  height: 100%;
  object-fit: cover;
  object-position: 82% 42%;
  opacity: 0.36;
  filter: saturate(0.92);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--canvas) 0%,
    rgb(248 250 252 / 0.9) 40%,
    rgb(248 250 252 / 0.42) 68%,
    transparent 100%
  );
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

h1,
h2,
h3,
.display,
.hero-subline {
  font-family: var(--font-display);
}

.display {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-size: clamp(2.25rem, 5.4vw, 3.4rem);
}

.hero-subline {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.sellers-hero,
.buyers-hero {
  display: grid;
  gap: 28px;
  align-items: center;
}

.sellers-hero-card,
.buyers-hero-card {
  max-width: 420px;
  margin: 0;
}

.buyers-hero-cards {
  display: grid;
  gap: 16px;
}

.sellers-card-title,
.buyers-card-title {
  margin: 0 0 10px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 650;
}

.sellers-card-micro,
.buyers-card-micro {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.mkt-section {
  padding: 44px 0 8px;
}

.mkt-section h2,
.mkt-close h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 16px;
  color: var(--color-muted);
  max-width: 42rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-card);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 650;
}

.how-list,
.builder-steps,
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.how-step,
.faq-item,
.builder-steps li,
.scenario-card {
  background: var(--color-card);
  border: 1px solid rgb(15 23 42 / 0.06);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest);
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 16px;
}

.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 750;
}

.how-step h3,
.scenario-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.how-step p,
.scenario-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.builder-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 18px;
}

.builder-steps li {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 650;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scenario-card {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 650;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--color-muted);
  font-size: 14px;
}

.mkt-close {
  margin: 36px 0 12px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--color-card);
  border: 1px solid rgb(15 23 42 / 0.06);
  box-shadow: var(--shadow-card-spa);
}

.mkt-disclosure {
  margin: 20px 0 0;
  max-width: 46rem;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.idaho-strip {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 22px;
}

.idaho-strip img {
  width: 44px;
  height: 44px;
}

.idaho-lead {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.idaho-strip p {
  margin: 0;
  font-weight: 500;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 10px;
}

.footer-legal a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--primary-deep);
}

.role-strip {
  margin: 0 0 12px;
  text-align: center;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-role {
  max-width: 40rem;
  margin: 0 auto 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact {
  margin: 0 0 8px;
  text-align: center;
  font-size: 0.82rem;
}

.tbd {
  display: inline;
  padding: 0.05em 0.4em;
  border-radius: 4px;
  background: rgb(30 88 232 / 0.1);
  color: var(--ink);
  font-weight: 600;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.header-cta:focus-visible,
.mkt-cta:focus-visible,
.mkt-cta-secondary:focus-visible,
.footer-legal a:focus-visible,
.footer-nav a:focus-visible,
.site-nav a:focus-visible,
.skip:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- ResultCard chrome Exact (apps/web/src/index.css posting-card-*) --- */

.posting-card {
  display: grid;
  gap: 14px;
  background: var(--color-card);
  border: 1px solid rgb(15 23 42 / 0.06);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-spa);
  padding: 20px 18px;
}

.posting-card-media-card {
  position: relative;
  align-self: stretch;
  width: 100%;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.04),
    var(--shadow-card-spa);
}

.posting-card-media-card .posting-card-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.posting-card-media {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-receded);
}

.posting-card-photo,
.posting-card-placeholder,
.posting-card-media .photo-empty {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

.posting-card-body {
  display: grid;
  gap: 6px;
  padding: 12px 14px 14px;
  background: var(--color-card);
}

.posting-card-media-card .posting-facts,
.posting-card-media-card .posting-card-address,
.posting-card-media-card .posting-card-pills,
.posting-card-media-card .posting-card-creative {
  margin: 0;
}

.posting-card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.posting-card-pin {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--color-gold);
}

.posting-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.posting-card-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--color-receded);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 650;
}

.posting-card-heroes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 2px;
}

.posting-card-heroes:has(.posting-card-hero:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.posting-card-hero {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.posting-card-hero-label {
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.posting-card-hero-value {
  color: var(--color-ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.posting-card-creative {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 650;
}

.posting-card-creative::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: var(--color-gold);
}

.posting-card-cta {
  width: 100%;
  margin-top: 4px;
}

.posting-facts {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--color-ink);
}

.photo-empty {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 160px;
  border-radius: 16px;
  background: var(--color-receded);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 16px;
}

.photo-empty-compact {
  min-height: 0;
  height: 100%;
  max-height: none;
  border-radius: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  text-decoration: none;
}

.btn-compact {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-deep);
}

@media (min-width: 720px) {
  .buyers-hero-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .sellers-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 28px 36px;
  }

  .how-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .scenario-grid,
  .builder-steps {
    grid-template-columns: 1fr;
  }

  .sellers-hero-card,
  .buyers-hero-card {
    max-width: none;
  }
}
