/* ==========================================================================
   Homepage, pricing and /about (docs/design/site.md). Built only from the
   core.css tokens and components; the page-specific layout lives here.
   ========================================================================== */

/* ---------- Homepage: hero ---------- */
.home-hero { padding: clamp(24px, 4vh, 56px) 0 0; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; align-items: center; }
.home-hero h1 { margin-bottom: clamp(14px, 2.4vh, 24px); font-size: clamp(46px, min(6.4vw, 10.5vh), 92px); }
.home-hero .lead { margin-bottom: clamp(20px, 3.4vh, 34px); font-size: clamp(16.5px, min(1.35vw, 2.4vh), 19.5px); color: #b9b9c4; }
.home-hero-copy > * { animation: rise-in .9s var(--ease-out) both; }
.home-hero-copy > :nth-child(2) { animation-delay: .06s; }
.home-hero-copy > :nth-child(3) { animation-delay: .12s; }
.home-hero-copy > :nth-child(4) { animation-delay: .18s; }
.home-hero-copy > :nth-child(5) { animation-delay: .24s; }
.home-hero-demo { position: relative; padding: 8px 0 20px; animation: rise-in 1s var(--ease-out) .2s both; }
.home-hero-demo .fx-glow { width: 90%; left: 5%; top: 6%; }
.home-hero-window { width: min(600px, 100%); margin-left: auto; }
.home-hero-window .ui-window-body { min-height: 0; }
.home-float { position: absolute; z-index: 2; right: -28px; bottom: 0; width: 280px; animation: pop-in .6s var(--ease-out) 2.4s both, bob 7s ease-in-out 3s infinite; }
.home-clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: clamp(16px, 2.8vh, 26px); font-size: 13px; color: var(--d-gray); }
.home-clients > span:first-child { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-clients a { font-size: 16.5px; font-weight: 650; letter-spacing: -.03em; color: #8d8d99; text-decoration: none; transition: color .2s; }
.home-clients a:hover { color: var(--white); }
.home-marquee { margin-top: clamp(8px, 1.6vh, 16px); padding: 14px 0 16px; border-top: 1px solid var(--d-line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }

/* Short desktop screens: scale the demo so the whole hero fits on one screen. */
@media (min-width: 1061px) and (max-height: 820px) { .home-hero-window { zoom: .9; } }
@media (min-width: 1061px) and (max-height: 790px) {
  .home-hero h1 { font-size: clamp(42px, 9.4vh, 80px); }
  .home-hero .lead { font-size: 16.5px; line-height: 1.5; }
  .home-marquee { margin-top: 4px; padding: 10px 0 12px; }
}
@media (min-width: 1061px) and (max-height: 740px) { .home-hero-window { zoom: .8; } .home-float { zoom: .9; } }

/* One long strip in the hero: slower so each logo moves at the usual pace. With reduced motion it
   stays a single still row (clipped, faded edges) instead of wrapping and pushing the hero past the fold. */
.home-marquee .logo-marquee-track { animation-duration: 120s; }
@media (prefers-reduced-motion: reduce) {
  .home-marquee .logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .home-marquee .logo-marquee-track, .home-marquee .logo-marquee-track > ul { flex-wrap: nowrap; justify-content: flex-start; }
}

/* ---------- Homepage: numbers and works-with ---------- */
.home-kpis { margin-bottom: 96px; }
.home-kpis .kpi { position: relative; overflow: hidden; }
.home-kpis .kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 78, 255, .12), transparent); pointer-events: none; }
.home-works-head { margin-bottom: 36px; }
.works-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.works-item { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: var(--r-card); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s; }
.works-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .22); }
.works-name { flex: 1; min-width: 0; line-height: 1.25; }

/* ---------- Homepage: how it works (flow diagram) ---------- */
.flow { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 1080px; margin: 0 auto 80px; }
.flow-h { margin-bottom: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); text-align: center; }
.flow-stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.flow-node { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 14px; background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 600; white-space: nowrap; text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
.flow-node:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .25); }
.flow-node-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--night); color: var(--white); }
.flow-node-ico .ico { width: 15px; height: 15px; }
.flow-platform img.logo, .flow-platform .logo-mono { width: 28px; height: 28px; border-radius: 9px; padding: 5px; }
.flow-platform .logo-mono { padding: 0; }
.flow-wires { display: none; }
.flow-wires .flow-line { stroke-width: 2; vector-effect: non-scaling-stroke; }
.flow-gate { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 6px; width: min(340px, 100%); padding: 28px 24px 24px; border-radius: 28px; background: var(--night); color: var(--d-text); text-align: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px -26px rgba(60, 40, 180, .55), 0 0 0 10px rgba(107, 78, 255, .06); overflow: hidden; }
.flow-gate::before { content: ""; position: absolute; z-index: -1; inset: -30% -20% auto; height: 120%; background: radial-gradient(50% 50% at 50% 20%, rgba(107, 78, 255, .5), transparent 70%), radial-gradient(40% 40% at 20% 80%, rgba(61, 220, 255, .18), transparent 70%); animation: breathe 6s ease-in-out infinite; }
.flow-gate-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 6px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 40px -6px var(--brand-glow); color: var(--white); }
.flow-gate-mark .mark { width: 34px; height: 34px; }
.flow-gate b { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.flow-gate-sub { font-size: 13px; font-weight: 600; color: var(--brand-ink); letter-spacing: .02em; }
.flow-gate-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; margin-top: 12px; }
.flow-gate-steps li { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--d-line); font-size: 13px; font-weight: 600; }
.flow-gate-steps .ico { width: 15px; height: 15px; color: var(--brand-ink); }
.flow-gate-foot { margin-top: 10px; font-size: 12.5px; color: var(--d-gray); }
/* Phones: stacked, joined by short dashed connectors. */
.flow-gate::after { content: none; }
.flow > .flow-col:first-child::after, .flow-gate + .flow-wires + .flow-col::before { content: ""; display: block; width: 2px; height: 22px; margin: 18px auto 0; background: repeating-linear-gradient(180deg, var(--brand) 0 5px, transparent 5px 10px); }
.flow-gate + .flow-wires + .flow-col::before { margin: 0 auto 18px; }
@media (min-width: 900px) {
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 120px) minmax(260px, 1.1fr) minmax(56px, 120px) minmax(0, 1fr); grid-template-rows: auto minmax(340px, auto); align-items: stretch; gap: 0; }
  .flow-col { display: contents; }
  .flow > .flow-col:first-child::after, .flow-gate + .flow-wires + .flow-col::before { content: none; }
  .flow-col:first-child .flow-h { grid-column: 1; grid-row: 1; }
  .flow-col:first-child .flow-stack { grid-column: 1; grid-row: 2; }
  .flow-col:last-child .flow-h { grid-column: 5; grid-row: 1; }
  .flow-col:last-child .flow-stack { grid-column: 5; grid-row: 2; }
  .flow-wires { display: block; width: 100%; height: 100%; grid-row: 2; overflow: visible; }
  .flow-wires-l { grid-column: 2; }
  .flow-wires-r { grid-column: 4; }
  .flow-gate { grid-column: 3; grid-row: 2; align-self: center; justify-self: stretch; width: auto; }
  .flow-stack { flex-direction: column; flex-wrap: nowrap; justify-content: space-around; align-items: stretch; gap: 0; }
  .flow-col:first-child .flow-node { justify-self: end; }
}

/* ---------- Homepage: bento ---------- */
.bento-credits { justify-content: flex-end; }
.bento-credits .bento-big { margin-bottom: 18px; font-size: clamp(120px, 13vw, 176px); }
.bento-credits .bento-big small { font-size: 24px; }
.home-steps { max-width: 1080px; margin: 0 auto; }
.bento-visual-diff { align-items: stretch; }
.bento-visual .ui-diff { font-size: 12.5px; }
.bento-visual .ui-approve { margin-top: auto; }
.bento-table table { min-width: 0; }
.bento-table th, .bento-table td { padding: 8px 12px; white-space: normal; }
.card-ico-glass { color: var(--white); background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.bento-clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.bento-client { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.bento-client:hover { background: rgba(255, 255, 255, .24); }
.bento-sched { display: grid; gap: 8px; }
.bento-sched li { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--d-line); font-size: 14px; font-weight: 600; }
.bento-sched li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(107, 78, 255, .2); color: var(--brand-ink); }
.bento-sched li span .ico { width: 14px; height: 14px; }
.bento-sched li + li { position: relative; }
.bento-sched li + li::before { content: ""; position: absolute; left: 24px; top: -9px; height: 10px; border-left: 2px dashed rgba(176, 163, 255, .4); }
.bento .link-arrow { margin-top: auto; }

/* ---------- Homepage: agencies ---------- */
.home-agencies-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.home-agencies-copy h2 { margin-bottom: 18px; }
.home-agencies-copy .lead { margin-bottom: 32px; }
.agency-list { display: grid; gap: 18px; margin-bottom: 28px; }
.agency-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.agency-item .card-ico { margin: 0; color: var(--brand-ink); background: rgba(107, 78, 255, .18); box-shadow: inset 0 0 0 1px rgba(176, 163, 255, .2); }
.agency-item h3 { margin-bottom: 4px; font-size: 18px; }
.agency-item p { color: var(--d-gray); font-size: 15px; line-height: 1.55; }
.agency-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 28px; }
.agency-stage { position: relative; display: grid; gap: 16px; }
.agency-pacing .ui-window-body { padding: 0; }
.agency-pacing .ui-table { border-radius: 0; box-shadow: none; background: transparent; }
.agency-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.agency-rebalance .ui-diff { height: 100%; background: rgba(13, 15, 23, .9); box-shadow: inset 0 0 0 1px var(--d-line-2), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.report-card { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: inset 0 3px 0 #0ea5a4, 0 30px 60px -30px rgba(0, 0, 0, .8); }
.report-card-head { display: flex; align-items: center; gap: 10px; }
.report-card-head > span:last-child { display: grid; }
.report-card-head b { font-size: 14px; }
.report-card-head small { font-size: 11.5px; color: var(--gray); }
.report-card-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #0ea5a4; color: var(--white); font-weight: 800; }
.report-card-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.report-card-kpis span { display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: var(--light); }
.report-card-kpis b { font-size: 16px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.report-card-kpis small { font-size: 10.5px; color: var(--gray); }
.report-card-chart .ui-bars { height: 100px; }
.report-card-chart .ui-bar-fill { background: linear-gradient(180deg, #2dd4bf, #0ea5a4); }
.report-card-chart .ui-bar-value { display: none; }
.report-card-foot { font-size: 11.5px; color: var(--gray); }

/* ---------- Homepage: safety, apps, pricing teaser, deeper ---------- */
.safety-card h3 { margin-bottom: 8px; font-size: 19px; }
.safety-card p { font-size: 15px; line-height: 1.55; }
.home-apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.home-apps-copy .lead { margin-bottom: 24px; }
.home-url { margin-bottom: 20px; }
.home-url pre { padding: 14px 18px; font-size: 15px; }
.app-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.app-link { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: box-shadow .2s, transform .2s var(--ease-out); }
.app-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .25); }
.app-link > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.app-link b { font-size: 15px; }
.app-link small { font-size: 12.5px; color: var(--gray); }
.app-link > .ico { width: 16px; height: 16px; color: var(--gray-2); transition: transform .2s var(--ease-out), color .2s; }
.app-link:hover > .ico { transform: translateX(3px); color: var(--brand); }
.app-link-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--night); color: var(--white); box-shadow: inset 0 -2px 0 var(--brand); }
.app-link-ico .ico { width: 17px; height: 17px; }
.connect-window { max-width: 520px; margin-left: auto; transform: rotate(-1deg); }
.home-apps-visual { position: relative; }
.home-apps-visual::before { content: ""; position: absolute; z-index: -1; inset: 10% 0 0 10%; border-radius: 40px; background: var(--aurora); opacity: .22; filter: blur(50px); }

.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.tease { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-panel); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s; }
.tease:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .22); }
.tease-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tease-top b { font-size: 20px; letter-spacing: -.02em; }
.tease-flag, .plan-flag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--aurora); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); white-space: nowrap; }
.tease-price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.tease-price span { font-size: 56px; font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.tease-price em { font-style: normal; font-weight: 600; color: var(--gray); }
.tease small { font-size: 13px; color: var(--gray); }
.tease-blurb { margin-top: 8px; color: var(--gray); font-size: 15px; }
.tease-seats { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 13.5px; font-weight: 600; }
.tease.tease-featured, .plan.plan-featured { color: var(--d-text); border: 1.5px solid transparent; background: linear-gradient(var(--night-2), var(--night-2)) padding-box, var(--aurora) border-box; box-shadow: 0 30px 70px -30px var(--brand-glow); }
.tease-featured small, .tease-featured .tease-blurb, .tease-featured .tease-price em { color: var(--d-gray); }
.tease-featured .tease-seats { border-top-color: var(--d-line); }
.tease-featured:hover { box-shadow: 0 34px 80px -28px rgba(107, 78, 255, .7); }
.tease-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--gray); font-size: 15px; }
.tease-note a { color: var(--brand-deep); }

.deep-card { display: flex; flex-direction: column; gap: 4px; min-height: 200px; }
.deep-card .card-ico { margin-bottom: 14px; }
.deep-k { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.deep-card h3 { margin: 2px 0 4px; transition: color .2s; }
.deep-card p { font-size: 15px; line-height: 1.5; }

/* ---------- Pricing ---------- */
.pricing-hero { padding-bottom: 40px; }
.pricing-hero h1 { max-width: 13em; margin-inline: auto; }
.pricing-answer { max-width: 760px; margin: 0 auto 28px; text-align: left; font-size: 16.5px; }
.pricing-hero .check-list-inline { justify-content: center; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.jump a { padding: 7px 14px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, color .2s; }
.jump a:hover { color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.pricing { display: grid; justify-items: center; }
.billing-toggle { display: inline-flex; gap: 2px; margin: 0 auto 36px; padding: 4px; border-radius: var(--r-pill); background: var(--light); box-shadow: inset 0 0 0 1px var(--hairline); }
.billing-toggle[hidden] { display: none; }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--gray); font: 600 15px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button.is-on { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 0 0 1px var(--hairline); }
.save { padding: 2px 8px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand-deep); font-size: 11.5px; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .18); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-head h3 { font-size: 24px; letter-spacing: -.025em; }
.plan-blurb { min-height: 3em; color: var(--gray); font-size: 15px; line-height: 1.5; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 6px; }
.price-num { font-size: 56px; font-weight: 700; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-num [data-price] { display: inline-block; transition: transform .25s var(--ease-out), opacity .25s; }
.price-num [data-price].is-flipping { transform: translateY(-6px); opacity: 0; }
.price-custom .price-num { font-size: 44px; }
.price-per { font-weight: 600; color: var(--gray); }
.price-note { min-height: 1.4em; margin-top: -4px; font-size: 13px; color: var(--gray); }
.plan-seats { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan .btn { margin-bottom: 8px; }
.plan-lead { font-size: 14px; font-weight: 650; color: var(--gray); }
.plan .check-list { gap: 10px; font-size: 15px; }
.plan .check-list > li { padding-left: 28px; }
.plan .check-list > li::before { width: 18px; height: 18px; background-size: 11px; }
.plan-featured { z-index: 1; }
.plan-featured::before { content: ""; position: absolute; z-index: -1; inset: -1px; border-radius: inherit; background: radial-gradient(70% 50% at 100% 0%, rgba(107, 78, 255, .35), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(61, 220, 255, .12), transparent 70%); pointer-events: none; }
.plan-featured h3 { color: var(--white); }
.plan-featured .plan-blurb, .plan-featured .price-per, .plan-featured .price-note, .plan-featured .plan-lead { color: var(--d-gray); }
.plan-featured .plan-seats, .plan-featured .check-list > li { color: var(--d-text); }
.plan-featured:hover { box-shadow: 0 34px 80px -28px rgba(107, 78, 255, .7); }
.plan-free { background: var(--light); box-shadow: inset 0 0 0 1px var(--line); }
.plans-note { max-width: 780px; margin-top: 28px; text-align: center; color: var(--gray); font-size: 14.5px; }

.pfind { display: grid; gap: 22px; padding: 28px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.pfind-k { margin-bottom: 10px; font-weight: 650; }
.pfind-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pfind-opts button { height: 42px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: var(--light); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; box-shadow: inset 0 0 0 1px var(--hairline); transition: background .2s, color .2s, box-shadow .2s; }
.pfind-opts button:hover { background: var(--brand-wash); }
.pfind-opts button[aria-pressed="true"] { background: var(--night); color: var(--white); box-shadow: 0 8px 20px -10px var(--brand-glow); }
.pfind-result { padding: 18px 20px; border-radius: var(--r-card); background: var(--brand-wash); font-size: 16px; line-height: 1.55; }
.pfind-result h3 { margin-bottom: 4px; font-size: 22px; }
.pfind-result .btn { margin-top: 12px; }

.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.incl-item h3 { margin-bottom: 6px; font-size: 18px; }
.incl-item p { font-size: 15px; line-height: 1.5; }

.mx-wrap { border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.mx { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.mx th, .mx td { padding: 14px 18px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--hairline); }
.mx thead th { position: sticky; top: 0; z-index: 1; padding-top: 22px; background: var(--white); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.mx thead th:first-child, .mx tbody th { text-align: left; }
.mx-price { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--gray); }
.mx tbody th { width: 34%; font-weight: 600; }
.mx-hint { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--gray); }
.mx-group th { padding-top: 26px; border-bottom: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: linear-gradient(90deg, var(--brand-wash), transparent 60%); }
.mx .mx-featured { background: rgba(107, 78, 255, .05); }
.mx thead .mx-featured { color: var(--brand-deep); box-shadow: inset 0 3px 0 var(--brand); }
.mx-yes, .mx-no { display: inline-flex; justify-content: center; vertical-align: middle; }
.mx-yes .ico { display: block; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, #8a73ff, var(--brand-deep)); color: var(--white); stroke-width: 2.6; }
.mx-no { color: #c7c7cc; font-weight: 700; }
.mx-val { font-weight: 600; }
.mx tbody tr:hover > * { background-color: rgba(107, 78, 255, .03); }

.tl-when { display: inline-block; margin-bottom: 4px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--night); color: var(--white); font-size: 12px; font-weight: 700; }
.nometer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.nometer b { display: block; margin-bottom: 6px; font-size: 16.5px; }
.nometer span { color: var(--gray); font-size: 15px; line-height: 1.5; }
.pricing-compare .compare { background: var(--white); border-radius: var(--r-card); }
.pricing-compare .table-wrap { border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.pricing-compare .compare th, .pricing-compare .compare td { padding: 16px 18px; border-color: var(--hairline); }
.compare-more { margin-top: 18px; }
.compare-more > summary { width: max-content; cursor: pointer; color: var(--brand-deep); font-weight: 600; }
.compare-more[open] > summary { margin-bottom: 14px; }
.faq-more { margin-top: 26px; color: var(--gray); }
.faq-more a { color: var(--brand-deep); }

/* ---------- About ---------- */
.about-hero { padding-bottom: 48px; }
.about-hero .lead { max-width: 40em; }
.about-kpis { margin-top: 40px; }
.about-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.about-layout .prose { max-width: 760px; }
.facts { display: grid; margin: 20px 0 0; overflow: hidden; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-top: 1px solid var(--hairline); }
.facts > div:first-child { border-top: 0; }
.facts > div:nth-child(even) { background: #fbfbfd; }
.prose .facts dt { font-weight: 650; color: var(--ink); }
.prose .facts dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.about-updated { font-size: 14px; color: var(--gray); }
.about-ints { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.about-ints li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--hairline); }
.about-ints a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.prose .about-ints a { text-decoration: none; color: var(--ink); }
.about-ints a:hover { color: var(--brand-deep); }
.about-ints img.logo, .about-ints .logo-mono { width: 28px; height: 28px; padding: 5px; border-radius: 8px; }
.about-ints .logo-mono { padding: 0; }
.about-cta { margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .home-float { right: -8px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .home-hero-grid, .home-agencies-grid, .home-apps { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .home-hero-copy { text-align: center; }
  .home-hero-copy .lead { margin-inline: auto; }
  .home-hero-copy .cta-row, .home-clients { justify-content: center; }
  .home-hero-window { margin-inline: auto; }
  .works-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .connect-window { margin-inline: auto; }
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .home-hero { padding-top: 48px; }
  .home-hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .home-hero-demo { padding: 8px 0 24px; }
  .home-hero-window .ui-window-body { min-height: 0; }
  .home-float { display: none; }
  .home-hero-copy .cta-row { margin-inline: auto; }
  .home-clients a { font-size: 16px; }
  .home-clients-more { width: 100%; text-align: center; }
  .home-kpis { margin-bottom: 64px; }
  .works-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .works-item { gap: 8px; min-height: 56px; padding: 10px; font-size: 14px; }
  .works-item img.logo, .works-item .logo-mono { width: 30px; height: 30px; padding: 6px; }
  .works-item .logo-mono { padding: 0; }
  .works-item .status { display: none; }
  .flow { margin-bottom: 56px; }
  .agency-pair, .app-links, .teasers, .plans, .incl, .nometer { grid-template-columns: minmax(0, 1fr); }
  .connect-window { transform: none; }
  .tease { padding: 22px; }
  .plan { padding: 24px 20px; }
  .plan-blurb { min-height: 0; }
  .pfind { padding: 20px; }
  .mx thead th { font-size: 15px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-float, .home-hero-demo, .home-hero-copy > * { animation: none !important; }
}
