/* Agent-to-agent sourcing: /sourcing page and homepage banner.
   Built on the tokens in base.css. All classes are prefixed sc- so site.js
   effects (diag-reveal on .card etc.) don't apply unexpectedly.

   Image rules: photography is always framed (rounded, unfiltered, in the
   grid), never stretched behind text under an overlay. Product visuals share
   one frame whether they are real screenshots or pending placeholders. */

:root {
  --sc-surface: #f5f8fb;
  --sc-frame: linear-gradient(160deg, #e6edf4 0%, #d3e0eb 100%);
  --sc-ink-soft: rgba(221, 229, 237, 0.78);
  --sc-rule-dark: rgba(221, 229, 237, 0.14);
  --sc-skeleton: #e3eaf1;
  --sc-skeleton-2: #eef3f7;
  --sc-radius: 14px;
}

/* ---------- Shared ---------- */

.sc-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 14px;
}

.sc-eyebrow-light {
  color: var(--sage-2);
}

.sc-h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 36px;
}

.sc-section {
  padding: 96px 72px;
}

.sc-section-tight {
  padding-top: 24px;
}

/* Framed photography */
.sc-photo-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--sc-radius);
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
}

.sc-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Product visuals (screenshot or placeholder) ---------- */

.sc-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sc-frame);
  border: 1px solid var(--border);
}

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

/* Placeholder window: a skeleton of the screen this slot will show. */
.sc-ph-window {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 12px;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 18px rgba(46, 60, 64, 0.1);
}

.sc-ph-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sc-skeleton-2);
}

.sc-ph-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(45, 104, 196, 0.1);
  color: var(--blush);
  font-size: 15px;
}

.sc-ph-title {
  height: 8px;
  width: 55%;
  border-radius: 4px;
  background: var(--sc-skeleton);
}

.sc-ph-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-ph-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--sc-skeleton);
}

.sc-ph-entity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--sc-skeleton-2);
  border-radius: 8px;
}

.sc-ph-avatar {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sc-skeleton);
}

.sc-ph-lines {
  flex: 1;
  display: grid;
  gap: 5px;
}

.sc-ph-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--sc-skeleton);
}

.sc-ph-tag {
  flex: none;
  width: 22px;
  height: 10px;
  border-radius: 5px;
  background: rgba(45, 104, 196, 0.18);
}

.sc-ph-bubble {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 82%;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--sc-skeleton-2);
}

.sc-ph-bubble i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--sc-skeleton);
}

.sc-ph-bubble b {
  flex: none;
  width: 26px;
  height: 10px;
  border-radius: 5px;
  background: rgba(45, 104, 196, 0.22);
}

.sc-ph-bubble-right {
  align-self: flex-end;
  background: rgba(45, 104, 196, 0.08);
}

.sc-ph-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-ph-step span {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--sc-skeleton);
}

.sc-ph-step.is-done span {
  border-color: var(--blush);
  background: var(--blush);
}

.sc-ph-step i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--sc-skeleton);
}

.sc-ph-approve {
  display: block;
  align-self: flex-start;
  width: 46%;
  height: 18px;
  margin-top: 4px;
  border-radius: 9px;
  background: var(--blush);
  opacity: 0.85;
}

/* ---------- Stage screens (recreated app UI) ----------
   Sized in em off a container-relative base, so each miniature scales with
   its card from desktop columns down to the phone rows. Colours follow the
   app's A2A tokens: buyer blue, supplier violet, win green, copper accent. */

.sc-stage .sc-visual {
  container-type: inline-size;
}

.sc-ph-window.ss {
  --ss-buyer: var(--blush);
  --ss-supplier: #7c5cc4;
  --ss-win: #2f9e6a;
  --ss-accent: #c27a45;
  --ss-muted: #7a8a90;
  --ss-line: #e8eef3;
  font-size: 4.4cqw;
  line-height: 1.3;
  color: var(--ink);
  padding: 1.1em 1em;
  gap: 0.75em;
  overflow: hidden;
}

.ss-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--ss-line);
}

.ss-title {
  font-weight: 700;
  font-size: 1.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-chip {
  flex: none;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 600;
  background: var(--ss-line);
  color: var(--ss-muted);
  white-space: nowrap;
}

.ss-chip-win {
  background: rgba(47, 158, 106, 0.14);
  color: var(--ss-win);
}

.ss-chip-accent {
  background: rgba(194, 122, 69, 0.14);
  color: var(--ss-accent);
}

.ss-label {
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ss-muted);
}

.ss-win {
  color: var(--ss-win);
}

/* Shortlist */
.ss-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}

.ss-pills span {
  padding: 0.15em 0.55em;
  border: 1px solid var(--ss-line);
  border-radius: 999px;
  font-size: 0.8em;
  color: var(--ss-muted);
}

.ss-list {
  display: grid;
  gap: 0.5em;
}

.ss-entity {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em;
  border: 1px solid var(--ss-line);
  border-radius: 0.7em;
}

.ss-entity-text {
  min-width: 0;
  flex: 1;
  display: grid;
}

.ss-entity-text strong {
  font-size: 0.92em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-entity-text span {
  font-size: 0.78em;
  color: var(--ss-muted);
}

.ss-ring {
  flex: none;
  width: 2.4em;
  height: 2.4em;
}

.ss-ring-track {
  fill: none;
  stroke: var(--ss-line);
  stroke-width: 4;
}

.ss-ring-value {
  fill: none;
  stroke: var(--ss-win);
  stroke-width: 4;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.ss-ring text {
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink);
}

/* Negotiate */
.ss-chart-wrap {
  display: grid;
  gap: 0.3em;
}

.ss-chart {
  width: 100%;
  height: auto;
}

.ss-chart-target {
  stroke: var(--ss-win);
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
}

.ss-chart-supplier,
.ss-chart-buyer {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
}

.ss-chart-supplier { stroke: var(--ss-supplier); }
.ss-chart-buyer { stroke: var(--ss-buyer); }
.ss-dot-supplier { fill: var(--ss-supplier); }
.ss-dot-buyer { fill: var(--ss-buyer); }

.ss-bubble {
  display: flex;
  align-items: center;
  gap: 0.45em;
  max-width: 88%;
  padding: 0.45em 0.65em;
  border-radius: 0.7em;
  font-size: 0.88em;
}

.ss-bubble span {
  color: var(--ss-muted);
}

.ss-bubble b {
  margin-left: auto;
  white-space: nowrap;
}

.ss-bubble-supplier {
  background: rgba(124, 92, 196, 0.1);
}

.ss-bubble-buyer {
  align-self: flex-end;
  background: rgba(45, 104, 196, 0.1);
}

.ss-bubble-accepted {
  max-width: 100%;
  background: rgba(47, 158, 106, 0.12);
  color: var(--ss-win);
}

.ss-bubble-accepted span {
  color: var(--ss-win);
  font-weight: 600;
}

.ss-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4em;
  margin-top: auto;
  padding-top: 0.6em;
  border-top: 1px solid var(--ss-line);
}

.ss-stats div {
  display: grid;
}

.ss-stats span {
  font-size: 0.75em;
  color: var(--ss-muted);
}

.ss-stats b {
  font-size: 1em;
}

/* Decide */
.ss-table {
  display: grid;
  border: 1px solid var(--ss-line);
  border-radius: 0.7em;
  overflow: hidden;
}

.ss-tr {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 0.65em;
  font-size: 0.88em;
  border-top: 1px solid var(--ss-line);
}

.ss-tr span:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ss-th {
  border-top: 0;
  background: #f6f9fb;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ss-muted);
}

.ss-tr.is-top {
  background: rgba(47, 158, 106, 0.07);
  font-weight: 600;
}

.ss-tr em {
  display: block;
  font-style: normal;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--ss-win);
}

.ss-tr:nth-child(3) em {
  color: var(--ss-accent);
}

.ss-award {
  display: block;
  padding: 0.6em;
  border-radius: 999px;
  background: var(--ss-win);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92em;
  text-align: center;
}

.ss-trace {
  font-size: 0.8em;
  color: var(--ss-buyer);
  text-align: center;
}

/* Follow through */
.ss-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3em;
}

.ss-track-step {
  display: grid;
  justify-items: center;
  gap: 0.3em;
  position: relative;
  font-size: 0.72em;
  color: var(--ss-muted);
}

.ss-track-step i {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--ss-win);
  color: #ffffff;
  font-size: 1.1em;
}

.ss-checklist {
  display: grid;
  gap: 0.45em;
}

.ss-check {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 0.65em;
  border: 1px solid var(--ss-line);
  border-radius: 0.7em;
  font-size: 0.9em;
}

.ss-check i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  border: 2px solid var(--ss-line);
  color: #ffffff;
  font-size: 0.85em;
}

.ss-check.is-done i {
  background: var(--ss-win);
  border-color: var(--ss-win);
}

.ss-check.is-active {
  border-color: rgba(45, 104, 196, 0.35);
  background: rgba(45, 104, 196, 0.05);
  font-weight: 600;
}

.ss-check.is-active i {
  border-color: var(--ss-buyer);
}

.ss-check.is-todo {
  color: var(--ss-muted);
}

/* ---------- Homepage banner ----------
   Same structure as the /sourcing hero, in a light version of the Fashable
   palette (base.css tokens only) so it reads as its own announcement above
   the slate homepage hero. Buttons are the site's standard .btn/.btn-solid. */

.sc-banner {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 96px 72px;
  background: linear-gradient(135deg, #f3f7fb 0%, var(--cream) 100%);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

/* Same faint grid as the dark heroes, in slate. */
.sc-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(46, 60, 64, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 60, 64, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Brand glows: light blue (--sage-2) top right, cyan (--gold) bottom left. */
.sc-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48vw 48vw at 100% 0%, rgba(167, 198, 237, 0.55), transparent 70%),
    radial-gradient(40vw 40vw at 0% 100%, rgba(154, 219, 232, 0.35), transparent 70%);
  pointer-events: none;
}

.sc-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.sc-banner .sc-banner-eyebrow {
  color: var(--blush);
}

.sc-banner-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--ink);
}

.sc-banner-sub {
  margin: 22px 0 32px;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.75;
  /* Stronger than --muted (about 3:1 here) to meet WCAG AA for body text. */
  color: rgba(46, 60, 64, 0.82);
}

.sc-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Browser frame tuned for a light background. */
.sc-banner .sc-hero-visual.sc-shot {
  background: #f3f7fb;
  border-color: var(--border-2);
  box-shadow: var(--shadow-deep), 0 0 0 6px rgba(45, 104, 196, 0.06);
}

/* ---------- Hero ---------- */

.sc-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 96px 72px;
  position: relative;
  overflow: hidden;
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(221, 229, 237, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(221, 229, 237, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  pointer-events: none;
}

.sc-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.sc-hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
}

.sc-hero-sub {
  margin: 22px 0 32px;
  max-width: 460px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--sc-ink-soft);
}

.sc-hero-visual {
  background: rgba(221, 229, 237, 0.05);
  border-color: rgba(221, 229, 237, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.sc-hero-visual.sc-ph {
  padding: 32px 32px 0;
}

/* Real screenshot in the hero: browser-window frame, image shown uncropped.
   aspect-ratio is reset (overrides the inline slot ratio) so the frame wraps
   the image plus its toolbar exactly. */
.sc-hero-visual.sc-shot {
  aspect-ratio: auto !important;
  padding: 30px 8px 8px;
  background: #e9eff5;
  border: 1px solid rgba(221, 229, 237, 0.35);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(221, 229, 237, 0.06);
}

.sc-hero-visual.sc-shot::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 14px;
  width: 44px;
  height: 9px;
  background:
    radial-gradient(circle, #f0a99c 4px, transparent 4.5px) 0 0 / 15px 9px no-repeat,
    radial-gradient(circle, #f2d38c 4px, transparent 4.5px) 15px 0 / 15px 9px no-repeat,
    radial-gradient(circle, #a8d5b0 4px, transparent 4.5px) 30px 0 / 15px 9px no-repeat;
}

.sc-hero-visual.sc-shot img {
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.sc-hero-visual .sc-ph-window {
  padding: 22px 20px;
  gap: 18px;
}

/* ---------- Ticker ---------- */

.sc-ticker {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- Problem ---------- */

.sc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sc-compare-card {
  background: var(--sc-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 12px;
}

.sc-compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sc-compare-card ul {
  list-style: none;
}

.sc-compare-card li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.sc-compare-card li:last-child {
  border-bottom: 0;
}

.sc-compare-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.sc-compare-dark .sc-compare-label {
  color: var(--sage-2);
  border-color: var(--sc-rule-dark);
}

.sc-compare-dark li {
  border-color: var(--sc-rule-dark);
}

/* ---------- How it works ---------- */

.sc-stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.sc-stage-media {
  position: relative;
  margin-bottom: 18px;
}

.sc-stage-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Same frame for screenshots and placeholders; content starts below the badge. */
.sc-stage .sc-visual {
  padding: 40px 10px 0;
}

.sc-stage .sc-shot img {
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 18px rgba(46, 60, 64, 0.12);
}

/* Soft fade so a cropped screenshot ends cleanly. */
.sc-stage .sc-shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(211, 224, 235, 0), #d3e0eb);
  pointer-events: none;
}

.sc-stage h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sc-stage p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Trust band ---------- */

.sc-trust {
  padding: 72px;
  background: var(--ink);
  color: var(--cream);
}

.sc-trust-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.sc-trust-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 36px;
}

.sc-trust-labels {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sc-trust-labels li {
  border-top: 2px solid var(--sage-2);
  padding-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sc-trust-photo {
  aspect-ratio: 3 / 2;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

/* ---------- Customer story ---------- */

.sc-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--cream-2);
  border-radius: 12px;
  overflow: hidden;
}

.sc-story-visual {
  border: 0;
  border-radius: 0;
  height: 100%;
}

.sc-story-visual.sc-ph {
  padding: 32px 32px 0;
}

.sc-story-copy {
  padding: 48px 40px;
  align-self: center;
}

.sc-story-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
}

/* ---------- Paths and form ---------- */

.sc-start {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.sc-paths {
  display: grid;
  gap: 16px;
}

.sc-start-photo {
  aspect-ratio: 16 / 10;
}

.sc-path {
  background: var(--sc-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
}

.sc-path .sc-eyebrow {
  margin-bottom: 6px;
}

.sc-path p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.sc-platform-link {
  font-size: 0.9rem;
  color: var(--muted);
}

.sc-platform-link a {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-form-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--sc-radius);
  padding: 32px;
  scroll-margin-top: 100px;
}

.sc-form-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sc-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 6px;
}

.sc-field input,
.sc-field select {
  width: 100%;
  margin-top: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(221, 229, 237, 0.22);
  border-radius: 8px;
  background: rgba(221, 229, 237, 0.08);
  color: var(--cream);
  outline: none;
}

.sc-field select option {
  color: var(--ink);
}

.sc-field input:focus,
.sc-field select:focus {
  border-color: var(--sage-2);
  box-shadow: 0 0 0 3px rgba(167, 198, 237, 0.25);
}

.sc-field [aria-invalid="true"] {
  border-color: #f0a99c;
}

/* "Please specify" under the I'm a dropdown when "Other" is chosen. */
.sc-field-other {
  margin-top: 12px;
}

.sc-field-other input::placeholder {
  color: rgba(221, 229, 237, 0.45);
}

.sc-field-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #f6b8ad;
}

.sc-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sc-submit {
  margin-top: 24px;
}

.sc-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.sc-privacy {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(221, 229, 237, 0.62);
}

.sc-privacy a,
.sc-form-status a {
  color: var(--sage-2);
  text-decoration: underline;
}

.sc-form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #f6b8ad;
}

.sc-form-status:empty {
  display: none;
}

.sc-form-success strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.sc-form-success p {
  color: var(--sc-ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .sc-banner,
  .sc-hero,
  .sc-section,
  .sc-trust {
    padding-left: 22px;
    padding-right: 22px;
  }
  .sc-hero { padding-top: 64px; padding-bottom: 64px; }
  .sc-section { padding-top: 64px; padding-bottom: 64px; }
  .sc-section-tight { padding-top: 8px; }
  .sc-trust { padding-top: 64px; padding-bottom: 64px; }
  .sc-banner-inner,
  .sc-hero-inner,
  .sc-compare,
  .sc-trust-inner,
  .sc-story,
  .sc-start {
    grid-template-columns: 1fr;
  }
  .sc-banner-inner { gap: 28px; }
  .sc-banner { padding-top: 64px; padding-bottom: 64px; }
  .sc-trust-inner { gap: 36px; }
  .sc-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-trust-labels { grid-template-columns: 1fr; }
  .sc-story-copy { padding: 28px 24px; }
  .sc-hero-visual.sc-ph { padding: 20px 20px 0; }
}

@media (max-width: 600px) {
  .sc-stages,
  .sc-form-grid {
    grid-template-columns: 1fr;
  }
  .sc-form-card { padding: 24px 20px; }

  /* Stages: compact rows (visual left, text right) instead of five tall cards. */
  .sc-stage {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 16px;
    align-items: center;
  }
  .sc-stage-media {
    grid-row: span 2;
    margin-bottom: 0;
  }
  .sc-stage h3 { align-self: end; }
  .sc-stage p { align-self: start; }
  .sc-stage-badge {
    top: 6px;
    left: 6px;
    font-size: 0.6rem;
    padding: 3px 6px;
  }
  .sc-stage .sc-visual { padding: 26px 6px 0; }
  .sc-stage .sc-ph-window { padding: 8px 6px; gap: 8px; }
  .sc-stage .sc-ph-head { padding-bottom: 6px; gap: 6px; }
  .sc-stage .sc-ph-icon { width: 18px; height: 18px; font-size: 10px; border-radius: 5px; }
  .sc-stage .sc-ph-body { gap: 6px; }
  .sc-stage .sc-ph-entity { padding: 4px; gap: 4px; }
  .sc-stage .sc-ph-avatar { width: 10px; height: 10px; }
  .sc-stage .sc-ph-bubble { padding: 4px 6px; }
}

/* Shortlist footer: the app's "Discovering new suppliers" strip. */
.ss-discover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-top: auto;
  padding: 0.6em 0.65em;
  border: 1px dashed rgba(194, 122, 69, 0.45);
  border-radius: 0.7em;
  background: rgba(194, 122, 69, 0.05);
}

/* Chakra's global styles underline every link on hover, buttons included. */
.sc-banner .btn:hover,
.sc-page .btn:hover {
  text-decoration: none;
}
