/*
 * Storefront page styles — /storefront.
 * Depends on tokens.css + site.css (header / footer / .btn-pixel / .valuebar)
 * and quote.css (the inquiry form reuses the quote form's field components).
 */

body.storefront-page { background: var(--paper); }

.sf-section { padding: var(--space-9) 0; }
.sf-section.bone { background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sf-head { max-width: 760px; margin: 0 0 var(--space-7); }
.sf-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sf-head .eyebrow { display: block; margin-bottom: 14px; }
.sf-head .eyebrow.magenta { color: var(--magenta); }
.sf-head .eyebrow.cyan { color: #0089BE; }
.sf-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin: 0 0 16px;
}
.sf-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--slate); }

/* ───────────── HERO ───────────── */
.sf-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(0, 173, 239, 0.10), transparent 60%),
    radial-gradient(700px 420px at 72% 96%, rgba(237, 0, 140, 0.08), transparent 60%),
    radial-gradient(600px 360px at 4% 100%, rgba(252, 186, 0, 0.10), transparent 60%),
    var(--paper);
}
.sf-hero .wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.sf-hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.sf-hero .tag b {
  background: var(--magenta);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sf-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin: 22px 0 22px;
}
.sf-hero h1 .accent { color: var(--magenta); display: block; }
.sf-hero .lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 34px;
  max-width: 560px;
}
.sf-hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 26px;
  padding: 0 0 12px 12px;
}
.sf-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 3px;
}
.sf-textlink:hover { color: var(--magenta); border-color: var(--magenta); }
.sf-textlink svg { width: 18px; height: 18px; }
.sf-hero .micro {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.sf-hero .micro span { display: inline-flex; align-items: center; gap: 8px; }
.sf-hero .micro i { width: 8px; height: 8px; border-radius: 2px; }
.sf-hero .micro span:nth-child(1) i { background: var(--cyan); }
.sf-hero .micro span:nth-child(2) i { background: var(--magenta); }
.sf-hero .micro span:nth-child(3) i { background: var(--yellow); }

/* Hero visual: three branded stores, one platform. */
.sf-stack { position: relative; height: 560px; }
.sf-win {
  position: absolute;
  width: 74%;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(1, 1, 1, 0.08);
  box-shadow: 0 30px 60px -20px rgba(1, 1, 1, 0.28), 0 2px 0 rgba(1, 1, 1, 0.03);
  overflow: hidden;
  --brand: var(--magenta);
}
.sf-win.w1 { top: 0; right: 0; transform: rotate(1.2deg); z-index: 1; }
.sf-win.w2 { top: 150px; left: 0; transform: rotate(-1.6deg); z-index: 2; }
.sf-win.w3 { top: 330px; right: 2%; width: 66%; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .sf-win { animation: sf-float 9s ease-in-out infinite; }
  .sf-win.w2 { animation-delay: -3s; }
  .sf-win.w3 { animation-delay: -6s; }
}
@keyframes sf-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.sf-win .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #F3F1EC;
  border-bottom: 1px solid #E7E3DA;
}
.sf-win .dots { display: flex; gap: 5px; }
.sf-win .dots i { width: 8px; height: 8px; border-radius: 50%; background: #D5D0C5; }
.sf-win .url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 9px;
  font: 500 10.5px/1.2 var(--font-mono);
  color: #6B6A66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sf-win .url svg { width: 10px; height: 10px; flex: none; color: #1f8a5b; }
.sf-win .shophead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F0EEE8;
}
.sf-win .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.sf-win .logo i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 11px/1 var(--font-sans);
  font-style: normal;
}
.sf-win .cart {
  font: 700 10px/1 var(--font-sans);
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 5px 9px;
}
.sf-win .shopbody { padding: 14px 16px 16px; }
.sf-win .shopbody .kicker {
  font: 600 9px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.sf-win .shopbody h4 { margin: 0 0 12px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.sf-win .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sf-win .tile { border: 1px solid #EEEBE4; border-radius: 9px; overflow: hidden; }
.sf-win .tile .ph {
  aspect-ratio: 4 / 3;
  background: #F5F3EE;
  display: grid;
  place-items: center;
  position: relative;
}
.sf-win .tile .ph b {
  width: 62%;
  aspect-ratio: 3.5 / 2;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--brand);
}
.sf-win .tile .ph b.tall { width: 40%; aspect-ratio: 8.5 / 11; }
.sf-win .tile .ph b.env { width: 66%; aspect-ratio: 9.5 / 4.1; border-top: 0; border-left: 4px solid var(--brand); }
.sf-win .tile .meta { padding: 6px 7px 8px; }
.sf-win .tile .meta span { display: block; font: 700 9.5px/1.2 var(--font-sans); }
.sf-win .tile .meta small { display: block; font: 500 8.5px/1.3 var(--font-mono); color: #8A8780; margin-top: 2px; }
.sf-win.w3 .approve {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #F7F6F2;
  border: 1px dashed #DDD8CC;
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 11px;
}
.sf-win.w3 .approve b { font-weight: 800; }
.sf-win.w3 .approve span { color: #6B6A66; }
.sf-win.w3 .approve em {
  font-style: normal;
  font: 700 9.5px/1 var(--font-sans);
  background: #1f8a5b;
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap;
}
.sf-stack .stamp {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: -18px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45);
  font: 600 11px/1.35 var(--font-mono);
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}
.sf-stack .stamp b { display: block; color: var(--yellow); font: 800 17px/1.1 var(--font-sans); letter-spacing: -0.01em; margin-bottom: 3px; }

/* ───────────── VALUE BAR (extends site.css .valuebar) ───────────── */
.sf-valuebar .num { color: var(--yellow); }

/* ───────────── TWO PATHS ───────────── */
.sf-paths .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sf-path {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 40px 38px 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.sf-path::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--cyan);
}
.sf-path.partner {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.sf-path.partner::before { background: linear-gradient(90deg, var(--cyan), var(--magenta) 50%, var(--yellow)); }
.sf-path .who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0089BE;
  margin-bottom: 18px;
}
.sf-path.partner .who { color: var(--yellow); }
.sf-path .who svg { width: 22px; height: 22px; }
.sf-path h3 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin: 0 0 14px;
}
.sf-path > p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.sf-path.partner > p { color: rgba(255, 255, 255, 0.74); }
.sf-checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.sf-checks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.5;
}
.sf-checks li b { font-weight: 700; }
.sf-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: rgba(0, 173, 239, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230089BE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.sf-path.partner .sf-checks li { color: rgba(255, 255, 255, 0.9); }
.sf-path.partner .sf-checks li::before {
  background: rgba(252, 186, 0, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCBA00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.sf-path .foot { margin-top: auto; padding-left: 12px; }

/* ───────────── LIVE DEMO ───────────── */
.sf-demo-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.sf-demo-copy p { font-size: 16px; line-height: 1.65; color: var(--slate); margin: 0 0 16px; }
.sf-demo-copy .sf-head { margin-bottom: 20px; }
.sf-demo-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sf-demo-copy li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink);
}
.sf-demo-copy li svg { width: 20px; height: 20px; flex: none; color: var(--magenta); margin-top: 1px; }

.sf-demo {
  --brand: #0E7C86;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(1, 1, 1, 0.08);
  box-shadow: 0 40px 80px -30px rgba(1, 1, 1, 0.35);
  overflow: hidden;
}
.sf-demo .bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #F3F1EC;
  border-bottom: 1px solid #E7E3DA;
}
.sf-demo .dots { display: flex; gap: 6px; }
.sf-demo .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5D0C5; }
.sf-demo .url {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 6px 11px;
  font: 500 12px/1.2 var(--font-mono);
  color: #6B6A66;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.sf-demo .url svg { width: 12px; height: 12px; color: #1f8a5b; flex: none; }
.sf-demo .url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-demo .brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #F0EEE8;
}
.sf-demo .brands > span {
  font: 600 10.5px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8780;
  margin-right: 4px;
}
.sf-demo .brands button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #E5E2D8;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px 6px 7px;
  font: 700 12.5px/1 var(--font-sans);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.sf-demo .brands button i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--c);
}
.sf-demo .brands button:hover { border-color: #CFCABE; }
.sf-demo .brands button[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.sf-demo .brands button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sf-demo .body { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.sf-demo .fields {
  padding: 18px 16px 20px;
  border-right: 1px solid #F0EEE8;
  display: grid;
  gap: 12px;
  align-content: start;
}
.sf-demo .fields label {
  display: block;
  font: 600 10px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8780;
  margin-bottom: 6px;
}
.sf-demo .fields input {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #E5E2D8;
  border-radius: 8px;
  padding: 9px 11px;
  font: 500 14px/1.3 var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sf-demo .fields input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.sf-demo .locks { display: grid; gap: 6px; padding-top: 6px; border-top: 1px dashed #E5E2D8; }
.sf-demo .locks span {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 10.5px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  color: #6B6A66;
}
.sf-demo .locks svg { width: 13px; height: 13px; color: var(--brand); flex: none; }
.sf-demo .stage {
  background:
    linear-gradient(45deg, #EFECE5 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(-45deg, #EFECE5 25%, transparent 25%) 0 0 / 18px 18px,
    #F6F4EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 22px;
}
.sf-card {
  --brand: #0E7C86;
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 3.5 / 2;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 18px 36px -12px rgba(0, 0, 0, 0.3);
  padding: 7% 7.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  container-type: inline-size;
}
.sf-card::after {
  /* the bleed / safe guides a real proof shows */
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px dashed rgba(237, 0, 140, 0.28);
  border-radius: 2px;
  pointer-events: none;
}
.sf-card .stripe { position: absolute; inset: 0 auto 0 0; width: 3.2%; background: var(--brand); transition: background .3s ease; }
.sf-card .top { display: flex; align-items: center; gap: 3.5cqw; }
.sf-card .mark {
  width: 11cqw;
  height: 11cqw;
  border-radius: 2.6cqw;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font: 900 6cqw/1 var(--font-sans);
  transition: background .3s ease;
}
.sf-card .brandname { font: 800 5.6cqw/1.05 var(--font-sans); letter-spacing: -0.01em; color: var(--brand); transition: color .3s ease; }
.sf-card .person .n { font: 800 6.4cqw/1.05 var(--font-sans); letter-spacing: -0.015em; color: #111; }
.sf-card .person .t { font: 600 3.9cqw/1.2 var(--font-sans); color: #5C6873; margin-top: 1cqw; }
.sf-card .rule { height: 1px; background: #ECE8DF; margin: 3cqw 0; }
.sf-card .contact { display: flex; justify-content: space-between; gap: 3cqw; font: 500 3.3cqw/1.3 var(--font-mono); color: #465A65; }
.sf-card .contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-card.is-swapping { animation: sf-swap .45s ease; }
@keyframes sf-swap {
  0% { transform: rotateY(0); }
  45% { transform: rotateY(84deg); }
  55% { transform: rotateY(84deg); }
  100% { transform: rotateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-card.is-swapping { animation: none; }
}
.sf-demo .proofline {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 11px/1.3 var(--font-mono);
  color: #6B6A66;
}
.sf-demo .proofline b {
  font: 800 12px/1 var(--font-sans);
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 7px 12px;
  transition: background .3s ease;
}

/* ───────────── FEATURES ───────────── */
.sf-feature-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 10px;
  box-shadow: var(--shadow);
}
.sf-group > h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.sf-group > h3 i { width: 10px; height: 10px; border-radius: 2px; }
.sf-group:nth-child(1) > h3 i { background: var(--cyan); }
.sf-group:nth-child(2) > h3 i { background: var(--magenta); }
.sf-group:nth-child(3) > h3 i { background: var(--yellow); }
.sf-feat { display: flex; gap: 14px; padding: 0 0 20px; }
.sf-feat .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
}
.sf-feat .ic svg { width: 20px; height: 20px; }
.sf-group:nth-child(1) .sf-feat .ic { background: rgba(0, 173, 239, 0.12); color: #0089BE; }
.sf-group:nth-child(2) .sf-feat .ic { background: rgba(237, 0, 140, 0.10); color: var(--magenta); }
.sf-group:nth-child(3) .sf-feat .ic { background: rgba(252, 186, 0, 0.18); color: #B07A00; }
.sf-feat h4 { margin: 0 0 4px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.sf-feat p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate); }

/* ───────────── HOW IT WORKS ───────────── */
.sf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: sfstep; position: relative; }
.sf-step { position: relative; padding: 0 22px 0 0; }
.sf-step .n {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 16px/1 var(--font-mono);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.sf-step:nth-child(1) .n { background: var(--cyan); color: var(--ink); }
.sf-step:nth-child(2) .n { background: var(--magenta); color: #fff; }
.sf-step:nth-child(3) .n { background: var(--yellow); color: var(--ink); }
.sf-step:nth-child(4) .n { background: var(--ink); color: #fff; }
.sf-step::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 46px;
  right: 0;
  border-top: 2px dashed #D8D3C4;
}
.sf-step:last-child::before { display: none; }
.sf-step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.sf-step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--slate); max-width: 250px; }

/* ───────────── PARTNER PROGRAM ───────────── */
.sf-partner {
  --iik-cyan: #5ED2FF; --iik-magenta: #FF4FB0; --iik-yellow: #FFD24A; --iik-slate: #B5BDC1;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: var(--space-9) 0;
}
.sf-partner .pastiche-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sf-partner .wrap { position: relative; z-index: 1; }
.sf-partner .sf-head p { color: rgba(255, 255, 255, 0.74); }
.sf-partner .sf-head .eyebrow { color: var(--yellow); }
.sf-partner-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.sf-money { display: grid; gap: 14px; counter-reset: sfmoney; }
.sf-money .row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 20px 20px 20px 18px;
}
.sf-money .row .ic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(252, 186, 0, 0.14);
  color: var(--yellow);
}
.sf-money .row:nth-child(2) .ic { background: rgba(0, 173, 239, 0.16); color: var(--cyan); }
.sf-money .row:nth-child(3) .ic { background: rgba(237, 0, 140, 0.18); color: #FF4FB4; }
.sf-money .row .ic svg { width: 24px; height: 24px; }
.sf-money h4 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.sf-money p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

.sf-payout {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.sf-payout .head {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F0EEE8;
}
.sf-payout .head .logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; }
.sf-payout .head .logo i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #4338CA;
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 12px/1 var(--font-sans);
  font-style: normal;
}
.sf-payout .head small { font: 600 10px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #8A8780; }
.sf-payout .lines { padding: 8px 22px; }
.sf-payout .line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #E7E3DA;
  font-size: 14.5px;
}
.sf-payout .line:last-child { border-bottom: 0; }
.sf-payout .line span { color: var(--slate); }
.sf-payout .line b { font: 700 14.5px/1.2 var(--font-mono); }
.sf-payout .total {
  margin: 0 14px 14px;
  border-radius: 12px;
  background: #ECFDF3;
  border: 1px solid #B7EBCB;
  padding: 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sf-payout .total span { font-weight: 800; color: #14532D; }
.sf-payout .total small { display: block; font: 500 11px/1.3 var(--font-mono); color: #3F7A55; margin-top: 3px; }
.sf-payout .total b { font: 800 26px/1 var(--font-sans); color: #15803D; letter-spacing: -0.02em; }
.sf-payout-note { margin: 12px 4px 0; font: 500 11.5px/1.5 var(--font-mono); color: rgba(255, 255, 255, 0.5); }
.sf-brandlist {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
}
.sf-brandlist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
}
.sf-brandlist svg { width: 18px; height: 18px; flex: none; color: var(--yellow); margin-top: 2px; }
.sf-partner .actions { margin-top: 36px; padding-left: 12px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.sf-partner .sf-textlink { color: #fff; }
.sf-partner .sf-textlink:hover { color: var(--yellow); border-color: var(--yellow); }

/* ───────────── PRODUCTS ───────────── */
.sf-products .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sf-product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.sf-product:hover { transform: translateY(-3px); border-color: var(--slate-light); }
.sf-product .img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #EAE6DF;
}
/* Absolutely placed so a tall product (letterhead, badge) can't stretch the
   frame — every card keeps the same 4:3 window. */
.sf-product .img img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}
.sf-product .txt { padding: 16px 18px 20px; }
.sf-product .pill {
  display: inline-block;
  font: 700 9.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 5px;
  margin-bottom: 10px;
}
.sf-product .pill.custom { background: rgba(237, 0, 140, 0.10); color: var(--magenta); }
.sf-product .pill.stock { background: rgba(70, 90, 101, 0.10); color: var(--slate); }
.sf-product h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; }
.sf-product p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.sf-more {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.sf-more span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.sf-more span.lead { background: transparent; border-color: transparent; color: var(--slate); font-weight: 500; }

/* ───────────── FAQ ───────────── */
.sf-faq .qs { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.sf-faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .15s ease;
}
.sf-faq details[open] { border-color: var(--slate-light); }
.sf-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.005em;
}
.sf-faq summary::-webkit-details-marker { display: none; }
.sf-faq summary::after { content: "+"; font-size: 24px; color: var(--magenta); line-height: 1; flex: none; }
.sf-faq details[open] summary::after { content: "–"; }
.sf-faq details p { margin: 12px 0 0; color: var(--slate); font-size: 15px; line-height: 1.65; }
.sf-faq .group-label {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 18px 0 4px;
}
.sf-faq .group-label:first-child { margin-top: 0; }

/* ───────────── INQUIRY ───────────── */
.sf-inquire { background: var(--bone); border-top: 1px solid var(--line); padding: var(--space-9) 0; scroll-margin-top: 0; }
.sf-inquire-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 48px; align-items: start; }
.sf-inquire-aside { position: sticky; top: 28px; }
.sf-inquire-aside .sf-head { margin-bottom: 28px; }
.sf-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.sf-next li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.sf-next li > b {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 800 13px/1 var(--font-mono);
  background: var(--paper);
  border: 1px solid var(--line);
}
.sf-next h4 { margin: 4px 0 4px; font-size: 16px; font-weight: 800; }
.sf-next p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate); }
.sf-direct {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}
.sf-direct a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.sf-direct a:hover { color: var(--magenta); border-color: var(--magenta); }

.sf-inquire .formcard .head { background: var(--ink); }
.sf-inquire .formcard .head h2 { color: #fff; }

/* path picker: two big radio cards */
.path-picker { border: 0; padding: 0; margin: 0 0 22px; }
.path-picker > legend {
  font: 600 13px/1 var(--font-sans);
  margin-bottom: 10px;
  padding: 0;
  color: var(--ink);
}
.path-picker > legend .req { color: var(--magenta); margin-left: 2px; }
.path-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.path-option { position: relative; display: block; cursor: pointer; }
.path-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.path-option .box {
  height: 100%;
  box-sizing: border-box;
  border: 1.5px solid #E5E2D8;
  border-radius: 14px;
  padding: 16px 16px 16px 16px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.path-option .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 173, 239, 0.12);
  color: #0089BE;
}
.path-option.partner .ic { background: rgba(237, 0, 140, 0.10); color: var(--magenta); }
.path-option .ic svg { width: 20px; height: 20px; }
.path-option b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; margin: 1px 0 3px; }
.path-option small { display: block; font-size: 12.5px; line-height: 1.45; color: #6f6a60; }
.path-option:hover .box { border-color: #CFCABE; }
.path-option input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.35); }
.path-option input:checked + .box {
  border-color: var(--ink);
  background: #FCFBF8;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.path-picker .err { display: none; font-size: 12px; color: var(--magenta); margin-top: 8px; }
.path-picker.is-invalid .err { display: block; }
.path-picker.is-invalid .box { border-color: var(--magenta); }

.sf-questions { margin: 0; }
.sf-questions[hidden] { display: none; }
.sf-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip { position: relative; }
.sf-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sf-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #E5E2D8;
  border-radius: 999px;
  padding: 8px 13px;
  font: 600 13.5px/1 var(--font-sans);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.sf-chip:hover span { border-color: #CFCABE; }
.sf-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(237, 0, 140, 0.18); }
.sf-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.sf-chip input:checked + span::before { content: "✓"; font-weight: 800; color: var(--yellow); }
.field .sf-chip-label { margin-bottom: 10px; }

/* success state overrides (quote.css shows .success on body.is-submitted) */
.sf-inquire .success .next .item .num { color: var(--magenta); }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 1080px) {
  .sf-feature-groups { grid-template-columns: 1fr 1fr; }
  .sf-feature-groups .sf-group:nth-child(3) { grid-column: span 2; }
  .sf-products .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .sf-hero { padding: 56px 0 72px; }
  .sf-hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .sf-stack { max-width: 560px; width: 100%; margin: 0 auto; height: 480px; }
  .sf-paths .grid { grid-template-columns: 1fr; }
  .sf-demo-wrap { grid-template-columns: 1fr; gap: 36px; }
  .sf-partner-grid { grid-template-columns: 1fr; }
  .sf-steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .sf-step:nth-child(2)::before { display: none; }
  .sf-inquire-grid { grid-template-columns: 1fr; gap: 36px; }
  .sf-inquire-aside { position: static; }
}
@media (max-width: 680px) {
  .sf-section, .sf-partner, .sf-inquire { padding: 64px 0; }
  .sf-head { margin-bottom: 36px; }
  .sf-stack { height: 420px; }
  .sf-win { width: 88%; }
  .sf-win.w2 { top: 104px; }
  .sf-win.w3 { top: 214px; right: 0; }
  .sf-win .tiles { gap: 7px; }
  .sf-path { padding: 32px 22px 28px; }
  .sf-demo .body { grid-template-columns: 1fr; }
  /* Proof first on phones, so it stays in view while you type below it. */
  .sf-demo .stage { order: -1; border-bottom: 1px solid #F0EEE8; padding: 22px 18px; }
  .sf-demo .fields { border-right: 0; grid-template-columns: 1fr 1fr; }
  .sf-demo .locks { grid-column: span 2; }
  .sf-feature-groups { grid-template-columns: 1fr; }
  .sf-feature-groups .sf-group:nth-child(3) { grid-column: auto; }
  .sf-steps { grid-template-columns: 1fr; gap: 26px; }
  .sf-step::before { display: none; }
  .sf-step p { max-width: none; }
  .sf-brandlist { grid-template-columns: 1fr; }
  .path-options { grid-template-columns: 1fr; }
  .sf-products .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sf-product .txt { padding: 12px 12px 16px; }
  .sf-product p { display: none; }
}
@media (max-width: 420px) {
  .sf-demo .fields { grid-template-columns: 1fr; }
  .sf-demo .locks { grid-column: auto; }
  .sf-stack .stamp { display: none; }
}
