/* The seller's page (/sell): AI shoppers find you here and buy; bring your shop from a marketplace in a minute.
   Built on the page kit (kit.css) and the site's colours (base.css): nothing here is drawn in a colour of its own. */

.sell { display: grid; gap: clamp(40px, 6vw, 76px); padding-bottom: clamp(30px, 5vw, 60px); }

/* --- First screen: the promise on the left, an assistant buying from a seller on the right --- */
.s-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(86% 130% at 100% 0%, var(--glow-a), transparent 62%),
    radial-gradient(70% 100% at 0% 100%, var(--glow-b), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-2);
}
.s-hero-text { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.s-hero-text > * { max-width: 100%; }
.s-h1 { margin: 0; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.052em; font-weight: 680; color: var(--ink); text-wrap: balance; }
.s-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.s-cta .buy { min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.s-ghost { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; font-size: 16.5px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-1); }
.s-ghost:hover { border-color: var(--brand-line); color: var(--brand-ink); }
.s-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.s-facts b { color: var(--ink); font-weight: 650; }

/* The assistant's conversation, drawn: the person, the assistant, the seller's product, the payment. */
.s-show { margin: 0; display: grid; gap: 10px; min-width: 0; }
.s-chat {
  display: grid;
  gap: 10px;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-3);
}
.s-bubble { margin: 0; max-width: 86%; padding: 11px 15px; font-size: 15px; line-height: 1.42; border-radius: 18px; }
.s-you { justify-self: end; color: #fff; background: var(--brand); border-bottom-right-radius: 6px; }
.s-ai { justify-self: start; color: var(--ink); background: var(--surface-2); border-bottom-left-radius: 6px; }
.s-offer {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.s-offer-pic {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 36% 50%, transparent 13px, #c9d3dc 14px, #eef3f7 17px, transparent 18px),
    radial-gradient(circle at 64% 50%, transparent 13px, #b7c3cd 14px, #e8eef3 17px, transparent 18px),
    linear-gradient(135deg, #f6f8fa, #dfe6ec);
}
.s-offer-text { display: grid; gap: 2px; min-width: 0; font-size: 14.5px; }
.s-offer-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 640; }
.s-offer-text span { color: var(--muted); font-size: 13px; }
.s-offer-price { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.s-paid { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; padding: 12px 14px; font-size: 14.5px; font-weight: 600; color: var(--good); background: color-mix(in srgb, var(--good) 10%, transparent); border-radius: 14px; }
.s-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--good); position: relative; }
.s-tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.s-caption { justify-self: center; font-size: 12.5px; color: var(--muted); }

/* --- Sections --- */
.s-sec-head { display: grid; gap: 10px; max-width: 46em; }
.s-sub { margin: 0; font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.5; color: var(--ink-2); }
.s-h3 { margin: 0; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -0.03em; font-weight: 660; color: var(--ink); }
.s-fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.s-error { margin: 0; padding: 12px 16px; font-size: 15px; color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, transparent); border-radius: 14px; }

/* --- Bring your shop: an eBay seller signs in; anyone drops the file --- */
.s-ebay { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 22px; padding: clamp(18px, 2.6vw, 24px) clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 12px 30px -22px rgba(6, 24, 45, 0.35); }
.s-ebay-title { margin: 0; font-size: 18px; font-weight: 680; letter-spacing: -0.01em; color: var(--ink); }
.s-ebay-line { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.sell .s-ebay-go { white-space: nowrap; }
/* Base.com or a feed: a token or an address instead of a file (sell.js). */
.s-connect { display: grid; gap: 10px; }
.s-conn { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px) auto; align-items: center; gap: 12px 16px; padding: 14px 16px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.s-conn-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-style: normal; font-size: 19px; font-weight: 760; color: #fff; }
.s-conn-base { background: #1b2a4a; }
.s-conn-feed { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-ink); }
.s-conn-feed svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.s-conn-feed svg circle { fill: currentColor; stroke: none; }
.s-conn-text { display: grid; gap: 2px; min-width: 0; }
.s-conn-title { margin: 0; font-size: 16px; font-weight: 660; color: var(--ink); }
.s-conn-line { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.s-conn-line a { color: var(--brand-ink); font-weight: 600; }
.s-conn-in { min-height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-solid, var(--surface)); border: 1px solid var(--line-2, var(--line)); border-radius: 12px; min-width: 0; }
.s-conn-in:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 1px; }
.s-conn-go { min-height: 46px; padding: 0 18px; font: inherit; font-size: 15px; font-weight: 650; color: var(--ink); white-space: nowrap; cursor: pointer; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.s-conn-go:hover { border-color: color-mix(in srgb, var(--ink) 32%, transparent); box-shadow: 0 8px 22px -14px rgba(6, 24, 45, 0.45); }
.s-conn-go:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.s-conn-go:disabled { cursor: progress; opacity: 0.7; }
@media (max-width: 900px) { .s-conn { grid-template-columns: auto minmax(0, 1fr); align-items: start; } .s-conn-in, .s-conn-go { grid-column: 1 / -1; width: 100%; } }
.s-or { display: flex; align-items: center; gap: 14px; margin: -4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.s-or::before, .s-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 620px) { .s-ebay { grid-template-columns: minmax(0, 1fr); } .sell .s-ebay-go { width: 100%; } }
.s-bring { display: grid; gap: 18px; scroll-margin-top: 96px; }
.s-preview { scroll-margin-top: 96px; }
.s-drop {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(30px, 5vw, 52px) 20px;
  text-align: center;
  cursor: pointer;
  background: color-mix(in srgb, var(--brand) 4%, var(--surface));
  border: 2px dashed var(--brand-line);
  border-radius: 26px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.s-drop:hover, .s-drop:focus-visible, .s-drop.over { background: color-mix(in srgb, var(--brand) 9%, var(--surface)); border-color: var(--brand); outline: none; }
.s-drop.over { transform: scale(1.005); }
.s-drop.busy { cursor: progress; opacity: 0.75; }
.s-drop-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-soft);
  position: relative;
}
.s-drop-ic::before { content: ""; position: absolute; left: 50%; top: 14px; width: 3px; height: 22px; margin-left: -1.5px; background: var(--brand); border-radius: 2px; }
.s-drop-ic::after { content: ""; position: absolute; left: 50%; top: 12px; width: 13px; height: 13px; margin-left: -7px; border: solid var(--brand); border-width: 3px 0 0 3px; transform: rotate(45deg); }
.s-drop-title { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.s-drop-or { font-size: 15.5px; color: var(--ink-2); }
.s-link { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.s-drop-hint { max-width: 40em; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.s-less { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 15px; color: var(--ink-2); }
.s-field { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.s-field input, .keep-field input { width: 4.6em; min-height: 40px; padding: 0 10px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; }
.s-less-why { color: var(--muted); font-size: 14px; }
.s-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-how .k-fold-body a { color: var(--brand-ink); font-weight: 600; }

/* The Etsy file in three steps, with drawn screens (not Etsy's own). */
.s-mk-i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; font-style: normal; font-size: 17px; font-weight: 760; color: #fff; }
.s-mk-etsy { background: #f1641e; font-family: Georgia, "Times New Roman", serif; }
.s-etsy { display: grid; gap: 18px; padding: clamp(18px, 2.6vw, 26px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-1); }
.s-etsy-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.s-etsy-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 19px; font-weight: 680; letter-spacing: -0.02em; color: var(--ink); }
.sell a.s-etsy-open { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; font-size: 15.5px; font-weight: 640; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 13px; transition: border-color 0.15s, box-shadow 0.15s; }
.sell a.s-etsy-open:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); box-shadow: 0 8px 22px -14px rgba(6, 24, 45, 0.45); }
.sell a.s-etsy-open:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.s-etsy-open span { color: var(--muted); }
.s-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.s-step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 6px 10px; min-width: 0; }
.s-step .s-shot { grid-column: 1 / -1; width: 100%; height: auto; margin-bottom: 8px; border-radius: 14px; background: var(--surface-2); }
.s-step-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand); }
.s-step b { align-self: center; font-size: 16.5px; font-weight: 660; letter-spacing: -0.01em; color: var(--ink); }
.s-step > span:last-child { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
/* The drawn screens' parts, in the page's own colours (light and dark). */
.sv-win { fill: var(--surface-solid, var(--surface)); stroke: var(--line-2, var(--line)); stroke-width: 1.2; }
.sv-dot { fill: var(--line-2, var(--line)); }
.sv-rule { stroke: var(--line); stroke-width: 1; }
.sv-side { fill: color-mix(in srgb, var(--ink) 4%, transparent); }
.sv-bar { fill: color-mix(in srgb, var(--ink) 11%, transparent); }
.sv-small { font: 600 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--muted); }
.sv-mid { fill: var(--brand-ink); }
.sv-t { font: 650 13px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--ink-2); }
.sv-tab { font: 700 13px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--brand-ink); }
.sv-under { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.sv-pick { fill: var(--brand-soft); stroke: var(--brand-line, var(--brand)); stroke-width: 1; }
.sv-pick-t { font: 700 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--brand-ink); }
.sv-btn { fill: var(--brand); }
.sv-btn-t { font: 700 13px system-ui, -apple-system, "Segoe UI", sans-serif; fill: #fff; }
.sv-hand { fill: var(--ink); stroke: var(--surface-solid, #fff); stroke-width: 1.5; stroke-linejoin: round; }
.sv-drop { fill: color-mix(in srgb, var(--brand) 5%, var(--surface)); stroke: color-mix(in srgb, var(--brand) 45%, transparent); stroke-width: 1.6; stroke-dasharray: 6 5; }
.sv-arrow { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sv-paper { fill: var(--surface-solid, #fff); stroke: var(--line-2, var(--line)); stroke-width: 1.4; stroke-linejoin: round; }
.sv-fold { fill: none; stroke: var(--line-2, var(--line)); stroke-width: 1.4; stroke-linejoin: round; }
.sv-csv { fill: #1e8a4a; }
.sv-csv-t { font: 800 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: #fff; letter-spacing: 0.04em; }
.sv-move { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 3 4; stroke-linecap: round; }

/* What the file would put in: the shop as buyers will see it. */
.s-preview { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); background: var(--surface-solid); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-2); }
.s-preview-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; }
.s-preview-head > div { display: grid; gap: 6px; min-width: 0; }
.s-preview-head .buy { min-height: 52px; padding: 0 26px; font-size: 16.5px; border-radius: 15px; }
.s-preview-eyebrow { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-ink); }
.s-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.s-item { display: grid; align-content: start; gap: 8px; min-width: 0; }
.s-item-pic { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.s-item-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-item-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.s-item-price s { font-size: 13px; font-weight: 500; color: var(--muted); }
.s-item-title { margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }

/* --- Why: three cards --- */
.s-why { display: grid; gap: 22px; }
.s-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-card { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.6vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-1); }
.s-card h3 { margin: 0; font-size: 19px; letter-spacing: -0.025em; font-weight: 660; color: var(--ink); }
.s-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.s-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid var(--brand-line); }
.s-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* --- What you keep --- */
.s-keep { display: grid; gap: 18px; }
.keep { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.keep-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: 15.5px; color: var(--ink-2); }
.keep-field { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.keep-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.keep-table th { padding: 10px 12px; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.keep-table td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-variant-numeric: tabular-nums; }
.keep-table tr.ours td { font-weight: 700; color: var(--brand-ink); background: color-mix(in srgb, var(--brand) 6%, transparent); }

.s-faq { display: grid; gap: 18px; }
/* The closing band: a white button on the brand's blue, and a quiet way to start without a file. */
.s-band-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.s-band-main { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font: inherit; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: #0044bb; background: #fff; border: 0; border-radius: 16px; box-shadow: 0 14px 30px -14px rgba(0, 20, 80, 0.7); cursor: pointer; transition: transform 0.15s ease; }
.s-band-main:hover { transform: translateY(-1px); }
.s-band-main:focus-visible, .s-band-alt:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.75); outline-offset: 3px; }
.sell a.s-band-alt { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; font-size: 16.5px; font-weight: 600; color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 16px; transition: background-color 0.15s ease; }
.sell a.s-band-alt:hover { background: rgba(255, 255, 255, 0.2); }

/* --- Narrower screens --- */
@media (max-width: 1100px) {
  .s-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .s-hero { grid-template-columns: minmax(0, 1fr); }
  .s-cards, .s-how, .s-steps { grid-template-columns: minmax(0, 1fr); }
  .s-step .s-shot { max-width: 420px; }
}
@media (max-width: 620px) {
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-cta { width: 100%; }
  .s-cta .buy, .s-cta .s-ghost { flex: 1 1 100%; justify-content: center; }
  .s-band-go { width: 100%; }
  .s-band-main, .sell a.s-band-alt { flex: 1 1 100%; }
  .s-bubble { max-width: 92%; font-size: 14.5px; }
  .keep-table { font-size: 14px; }
  .keep-table th, .keep-table td { padding: 10px 8px; }
}
