/* The free Profit Check (/profit-check): a "Bold Bento" result. One big coloured tile with the true profit per order,
   three smaller tiles, a waterfall from sales down to profit, the leaks, and a strong call to sign up. */
.pc { --pc-blue: linear-gradient(135deg, #2f43f2, #5d6bff); --pc-violet: linear-gradient(135deg, #8b5cf6, #5b21b6);
  --pc-cyan: linear-gradient(135deg, #22d3ee, #0e8fb0); --pc-ink: linear-gradient(160deg, #161a2b, #05070d);
  --pc-sun: linear-gradient(135deg, #fb7185, #e11d48); }
.pc-hero { text-align: center; padding: 56px clamp(16px, 5vw, 64px) 22px; }
.pc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.05em; margin: 12px auto; max-width: 900px; }
.pc-hero h1 em { font-style: normal; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-hero .lead { max-width: 660px; margin: 0 auto; color: var(--text-2); font-size: 1.08rem; }
.pc-main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px 48px; display: grid; gap: 22px; box-sizing: border-box; }
.pc-main .card { margin: 0; min-width: 0; }

/* the result tiles */
.pc-result { display: grid; gap: 18px; scroll-margin-top: 16px; }
.pc-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc-tile { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 26px; color: #fff; min-width: 0;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); background: var(--pc-ink); }
.pc-tile .label { font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.pc-tile .value { font: 700 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--font-display); letter-spacing: -.04em; overflow-wrap: anywhere; }
.pc-tile .value small { font-size: .55em; margin-left: 2px; opacity: .8; }
.pc-tile .sub { font-size: .84rem; line-height: 1.35; color: rgba(255, 255, 255, .82); }
.pc-big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 230px; background: var(--pc-blue); }
.pc-big.loss { background: var(--pc-sun); }
.pc-big .value { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.pc-big .sub { font-size: .95rem; }
.pc-tile.t2 { background: var(--pc-violet); }
.pc-tile.t3 { background: var(--pc-cyan); }
.pc-tile.t4 { background: var(--pc-ink); }

/* the waterfall and the leaks */
.pc-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.pc-fall { display: grid; gap: 10px; margin-top: 6px; }
.pc-row { display: grid; grid-template-columns: minmax(90px, 11rem) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: .86rem; }
.pc-lbl { color: var(--text-2); }
.pc-track { height: 18px; border-radius: 6px; background: var(--surface-2); overflow: hidden; display: block; }
.pc-track i { display: block; height: 100%; min-width: 2px; border-radius: 6px; background: var(--bad); opacity: .8; }
.pc-row.total .pc-track i { background: var(--text-3); opacity: .55; }
.pc-row.profit .pc-track i { background: var(--good); opacity: 1; }
.pc-row.loss .pc-track i { background: var(--bad); opacity: 1; }
.pc-row.total .pc-lbl, .pc-row.profit .pc-lbl, .pc-row.loss .pc-lbl { color: var(--text); font-weight: 700; }
.pc-amt { font: 600 .84rem var(--font-mono); text-align: right; white-space: nowrap; }
.pc-row.profit .pc-amt { color: var(--good); font-weight: 700; }
.pc-row.loss .pc-amt { color: var(--bad); font-weight: 700; }
.pc-leaks ol { list-style: none; counter-reset: leak; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.pc-leaks li { counter-increment: leak; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; }
.pc-leaks li::before { content: counter(leak); grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  font: 700 .95rem var(--font-display); color: #fff; background: var(--pc-sun); }
.pc-leaks li b { font-size: .95rem; }
.pc-leaks li span { font-size: .86rem; color: var(--text-2); }

/* the call to sign up */
.pc-cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px; border-radius: 28px;
  color: #fff; background: var(--pc-ink); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7); }
.pc-cta > div:first-child { flex: 1 1 360px; min-width: 0; }
.pc-cta h2 { margin: 0 0 6px; font: 700 clamp(1.4rem, 3vw, 2rem)/1.1 var(--font-display); letter-spacing: -.03em; color: #fff; }
.pc-cta p { margin: 0; color: rgba(255, 255, 255, .78); }
.pc-cta-go { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-cta .btn { min-height: 48px; padding: 0 22px; }
.pc-cta .btn.secondary { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* the form */
.pc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.pc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pc-field select, .pc-field input { width: 100%; margin: 0; box-sizing: border-box; }
.pc-input { display: flex; align-items: center; gap: 8px; }
.pc-input input { flex: 1; min-width: 0; }
.pc-input .pc-basis { flex: 0 1 auto; width: auto; max-width: 55%; }
.pc-unit { color: var(--text-3); font-weight: 600; }
.pc-hint { font-size: .78rem; font-weight: 400; color: var(--text-3); }
.pc-err { font-size: .8rem; font-weight: 600; color: var(--bad); }
.pc-field.bad input, .pc-field.bad select { border-color: var(--bad); }
.pc-submit { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.pc-submit .btn { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.pc-note { margin: 0; max-width: 760px; }

@media (max-width: 900px) {
  .pc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pc-bento { grid-template-columns: minmax(0, 1fr); }
  .pc-big { grid-column: auto; grid-row: auto; min-height: 0; }
  .pc-form { grid-template-columns: minmax(0, 1fr); }
  .pc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pc-track { grid-column: 1 / -1; grid-row: 2; }
  .pc-cta { padding: 22px; }
  .pc-cta-go, .pc-cta-go .btn { width: 100%; }
}
