/* ==========================================================================
   claimtrial.com rebuild · site.css
   Page layer on top of creator.css (Creator Site Design system).
   Light mode only.
   ========================================================================== */

* { box-sizing: border-box; }

body { margin: 0; overflow-x: hidden; }

/* ---------------------------------------------------------------- nav */

.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav-wrap .blur {
  position: absolute;
  inset: 0 0 -24px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask: linear-gradient(180deg, rgb(0 0 0) 55%, rgb(0 0 0 / 0) 100%);
  -webkit-mask: linear-gradient(180deg, rgb(0 0 0) 55%, rgb(0 0 0 / 0) 100%);
  background: rgba(239, 235, 229, 0.72);
  pointer-events: none;
}
.site-nav-wrap .nav { position: relative; }
.nav .links a.active { color: var(--ink); position: relative; }
.nav .links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
}
.nav .links a { color: var(--ink-56); }
.nav .links a:hover { color: var(--ink); }

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

.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--pad-x) 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink-4);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.page-hero .display-hero { font-size: 84px; }
.page-hero .sub {
  max-width: 560px;
  color: var(--ink-56);
}

/* ------------------------------------------------------------- sections */

.section { padding: 56px var(--pad-x); }
.section-tight { padding: 32px var(--pad-x); }
.section-head { margin-bottom: 40px; }
.section-head .display-section { font-size: 56px; }

.content-col {
  max-width: 720px;
  margin: 0 auto;
}
.wide-col {
  max-width: 1040px;
  margin: 0 auto;
}

/* ------------------------------------------------------------ overview */

.check-stack { display: flex; flex-direction: column; gap: 10px; }

/* Big single-stat banner ("$2 every 1,000 views") */
.stat-banner {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.stat-banner .stat-number { font-size: 64px; }
.stat-banner .label { color: var(--ink-56); }

/* Stat trio (payment structure) */
.stat-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-trio .cell {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 22px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.stat-trio .cell .big {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 115%;
}
.stat-trio .cell .label { font-size: 15px; color: var(--ink-56); letter-spacing: -0.04em; }
.emoji-chip {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

/* ---------------------------------------------------------- proof cards */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.proof-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.proof-card .shot {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--surface-tan);
}
.proof-card .shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.proof-card .stat {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.proof-card .badge {
  background: var(--paid-tint);
  border: 1.5px solid var(--paid-border);
  color: var(--paid-green);
  border-radius: var(--r-row);
  padding: 3px 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.proof-card .amount {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------- worked example */

.receipt {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 32px;
}
.receipt .rows { display: flex; flex-direction: column; }
.receipt .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.receipt .row + .row { border-top: 1.5px solid var(--ink-8); }
.receipt .row .r { font-weight: 700; white-space: nowrap; }
.receipt .row.total {
  border-top: 2.5px solid var(--ink);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 20px;
  font-weight: 700;
}
.receipt .row.total .r { font-size: 28px; letter-spacing: -0.06em; }
.receipt .muted { color: var(--ink-56); font-weight: 500; }

/* -------------------------------------------------------------- alerts */

.alert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink-4);
  border-radius: var(--r-row);
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.alert-row .emoji-chip { width: 32px; height: 32px; border-radius: 8px; font-size: 15px; }

/* -------------------------------------------------------------- video */

.video-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 12px;
}
.video-card video {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--black);
}
.video-card.native { position: relative; }
.video-card.native .play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-spring);
}
.video-card.native .play-btn:hover { transform: translate(-50%, -50%) scale(1.07); }
.video-card.native .play-btn svg { width: 30px; height: 30px; fill: var(--white); margin-left: 4px; }
.video-card.native.playing .play-btn { display: none; }

.phone-video {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-frame);
  padding: 8px;
  box-shadow: var(--shadow-card);
}
.phone-video video {
  display: block;
  width: 100%;
  border-radius: var(--r-card);
  background: var(--black);
}

/* --------------------------------------------------------------- terms */

.terms {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 22px 24px;
}
.terms ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; }
.terms li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 150%;
  color: var(--ink-56);
}
.terms li + li { border-top: 1.5px solid var(--ink-8); }
.terms li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.terms li b, .terms li strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------- steps */

.step-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  flex: none;
}
.step-head h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 110%;
  margin: 0;
}

/* Index card at top of setup page */
.index-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.index-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--r-row);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
  transition: transform 0.2s var(--ease-spring);
}
.index-card a:hover { transform: translateX(4px); }
.index-card .step-num { width: 34px; height: 34px; border-radius: 9px; font-size: 16px; }
.index-card .arrow { margin-left: auto; color: var(--ink-24); }

/* Link-out cards (Growi, claimmoney) */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease-spring);
}
.link-card:hover { transform: translateY(-3px); }
.link-card .emoji-chip { width: 48px; height: 48px; border-radius: 12px; font-size: 22px; background: var(--white); }
.link-card .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-card .t b { font-size: 19px; font-weight: 700; letter-spacing: -0.04em; }
.link-card .t span { font-size: 14px; color: var(--ink-56); letter-spacing: -0.03em; }
.link-card .go {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ------------------------------------------------------------- keywords */

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.keyword-grid .kw {
  background: var(--white);
  border: 1.5px solid var(--ink-8);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  cursor: pointer;
}
.copy-btn:hover { opacity: 0.85; }

/* Promo code chip */
.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 2px dashed var(--border-warm);
  border-radius: var(--r-card);
  padding: 16px 24px;
}
.code-chip .code {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Special creator link, presented like a browser address bar */
.creator-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}
.url-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  background: var(--white);
  border: 1.5px solid var(--ink-8);
  border-radius: var(--r-pill);
  padding: 14px 26px;
  text-decoration: none;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}
.url-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.url-pill .lock { font-size: 15px; }
.url-pill b { color: var(--blue); font-weight: 700; }
.url-pill .open { color: var(--blue); font-weight: 700; }
.creator-link .hint {
  margin: 0;
  font-size: 14px;
  color: var(--ink-56);
  letter-spacing: -0.03em;
  text-align: center;
  max-width: min(440px, 100%);
}
.creator-link .hint b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------- media frames */

.shot-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 12px;
}
.shot-card img {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.shot-card.on-white { background: var(--white); box-shadow: var(--shadow-card); }

/* --------------------------------------------------------- next steps */

.next-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.next-card .display-cta { font-size: 48px; max-width: 620px; }
.next-card .sub { color: var(--ink-56); max-width: 520px; }
.next-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.back-link {
  color: var(--ink-56);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }

/* ------------------------------------------------------------ divider */

.rule {
  max-width: 1040px;
  margin: 8px auto;
  border: 0;
  border-top: 1.5px solid var(--ink-8);
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-trio { grid-template-columns: 1fr; }
}

@media (max-width: 809px) {
  .section, .section-tight { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding: 48px 24px 16px; }
  .page-hero .display-hero { font-size: 46px; }
  .section-head .display-section { font-size: 36px; }
  .step-head h2 { font-size: 30px; }
  .step-num { width: 40px; height: 40px; font-size: 19px; }
  .nav { padding: 20px 24px; }
  .nav .links { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .next-card .display-cta { font-size: 34px; }
  .receipt { padding: 22px; }
  .terms { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Overflow-safe sizing for centered flex columns and big numerals */
.page-hero .sub { max-width: min(560px, 100%); }
.page-hero .display-hero { max-width: 100%; }
.next-card .display-cta { max-width: min(620px, 100%); }
.next-card .sub { max-width: min(520px, 100%); }
.stat-banner .stat-number.stat-xl { font-size: 64px; flex-wrap: wrap; justify-content: center; text-align: center; }
.section-head .display-section.must-watch { font-size: 44px; }

@media (max-width: 809px) {
  .stat-banner .stat-number.stat-xl { font-size: 30px; }
  .section-head .display-section.must-watch { font-size: 30px; }
  .stat-banner { padding: 28px 18px; }
  .proof-card .views { font-size: 20px; }
  .code-chip { flex-direction: column; gap: 10px; padding: 16px; }
  .link-card { flex-wrap: wrap; }
  /* Chip and title always share row one (icon left of text); button drops to row two */
  .link-card .t { flex: 1 1 auto; width: calc(100% - 64px); }
  .link-card .go { margin-left: 62px; }
  .video-card.native .play-btn { width: 64px; height: 64px; border-width: 3px; }
  .video-card.native .play-btn svg { width: 23px; height: 23px; margin-left: 3px; }
  .url-pill { font-size: 16px; padding: 12px 18px; }
}

/* Anchored sections clear the sticky nav */
section[id], [id^="step-"] { scroll-margin-top: 96px; }

/* Accessibility: small secondary text uses ink-56 (4.7:1 on cream, passes AA);
   creator.css stays production-true, this site layer overrides. */
.eyebrow { color: var(--ink-56); }

/* Small easy-to-miss disclaimer */
.fine-print {
  margin: 14px 4px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-36);
}

/* Proof cards are links to the real videos */
a.proof-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}
a.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}
a.proof-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* View count badge over the thumbnail, platform style */
.proof-card .shot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.views-badge {
  position: absolute;
  left: 12px; bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.views-badge svg {
  width: 13px; height: 13px;
  fill: var(--white);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
