/* ===================================================================
   Landing polish pass (Conner, 2026-11-02). Loaded last by index.html.

   One spacing scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 120.
   Three shared pieces every landing section goes through, so the spacing
   can't drift:
     .c-sec    Section: kicker, 12, title, 20, body (560 wide), 48, content,
               40, button. 120 between sections (72 on a phone).
     .c-stage  Stage: a rounded panel on the pale ground, with soft glows and
               grain (40 radius, 28 on a phone).
     .c-card   Card: white, 16 radius, one shadow. A card inside a card gets a
               1px line instead of a second shadow.
   Text and pieces stay at least 24px inside any card or stage edge.
   "#site#site.rx" outranks the older rules in landing.css and site.css,
   which carry !important.
   =================================================================== */

#site.rx {
  --gap-sec: 120px; --stage-r: 40px; --stage-in: 16px; --stage-pad: 64px; --card-pad: 32px;
  --line: rgba(15, 17, 21, 0.07); --lab: #5E6570; --soft: #3B4049;
  --shadow: 0 0 0 1px rgba(15, 17, 21, 0.05), 0 2px 4px rgba(15, 17, 21, 0.03), 0 14px 34px rgba(20, 32, 56, 0.08);
}
@media (max-width: 760px) {
  #site.rx { --gap-sec: 72px; --stage-r: 28px; --stage-in: 12px; --stage-pad: 32px; --card-pad: 24px; }
}
/* No Bricolage left: every heading face is Inter Tight 600. */
:root { --head: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif; }

/* ---- Section ---- */
#site#site.rx .c-sec { box-sizing: border-box; max-width: 1200px; margin: var(--gap-sec) auto 0 !important; padding: 0 24px !important; }
#site#site.rx :is(.c-sec, .c-stage) > .ld-kicker { margin: 0 auto 12px !important; }
#site#site.rx :is(.c-sec, .c-stage) > .ld-h2 { margin: 0 auto 20px !important; }
#site#site.rx :is(.c-sec, .c-stage) > .ld-p { max-width: 560px !important; margin: 0 auto !important; }
#site#site.rx :is(.c-sec, .c-stage) > :is(.ld-kicker, .ld-h2, .ld-p) + :not(.ld-kicker, .ld-h2, .ld-p) { margin-top: 48px !important; }
#site#site.rx .c-cta { display: flex; width: max-content; margin: 40px auto 0 !important; }

/* ---- Stage ---- */
#site#site.rx .c-stage { position: relative; box-sizing: border-box; border-radius: var(--stage-r) !important; overflow: hidden; padding: var(--stage-pad) !important; }
/* A stage that is a whole section sits 16px in from the page's edges. */
#site#site.rx .c-stage.c-sec { max-width: none; margin: var(--gap-sec) var(--stage-in) 0 !important; padding: var(--stage-pad) !important; }
@media (min-width: 761px) { #site#site.rx .c-stage.c-sec { padding: 64px !important; } }
/* The pale ground with one soft glow, no cloud picture (it read as a stray mark). */
#site#site.rx .c-stage.rx-m {
  background:
    radial-gradient(var(--s1) at var(--p1), color-mix(in srgb, var(--c1) calc(var(--a1) * 100%), transparent), transparent 72%),
    radial-gradient(var(--s2) at var(--p2), color-mix(in srgb, var(--c2) calc(var(--a2) * 100%), transparent), transparent 72%),
    linear-gradient(180deg, #F1F3F6, #EBEEF2);
}
.rx-sky { --c1: #B9D3FF; --p1: 50% 0%; --s1: 60% 70%; --a1: 0.55; --c2: #B9D3FF; --p2: 90% 100%; --s2: 30% 40%; --a2: 0.25; }

/* ---- Card ---- */
#site#site.rx .c-card { box-sizing: border-box; background: #fff !important; border: 0 !important; border-radius: 16px !important; box-shadow: var(--crisp) !important; padding: var(--card-pad); color: var(--ink); }
/* One shadow per stack: a card in a card is a line. */
#site#site.rx :is(.c-card, .c-stage) .c-card.c-nest, #site#site.rx .c-card .c-card { box-shadow: none !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }

/* ===================== Problem ===================== */
#site#site.rx .st-ask.c-card { width: 560px; padding: 32px; }
#site#site.rx .st-ask-q { padding-bottom: 16px; }
#site#site.rx .st-ans { padding: 12px 0; }
#site#site.rx .st-ask-foot { margin-top: 0; padding-top: 16px; }
@media (max-width: 760px) { #site#site.rx .st-ask.c-card { padding: 24px; } }

/* ===================== 3. Solution ===================== */
#site#site.rx .st-sort.c-stage { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); gap: 32px; align-items: center; max-width: 1080px; margin-left: auto; margin-right: auto; padding: 56px !important; }
/* The apps keep their scattered, tilted look (Conner, 2026-11-02: the even
   grid "got all fucked up"), at their old size so the lines still meet the
   cloud. */
#site#site.rx .st-sort-in { width: 360px; justify-self: end; }
#site#site.rx .st-sort-mid { gap: 12px; }
#site#site.rx .st-sort-cloud { width: 120px; filter: none; }
#site#site.rx .st-sort-t { font: 600 12px var(--sans); letter-spacing: 0.08em; color: var(--lab); text-align: center; }
/* The card fills its column; the dashed line runs straight into its left edge. */
#site#site.rx .st-sort-land::before { left: -32px; width: 32px; border-top: 2px dashed #C9CED6; }
#site#site.rx .st-sort-card.c-card { width: 100%; max-width: none; padding: 24px; }
#site#site.rx .st-sort-card .nh-ch { padding-bottom: 8px; }
#site#site.rx .st-sort-facts { margin: 0; }
#site#site.rx .st-sort-facts li { align-items: center; min-height: 40px; padding: 0; gap: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
#site#site.rx .st-sort-facts li:first-child { border-top: 1px solid var(--line); }
#site#site.rx .st-sort-src { margin-left: auto; text-align: right; }
#site#site.rx .st-sort-down { display: none; }
@media (max-width: 760px) {
  #site#site.rx .st-sort.c-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px !important; }
  #site#site.rx .st-sort-in { width: 100%; max-width: 400px; justify-self: center; }
  #site#site.rx .st-sort-land::before { display: none; }
  #site#site.rx .st-sort-mid { flex-direction: column; }
  #site#site.rx .st-sort-t { display: block; }
  #site#site.rx .st-sort-cloud { width: 72px; }
  #site#site.rx .st-sort-card.c-card { padding: 24px; }
  #site#site.rx .st-sort-more { display: flex !important; }
  /* The computer's picture, top to bottom (Conner, 2026-11-04): every app,
     scattered and tilted, its dashed line running down into the cloud, then
     a dashed line into the card. */
  #site#site.rx .st-sort-in { height: 300px; }
  #site#site.rx .st-sort-trails { display: none; }
  #site#site.rx .st-sort-down { display: block; }
  #site#site.rx .st-sort-faint { display: block; }
  #site#site.rx .st-sort-chip { font-size: 13px; padding: 10px 13px; border-radius: 15px; }
  #site#site.rx .st-sort-chip:nth-of-type(1) { --x: 4%; --y: 20px; --r: -12deg; }
  #site#site.rx .st-sort-chip:nth-of-type(2) { --x: 38%; --y: 4px; --r: 8deg; }
  #site#site.rx .st-sort-chip:nth-of-type(3) { --x: 10%; --y: 100px; --r: 6deg; }
  #site#site.rx .st-sort-chip:nth-of-type(4) { --x: 40%; --y: 92px; --r: -9deg; }
  #site#site.rx .st-sort-chip:nth-of-type(5) { --x: 6%; --y: 182px; --r: 9deg; }
  #site#site.rx .st-sort-chip:nth-of-type(6) { --x: 70%; --y: 110px; --r: -6deg; }
  #site#site.rx .st-sort-chip:nth-of-type(7) { --x: 72%; --y: 26px; --r: 12deg; }
  #site#site.rx .st-sort-chip:nth-of-type(8) { --x: 64%; --y: 196px; --r: -14deg; }
  #site#site.rx .st-sort-land::before { display: block; left: 50%; top: -24px; width: 0; height: 24px; border-top: 0; border-left: 2px dashed #C9CED6; }
}

/* ===================== Result ===================== */
#site#site.rx .st-fix.c-card { width: 760px; padding: 40px 48px; }
#site#site.rx .st-fix-k { padding-bottom: 20px; }
#site#site.rx .st-fix-q { margin: 24px 0 16px; font-weight: 600; letter-spacing: -0.02em; }
#site#site.rx .st-fix-src { margin: 0 0 20px; }
#site#site.rx .st-fix-ok.c-nest { padding: 24px; background: #F6F7F9 !important; }
@media (max-width: 760px) {
  #site#site.rx .st-fix.c-card { padding: 24px; }
}

/* ===================== Keep your AI (a stage) ===================== */
#site#site.rx #works .st-ais { margin-top: 48px !important; gap: 12px !important; }
#site#site.rx #works .st-ais li { font-family: var(--sans); font-size: 16px; letter-spacing: 0; padding: 12px 24px !important; }
#site#site.rx #works .st-ais li::after { display: none; }
@media (max-width: 760px) { #site#site.rx #works .st-ais { gap: 8px !important; } #site#site.rx #works .st-ais li { padding: 8px 16px !important; font-size: 14px; } }

/* ===================== 4. Skills + your AI ===================== */
#site#site.rx .st-jobs-box.c-card { max-width: 1152px; margin-left: auto; margin-right: auto; padding: 48px 56px 56px; }
#site#site.rx .st-job-tabs { display: flex; width: max-content; max-width: 100%; margin: 0 auto; box-shadow: inset 0 0 0 1px var(--line); background: #F6F7F9; }
#site#site.rx .st-job { margin-top: 40px; }
#site#site.rx .st-job h3 { font: 600 30px/1.15 var(--head); letter-spacing: -0.02em; }
#site#site.rx .st-job > p { margin: 12px auto 0; }
#site#site.rx .st-job > p.st-wk-hrs { margin-top: 16px; }
#site#site.rx .st-wk-hrs b { font-weight: 600; }
/* Four equal cards in one row, 16px apart, the + and → centered in the gaps. */
#site#site.rx .st-wk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; margin: 40px 0 0; }
#site#site.rx .st-wk-steps li { position: relative; display: block; min-width: 0; }
#site#site.rx .st-wk-op { position: absolute; z-index: 2; left: -20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 600 14px/1 var(--sans); color: var(--lab); }
#site#site.rx .st-wk-card { height: 100%; padding: 20px; border-radius: 12px; background: #fff; box-shadow: none; border: 1px solid var(--line); }
#site#site.rx .st-wk-steps li:last-child .st-wk-card { box-shadow: none; border-color: #12B76A; }
#site#site.rx .st-wk-n { margin-bottom: 12px; font: 600 14px var(--sans); }
#site#site.rx #work > .st-wk-go { margin-top: 40px !important; }
@media (max-width: 1000px) {
  #site#site.rx .st-wk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #site#site.rx .st-wk-steps li:nth-child(3) .st-wk-op { display: none; }
}
@media (max-width: 760px) {
  #site#site.rx .st-jobs-box.c-card { padding: 24px; }
  #site#site.rx .st-job-tabs { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 4px; width: auto; padding: 4px; border-radius: 20px; }
  #site#site.rx .st-job-tab, #site#site.rx .st-job-tab:hover { padding: 8px 10px; font-size: 13px; }
  #site#site.rx .st-job { margin-top: 32px; }
  #site#site.rx .st-job h3 { font-size: 24px; }
  #site#site.rx .st-wk-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  #site#site.rx .st-wk-steps li:nth-child(3) .st-wk-op { display: grid; }
  #site#site.rx .st-wk-op { left: 50%; top: -20px; margin: 0 0 0 -12px; }
  #site#site.rx .st-wk-card { display: flex; gap: 12px; align-items: center; padding: 16px 20px; }
  #site#site.rx .st-wk-n { margin: 0; }
}

/* ===================== Multiplayer AI ===================== */
#site#site.rx .st-path { margin-top: 48px; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr); }
#site#site.rx .st-step.c-card { padding: 24px; height: 100%; }
#site#site.rx .st-step-n { font-family: var(--sans); font-weight: 600; }
#site#site.rx .st-step-what { margin-top: 16px; padding-top: 16px; border-top-color: var(--line); }
#site#site.rx .st-path-line { margin-top: 40px; }
@media (max-width: 1000px) { #site#site.rx .st-path { grid-template-columns: minmax(0, 1fr); } #site#site.rx .st-arr { height: 32px; } }
@media (max-width: 760px) { #site#site.rx .st-step.c-card { padding: 24px; } #site#site.rx .st-step-what { margin-top: 12px; padding-top: 12px; } }

/* ===================== Proof (a stage) ===================== */
#site#site.rx #proof .st-rc.c-card { width: 640px; padding: 32px; border-radius: 16px !important; }
#site#site.rx .st-rc-h { padding-bottom: 16px; }
#site#site.rx .st-rc dl > div { padding: 12px 0; border-top-color: var(--line); }
#site#site.rx .st-rc-sign { padding-top: 16px; }
#site#site.rx #proof .st-rc-note { margin-top: 16px; }
@media (max-width: 760px) { #site#site.rx #proof .st-rc.c-card { padding: 24px; } }

/* ===================== 6. Customers ===================== */
#site#site.rx .st-voice.c-card { max-width: 880px; margin-left: auto; margin-right: auto; padding: 56px 64px 48px; box-shadow: var(--crisp) !important; }
#site#site.rx .st-voice-q blockquote { font: 600 30px/1.3 'Inter Tight', Inter, sans-serif; letter-spacing: -0.02em; color: var(--ink); }
#site#site.rx .st-voice-q figcaption { margin-top: 32px; gap: 12px; font: 400 14px var(--sans); color: var(--lab); }
#site#site.rx .st-voice-q figcaption img { width: 40px; height: 40px; }
#site#site.rx .st-voice-q figcaption b { font: 600 15px var(--sans); color: var(--ink); }
#site#site.rx .st-voice-pick { gap: 12px; margin-top: 32px; }
#site#site.rx .st-voice-pick button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
@media (max-width: 760px) {
  #site#site.rx .st-voice.c-card { padding: 28px; }
  #site#site.rx .st-voice-q blockquote { font-size: 22px; }
  #site#site.rx .st-voice-q figcaption { margin-top: 24px; }
  #site#site.rx .st-voice-pick { margin-top: 32px; }
}

/* ===================== 5. Look inside a profile ===================== */
#site#site.rx .rx-peek.c-stage { height: auto; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 64px !important; }
#site#site.rx .rx-peek .rx-win { position: relative; left: auto; top: auto; transform: none; width: 100%; border-radius: 20px !important; box-shadow: var(--lift) !important; }
#site#site.rx #sample > .st-peek-go { margin-top: 40px !important; }
@media (max-width: 760px) {
  #site#site.rx .rx-peek.c-stage { padding: 24px !important; margin-left: 0; margin-right: 0; }
  #site#site.rx .rx-peek .rx-win { border-radius: 12px !important; }
}

/* ===================== Pricing ===================== */
#site#site.rx .st-pz { gap: 24px; }
#site#site.rx .st-pz-plan.c-card { padding: 32px; }
#site#site.rx .st-pz-main.c-card { box-shadow: 0 0 0 2px var(--ink), var(--crisp) !important; }
#site#site.rx .st-pz-pr b { font-weight: 600; letter-spacing: -0.03em; }
#site#site.rx .st-pz ul { margin: 20px 0 24px; padding-top: 20px; border-top-color: var(--line); }
#site#site.rx .st-pz-note { margin-top: 24px; }
#site#site.rx .st-pz-cust.c-card { margin-top: 24px; padding: 32px; }
@media (max-width: 760px) {
  #site#site.rx .st-pz { gap: 16px; }
  #site#site.rx .st-pz-plan.c-card, #site#site.rx .st-pz-cust.c-card { padding: 24px; }
  /* A swipe carousel on phones (Conner, 2026-11-04): one plan at a time,
     centered, and a pill slider under it naming the plans. The row runs
     edge to edge so each card snaps to the middle. */
  #site#site.rx .st-pz { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: -8px -24px -40px; padding: 8px 0 48px; -webkit-overflow-scrolling: touch; }
  #site#site.rx .st-pz::-webkit-scrollbar { display: none; }
  #site#site.rx .st-pz-plan.c-card { flex: 0 0 calc(100% - 48px); margin: 0 24px; scroll-snap-align: center; scroll-snap-stop: always; box-sizing: border-box; }
  #site#site.rx .st-pz-dots { position: relative; display: flex; width: max-content; margin: 16px auto 0; padding: 4px; border-radius: 999px; background: #E7EAEE; }
  #site#site.rx .st-pz-dots::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: var(--pz-x, 4px); width: var(--pz-w, 0); border-radius: 999px; background: var(--ink); transition: left .25s ease, width .25s ease; }
  #site#site.rx .st-pz-dots button { position: relative; z-index: 1; padding: 8px 16px; border: 0; border-radius: 999px; background: none; font: 600 14px var(--sans); color: var(--soft); cursor: pointer; transition: color .25s; }
  #site#site.rx .st-pz-dots button[aria-current="true"] { color: #fff; }
}
#site#site.rx .st-pz-dots { display: none; }
@media (max-width: 760px) { #site#site.rx .st-pz-dots { display: flex; } }

/* ===================== 7. Questions ===================== */
#site#site.rx .st-qa-head > .ld-kicker { margin: 0 0 12px !important; }
#site#site.rx .st-qa-head > .ld-h2 { margin: 0 !important; }
#site#site.rx .st-qa.c-card { margin: 0 !important; padding: 0; border-radius: 16px !important; box-shadow: var(--shadow) !important; overflow: hidden; }
#site#site.rx .st-qa details { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
#site#site.rx .st-qa details + details { border-top: 1px solid var(--line) !important; }
#site#site.rx .st-qa summary { position: relative; display: block; padding: 24px 68px 24px 28px; font: 600 17px/1.4 'Inter Tight', Inter, sans-serif; color: var(--ink); }
/* The +/- sits 28px from the right, centered on the question's first line. */
#site#site.rx .st-qa summary::after { position: absolute; right: 28px; top: 24px; width: 20px; height: 24px; display: grid; place-items: center; font: 400 20px/1 var(--sans); color: var(--lab); }
#site#site.rx .st-qa-a { overflow: hidden; }
#site#site.rx .st-qa-a > p { max-width: 600px; margin: 0; padding: 0 28px; font: 400 16px/1.6 var(--sans); color: var(--soft); }
#site#site.rx .st-qa-a > p:first-child { margin-top: -12px; }
#site#site.rx .st-qa-a > p + p { margin-top: 12px; }
#site#site.rx .st-qa-a > p:last-child { padding-bottom: 24px; }
@media (max-width: 760px) {
  #site#site.rx .st-qa summary { padding: 24px 56px 24px 24px; font-size: 16px; }
  #site#site.rx .st-qa summary::after { right: 24px; top: 24px; }
  #site#site.rx .st-qa-a > p { padding: 0 24px; font-size: 15px; }
}

/* ===================== Final call (a stage) and footer ===================== */
#site#site.rx .rx-end.c-stage { margin: var(--gap-sec) var(--stage-in) 0 !important; max-width: none !important; padding: 64px 24px !important; }
#site#site.rx .rx-end .rx-emark { margin-bottom: 32px !important; }
#site#site.rx .rx-end p { margin: 20px auto 0 !important; }
#site#site.rx .rx-end .ld-cta { margin-top: 40px !important; }
#site#site.rx .ld-foot { box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 48px 24px !important; }
@media (max-width: 760px) {
  #site#site.rx .rx-end.c-stage { padding: 56px 24px !important; }
  #site#site.rx .ld-foot { padding: 40px 24px !important; }
}
#site#site.rx .st-sort-trails path { vector-effect: non-scaling-stroke; }

/* The Problem section keeps its band of app tiles above the headline: it
   starts 48px under the hero, and the tiles live in its top padding. */
#site#site.rx #why.c-sec { margin-top: 48px !important; padding-top: 150px !important; padding-bottom: 40px !important; }
@media (max-width: 1099px) { #site#site.rx #why.c-sec { padding-bottom: 96px !important; } }
@media (max-width: 760px) { #site#site.rx #why.c-sec { padding-top: 112px !important; } }
/* The step cards are nested: a line, no shadow. */
#site#site.rx .st-wk-card { box-shadow: none !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
#site#site.rx .st-wk-steps li:last-child .st-wk-card { border-color: #12B76A !important; }
/* An open question's answer starts 12px under it. */
#site#site.rx .st-qa details[open] summary { padding-bottom: 12px; }
#site#site.rx .st-qa-a > p:first-child { margin-top: 0; }

/* ===================== Questions stage (Conner, 2026-11-03) =====================
   The same contained stage as Solution: 1080 wide, 56 in, the pale sky ground. */
#site#site.rx .st-qa-stage.c-stage { max-width: 1080px; margin-left: auto; margin-right: auto; padding: 56px !important; }
@media (max-width: 760px) { #site#site.rx .st-qa-stage.c-stage { padding: 24px !important; } }
/* Questions: heading on the left, centered against the questions, both
   inside the stage and starting on the same top edge. */
#site#site.rx .st-qa-sec { display: block; }
#site#site.rx .st-qa-stage { display: grid; grid-template-columns: 384px minmax(0, 1fr); gap: 48px; align-items: center; }
#site#site.rx .st-qa-head { text-align: left; }
#site#site.rx .st-qa-sub { margin: 20px 0 0; font: 400 15px/1.5 var(--sans); color: var(--soft); }
#site#site.rx .st-qa-sub a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { #site#site.rx .st-qa-stage { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Problem keeps its wide scatter; it sits the shared 120 from the hero
   above (to its top tile) and from Solution below (from its card). */
@media (min-width: 1100px) { #site#site.rx #why.c-sec { margin-top: 103px !important; padding-bottom: 22px !important; } }
