/* RSVP Sorted: the public marketing site (site.css). Loaded after app.css,
   which already carries the dock, the marquee and the type/colour tokens.
   Brand colours here stay the nine Sorted colours everywhere except inside
   a scoped .pf-<slug> portfolio mock-up, where a sample brand's own colours
   and fonts apply only to that mock-up. */

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--darker); color: var(--light); padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .2s var(--ease); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* The dark colour, not beige, is the "outside" colour: hero and footer are
   both dark, so any letterboxing above/below the page (short content on a
   tall viewport) blends with them instead of showing a beige strip. Every
   section that wants beige/surface sets it explicitly below. */
body.site { background: var(--darker); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { background: var(--darker); color: var(--light); padding: 26px 24px 64px; }
.hero-in { max-width: 900px; margin: 0 auto; text-align: center; }
.wordmark { display: block; width: auto; }
.wordmark-small { height: 44px; }
.wordmark-large { height: clamp(110px, 20vw, 190px); margin: 8px auto 26px; }
.hero .eyebrow { color: color-mix(in srgb, var(--light) 70%, transparent); justify-content: center; display: flex; }
.hero h1 { color: var(--light); margin: 10px auto 18px; max-width: 16ch; }
.hero .lede { max-width: 56ch; margin: 0 auto 30px; font-size: 18px; color: color-mix(in srgb, var(--light) 86%, transparent); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .hero-actions .btn.ghost { color: var(--light); border-color: color-mix(in srgb, var(--light) 40%, transparent); }
.hero .hero-actions .btn.ghost:hover { background: var(--light); color: var(--darker); border-color: var(--light); }

/* ── Sections ─────────────────────────────────────────────────────── */
.section { padding: 64px 24px; scroll-margin-top: 24px; background: var(--page); }
.section.alt { background: var(--surface); }
.section-in { max-width: 1120px; margin: 0 auto; }
.section-in.narrow { max-width: 640px; }
.section h2 { max-width: 30ch; text-wrap: balance; }
.section-lede { max-width: 60ch; color: var(--ink-soft); margin-top: -6px; }
#what .eyebrow, #how .eyebrow, #teams .eyebrow, #portfolio .eyebrow, #contact .eyebrow { justify-content: flex-start; }
.section-in.narrow .eyebrow, .section-in.narrow > p { text-align: center; }
.section-in.narrow .eyebrow { justify-content: center; }
/* A centred narrow section (contact) must centre its heading too: the 18ch
   cap above shrinks the heading's own box, which otherwise leaves it sitting
   left of the centred paragraph under it. */
.section-in.narrow h2 { max-width: none; text-align: center; }

/* Steps (how it works) */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; position: relative; }
.step .ill { width: 56px; height: 56px; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.get-h { margin-top: 30px; }
.check-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-list li { position: relative; padding-left: 26px; font-size: 15px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); }
@media (max-width: 700px) { .check-list { grid-template-columns: 1fr; } }
.ill-card { width: 46px; height: 46px; margin-bottom: 6px; }

/* ── Contact ──────────────────────────────────────────────────────── */
.contact-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; left: -9999px; top: auto; }
.contact-form .grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-sent { text-align: center; padding: 36px 24px; }
.contact-sent .ill-card { margin: 0 auto 10px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-foot { background: var(--darker); color: color-mix(in srgb, var(--light) 85%, transparent); padding: 34px 24px calc(var(--dock-space) + 24px); }
.site-foot-in { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.site-foot-in p { margin: 0; font-size: 13px; color: color-mix(in srgb, var(--light) 65%, transparent); }
.site-foot-in nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; font-size: 13px; }
.site-foot-in nav a { text-decoration: none; color: color-mix(in srgb, var(--light) 80%, transparent); }
.site-foot-in nav a:hover { color: var(--yellow); }

/* ══ Portfolio ═══════════════════════════════════════════════════════
   Home grid, the case-study chrome (/work/<slug>) and the neutral frames
   (mail client, browser, phone). Everything a brand looks like lives in
   public/assets/css/pf-<slug>.css, scoped to .pf-<slug>; only the Sorted
   colours are used here. */

/* Home grid: one image per card, name and event type under it. */
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 34px; }
.pf-tile { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.pf-tile-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--beige); box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pf-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-tile:hover .pf-tile-img, .pf-tile:focus-visible .pf-tile-img { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(2, 22, 35, .6); }
.pf-tile-body { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pf-tile-body strong { font-family: var(--display); text-transform: uppercase; font-size: 22px; letter-spacing: .01em; line-height: 1.1; }
.pf-tile-body span { font-size: 14px; color: var(--ink-soft); text-align: right; }
.pf-tile-body span b { font-weight: 400; color: var(--red); }
@media (max-width: 760px) { .pf-grid { grid-template-columns: 1fr; gap: 30px; } .pf-tile-body strong { font-size: 19px; } }

/* Card artwork document (/work/<slug>/card): exactly 1200 x 900. */
body.pf-card-doc { margin: 0; width: 1200px; height: 900px; overflow: hidden; background: var(--darker); }
.pf-card { position: relative; width: 1200px; height: 900px; overflow: hidden; }

/* ── Case-study chrome ───────────────────────────────────────────── */
.pfw-bar { display: flex; align-items: center; gap: 20px; padding: 14px 28px; background: var(--darker); color: var(--light); font-size: 14px; }
.pfw-bar a { color: var(--light); text-decoration: none; font-weight: 700; }
.pfw-bar a:hover { color: var(--yellow); }
.pfw-count { color: color-mix(in srgb, var(--light) 60%, transparent); margin: 0 auto; }
@media (max-width: 560px) { .pfw-count { display: none; } .pfw-nextlink { margin-left: auto; } }

.pfc { display: block; overflow: hidden; }
.pfc img { max-width: 100%; }

/* Neutral structure a brand can restyle: section, heading block, stage. */
.pfc-sec { padding: 110px 32px; }
.pfc-in { max-width: 1240px; margin: 0 auto; }
.pfc-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 64px; align-items: end; margin-bottom: 56px; }
.pfc-head p { margin: 0; max-width: 56ch; font-size: 17px; line-height: 1.6; }
.pfc-stage { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 56px; align-items: start; }
.pfc-stage.is-flip { grid-template-columns: 390px minmax(0, 1fr); }
.pfc-stage.is-flip > .fr-phone { order: -1; }
.pfc-stage > .fr-phone { position: sticky; top: 32px; }
.pfc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
@media (max-width: 1180px) {
  .pfc-stage, .pfc-stage.is-flip { grid-template-columns: minmax(0, 1fr); }
  .pfc-stage.is-flip > .fr-phone { order: 0; }
  .pfc-stage > .fr-phone { justify-self: center; position: static; }
}
@media (max-width: 900px) {
  .pfc-sec { padding: 72px 20px; }
  .pfc-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
  .pfc-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .pfc-sec { padding: 56px 16px; } }

/* ── Frames: neutral RSVP Sorted UI around the brand work ─────────── */
.fr { margin: 0; min-width: 0; }
.fr-bar { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; background: var(--navy); color: var(--light); font: 700 13px/1 var(--body); }
.fr-dots { display: inline-flex; gap: 7px; flex: none; }
.fr-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.fr-dots i:nth-child(2) { background: var(--yellow); }
.fr-dots i:nth-child(3) { background: var(--green); }
.fr-bar-title { opacity: .8; }
.fr-url { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: 8px; background: var(--darker); color: color-mix(in srgb, var(--light) 80%, transparent); font-weight: 400; font-size: 13px; white-space: nowrap; overflow: hidden; }
.fr-url svg { flex: none; color: var(--green); }
.fr-cap { margin: 14px 4px 0; font: 400 13.5px/1.5 var(--body); opacity: .72; }

/* Mail client */
.fr-mail { border-radius: 16px; overflow: hidden; background: var(--light); box-shadow: 0 40px 90px -50px rgba(2, 22, 35, .75), 0 0 0 1px rgba(2, 22, 35, .08); color: var(--darker); font-family: var(--body); }
.fr-mail .fr-cap { background: var(--light); margin: 0; padding: 12px 20px 16px; color: var(--darker); opacity: 1; border-top: 1px solid var(--line); color: var(--ink-soft); }
.fr-mail-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.fr-mail-list { background: var(--beige); border-right: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.fr-mail-item { border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.4; display: flex; flex-direction: column; gap: 3px; }
.fr-mail-item.is-on { background: #fff; box-shadow: inset 3px 0 0 var(--red); }
.fr-mail-row { display: flex; justify-content: space-between; gap: 8px; }
.fr-mail-row span { color: var(--ink-soft); font-size: 12px; }
.fr-mail-item b { font-weight: 700; }
.fr-mail-pre { color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fr-mail-item.is-ghost i { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--darker) 12%, transparent); margin: 4px 0; }
.fr-mail-item.is-ghost i:nth-child(1) { width: 45%; }
.fr-mail-item.is-ghost i:nth-child(2) { width: 80%; }
.fr-mail-item.is-ghost i:nth-child(3) { width: 65%; }
.fr-mail-read { min-width: 0; background: #fff; }
.fr-mail-head { padding: 22px 28px 18px; border-bottom: 1px solid var(--line); }
.fr-mail-subject { margin: 0 0 14px; font: 700 21px/1.25 var(--body); color: var(--darker); }
.fr-mail-from { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.45; }
.fr-av { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--navy); color: var(--light); display: grid; place-items: center; font-weight: 700; }
.fr-mail-who span { color: var(--ink-soft); }
.fr-mail-time { margin-left: auto; color: var(--ink-soft); font-size: 12.5px; }
.fr-mail-body { background: var(--surface); padding: 36px 24px 44px; }
.fr-email { width: 600px; max-width: 100%; margin: 0 auto; container: email / inline-size; }
@media (max-width: 1100px) { .fr-mail-grid { grid-template-columns: minmax(0, 1fr); } .fr-mail-list { display: none; } }
@media (max-width: 640px) { .fr-mail-head { padding: 16px 16px 14px; } .fr-mail-subject { font-size: 17px; } .fr-mail-who span:first-of-type { display: none; } .fr-mail-body { padding: 0; } }

/* Desktop browser */
.fr-browser { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(2, 22, 35, .75), 0 0 0 1px rgba(2, 22, 35, .08); background: #fff; }
.fr-browser .fr-cap { margin: 0; padding: 12px 20px 16px; background: var(--light); color: var(--ink-soft); opacity: 1; border-top: 1px solid var(--line); }
.fr-screen { container: rsvp / inline-size; }
@media (max-width: 640px) { .fr-url { justify-content: flex-start; } .fr-bar .fr-dots { display: none; } }

/* Phone */
.fr-phone { width: 390px; max-width: 100%; }
.fr-phone-body { background: var(--darker); border-radius: 56px; padding: 12px; box-shadow: 0 40px 90px -45px rgba(2, 22, 35, .8), inset 0 0 0 2px #2b3b47; }
.fr-phone-status { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 28px 0 34px; color: var(--light); font: 700 14px/1 var(--body); }
.fr-island { width: 100px; height: 28px; border-radius: 20px; background: #000; }
.fr-phone-icons { display: inline-flex; gap: 4px; align-items: flex-end; }
.fr-phone-icons i { width: 4px; height: 6px; border-radius: 1px; background: var(--light); }
.fr-phone-icons i:nth-child(2) { height: 9px; }
.fr-phone-icons i:nth-child(3) { height: 12px; }
.fr-phone-screen { height: 740px; overflow-y: auto; overflow-x: hidden; border-radius: 12px 12px 0 0; background: #fff; container: rsvp / inline-size; scrollbar-width: none; }
.fr-phone-screen::-webkit-scrollbar { display: none; }
.fr-phone-url { height: 46px; margin-top: 0; border-radius: 0 0 44px 44px; background: var(--light); color: var(--ink-soft); display: grid; place-items: center; font: 400 13px/1 var(--body); }
.fr-phone .fr-cap { text-align: center; }
@media (max-width: 420px) { .fr-phone-body { border-radius: 44px; padding: 9px; } .fr-phone-screen { height: 640px; } .fr-phone-url { border-radius: 0 0 34px 34px; } }

/* ── Brand notes, honesty line, next case study ─────────────────── */
.pfw-notes { background: var(--light); padding: 80px 32px; }
.pfw-notes-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 48px; }
.pfw-notes .eyebrow { justify-content: flex-start; }
.pfw-notes h2 { font-size: clamp(28px, 3vw, 38px); margin: 6px 0 14px; max-width: 16ch; }
.pfw-notes-intro p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; margin: 0; }
.pfw-notes h3 { font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 10px 0 18px; }
.pfw-swatches, .pfw-fonts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pfw-swatches li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.pfw-swatches svg { flex: none; }
.pfw-swatches strong { display: block; color: var(--ink); font-size: 15px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 600; }
.pfw-fonts li { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pfw-fonts li:last-child { border-bottom: 0; }
.pfw-fonts strong { font-family: var(--display); text-transform: uppercase; font-size: 20px; font-weight: 600; }
.pfw-fonts span { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 980px) { .pfw-notes-in { grid-template-columns: 1fr 1fr; } .pfw-notes-intro { grid-column: 1 / -1; } }
@media (max-width: 600px) { .pfw-notes { padding: 56px 20px; } .pfw-notes-in { grid-template-columns: 1fr; gap: 32px; } }

.pfw-foot { background: var(--beige); padding: 44px 32px 72px; }
.pfw-honest { max-width: 1240px; margin: 0 auto 40px; font-size: 13.5px; color: var(--ink-soft); padding-left: 14px; border-left: 2px solid var(--red); }
.pfw-next { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: center; text-decoration: none; color: var(--ink); }
.pfw-next-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.pfw-next-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pfw-next:hover .pfw-next-img img { transform: scale(1.03); }
.pfw-next-txt { display: flex; flex-direction: column; gap: 6px; }
.pfw-next-txt .eyebrow { justify-content: flex-start; }
.pfw-next-txt strong { font-family: var(--display); text-transform: uppercase; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.pfw-next-txt > span:last-child { color: var(--ink-soft); }
@media (max-width: 640px) { .pfw-foot { padding: 36px 20px 56px; } .pfw-next { grid-template-columns: 1fr; gap: 16px; } }

/* Portfolio photos never distort: Safari can stretch an image inside a grid cell; cropping to the box is the safe fallback. */
.pfc img:not([src$=".svg"]) { object-fit: cover; }
.pfc [class*="range"] img, .pfc figure img { align-self: start; }

/* Sign in, top middle of the home page */
.hero { position: relative; padding-top: 72px; }
.top-links { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.top-signin { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: inherit; border: 1.5px solid currentColor; border-radius: 100px; padding: 10px 18px; }
.top-signin:hover { background: var(--yellow); border-color: var(--yellow); color: var(--darker); }
.section-in.narrow .guide-steps h2 { text-align: left; }

/* ══ Pricing page ═══════════════════════════════════════════════════ */
.pricing-hero { padding-bottom: 40px; }
.pricing-hero .lede { max-width: 60ch; }

.pr-controls-sec { padding-top: 40px; padding-bottom: 24px; }
.pr-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 14px; }
.pr-switch { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.pr-switch-opt { border: 0; background: transparent; color: var(--ink-soft); font: 700 13px/1 var(--body); padding: 9px 16px; border-radius: 100px; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease); }
.pr-switch-opt:hover { color: var(--ink); }
.pr-switch-opt.is-on { background: var(--darker); color: var(--light); }
.pr-note { margin: 0 0 4px; }

.pr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.pr-plan { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pr-plan h3 { margin-bottom: 2px; }
.pr-plan.is-featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.pr-badge { position: absolute; top: -13px; left: 22px; background: var(--red); color: var(--light); font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.pr-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; }
.pr-amt { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; }
.pr-per { color: var(--ink-soft); font-size: 14px; }
.pr-saving { margin: 0 0 14px; font-size: 13px; color: var(--green); font-weight: 700; }
.pr-plan:not(:has(.pr-saving:not([hidden]))) .pr-price { margin-bottom: 14px; }
.pr-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.pr-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.pr-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
.pr-cta { text-align: center; justify-content: center; }
@media (max-width: 980px) { .pr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pr-grid { grid-template-columns: 1fr; } }

.pr-events { margin-top: 40px; }
.section-in > h2 + .card, .section-in > .section-lede + .card { margin-top: 32px; }
.pr-event { text-align: center; }
.pr-event .pr-price { justify-content: center; margin-top: 10px; }
.pr-event h3 { font-size: 17px; }

.pr-dfy, .pr-trial { text-align: left; }
.pr-trial { text-align: center; }
.pr-trial .ill-card { margin: 0 auto 10px; }

.pr-support p { margin: 0; }

/* Header banner on every public page: the main links, Sign in and Start free. */
.site-bar { position: sticky; top: 0; z-index: 50; background: var(--darker); color: var(--light); border-bottom: 1px solid color-mix(in srgb, var(--light) 12%, transparent); }
.site-bar-in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-bar-brand img { display: block; height: 34px; width: auto; }
.site-bar-nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; justify-content: flex-end; }
.site-bar-nav a { color: inherit; text-decoration: none; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.site-bar-nav a:hover { color: var(--yellow); }
.site-bar-nav .sb-signin, .site-bar-nav .sb-start { border: 1.5px solid currentColor; border-radius: 100px; padding: 9px 16px; }
.site-bar-nav .sb-start { background: var(--red); border-color: var(--red); color: var(--light); }
.site-bar-nav .sb-start:hover { background: var(--yellow); border-color: var(--yellow); color: var(--darker); }
.site-bar-nav a[aria-current="page"] { color: var(--yellow); }
.site-bar-in { position: relative; }
/* Phones and small laptops: the page links fold into a Menu (a plain <details>, no script). */
.sb-menu { display: none; }
.sb-menu summary { list-style: none; cursor: pointer; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid currentColor; border-radius: 100px; padding: 9px 16px; }
.sb-menu summary::-webkit-details-marker { display: none; }
.sb-menu[open] summary { background: var(--light); color: var(--darker); border-color: var(--light); }
.sb-menu-panel { position: absolute; right: 20px; top: calc(100% + 1px); min-width: 230px; background: var(--darker); border: 1px solid color-mix(in srgb, var(--light) 14%, transparent); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0 12px; display: flex; flex-direction: column; }
.sb-menu-panel a { padding: 13px 22px; }
@media (max-width: 1180px) { .site-bar-nav .sb-link { display: none; } .sb-menu { display: block; } .site-bar-nav { gap: 10px; flex-wrap: nowrap; } }
.sb-menu-panel .sb-menu-signin { display: none; }
@media (max-width: 560px) { .site-bar-nav .sb-signin { display: none; } .sb-menu-panel .sb-menu-signin { display: block; } }
@media (max-width: 400px) { .sb-menu-panel { left: 0; right: 0; border-radius: 0; } .sb-menu summary { padding: 8px 11px; letter-spacing: .04em; } }
@media (max-width: 400px) { .site-bar-brand img { height: 26px; } .site-bar-nav a { letter-spacing: .04em; } .site-bar-nav .sb-signin, .site-bar-nav .sb-start { padding: 8px 11px; } }

/* Quote request form: wider than the default narrow column, fields line up at the bottom. */
.section-in.narrow.quote-wide { max-width: 900px; }
.contact-form .grid.two { align-items: start; }
.contact-form input[type="file"] { font: inherit; font-size: 14px; }
.contact-form input[type="file"]::file-selector-button { font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--darker); border-radius: 100px; background: transparent; color: var(--darker); padding: 10px 16px; margin-right: 12px; cursor: pointer; }
.contact-form input[type="file"]::file-selector-button:hover { background: var(--yellow); border-color: var(--yellow); }

/* ══ Marketing pages (how it works, features, event teams, reporting, FAQ, contact) ══ */
.page-hero { padding-top: 64px; }
.page-hero h1 { max-width: 20ch; }
.section-in > .eyebrow { justify-content: flex-start; }
.section-more { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions.left { justify-content: flex-start; margin-top: 22px; }
.card-link { display: block; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.card-link:hover, .card-link:focus-visible { transform: translateY(-3px); border-color: var(--darker); }
.card .btn { margin-top: 8px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }
.section-in > h2 + .grid, .section-in > .section-lede + .grid { margin-top: 30px; }

/* How it works: numbered stages down the page */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 900px; margin-inline: auto; }
.stage { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; background: var(--light); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.stage .ill { width: 64px; height: 64px; }
.stage h3 { margin: 2px 0 8px; }
.stage p { margin: 0; color: var(--ink-soft); }
.stage .stage-n { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
@media (max-width: 560px) { .stage { grid-template-columns: 1fr; gap: 12px; padding: 20px; } .stage .ill { width: 48px; height: 48px; } }

/* Features */
.feature h3 { margin-bottom: 12px; }
.feature .pr-list { margin-bottom: 0; }

/* FAQ */
.faq h2 { margin-bottom: 18px; }
.faq-item { padding: 0; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { padding: 18px 52px 18px 22px; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 22px/1 var(--display); color: var(--red); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }
.section-in.narrow.faq h2 { text-align: left; }

/* Closing call to action */
.cta-band { background: var(--red); color: var(--light); text-align: center; }
.cta-band h2 { color: var(--light); }
.cta-band p { color: color-mix(in srgb, var(--light) 90%, transparent); }
.cta-band .btn.red { background: var(--darker); border-color: var(--darker); }
.cta-band .btn.red:hover { background: var(--yellow); border-color: var(--yellow); color: var(--darker); }
.cta-band .btn.ghost { color: var(--light); border-color: var(--light); }
.cta-band .btn.ghost:hover { background: var(--light); color: var(--darker); }
