/* startups.workmade.com/investors. The house look from /mobile and /operators (components/operators/house.ts):
   a dotted label, a two-tone medium title, #f6f6f5 panels each holding one white card, left aligned.
   Every class is prefixed iv- so nothing collides with site.css. Shared tokens come from site.css. */
.iv-page { color-scheme: light; --scene: #f6f6f5; --card: 0 2px 4px rgba(22,20,26,.02), 0 14px 38px -24px rgba(23,18,26,.24);
  --green: #1f8a4c; --green-bg: #e9f7ee; --ease: cubic-bezier(.16,1,.3,1); }
.iv-page main { padding-top: 60px; }
.iv-page main [id] { scroll-margin-top: 70px; }
.iv-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.iv-sec { padding-block: 72px; }

.iv-label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink2); }
.iv-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.iv-h2 { margin: 14px 0 0; font-weight: 500; font-size: clamp(34px, 3.1vw, 50px); letter-spacing: -.054em; line-height: 1.06; text-wrap: balance; max-width: 30ch; }
.iv-h2 span { display: block; color: var(--muted); }
.iv-link { font-size: 15px; font-weight: 500; }
.iv-link:hover { opacity: .6; }

/* ---- hero ---- */
.iv-hero { position: relative; text-align: center; padding: 88px 0 0; overflow: hidden; }
.iv-hero::after { content: ""; position: absolute; left: 50%; bottom: -200px; width: 1100px; height: 640px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(96,165,255,.28), transparent 72%); filter: blur(30px); }
.iv-hero-in { padding: 0 20px; }
.iv-hero h1 { margin-top: 12px; font-size: clamp(44px, 5.6vw, 84px); line-height: 1.04; font-weight: 500; letter-spacing: -.054em; }
.iv-hero h1 em { display: block; font-style: normal; color: var(--muted); }
.iv-cta { margin-top: 28px; display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.iv-fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.iv-hero-stage { position: relative; max-width: 1180px; margin: 56px auto 0; padding: 0 var(--pad); }
.iv-hero-frame { border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(10,10,11,.06), 0 30px 80px -40px rgba(10,10,11,.35); }

/* the notes either side of the screen: what lands on a partner's desk, and what WorkMade did */
.iv-notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.iv-toast { position: absolute; width: 300px; text-align: left; padding: 14px 16px 15px; border-radius: 14px; background: #fff; box-shadow: var(--card), 0 0 0 1px rgba(10,10,11,.04);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.iv-toast.l { left: -40px; top: 70px; }
.iv-toast.r { right: -40px; top: 190px; }
.iv-toast.on { opacity: 1; transform: none; }
.iv-toast-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.iv-toast-top img, .iv-mk { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.iv-mk { display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; font-weight: 600; }
.iv-toast-top time { margin-left: auto; }
.iv-toast b { display: block; margin-top: 7px; font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.iv-toast p { font-size: 14.5px; line-height: 1.4; color: var(--muted); }

/* ---- a frame of the real product, drawn at its own size and scaled to fit ---- */
.iv-frame { position: relative; overflow: hidden; background: #f5f5f3; }
.iv-frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #f5f5f3; }
.iv-hero-frame iframe { pointer-events: none; }

/* ---- where the numbers come from ---- */
.iv-flow { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 34px); }
.iv-flow-step { background: var(--scene); border-radius: 8px; padding: 22px; position: relative; }
.iv-flow-step + .iv-flow-step::before { content: ""; position: absolute; left: calc(-1 * clamp(18px, 2.3vw, 34px) / 2 - 5px); top: 50%; width: 10px; height: 10px; border-top: 1.5px solid #b5b5b3; border-right: 1.5px solid #b5b5b3; transform: translateY(-50%) rotate(45deg); }
.iv-flow-step > small { font-size: 13px; color: var(--muted); }
.iv-flow-step > p { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.iv-flow-card { margin-top: 12px; }

/* ---- the shared card and rows ---- */
.iv-card { width: 100%; background: #fff; border-radius: 14px; box-shadow: var(--card); text-align: left; overflow: hidden; }
.iv-row { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14.5px; }
.iv-row + .iv-row { border-top: 1px solid var(--line); }
.iv-row > span:not([class]) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iv-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.iv-row em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: auto; }
.iv-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; flex: none; }
.iv-co { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; color: #fff; font-size: 11px; font-weight: 600; }
.iv-co.h { background: #1f4e79; } .iv-co.o { background: #6b4fbb; } .iv-co.q { background: #8a8a87; }
.iv-gl { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1.6px solid #9a9a9a; position: relative; display: inline-block; }
.iv-gl.done { background: var(--green); border-color: var(--green); }
.iv-gl.done::after { content: ""; position: absolute; left: 3.5px; top: 1.6px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.iv-gl.look { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 2.5px, transparent 3px); }
.iv-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11.5px; font-weight: 600; color: var(--ink2); background: #ececeb; }

/* ---- watch it work: the list on the left moves the real screen on the right ---- */
.iv-watch { background: #fafaf9; border-block: 1px solid var(--line); }
.iv-watch-pin { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding-block: 64px; }
.iv-watch.pinned { height: 420svh; position: relative; }
.iv-watch.pinned .iv-watch-pin { position: sticky; top: 60px; min-height: calc(100svh - 60px); padding-block: 28px; }
.iv-beats { margin-top: 24px; list-style: none; border-top: 1px solid var(--line2); }
.iv-beats li { border-bottom: 1px solid var(--line2); }
.iv-beats button { position: relative; display: block; width: 100%; text-align: left; padding: 11px 4px 11px 18px; color: var(--muted); }
.iv-beats button::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: #d7d7d4; transition: background .3s; }
.iv-beats b { display: block; font-size: 15px; font-weight: 500; transition: color .3s; }
.iv-beats span { display: block; max-height: 0; overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--ink2); opacity: 0; transition: max-height .45s var(--ease), opacity .3s, margin .45s var(--ease); }
.iv-beats i { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--ink); }
.iv-beats button[aria-pressed=true] b { color: var(--ink); }
.iv-beats button[aria-pressed=true]::before { background: var(--signal); }
.iv-beats button[aria-pressed=true] span { max-height: 80px; opacity: 1; margin-top: 4px; }
.iv-watch-stage { background: var(--scene); border-radius: 8px; padding: 18px; }
.iv-watch-frame { border-radius: 10px; box-shadow: var(--card); }

/* ---- the feature grid ---- */
.iv-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 34px); row-gap: 48px; }
.iv-scene { display: grid; place-items: center; aspect-ratio: 1.36; background: var(--scene); border-radius: 8px; overflow: hidden; padding: 22px; }
.iv-scene .iv-card { max-width: 340px; }
.iv-scene.tall { aspect-ratio: 1.6; }
.iv-tile h3 { margin: 18px 0 6px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.25; letter-spacing: -.033em; font-weight: 500; }
.iv-tile > p { color: var(--muted); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.iv-card > small { display: block; padding: 13px 16px 0; font-size: 12.5px; color: var(--muted); }

.iv-big { display: block; padding: 2px 16px 12px; font-size: 40px; font-weight: 500; letter-spacing: -.054em; line-height: 1.05; }

.iv-search-box { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.iv-k { font-size: 11.5px; padding: 2px 6px; border-radius: 6px; background: var(--scene); color: var(--muted); }
.iv-typed { border-right: 1.5px solid var(--ink); padding-right: 2px; white-space: nowrap; overflow: hidden; }
.iv-answer { padding: 12px 16px 4px; display: flex; align-items: baseline; gap: 8px; }
.iv-answer b { font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.iv-answer span { font-size: 13px; color: var(--muted); }
.iv-search .iv-row { border-top: 0; }

.iv-doc { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.iv-pdf { font-size: 10px; font-weight: 600; color: #fff; background: #c4483b; border-radius: 4px; padding: 2px 5px; }
.iv-quote { padding: 14px 16px; font-size: 15.5px; line-height: 1.45; letter-spacing: -.01em; }
.iv-quote mark { background: #ece9fb; color: var(--ink); border-radius: 3px; padding: 0 2px; }
.iv-warn { background: #fafaf9; }

.iv-mail > .iv-row { border-bottom: 1px solid var(--line); }
.iv-mail > .iv-row span b, .iv-mail > .iv-row span small { display: block; line-height: 1.3; }
.iv-mail > .iv-row span small { font-size: 12.5px; color: var(--muted); }
.iv-mail > p { padding: 12px 16px; font-size: 14.5px; color: var(--ink2); }
.iv-filed { margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; background: var(--scene); display: grid; grid-template-columns: 14px 1fr; column-gap: 9px; align-items: center; font-size: 14px; }
.iv-filed b { font-weight: 500; }
.iv-filed small { grid-column: 2; font-size: 12.5px; color: var(--muted); }

.iv-ask { margin: 14px 14px 4px auto; width: fit-content; max-width: 88%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; font-size: 14px; }
.iv-brief ol { list-style: none; counter-reset: b; padding: 8px 16px 14px; display: grid; gap: 9px; }
.iv-brief li { counter-increment: b; display: grid; grid-template-columns: 22px 1fr; font-size: 14px; line-height: 1.35; }
.iv-brief li::before { content: counter(b); grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; background: var(--scene); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink2); margin-top: 1px; }
.iv-brief li b { font-weight: 500; }
.iv-brief li span { color: var(--muted); font-size: 13px; }

.iv-bench { padding-bottom: 8px; }
.iv-strip { display: grid; grid-template-columns: 104px 1fr 38px; gap: 10px; align-items: center; padding: 10px 16px 4px; font-size: 13px; color: var(--ink2); }
.iv-strip b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.iv-bar { position: relative; height: 18px; }
.iv-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 8.5px; height: 1px; background: var(--line2); }
.iv-bar .band { position: absolute; top: 5px; height: 8px; border-radius: 4px; background: #e6e6e4; }
.iv-bar .med { position: absolute; top: 2px; width: 1.5px; height: 14px; background: #9b9b9b; }
.iv-bar .dot { position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; }

.iv-lps .iv-row em { padding: 3px 9px; border-radius: 8px; background: var(--scene); }
.iv-lps .iv-row em.on { background: var(--ink); color: #fff; }

.iv-faces { display: flex; padding: 14px 16px 10px; }
.iv-faces .iv-av { width: 34px; height: 34px; box-shadow: 0 0 0 2px #fff; color: #fff; }
.iv-faces .iv-av + .iv-av { margin-left: -8px; }
.iv-av.a { background: #3c6e71; } .iv-av.b { background: #6b4fbb; } .iv-av.c { background: #b86b3a; }
.iv-here .iv-row { border-top: 1px solid var(--line); }
.iv-follow { margin-left: auto; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--scene); }

.iv-code-top { display: flex; gap: 9px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 13px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.iv-verb { font-size: 10.5px; padding: 3px 6px; border-radius: 5px; background: var(--green-bg); color: var(--green); }
.iv-code pre { margin: 0; padding: 12px 16px 14px; font: 12.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink2); white-space: pre; overflow: hidden; }
.iv-code pre .c { color: var(--muted); }

/* ---- founders ---- */
.iv-pair { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 34px); }
.iv-pair .iv-scene .iv-card { max-width: 380px; }
.iv-invite-top { display: flex; gap: 11px; align-items: center; padding: 16px 16px 4px; }
.iv-invite-top img { border-radius: 8px; flex: none; }
.iv-invite-top b, .iv-invite-top small { display: block; line-height: 1.3; }
.iv-invite-top b { font-weight: 500; font-size: 15px; }
.iv-invite-top small { font-size: 12.5px; color: var(--muted); }
.iv-invite > p { padding: 10px 16px 0; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.iv-pillbtn { display: inline-flex; margin: 14px 16px 16px; height: 34px; padding: 0 16px; align-items: center; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.iv-sw { width: 36px; height: 22px; border-radius: 999px; background: #d9d9d7; position: relative; flex: none; }
.iv-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .3s var(--ease); }
.iv-sw.on { background: var(--ink); }
.iv-sw.on::after { transform: translateX(14px); }

/* ---- compare ---- */
.iv-compare { margin-top: 28px; background: var(--scene); border-radius: 8px; padding: 8px 20px; }
.iv-crow { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 15px 0; font-size: 15.5px; }
.iv-crow + .iv-crow { border-top: 1px solid #e9e9e7; }
.iv-crow.head { font-size: 13px; color: var(--muted); padding-block: 12px; }
.iv-crow > span:first-child { color: var(--ink2); }
.iv-crow .old { color: #a3a3a3; }
.iv-crow .now { font-weight: 500; }

/* ---- specs and questions: cards on a panel, like everything else ---- */
.iv-specs { margin-top: 28px; background: var(--scene); border-radius: 8px; padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.iv-spec { background: #fff; border-radius: 14px; box-shadow: var(--card); padding: 18px 20px; }
.iv-spec.wide { grid-column: 1 / -1; }
.iv-spec small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.iv-spec b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -.015em; }
.iv-spec span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.iv-faq { margin-top: 28px; background: var(--scene); border-radius: 8px; padding: 12px; display: grid; gap: 8px; }
.iv-faq details { background: #fff; border-radius: 14px; box-shadow: var(--card); padding: 0 20px; }
.iv-faq summary { padding: 18px 0; font-size: 17px; font-weight: 500; letter-spacing: -.03em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.iv-faq summary::-webkit-details-marker { display: none; }
.iv-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform .3s var(--ease); }
.iv-faq details[open] summary::after { transform: rotate(45deg); }
.iv-faq details p { padding-bottom: 20px; font-size: 15px; line-height: 1.55; color: var(--ink2); max-width: 68ch; }

/* ---- smaller screens ---- */
@media (max-width: 1280px) { .iv-toast.l { left: 8px; } .iv-toast.r { right: 8px; } .iv-toast { width: 270px; } }
@media (max-width: 1023px) {
  .iv-notes { display: none; }
  .iv-watch-pin { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .iv-watch-pin > * { min-width: 0; }
  .iv-beats { display: flex; gap: 6px; overflow-x: auto; border: 0; scrollbar-width: none; margin-top: 16px; }
  .iv-beats li { border: 0; flex: none; }
  .iv-beats button { padding: 0 12px; height: 34px; border-radius: 8px; background: var(--scene); }
  .iv-beats button::before, .iv-beats span, .iv-beats i { display: none; }
  .iv-beats b { font-size: 14px; }
  .iv-beats button[aria-pressed=true] { background: var(--ink); }
  .iv-beats button[aria-pressed=true] b { color: #fff; }
  .iv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) { .iv-flow { grid-template-columns: 1fr; } .iv-flow-step + .iv-flow-step::before { display: none; } .iv-pair { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .iv-sec { padding-block: 54px; }
  .iv-hero { padding-top: 56px; }
  .iv-hero-stage { margin-top: 36px; padding: 0 12px; }
  .iv-grid { grid-template-columns: 1fr; row-gap: 36px; }
  .iv-scene { aspect-ratio: auto; min-height: 240px; }
  .iv-crow { grid-template-columns: 1fr 1fr; font-size: 14.5px; }
  .iv-crow > span:first-child { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
  .iv-crow.head > span:first-child { display: none; }
  .iv-specs { grid-template-columns: 1fr; }
  .iv-watch-stage { padding: 10px; }
}
.iv-watch-caption { display: none; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink2); min-height: 3em; }
@media (prefers-reduced-motion: reduce) {
  .iv-toast { opacity: 1; transform: none; transition: none; }
  .iv-page main *, .iv-page main *::before, .iv-page main *::after { transition: none !important; animation: none !important; }
}
@media (max-width: 1023px) { .iv-watch-caption { display: block; } }
