/* Integration pages: the list at /integrations/ and one page per integration. Colours and type come from home.css. */
.subpage main { display: block; }
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(60% 50% at 30% 0%, rgba(110,121,214,.2), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; padding-block: 88px 56px; }
.page-hero h1 { font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -.04em; max-width: 15ch; margin-top: 18px; }
.page-hero .lede { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 36em; margin-top: 24px; }
.page-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

.status { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.available { color: var(--ok); border-color: rgba(76,183,130,.35); }
.status.business-os { color: var(--accent-hi); border-color: rgba(154,162,240,.35); }
.status.planned { color: var(--warn); border-color: rgba(226,167,75,.35); }

.block .wrap { padding-block: 72px; border-top: 1px solid var(--line); }
.block h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.05; max-width: 20ch; }
.block .intro { color: var(--muted); margin-top: 14px; max-width: 40em; font-size: 17px; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 600; }
.steps h3 { font-size: 18px; letter-spacing: -.01em; margin-top: 16px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.two > div { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--surface); }
.two h3 { font-size: 18px; }
.two ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.two li { padding-left: 22px; position: relative; }
.two li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.two .not li::before { background: var(--faint); }

.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 500; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 44em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card-link { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); text-decoration: none; min-width: 0; }
.card-link:hover { border-color: var(--line-2); background: var(--raise); }
.card-link h3 { font-size: 19px; letter-spacing: -.015em; }
.card-link p { color: var(--muted); font-size: 15px; }
.card-link .status { align-self: flex-start; margin-top: auto; }

.note-box { margin-top: 28px; border: 1px solid rgba(226,167,75,.3); background: rgba(226,167,75,.07); border-radius: 14px; padding: 18px 20px; color: #E9CF9F; max-width: 46em; font-size: 15px; }

.subpage footer a { text-decoration: none; }
.subpage footer a:hover { color: var(--fg); }

@media (max-width: 860px) {
  .two, .cards { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-block: 64px 40px; }
  .block .wrap { padding-block: 56px; }
}
