/* Homepage layout: short copy, real visuals, one left edge. Loaded last, homepage only. */

/* Every section head is heading-first and starts on the same left edge. */
.seller-page main :is(#value,#apply,#how,#business-fit,#protect,#buy-and-refer,#faq) .sec-head{display:block;text-align:left;max-width:none;margin:0 0 36px}
.seller-page main :is(#value,#apply,#how,#business-fit,#protect,#buy-and-refer,#faq) .sec-head h2{max-width:22ch;margin:0}
.seller-page main #how .sec-head h2{max-width:30ch}

/* Hero: copy on the left, a product visual on the right. */
.hero-art{display:none}
@media(min-width:901px){
  .seller-page main>.exchange-hero.hero{text-align:left}
  .seller-page main .hero-copy{margin:0;max-width:680px}
  .seller-page main .hero p{margin-left:0;margin-right:0}
  .seller-page main .hero .actions{justify-content:flex-start}
}
@media(min-width:1024px){
  .seller-page main>.exchange-hero.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:40px;align-items:center;padding-top:56px;padding-bottom:72px}
  .seller-page main .hero-copy{max-width:none}
  .hero-art{display:block;position:relative;isolation:isolate;padding:32px 32px 0}
  /* A soft panel behind the cards, so the visual reads against the page colour. */
  .hero-art::before{content:"";position:absolute;inset:0 0 24px 0;z-index:-1;border-radius:32px;background:var(--soft-green)}
}
.ha-card{border-radius:20px;box-shadow:0 30px 60px -24px rgba(20,63,50,.32),0 2px 6px rgba(20,63,50,.06)}
.ha-sources{position:relative;margin:0 0 0 40px;padding:22px 24px 52px;background:#fff;border:1px solid var(--line2)}
.ha-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;font-size:14px;font-weight:500;color:var(--muted)}
.ha-pill{padding:4px 11px;border-radius:999px;background:var(--soft-green);color:var(--deep-green);font-size:12px;font-weight:600}
.ha-row{display:flex;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line2);font-size:17px;color:var(--ink)}
.ha-head+.ha-row{border-top:0}
.ha-row img{flex:none;width:32px;height:32px;object-fit:contain}
.ha-row i{margin-left:auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--deep-green);color:var(--bg);font-style:normal;font-size:13px}
.ha-row i::before{content:"\2713"}
/* The payment card sits on the panel padding and overlaps the records card's bottom-left corner. */
.ha-pay{position:relative;z-index:1;margin:-40px 0 0;display:flex;align-items:center;gap:14px;width:300px;padding:20px 22px;background:var(--deep-green);color:var(--bg)}
.ha-coin{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:rgba(234,244,239,.14);color:var(--soft-green)}
.ha-k{display:block;font-size:13px;color:var(--soft-green)}
.ha-pay strong{display:block;font-size:22px;font-weight:500;letter-spacing:-.02em;line-height:1.25}
@media(prefers-reduced-motion:no-preference){
  .ha-pay{animation:ha-float 6s ease-in-out infinite}
  @keyframes ha-float{50%{transform:translateY(-6px)}}
}

/* Estimate form, with a "what happens next" card that stays in view beside it. */
.apply-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);gap:24px;align-items:start}
#apply .apply-layout>.panel{padding:32px;border-radius:20px}
#apply .fine{text-align:left}
#referred-by-field label .hint{display:inline;margin:0 0 0 6px}
.seller-page select:has(>option[value=""]:checked){color:var(--muted)}
.seller-page select option{color:var(--ink)}
/* Both columns end level: the dark card grows to fill whatever the form needs. */
#apply .apply-layout{align-items:stretch}
.apply-side{display:flex;flex-direction:column;gap:16px}
.next-steps{display:flex;flex-direction:column;flex:1 1 auto;border-radius:20px;padding:32px}
/* A preview of the email they get, showing their own number. */
.mail-preview{position:relative;padding:22px 24px 24px;background:#fff;border:1px solid var(--line2);border-radius:20px;box-shadow:0 24px 48px -28px rgba(20,63,50,.35)}
.mp-top{display:flex;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line2)}
.mp-top b{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.mp-top div>span{display:block;font-size:14px;color:var(--muted)}
.mp-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--deep-green);color:var(--bg);font-weight:600}
.mp-k{display:block;font-size:13px;color:var(--muted)}
.mp-range{display:block;margin:4px 0 18px;font-size:32px;font-weight:500;line-height:1.15;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.mp-btn{display:inline-flex;align-items:center;min-height:40px;padding:8px 18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:14px;font-weight:500}
.next-steps ol{list-style:none;margin:20px 0 24px;padding:0;display:flex;flex-direction:column;justify-content:space-evenly;gap:22px;flex:1 1 auto}
.next-steps li{display:flex;align-items:center;gap:14px;font-size:18px;line-height:1.35;color:#fff}
.next-steps li b{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(234,244,239,.14);color:var(--soft-green);font-size:15px;font-weight:600}
.next-steps .aside-free{margin:auto 0 0;padding-top:24px;border-top:1px solid rgba(234,244,239,.18);font-size:15px;color:#c2d1c8}

/* How it works: an icon on every step. */
.step-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff;color:var(--deep-green);margin-bottom:20px}
.licensing-steps li:last-child .step-icon{background:var(--soft-green);color:var(--deep-green)}

/* Why AI labs pay: one stat and the records as logos. */
.why-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:center}
.why-copy h2{margin:0;max-width:14ch}
.why-stat{display:flex;align-items:center;gap:18px;margin:28px 0 0}
.why-stat strong{font-size:88px;line-height:1;font-weight:500;letter-spacing:-.05em;color:var(--deep-green);white-space:nowrap}
.why-stat span{max-width:13ch;font-size:18px;line-height:1.35;color:var(--muted)}
.record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.record-tile{display:flex;align-items:center;gap:16px;min-height:76px;padding:16px 20px;background:#fff;border:1px solid var(--line2);border-radius:16px}
.record-logos{display:flex;flex:none}
.record-logos img{width:40px;height:40px;padding:8px;border-radius:12px;background:var(--bg);border:2px solid #fff;object-fit:contain}
.record-logos img+img{margin-left:-10px}
.record-tile h3{margin:0;font-size:16px;font-weight:500;line-height:1.3;letter-spacing:-.015em}

/* Industries: icon plus one word, one button. */
.seller-page #business-fit .business-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}
.seller-page #business-fit .business-card{display:flex;align-items:center;min-height:68px;padding:14px 16px}
.seller-page #business-fit .business-card .card-heading{min-height:0;margin:0;gap:12px;align-items:center}
.seller-page #business-fit .business-card h3{font-size:16px;line-height:1.3}
.fit-cta{margin-top:28px}

/* Protection: four icon tiles. */
.protect-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.protect-item{padding:24px;border-radius:16px;background:#fff;border:1px solid var(--line2)}
.p-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--soft-green);color:var(--deep-green);margin-bottom:18px}
.protect-item h3{margin:0 0 6px;font-size:18px;font-weight:500;line-height:1.3;letter-spacing:-.02em}
.protect-item p{margin:0;font-size:15px;line-height:1.5;color:var(--muted);text-wrap:balance}

/* Buy and refer: same shape on both cards. */
.path-visual{display:flex;align-items:center;min-height:150px}
.path-visual span{display:grid;place-items:center;width:84px;height:84px;border-radius:22px;background:var(--soft-green);color:var(--deep-green)}

/* FAQ: heading left, questions right. */
@media(min-width:901px){
  .faq-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);column-gap:64px;align-items:start}
  .seller-page main #faq .faq-split>.sec-head{margin:0}
}

@media(max-width:1100px){
  .seller-page #business-fit .business-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .protect-items{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .apply-layout{grid-template-columns:minmax(0,1fr);gap:14px}
  #apply .apply-layout>.panel{padding:20px}
  .apply-side{position:static}
  .next-steps{padding:24px}
  .mail-preview{display:none}
  /* Phones: hero, calculator, then the form straight after it. */
  .seller-page main>#apply{order:-1}
  .seller-page main>.logoband{order:0}
  .seller-page main :is(#value,#apply,#how,#business-fit,#protect,#buy-and-refer,#faq) .sec-head{margin-bottom:24px}
  .why-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .why-stat strong{font-size:64px}
  .record-grid{gap:10px}
  .record-tile{flex-direction:column;align-items:flex-start;gap:12px;min-height:0;padding:16px}
  .seller-page #business-fit .business-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
  .seller-page #business-fit .business-card{min-height:58px;padding:12px}
  .seller-page #business-fit .business-card h3{font-size:15px}
  .fit-cta .btn{width:100%;justify-content:space-between}
  .protect-items{gap:10px}
  .protect-item{padding:18px}
  .protect-item h3{font-size:16px}
  .protect-item p{font-size:14px}
  .next-steps li{font-size:16px}
  .path-visual{min-height:120px}
}
@media(max-width:359px){
  .protect-items,.record-grid{grid-template-columns:minmax(0,1fr)}
}
