/* startups.workmade.com/integrations and /startups/integrations/<slug>. Pages are built by integrations.py. */
.int { max-width: 1160px; margin: 0 auto; padding: clamp(104px, 12vw, 150px) var(--pad) 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- a tool's logo: always a circle the mark fills ---- */
.im { --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(10,10,11,.07), 0 1px 2px rgba(10,10,11,.05); }
.im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im.pad img { object-fit: contain; padding: 16%; }
.im.sm { --s: 28px; }
.im.xl { --s: 64px; box-shadow: 0 0 0 1px rgba(10,10,11,.07), 0 6px 18px -6px rgba(10,10,11,.18); }
.im-glyph { font-weight: 600; font-size: calc(var(--s) * .36); letter-spacing: -.04em; color: var(--ink); background: #f0f0f0; }

/* ---- state pills ---- */
.ist { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: #f0f0f0; color: var(--muted); }
.ist::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b5b5b5; }
.ist-live { background: #eefaf3; color: #13774a; }
.ist-live::before { background: #18aa69; }
.ist-rolling { background: #f1effd; color: #4b3fc0; }
.ist-rolling::before { background: var(--signal); }

/* ================= the directory ================= */
.im.md { --s: 44px; }
.ico { width: 18px; height: 18px; flex: none; }

/* The hero fills the screen and runs up behind the menu; the menu sits inside it. */
body.int-dir .nav:not(.solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ihero { position: relative; min-height: max(640px, min(100svh, 940px)); margin: 0 10px; border-radius: 0 0 18px 18px; background: #f6f6f5; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 110px 20px 90px; }
.ihero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 40% 36% at 50% 52%, #f6f6f5 30%, rgba(246,246,245,0) 100%); }
.ihero-c { position: relative; z-index: 3; width: min(720px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.ihero h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.054em; font-weight: 500; margin: 16px 0 20px; }
.ihero h1 .dim { display: block; }
.ihero .lede { max-width: 46ch; }

.istage { position: absolute; inset: 0; z-index: 0; }
.ipill { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; letter-spacing: -.012em; color: var(--ink); white-space: nowrap; box-shadow: 0 0 0 1px rgba(10,10,11,.05), 0 10px 26px -12px rgba(10,10,11,.25); transform: translate(-50%, -50%); transition: opacity .6s var(--out), filter .6s var(--out), box-shadow .4s var(--out); will-change: transform; }
.ipill.z0 { opacity: .62; font-size: 14px; }
.ipill.z1 { opacity: .9; }
.ipill.z2 { font-size: 16px; box-shadow: 0 0 0 1px rgba(10,10,11,.05), 0 18px 36px -14px rgba(10,10,11,.32); }
.ipill.z0 .im { --s: 26px; }
.ipill.z2 .im { --s: 34px; }
.ipill:hover { opacity: 1; filter: none; z-index: 4; box-shadow: 0 0 0 1px rgba(10,10,11,.1), 0 20px 40px -14px rgba(10,10,11,.35); }
.istage.q .ipill { opacity: .14; filter: grayscale(1); }
.istage.q .ipill.hit { opacity: 1; filter: none; z-index: 4; box-shadow: 0 0 0 1.5px var(--ink), 0 18px 38px -12px rgba(10,10,11,.35); }
/* Before the script takes over (or without it), the pills drift on their own. */
@media (prefers-reduced-motion: no-preference) {
  .istage:not(.live) .ipill { animation: ipill-drift 22s ease-in-out calc(var(--i) * -1.7s) infinite alternate; }
}
@keyframes ipill-drift { 0% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 14px), calc(-50% - 12px)); } 100% { transform: translate(calc(-50% - 10px), calc(-50% + 12px)); } }

.isearch { position: relative; z-index: 5; width: min(600px, 100%); margin-top: 34px; display: flex; align-items: center; height: 62px; padding: 0 14px 0 22px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(10,10,11,.07), 0 22px 50px -18px rgba(10,10,11,.3); transition: box-shadow .3s var(--out), border-radius .2s; text-align: left; }
.isearch:focus-within { box-shadow: 0 0 0 1.5px var(--ink), 0 26px 56px -18px rgba(10,10,11,.34); }
.isearch-ico { width: 18px; height: 18px; flex: none; border: 2px solid var(--ink); border-radius: 50%; position: relative; margin-right: 14px; transform: translateY(-1px); }
.isearch-ico::after { content: ""; position: absolute; width: 2px; height: 7px; background: var(--ink); border-radius: 2px; right: -4px; bottom: -6px; transform: rotate(-45deg); }
.isearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; letter-spacing: -.015em; color: var(--ink); }
.isearch input::placeholder { color: #8a8a8a; }
.isearch input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.isearch kbd { font: 500 12px/1 var(--sans); color: var(--muted); border: 1px solid var(--line2); border-radius: 6px; padding: 5px 8px; }
.isugs { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 8px; padding: 14px 8px 8px; box-shadow: 0 0 0 1px var(--line), 0 2px 4px rgba(22,20,26,.02), 0 24px 48px -28px rgba(23,18,26,.3); max-height: 380px; overflow-y: auto; text-align: left; }
.isugs .mm-l { margin-bottom: 6px; }
.isugs[hidden] { display: none; }
.isug { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; transition: background .2s; }
.isug b { font-size: 15.5px; font-weight: 500; letter-spacing: -.02em; }
.isug small { font-size: 13.5px; color: var(--muted); }
.isug[hidden] { display: none; }
.isug.on, .isug:hover { background: #f6f6f5; }
.isug-ask b span { font-weight: 500; }


/* Below the hero: categories on the left, square cards on the right. */
.int-dir .int { padding-top: clamp(56px, 7vw, 96px); }
.ibody { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.iside { position: sticky; top: 92px; display: grid; gap: 2px; }
.iside p { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 12px; }
.iside-a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink2); transition: background .2s, color .2s; }
.iside-a i { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.iside-a:hover { background: #f6f6f5; color: var(--ink); }
.iside-a.on { background: #f0f0ef; color: var(--ink); }
.imain { min-width: 0; }
.icount { min-height: 0; margin: 0; font-size: 13px; color: var(--muted); }
.icount:not(:empty) { margin-bottom: 18px; }
.iband { scroll-margin-top: 92px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.iband:last-child { border-bottom: 0; margin-bottom: 0; }
.iband-h h2 { font-size: 22px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.iband-h p { font-size: 15.5px; color: var(--ink2); margin: 4px 0 20px; }
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.icard { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 196px; padding: 20px 20px 22px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s var(--out), transform .3s var(--out); }
.icard .im { transition: transform .4s var(--out); }
.icard b { margin-top: auto; padding-top: 26px; font-size: 16.5px; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.icard small { margin-top: 5px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.icard-go { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; border-radius: 50%; background: #f4f4f3 center / 13px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 10L10 4M5 4h5v5' fill='none' stroke='%230a0a0b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .35s var(--out); }
.icard:hover { box-shadow: 0 0 0 1px var(--line2), 0 18px 36px -18px rgba(10,10,11,.28); transform: translateY(-2px); }
.icard:hover .im { transform: scale(1.07); }
.icard:hover .icard-go { opacity: 1; transform: none; }
.icard[hidden], .iband[hidden] { display: none; }
.iempty { padding: 48px 24px; border-radius: 14px; background: #f6f6f5; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.iempty p { font-size: 17px; letter-spacing: -.015em; }
.iempty[hidden] { display: none; }
@media (max-width: 1100px) { .igrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- "Don't see your tool?": a card in the Featured stack that opens into a form ---- */
.ireq { padding: 0; background: #f6f6f5; box-shadow: none; scroll-margin-top: 110px; }
.ireq:hover { box-shadow: 0 0 0 1px var(--line2); }
.ireq-face { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 100%; min-height: inherit; padding: 20px 20px 22px; border-radius: inherit; }
.ireq-face:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ireq-face b { margin-top: auto; padding-top: 26px; font-size: 16.5px; font-weight: 500; letter-spacing: -.02em; }
.ireq-face small { margin-top: 5px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.ireq:hover .icard-go { opacity: 1; transform: none; background-color: #fff; }
.ireq-plus { background: var(--ink); box-shadow: none; }
.ireq-plus::before, .ireq-plus::after { content: ""; position: absolute; width: 14px; height: 1.8px; border-radius: 2px; background: #fff; }
.ireq-plus::after { transform: rotate(90deg); }
.ireq-done::before { width: 7px; transform: translate(-3px, 2px) rotate(45deg); }
.ireq-done::after { width: 13px; transform: translate(3px, 0) rotate(-50deg); }
.im { position: relative; }
.isug .ireq-plus::before, .isug .ireq-plus::after { width: 10px; }
.ireq-form { display: flex; flex-direction: column; gap: 8px; padding: 18px; width: 100%; }
.ireq-form[hidden], .ireq-face[hidden] { display: none; }
.ireq-form > b { font-size: 16px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 4px; }
.ireq-form input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); border: 0; border-radius: 10px; background: #fff; padding: 10px 12px; outline: 0; box-shadow: 0 0 0 1px var(--line2); transition: box-shadow .2s; }
.ireq-form input:focus { box-shadow: 0 0 0 1.5px var(--ink); }
.ireq-form .btn { align-self: flex-start; margin-top: 4px; }
.ireq-tool { position: relative; display: block; }
.ireq-tool .ireq-mark { position: absolute; left: 8px; top: 50%; transform: translateY(-50%) scale(.6); opacity: 0; transition: opacity .25s, transform .3s var(--out); }
.ireq-tool.has-mark .ireq-mark { opacity: 1; transform: translateY(-50%); }
.ireq-tool.has-mark input { padding-left: 42px; }
.ireq-status { font-size: 13px; color: var(--ink2); }
.ireq-status:empty { display: none; }
.ireq.sent { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 22px; }
.ireq.sent b { margin-top: auto; padding-top: 26px; font-size: 16.5px; font-weight: 500; letter-spacing: -.02em; }
.ireq.sent small { margin-top: 5px; font-size: 14.5px; color: var(--ink2); }

.ifaq { margin-top: clamp(80px, 9vw, 130px); max-width: 860px; }
.ifaq h2 { margin-bottom: 28px; }

/* ================= one tool's page ================= */
.icrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.icrumb a:hover { color: var(--ink); }
.icrumb [aria-current] { color: var(--ink); }
.idet-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 482px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.idet-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 56px; padding: 32px 28px 40px; min-width: 0; }
.idet-pitch { width: min(100%, 410px); }
.idet-label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.idet-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.idet-intro h1 { font-size: clamp(38px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.054em; line-height: 1.06; margin: 18px 0 16px; }
.idet-copy { font-size: 17px; line-height: 1.5; color: var(--muted); }
.idet-demo { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line2), 0 1px 2px rgba(10,10,11,.04); }
.idet-demo:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.idet-demo input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 9px 14px; color: var(--ink); }
.idet-demo input[name="website"] { flex-basis: 100%; order: 2; border-top: 1px solid var(--line); }
.idet-demo button { border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); padding: 0 18px; min-height: 42px; cursor: pointer; white-space: nowrap; }
.idet-demo button:hover { opacity: .88; }
.idet-demo.website { border-radius: 18px; }
.idet-status:not(:empty) { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.idet-scene { display: grid; place-items: center; background: #eef0f4 url('/startups/art/integration-paper.webp') center / cover; box-shadow: -1px 0 0 var(--line); }
.idet-card { position: relative; width: 78%; max-width: 440px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(10,10,11,.06), 0 20px 44px -24px rgba(10,10,11,.35); }
.idet-card-h, .idet-card-row { display: flex; align-items: center; gap: 12px; padding: 15px 20px; }
.idet-card-h { font-size: 17px; font-weight: 500; letter-spacing: -.02em; min-height: 68px; }
.idet-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: #515777; box-shadow: 0 0 0 1px var(--line2); }
.idet-card-row { border-top: 1px solid var(--line); background: #fafafa; font-size: 15px; font-weight: 500; min-height: 70px; }
.idet-card-row .im { --s: 38px; }
.idet-state { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line2); font-size: 12px; font-weight: 500; color: var(--ink2); }
.idet-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #18aa69; }
.idet-card[data-preview="planned"] .idet-state::before { background: #b5b5b5; }
.idet-replay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: none; cursor: pointer; border-radius: inherit; }
@media (prefers-reduced-motion: no-preference) {
  .idet-card[data-phase="connecting"] .idet-check::after { content: ""; width: 13px; height: 13px; border: 1.8px solid #dcdcdc; border-top-color: var(--signal); border-radius: 50%; animation: idet-spin .66s linear infinite; }
  .idet-card[data-phase="connecting"] .idet-state::before { background: var(--signal); animation: idet-pulse .85s ease-in-out infinite alternate; }
  .idet-card[data-phase="connecting"] .idet-card-row { position: relative; }
  .idet-card[data-phase="connecting"] .idet-card-row::after { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--signal); transform-origin: left; animation: idet-progress 1.45s cubic-bezier(.25,.72,.35,1) both; }
  .idet-card[data-phase="done"] .idet-check, .idet-card[data-phase="done"] .idet-state { animation: idet-settle .34s ease-out; }
}
@media (prefers-reduced-motion: reduce) { .idet-replay { display: none; } }
@keyframes idet-spin { to { transform: rotate(360deg); } }
@keyframes idet-pulse { to { opacity: .3; } }
@keyframes idet-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes idet-settle { from { opacity: .5; transform: translateY(2px); } to { opacity: 1; transform: none; } }

.idet-details { display: grid; grid-template-columns: 26% 1fr; margin-top: 40px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.idet-details dl { box-shadow: 1px 0 0 var(--line); }
.idet-details dl > div { padding: 15px 28px; border-bottom: 1px solid var(--line); }
.idet-details dl > div:last-child { border-bottom: 0; }
.idet-details dt { font-size: 12.5px; color: var(--muted); }
.idet-details dd { margin: 3px 0 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.idet-details dd a:hover { text-decoration: underline; }
.idet-over { padding: clamp(32px, 5vw, 72px); }
.idet-over h2 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.05em; }
.idet-over p { max-width: 58ch; color: var(--muted); margin-top: 16px; font-size: 17px; line-height: 1.6; }

.idet-work { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border-radius: 8px; background: #f6f6f5; }
.idet-col { background: #fff; border-radius: 10px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 1px rgba(10,10,11,.04); }
.idet-list, .idet-steps { margin-top: 18px; display: grid; }
.idet-list li, .idet-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; letter-spacing: -.01em; }
.idet-list li:first-child, .idet-steps li:first-child { border-top: 0; }
.idet-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--ink) var(--tick) center / 11px no-repeat; -webkit-mask: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.idet-steps { counter-reset: s; }
.idet-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 500; background: #f0f0f0; color: var(--ink); margin-top: -1px; }

.irel { margin-top: clamp(80px, 9vw, 120px); }
.irel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.irel-head h2 { margin: 0; }
.irel-head a { font-size: 14px; font-weight: 500; }
.irel-head a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .int { padding-left: 20px; padding-right: 20px; }
  .ireq { grid-template-columns: 1fr; }
  .ibody { grid-template-columns: 1fr; }
  .iside { position: sticky; top: 64px; z-index: 5; display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -20px; padding: 10px 20px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .iside::-webkit-scrollbar { display: none; }
  .iside p { display: none; }
  .iside-a { flex: none; grid-template-columns: auto auto; padding: 7px 13px 7px 10px; border-radius: 999px; background: #f4f4f3; font-size: 13.5px; }
  .iside-a i { display: none; }
  .iside-a.on { background: var(--ink); color: #fff; }
  .idet-details { grid-template-columns: 1fr; }
  .idet-details dl { box-shadow: 0 1px 0 var(--line); display: grid; grid-template-columns: 1fr 1fr; }
  .idet-details dl > div { padding: 13px 18px; }
  .idet-work { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .ihero { margin: 0; border-radius: 0 0 14px 14px; padding: 104px 16px 210px; min-height: 0; place-items: start center; }
  .ipill.mhide { display: none; }
  .ihero::before { display: none; }
  .ihero h1 { font-size: 42px; }
  .ipill { left: var(--mx); top: var(--my); font-size: 13px; padding: 4px 12px 4px 4px; gap: 7px; }
  .ipill .im, .ipill.z0 .im, .ipill.z2 .im { --s: 24px; }
  .ipill.z0, .ipill.z2 { font-size: 13px; }
  .isearch { height: 56px; padding-left: 18px; }
  .isearch input { font-size: 16px; }
  .isearch kbd { display: none; }
  .igrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .icard { min-height: 170px; padding: 16px; }
  .icard b { padding-top: 18px; font-size: 15px; }
  .icard small { font-size: 13px; }
  .idet-hero { grid-template-columns: 1fr; min-height: 0; }
  .idet-intro { padding: 22px; gap: 36px; }
  .idet-scene { min-height: 240px; box-shadow: 0 -1px 0 var(--line); }
  .idet-card { width: min(88%, 400px); }
  .idet-card-h, .idet-card-row { min-height: 56px; padding: 10px 14px; }
  .idet-demo input { font-size: 16px; }
}
