/* hooodl.com/businesses. Builds on creators.css (same design system); this
   file only adds the business-side pieces: type switch, "Who came?" card,
   AI + creators team, five steps, collaborations, findability score. */

/* type switch: only the chosen type's text and photo are shown */
.biz [data-only] { display: none; }
.biz[data-type="local"] span[data-only="local"], .biz[data-type="service"] span[data-only="service"], .biz[data-type="club"] span[data-only="club"] { display: inline; }
.biz[data-type="local"] img[data-only="local"], .biz[data-type="service"] img[data-only="service"], .biz[data-type="club"] img[data-only="club"] { display: block; }

.switch { margin-top: 56px; display: grid; justify-items: center; gap: 14px; }
.sw-lbl { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.sw-btns { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border: 1px solid var(--line2); border-radius: 999px; background: var(--panel); }
.sw-btns button { font: 700 14px/1 var(--body); color: var(--soft); background: transparent; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.sw-btns button:hover { color: var(--paper); }
.sw-btns button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.sw-btns button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.sw-x { margin: 0; color: var(--dim); font-size: 15px; max-width: 52ch; min-height: 3em; }

/* hero "Who came?" card */
.dash .ec-big { margin-bottom: 4px; }
.dash-sub { margin: 0 0 14px; color: #6b675c; font-size: 13px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 400 15px/1 var(--display); color: var(--ink); flex: none; }
.av.a1 { background: var(--yellow); } .av.a2 { background: var(--pink); } .av.a3 { background: var(--blue); }
.av.lg { width: 48px; height: 48px; font-size: 18px; }
.bar-mini { width: 64px; height: 6px; border-radius: 6px; background: #e8e4d8; overflow: hidden; display: block; }
.bar-mini i, .pt-bar i { display: block; height: 100%; border-radius: inherit; }
.bar-mini i { background: var(--ink); }
.w100 { width: 100%; } .w80 { width: 80%; } .w60 { width: 60%; } .w40 { width: 40%; }
.biz .toast .dot .ico { width: 18px; height: 18px; }

/* AI + creators */
.team { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; }
.half { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; min-width: 0; }
.h-ai { border-color: rgba(255,232,26,.35); background: radial-gradient(120% 80% at 0% 0%, rgba(255,232,26,.10), transparent 60%), var(--panel); }
.half-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.half-top b { display: block; font: 400 26px/1.05 var(--display); letter-spacing: -.02em; }
.half-top small { color: var(--dim); font-size: 14px; }
.badge-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); flex: none; overflow: hidden; }
.badge-ico .ico { width: 26px; height: 26px; }
.badge-ico.photo img { width: 100%; height: 100%; object-fit: cover; }
.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.ticklist .ico { width: 18px; height: 18px; color: var(--yellow); margin-top: 2px; }
.ticklist.sm li { padding: 9px 0; font-size: 14px; }
.plus { align-self: center; width: 56px; height: 56px; margin: 0 -14px; z-index: 1; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: 400 28px/1 var(--display); box-shadow: 0 0 0 8px var(--ink), 0 0 40px rgba(255,232,26,.35); }
.equation { margin: 28px 0 0; text-align: center; font: 400 clamp(18px, 2vw, 24px)/1.3 var(--display); letter-spacing: -.01em; color: var(--soft); }

/* five steps */
.steps5 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps5::before { content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 1px; background: linear-gradient(90deg, var(--line2), var(--yellow)); }
.steps5 li { position: relative; min-width: 0; }
.st-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line2); color: var(--yellow); margin-bottom: 20px; }
.st-ico.ai { border-color: rgba(255,232,26,.5); }
.st-ico.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 0 40px rgba(255,232,26,.3); }
.steps5 .n { font: 700 12px/1 var(--body); color: var(--yellow); letter-spacing: .12em; }
.steps5 h3 { font-size: 19px; letter-spacing: -.01em; margin: 10px 0 8px; }
.steps5 p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.55; }

/* collaborations */
.collab { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.collab > * { min-width: 0; }
.col-vis { position: relative; display: grid; gap: 16px; }
.match-card, .draft-card { background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.match-card { padding: 22px; width: 88%; }
.mc-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mc-h div { flex: 1; min-width: 0; } .mc-h b { display: block; font-size: 15px; } .mc-h small { color: #6b675c; font-size: 12.5px; }
.inv { background: var(--yellow); font-weight: 800; font-size: 12.5px; padding: 9px 14px; border-radius: 999px; }
.mc-t { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b675c; }
.match-card .ticklist li, .draft-card .ticklist li { border-top-color: #e8e4d8; }
.match-card .ticklist .ico, .draft-card .ticklist .ico { color: #138a45; }
.draft-card { width: 88%; justify-self: end; display: grid; grid-template-columns: 140px 1fr; overflow: hidden; margin-top: -40px; }
.dc-media { position: relative; } .dc-media img { width: 100%; height: 100%; object-fit: cover; }
.dc-media .ad { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 800; background: var(--ink); color: var(--yellow); padding: 4px 7px; border-radius: 6px; }
.dc-body { padding: 18px; }
.dc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dc-acts span { text-align: center; padding: 10px 6px; border-radius: 999px; border: 1.5px solid #d9d5c6; font-weight: 700; font-size: 12.5px; }
.dc-acts .on { background: var(--yellow); border-color: var(--yellow); }
.col-list { list-style: none; padding: 0; margin: 0; display: grid; }
.col-list li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.col-list li:last-child { border-bottom: 1px solid var(--line); }
.cl-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line2); color: var(--yellow); flex: none; }
.col-list h3 { font-size: 19px; margin: 2px 0 6px; letter-spacing: -.01em; }
.col-list p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }

/* findability */
.found { display: grid; grid-template-columns: 360px 1fr; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.found > * { min-width: 0; }
.score-card { background: var(--card); color: var(--ink); border-radius: 22px; padding: 28px; display: grid; justify-items: center; align-content: center; gap: 12px; }
.score-card .r-lbl { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b675c; }
.ring { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.r-bg { stroke: #e8e4d8; }
.r-fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 91.5; }
.ring b { font: 400 62px/1 var(--display); letter-spacing: -.04em; margin-top: -10px; }
.ring small { position: absolute; bottom: 52px; font-size: 13px; color: #6b675c; font-weight: 700; }
.stage-note.static { position: static; color: #6b675c; opacity: 1; }
.parts { list-style: none; padding: 16px 12px; margin: 0; display: grid; align-content: center; gap: 18px; }
.pt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.pt-fix { font-size: 12px; font-weight: 800; color: var(--ink); background: var(--yellow); padding: 6px 12px; border-radius: 999px; }
.pt-ok { font-size: 12px; font-weight: 800; color: #7fdca5; padding: 6px 0; }
.pt-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.pt-bar i { background: linear-gradient(90deg, var(--yellow), #fff36b); }

/* three types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.type-card { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s var(--ease), transform .3s var(--ease); min-width: 0; }
.type-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.85) brightness(.8); }
.type-card > div { padding: 24px; position: relative; }
.tc-ico { position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line2); color: var(--yellow); }
.type-card h3 { font-size: 22px; letter-spacing: -.02em; margin: 22px 0 8px; }
.type-card p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.biz[data-type="local"] [data-card="local"], .biz[data-type="service"] [data-card="service"], .biz[data-type="club"] [data-card="club"] { border-color: rgba(255,232,26,.5); transform: translateY(-4px); }

/* coming soon */
.soon { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: var(--r-lg); border: 1px dashed var(--line2); background: radial-gradient(80% 120% at 100% 0%, rgba(111,183,255,.08), transparent 60%); }
.soon > * { min-width: 0; }
.soon h2 { margin: 0 0 18px; }
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.soon-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; }
.soon-list .ico { color: var(--blue); width: 24px; height: 24px; }

.fin-link { margin-top: 26px; }
.cr .fin-try { margin-top: 14px; background: transparent; color: var(--paper); border: 2.5px solid var(--paper); }
.cr .fin-try:hover { background: var(--paper); color: var(--ink); }
.fin-try-note { margin: 10px 0 0; font-size: 14px; color: var(--paper); opacity: .8; }

@media (max-width: 1080px) {
  .steps5 { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } .steps5::before { display: none; }
  .collab { grid-template-columns: 1fr; }
  .found { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .team { grid-template-columns: 1fr; } .plus { margin: -14px auto; }
  .types { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 600px) {
  .switch { margin-top: 40px; width: 100%; }
  .sw-btns { border-radius: 24px; width: 100%; }
  .sw-btns button { flex: 1 1 100%; }
  .half { padding: 24px; }
  .steps5 { grid-template-columns: 1fr; }
  .match-card, .draft-card { width: 100%; }
  .draft-card { margin-top: 0; grid-template-columns: 110px 1fr; }
  .soon { padding: 24px; }
}

/* refinements */
.biz .dash { width: 360px; }
.biz .dash .ec-big { font-size: 28px; white-space: nowrap; }
.biz .toast { max-width: 290px; }
.biz .t1 { left: 3%; top: 9%; }
.biz .t2 { right: 3%; }
.biz .stat b { font-size: clamp(32px, 3.6vw, 50px); }
@media (max-width: 1080px) { .biz .toast { max-width: 240px; } }
@media (max-width: 600px) {
  .biz .dash { width: min(340px, calc(100% - 16px)); }
  .biz .dash .ec-big { font-size: 24px; }
  .biz .t1 { left: 12px; right: 12px; top: 12px; max-width: none; }
  .steps5 li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .steps5 .st-ico { width: 52px; height: 52px; margin: 0; grid-row: span 3; }
  .steps5 .n { align-self: end; }
  .steps5 h3 { margin-top: 6px; }
}
