/* 60-Second Interactive Pilot Deal Room — Editorial restraint of /brands/picsart on obsidian canvas. */
@font-face {
  font-family: Inter;
  src: url(/fonts/inter-latin-3100e775e8.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0B0C0E;
  --card: #13161D;
  --card-elev: #181C25;
  --ink: #F5F2EB;
  --muted: #B6B1A8;
  --faint: #8E8980;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --pilot-accent: #D9A24A;
  --pilot-accent-tint: rgba(217, 162, 74, 0.12);
  --good: #34D399;
  --good-bg: rgba(16, 185, 129, 0.12);
  --good-line: rgba(52, 211, 153, 0.38);
  --bad: #F87171;
  --bad-bg: rgba(239, 68, 68, 0.13);
  --bad-line: rgba(248, 113, 113, 0.44);
  --sans: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius-card: 20px;
  --radius-sm: 14px;
}

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

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  background-image: radial-gradient(840px 420px at 82% -10%, var(--pilot-accent-tint), transparent 65%);
  background-repeat: no-repeat;
}

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

a {
  color: inherit;
}

button, input {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 44px;
}

.shell-narrow {
  max-width: 760px;
}

/* Minimal top bar */
.topbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pilot-accent);
}

.topbar-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}

.back-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* Compact editorial hero */
.hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 16px;
}

.entity-media {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--card-elev);
}

.entity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.entity-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 4px;
  font-size: clamp(23px, 5.4vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.x-mark {
  color: var(--muted);
  font-weight: 400;
}

.brand-pair {
  white-space: nowrap;
}

.lede {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.42;
  color: var(--muted);
  text-wrap: pretty;
}

/* Balanced 2-column editorial deal grid */
.deal-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.steps-col {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.summary-col {
  min-width: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.step-num {
  flex: 0 0 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.step-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  text-wrap: balance;
  hyphens: none;
}

.scope-token {
  white-space: nowrap;
}

/* Step 1 — Brand & Category Clearance */
.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.compact-field {
  margin-bottom: 14px;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.optional-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--faint);
}

.brand-input,
.email-input,
.share-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 150ms ease;
}

.brand-input::placeholder,
.email-input::placeholder {
  color: var(--faint);
}

.brand-input:focus,
.email-input:focus {
  border-color: #FFFFFF;
}

.clearance-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 12px;
}

.clearance-box[data-status="cleared"] {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(52, 211, 153, 0.24);
}

.clearance-box[data-status="blocked"] {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(248, 113, 113, 0.34);
}

.clearance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.clearance-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
  flex: 0 0 auto;
}

.clearance-box[data-status="cleared"] .clearance-dot {
  background: var(--good);
}

.clearance-box[data-status="blocked"] .clearance-dot {
  background: var(--bad);
}

.clearance-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.clearance-box[data-status="cleared"] .clearance-badge {
  color: var(--good);
}

.clearance-box[data-status="blocked"] .clearance-badge {
  color: var(--bad);
}

.clearance-detail {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.42;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chip-label {
  flex: 1 0 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.test-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.test-chip:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.32);
}

.test-chip[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.36);
}

/* Step 2 — Scope pill selectors */
.selector-group {
  margin-bottom: 12px;
}

.selector-group:last-child {
  margin-bottom: 0;
}

.selector-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.selector-hint {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}

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

.scope-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.scope-pill:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.35);
}

.scope-pill[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Step 3 — Quote & Lock Card */
.summary-card {
  background: var(--card-elev);
  border-color: var(--line-strong);
}

.quote-block {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.quote-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.quote-total {
  font-size: clamp(34px, 6vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.split-bar {
  display: flex;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.split-bar-partner {
  background: var(--good);
}

.split-bar-platform {
  background: rgba(255, 255, 255, 0.24);
}

.quote-breakdown {
  margin: 0;
  display: grid;
  gap: 8px;
}

.breakdown-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.breakdown-row dt {
  color: var(--muted);
  font-weight: 500;
}

.breakdown-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.breakdown-highlight dt {
  color: var(--ink);
  font-weight: 600;
}

.breakdown-highlight dd {
  color: var(--good);
  font-weight: 700;
}

.guarantees-line {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}

.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bad-bg);
  border: 1px solid var(--bad-line);
  color: var(--bad);
  font-size: 14px;
  font-weight: 500;
}

/* Single white pill CTA — 1:1 editorial restraint of /brands/picsart */
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0B0C0E;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}

.cta-pill:hover:not(:disabled) {
  opacity: 0.92;
}

.cta-pill:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.cta-inline {
  width: auto;
}

/* Instant confirmation + Shareable Pilot Summary URL */
.confirmation-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--good-bg);
  border: 1px solid var(--good-line);
}

.confirm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.confirm-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--good);
}

.confirm-ref {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.confirm-note {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.share-box {
  display: grid;
  gap: 10px;
}

.share-input {
  min-height: 44px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(11, 12, 14, 0.8);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-full {
  width: 100%;
}

.kit-dl-btn {
  margin-top: 10px;
}

.checkout-handoff-btn {
  margin-top: 2px;
}

.copy-feedback {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--good);
}

/* Shareable Summary View */
.summary-sheet {
  margin-top: 28px;
  background: var(--card-elev);
  border-color: var(--line-strong);
}

.summary-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0 22px;
}

.summary-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.summary-meta-grid div {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.summary-meta-grid dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}

.summary-meta-grid dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.text-good {
  color: var(--good) !important;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}

footer nav {
  display: flex;
  gap: 16px;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

@media (max-width: 520px) {
  .topbar {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .brand-mark {
    font-size: 12.5px;
    letter-spacing: 0.16em;
    gap: 7px;
  }
  .topbar-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .tag-pill {
    padding: 0 9px;
    font-size: 10.5px;
    white-space: nowrap;
  }
  .back-link {
    padding: 0 8px;
    font-size: 13px;
    white-space: nowrap;
  }
  .pill-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px;
  }
  .hero {
    align-items: center;
  }
  .test-chip {
    min-height: 44px;
    padding: 0 12px;
  }
}

@media (max-width: 899px) {
  .summary-col {
    order: -1;
  }
}

@media (min-width: 900px) {
  .deal-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
  }
  .summary-col {
    position: sticky;
    top: 24px;
  }
  .summary-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* IPM v2.0 Explainable Pricing Breakdown */
.ipm-breakdown {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.ipm-breakdown-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  list-style: none;
  min-height: 44px;
}

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

.ipm-breakdown-summary:hover {
  color: var(--ink);
}

.ipm-confidence-pill {
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--good);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.ipm-grid {
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.ipm-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.ipm-row dt {
  color: var(--faint);
}

.ipm-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
