/* The marketing site, rebuilt to Denis's redesign (Nov 24, 2026; canvas "RecoRadar website redesign",
   saved in ~/agent/research/redesign-nov24). Loaded by the landing layout after landing.css.
   Shared header (.sh) and footer (.sf) serve every landing page; the .ws components serve the rebuilt pages.
   Tokens come from base.css; the few the redesign adds are below. No motion: hover and focus states only.

   Contrast on the new pairs (WCAG 2.2 AA):
   --slate #3d4651 on #fff 10.0:1, on --surface #f5f7f8 9.3:1      --muted #5b6572 on #fff 5.9:1, on --surface 5.5:1
   --teal #0a7a73 on #fff 5.4:1, on --teal-50 #e8f5f3 4.8:1         --teal-800 #075e59 on --teal-50 6.9:1
   --ink on --teal-400 #3cc2b6 (dark band button) 8.3:1            #fff 80% on --ink (dark band text) 12.3:1
   #fff on --demo-agency #2f4cb3 7.2:1                              --amber #7a4600 on --amber-50 #fff4e5 7.6:1
   Field borders use --border #7a838e (3.9:1 on #fff): the design's #c7cdd4 is 1.5:1, under the 3:1 a field edge needs. */
.lp {
  --demo-agency: #2f4cb3;                 /* the fictional Calder Coast Marketing's brand color in the examples */
  --shadow-lg: 0 1px 2px rgba(18,22,27,.06), 0 16px 40px rgba(18,22,27,.1);
  --r-lg: 20px; --r-md: 12px; --r-pill: 9999px;
  --side: 5%;                             /* page side padding; the content stops at 1200px */
}

/* Layout */
.lp .ws-sec { padding: 128px var(--side); }
.lp .ws-sec-tight { padding-block: 96px; }
.lp .ws-grey { background: var(--surface); }
.lp .ws-fade { background: linear-gradient(#fff, var(--surface)); }
.lp .ws-fade-up { background: linear-gradient(var(--surface), #fff); }
.lp .ws-in { max-width: 1200px; margin: 0 auto; }
.lp .ws-narrow { max-width: 720px; margin: 0 auto; }
.lp .ws-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.lp .ws-stack { display: flex; flex-direction: column; gap: 20px; }
.lp .ws-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.lp .ws-head-c { align-items: center; text-align: center; margin: 0 auto; }
@media (max-width: 959px) { .lp .ws-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .lp .ws-sec { padding-block: 72px; } .lp .ws-sec-tight { padding-block: 64px; } }

/* Type */
.lp .ws-h1 { font-size: clamp(2.5rem, 1rem + 4vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lp .ws-h1 em, .lp .ws-h2 em { font-style: normal; color: var(--teal); }
.lp .ws-h2 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.lp .ws-h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.lp .ws-lead { font-size: 18px; line-height: 1.65; color: var(--slate); max-width: 46em; }
.lp .ws-p { font-size: 16px; line-height: 1.55; color: var(--slate); }
.lp .ws-fine { font-size: 14px; line-height: 1.55; color: var(--slate); }
.lp .ws-meta { font-size: 13px; color: var(--muted); }
.lp .ws-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
.lp .ws-label-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.lp .ws-kicker { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--slate); }
.lp .ws-kicker::before { content: ""; flex: none; width: 24px; height: 2px; border-radius: 2px; background: var(--teal); }

/* Buttons and links */
.lp .ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--r); font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.lp .ws-btn-lg { min-height: 52px; padding: 16px 24px; font-size: 18px; }
.lp .ws-btn-p { background: var(--teal); color: #fff; }
.lp .ws-btn-p:hover { background: var(--teal-800); }
.lp .ws-btn-s { background: #fff; color: var(--ink); border-color: var(--border); }
.lp .ws-btn-s:hover { background: var(--surface); }
.lp .ws-btn-d { background: var(--ink); color: #fff; border-color: var(--ink); }
.lp .ws-btn-d:hover { background: var(--ink-raised); }
.lp .ws-btn-ghost { background: transparent; color: var(--ink); padding-inline: 12px; }
.lp .ws-btn-ghost:hover { background: var(--chip); }
.lp .ws-btn-block { width: 100%; }
.lp .ws-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--teal); text-decoration: none; }
.lp .ws-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lp .ws-in-link { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Cards, pills and the "Example" tag */
.lp .ws-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.lp .ws-card-flat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.lp .ws-card-sm { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-card); }
.lp .ws-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.lp .ws-pill { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 4px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; background: var(--chip); color: var(--slate); }
.lp .ws-pill-teal { background: var(--teal-50); color: var(--teal-800); }
.lp .ws-pill-amber { background: var(--amber-50); color: var(--amber); }
.lp .ws-ex { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--r-tag); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); background: #fff; }
.lp .ws-note-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-pill); background: var(--teal-50); color: var(--teal-800); }
.lp .ws-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; line-height: 1.55; }
.lp .ws-checks li { display: flex; align-items: flex-start; gap: 12px; }
.lp .ws-checks .icon { flex: none; margin-top: 2px; color: var(--teal); }

/* Form fields */
.lp .ws-form { display: flex; flex-direction: column; gap: 16px; }
.lp .ws-field { display: flex; flex-direction: column; gap: 6px; }
.lp .ws-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.lp .ws-input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; font: 400 16px var(--font); color: var(--ink); }
.lp .ws-input::placeholder { color: var(--muted); }
.lp .ws-input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.lp .ws-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .lp .ws-pair { grid-template-columns: minmax(0, 1fr); } }
/* The audit field (pages/_audit_field, style "ws"): label, then the field and its button in one row. */
.lp .ws-aud { display: flex; flex-direction: column; gap: 8px; }
.lp .ws-aud-row { display: flex; gap: 12px; }
.lp .ws-aud .ws-input { height: 52px; padding: 0 16px; flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) { .lp .ws-aud-row { flex-direction: column; } }

/* FAQ (pages/_faq, style "ws") */
.lp .ws-faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.lp .ws-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.lp .ws-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px; list-style: none; font-weight: 700; line-height: 1.35; cursor: pointer; border-radius: var(--r-md); }
.lp .ws-faq summary::-webkit-details-marker { display: none; }
.lp .ws-faq .faq-x { display: inline-flex; flex: none; color: var(--teal); }
.lp .ws-faq .faq-x .icon-minus, .lp .ws-faq details[open] .faq-x .icon-plus { display: none; }
.lp .ws-faq details[open] .faq-x .icon-minus { display: block; }
.lp .ws-faq details p { padding: 0 20px 20px; max-width: 72ch; line-height: 1.55; color: var(--slate); }

/* The closing band (pages/_final_cta, style "ws") */
.lp .ws-cta { padding: 96px var(--side); background: var(--ink); color: #fff; }
.lp .ws-cta-in { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 720px; margin: 0 auto; text-align: center; }
.lp .ws-cta p { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.8); }
.lp .ws-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp .ws-cta .ws-btn-p { background: var(--teal-400); color: var(--ink); }
.lp .ws-cta .ws-btn-p:hover { background: #63d0c6; }
.lp .ws-cta .ws-btn-o { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.lp .ws-cta .ws-btn-o:hover { border-color: #fff; }
.lp .ws-cta :is(a, button):focus-visible { outline-color: var(--teal-400); }

/* Shared header */
.lp .sh { position: relative; padding: 20px var(--side); background: #fff; border-bottom: 1px solid var(--line); }
.lp .sh-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; max-width: 1200px; margin: 0 auto; }
.lp .sh-logo { display: flex; align-items: center; min-height: 44px; }
.lp .sh-nav { display: flex; align-items: center; gap: 32px; }
.lp .sh-nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; box-shadow: inset 0 -2px 0 transparent; }
.lp .sh-nav a:hover { color: var(--teal-800); }
.lp .sh-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--teal); }
.lp .sh-act { display: flex; align-items: center; gap: 8px; }
.lp .sh-act .ws-btn { font-size: 15px; }
.lp .sh-menu { display: none; position: relative; }
.lp .sh-menu summary { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r); list-style: none; color: var(--ink); cursor: pointer; }
.lp .sh-menu summary::-webkit-details-marker { display: none; }
.lp .sh-menu .sh-close, .lp .sh-menu[open] .sh-open { display: none; }
.lp .sh-menu[open] .sh-close { display: block; }
.lp .sh-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: flex; flex-direction: column; gap: 2px; width: 260px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.lp .sh-menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 600; color: var(--ink); text-decoration: none; }
.lp .sh-menu-panel a:hover { background: var(--surface); }
.lp .sh-menu-panel a[aria-current] { color: var(--teal-800); }
.lp .sh-menu-panel .sh-menu-sign { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.lp .sh-menu-panel .ws-btn { margin-top: 4px; }
@media (max-width: 860px) {
  .lp .sh-nav, .lp .sh-act { display: none; }
  .lp .sh-menu { display: block; }
}

/* Shared footer */
.lp .sf { padding: 64px var(--side) 32px; background: var(--surface); border-top: 1px solid var(--line); }
.lp .sf-in { display: flex; flex-direction: column; gap: 40px; max-width: 1200px; margin: 0 auto; }
.lp .sf-cols { display: flex; gap: 40px 32px; }
.lp .sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1.8 1 0; min-width: 0; }
.lp .sf-brand > a { display: flex; align-items: center; min-height: 44px; }
.lp .sf-brand p { max-width: 22em; line-height: 1.55; color: var(--slate); }
.lp .sf-soc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.lp .sf-soc a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lp .sf-col { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.lp .sf-col h2 { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.lp .sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lp .sf-col a { display: flex; align-items: center; min-height: 32px; font-size: 15px; color: var(--slate); text-decoration: none; }
.lp :is(.sf-col, .sf-soc) a:hover { color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
.lp .sf-copy { padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
@media (max-width: 960px) {
  .lp .sf-cols { display: grid; grid-template-columns: 1fr 1fr; }
  .lp .sf-brand { grid-column: 1 / -1; }
}

/* The narrowest phones (320 px, WCAG 1.4.10 reflow): a long word in a big heading, or a long button label, must
   not push the page sideways. Last in the sheet so it wins over the rules above; page sheets load after it, hence
   the !important on the heading size. */
.lp main :is(h1, h2) { overflow-wrap: break-word; }
@media (max-width: 360px) {
  .lp main h1 { font-size: 2rem !important; }
  .lp .ws-btn { white-space: normal; text-align: center; }
}
