:root {
  --canvas: #f3f6fa;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --surface-strong: #dfe8f1;
  --ink: #0f1b2d;
  --ink-soft: #334155;
  --ink-muted: #64748b;
  --ink-inverse: #ffffff;
  --navy: #1c2a39;
  --navy-strong: #0f1b2d;
  --navy-soft: #2a3f59;
  --green: #14b87a;
  --green-strong: #0f9b67;
  --line: #cbd5e1;
  --line-soft: #e2e8f0;
  --info: #2563eb;
  --danger: #dc2626;
  --shadow: 0 24px 80px rgba(15, 27, 45, 0.12);
  --shadow-tight: 0 18px 36px rgba(15, 27, 45, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.auction-theme {
  background: var(--navy-strong);
  color: var(--ink-inverse);
}

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

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 118px) 0 clamp(56px, 7vw, 84px);
}

.page--alerts-first .hero,
.page--search-first .hero {
  background:
    radial-gradient(circle at top right, rgba(20, 184, 122, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.08), transparent 34%),
    linear-gradient(180deg, var(--navy-strong) 0%, var(--navy) 100%);
  color: var(--ink-inverse);
}

.page--bid-detail .hero {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 122, 0.16), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #edf5f0 100%);
}

.page--bid-detail .eyebrow {
  color: rgba(15, 27, 45, 0.64);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 44px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 470px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 750;
}

.page--search-first .hero h1 {
  max-width: 12.5ch;
}

.page--bid-detail .hero h1 {
  max-width: 12.5ch;
}

.lede {
  margin: 22px 0 0;
  max-width: 42rem;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.76);
}

.page--bid-detail .lede {
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.hero__subcopy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.96rem;
  line-height: 1.55;
}

.store-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.store-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-1px);
}

.store-button {
  background: var(--green);
  color: var(--ink-inverse);
  box-shadow: 0 18px 40px rgba(15, 155, 103, 0.24);
}

.store-button:hover {
  background: var(--green-strong);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-inverse);
  background: rgba(255, 255, 255, 0.06);
}

.page--bid-detail .secondary-button {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.store-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.page--bid-detail .store-note {
  color: var(--ink-muted);
}

.proof-list,
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li,
.stat-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.35;
}

.page--bid-detail .proof-list li {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  min-height: 640px;
  width: 100%;
}

.device {
  position: absolute;
  width: min(295px, 68vw);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fafcff 0%, #e4edf6 100%);
  box-shadow: var(--shadow);
}

.device::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 27, 45, 0.9);
}

.device img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: top center;
}

.device--primary {
  top: 0;
  right: 8px;
  z-index: 2;
  height: 610px;
}

.device--secondary {
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 540px;
}

.device--single {
  position: relative;
  width: min(340px, 76vw);
  height: 700px;
}

.device--single img {
  object-position: top center;
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(240px, 58vw);
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 27, 45, 0.86);
  color: var(--ink-inverse);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(12px);
}

.page--bid-detail .hero-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero-card__kicker {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.page--bid-detail .hero-card__kicker {
  color: var(--ink-muted);
}

.hero-card h2,
.hero-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.page--bid-detail .hero-card p {
  color: var(--ink-soft);
}

.section {
  padding: clamp(54px, 7vw, 88px) 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--dark {
  background: var(--navy-strong);
  color: var(--ink-inverse);
}

.section__head {
  margin-bottom: 30px;
}

.section__eyebrow {
  margin: 0 0 14px;
  color: var(--green-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section__lede {
  margin: 16px 0 0;
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.section--dark .section__eyebrow {
  color: rgba(52, 211, 153, 0.86);
}

.section--dark .section__lede {
  color: rgba(255, 255, 255, 0.72);
}

.source-grid,
.feature-grid,
.faq-grid,
.footer__grid,
.source-page-grid,
.shot-grid,
.steps,
.stat-grid,
.plain-list,
.screen-strip {
  display: grid;
  gap: 18px;
}

.source-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.source-card,
.feature-card,
.shot-card,
.stat-card,
.footer-card,
.source-summary-card,
.source-proof-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.source-card {
  padding: 18px;
}

.source-card__logo {
  display: grid;
  place-items: center;
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
}

.source-card__logo img {
  max-height: 62px;
  max-width: 88%;
  object-fit: contain;
}

.source-card__name {
  margin: 14px 0 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.source-card__meta,
.source-card__body,
.shot-card p,
.feature-card p,
.source-summary-card p,
.source-proof-card p,
.footer-note,
.link-list a,
.footer-legal a {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.mini-copy {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
}

.feature-card h3,
.shot-card h3,
.source-summary-card h3,
.source-proof-card h3,
.stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #c7f9e7;
  font-size: 0.95rem;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.shot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot-card {
  overflow: hidden;
}

.shot-card__image {
  position: relative;
  padding: 16px 16px 0;
  background: linear-gradient(180deg, rgba(28, 42, 57, 0.05) 0%, rgba(28, 42, 57, 0.12) 100%);
}

.shot-card__image img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px 26px 0 0;
}

.shot-card__copy {
  padding: 20px 22px 22px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.stat-card {
  padding: 22px;
}

.stat-card__value {
  margin: 0 0 8px;
  color: var(--green-strong);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 750;
}

.stat-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.faq-grid {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 54rem;
}

.faq {
  border-top: 1px solid var(--line-soft);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--green-strong);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq__body {
  padding: 0 0 20px;
  max-width: 42rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.final-cta {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 122, 0.18), transparent 32%),
    linear-gradient(180deg, var(--navy-strong) 0%, var(--navy) 100%);
  color: var(--ink-inverse);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.final-cta p {
  margin: 16px 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.final-cta .hero__actions {
  margin-top: 22px;
}

.footer {
  padding: 36px 0 44px;
  background: #e8eef5;
  border-top: 1px solid var(--line-soft);
}

.footer__grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

.footer-card {
  padding: 22px;
}

.footer-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.2;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.link-list,
.footer-legal,
.version-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.link-list a,
.footer-legal a,
.version-list a {
  text-decoration: none;
}

.link-list a:hover,
.footer-legal a:hover,
.version-list a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.source-hero {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.crumb:hover {
  color: var(--ink);
}

.source-badge,
.soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 122, 0.1);
  color: var(--green-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.soft-badge {
  background: rgba(37, 99, 235, 0.08);
  color: var(--info);
}

.source-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.source-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-summary-card,
.source-proof-card {
  padding: 22px;
}

.source-shot-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-shot {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow-tight);
}

.source-shot img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: top center;
}

.source-shot__caption {
  padding: 16px 18px 18px;
}

.source-shot__caption h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.source-shot__caption p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
}

.plain-list {
  gap: 0;
}

.plain-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.plain-row h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.plain-row p {
  margin: 6px 0 0;
  max-width: 44rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.plain-row__action {
  align-self: center;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.plain-row__action:hover {
  text-decoration: underline;
}

.plain-row__action--current {
  color: var(--ink-muted);
  font-weight: 600;
}

.screen-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen {
  text-align: center;
}

.screen__frame {
  width: min(100%, 240px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.screen__frame img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

.screen figcaption {
  margin-top: 12px;
  color: var(--ink-inverse);
  font-size: 1rem;
  font-weight: 700;
}

.simple-cta h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.simple-cta p {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.simple-cta .hero__actions {
  margin-top: 22px;
}

.section--dark .source-proof-card,
.section--dark .source-summary-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.section--dark .source-summary-card p,
.section--dark .source-proof-card p {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .source-summary-card h3,
.section--dark .source-proof-card h3 {
  color: var(--ink-inverse);
}

.section--dark .plain-row {
  border-color: rgba(255, 255, 255, 0.12);
}

.section--dark .plain-row h3 {
  color: var(--ink-inverse);
}

.section--dark .plain-row p {
  color: rgba(255, 255, 255, 0.72);
}

.page--source-simple .hero h1,
.page--source-simple .section__title,
.page--source-simple .simple-cta h2 {
  max-width: none;
}

.page--source-simple .hero h1 {
  max-width: 10ch;
}

.page--source-simple .lede {
  max-width: 32rem;
}

body.auction-theme .section {
  background: var(--navy-strong);
  color: var(--ink-inverse);
}

body.auction-theme .section--soft {
  background: var(--navy-strong);
}

body.auction-theme .section__title,
body.auction-theme .plain-row h3,
body.auction-theme .faq summary,
body.auction-theme .simple-cta h2,
body.auction-theme .footer-card h3,
body.auction-theme .link-list a,
body.auction-theme .footer-legal a,
body.auction-theme .version-list a {
  color: var(--ink-inverse);
}

body.auction-theme .section__lede,
body.auction-theme .plain-row p,
body.auction-theme .faq__body,
body.auction-theme .simple-cta p,
body.auction-theme .footer-note,
body.auction-theme .link-list a,
body.auction-theme .footer-legal a,
body.auction-theme .version-list a {
  color: rgba(255, 255, 255, 0.72);
}

body.auction-theme .crumb,
body.auction-theme .hero__subcopy {
  color: rgba(255, 255, 255, 0.64);
}

body.auction-theme .crumb:hover,
body.auction-theme .link-list a:hover,
body.auction-theme .footer-legal a:hover,
body.auction-theme .version-list a:hover {
  color: var(--ink-inverse);
}

body.auction-theme .plain-row,
body.auction-theme .faq,
body.auction-theme .footer,
body.auction-theme .footer-card {
  border-color: rgba(255, 255, 255, 0.1);
}

body.auction-theme .plain-row__action {
  color: var(--ink-inverse);
}

body.auction-theme .plain-row__action--current {
  color: rgba(255, 255, 255, 0.5);
}

body.auction-theme .device,
body.auction-theme .footer-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.auction-theme .device {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body.auction-theme .screen__frame {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body.auction-theme .footer {
  background: var(--navy-strong);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 1040px) {
  .source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__grid,
  .source-hero {
    grid-template-columns: 1fr;
  }

  .hero__visual,
  .source-hero .hero__visual {
    order: -1;
  }

  .phone-stack {
    min-height: 560px;
    max-width: 520px;
    margin: 0 auto;
  }

  .device--primary {
    right: 24px;
  }

  .device--secondary {
    left: 20px;
  }

  .feature-grid,
  .shot-grid,
  .stat-grid,
  .faq-grid,
  .steps,
  .footer__grid,
  .source-page-grid,
  .source-shot-grid,
  .screen-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1,
  .section__title,
  .final-cta h2 {
    max-width: none;
  }

  .phone-stack {
    min-height: auto;
    padding-top: 8px;
  }

  .device,
  .device--primary,
  .device--secondary {
    position: relative;
    inset: auto;
    width: min(100%, 320px);
    margin: 0 auto;
    height: auto;
  }

  .device--secondary {
    margin-top: 18px;
  }

  .device img,
  .device--single img {
    aspect-ratio: 0.72;
  }

  .hero-card {
    position: relative;
    width: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .source-grid,
  .feature-grid,
  .shot-grid,
  .stat-grid,
  .faq-grid,
  .steps,
  .footer__grid,
  .source-page-grid,
  .source-shot-grid,
  .screen-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .feature-card,
  .source-card,
  .stat-card,
  .source-summary-card,
  .source-proof-card {
    padding: 20px;
  }

  .final-cta,
  .footer-card {
    padding: 22px;
  }

  .plain-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .plain-row__action {
    align-self: start;
  }
}
