/* ContractWorx public guide — the CostusWorx demo-guide look (matches the other product guides).
   Standalone page (no app shell), so it carries its own family tokens. */
:root {
  --navy: #1F3864; --blue: #2E5FA3; --pale: #D5E8F0; --accent: #C9508E;
  --ink: #152A47; --muted: #5D6E88; --line: #DBE3EE; --bg: #F7F9FC; --body: #33445E;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10000; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 6px; }

.top { background: var(--navy); color: #fff; padding: 14px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top a.back { color: var(--pale); text-decoration: none; font-size: 14px; }
.top a.back:hover { color: #fff; text-decoration: underline; }
.top .mark { font-weight: 800; letter-spacing: 2px; font-size: 18px; }
.top .mark span { color: #7FB3E8; }

.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 65%, #16324F 100%); color: #fff; padding: 52px 0 46px; }
.hero .brandmark { display: block; height: 64px; width: auto; max-width: min(460px, 86vw); margin-bottom: 8px; }
.hero h1.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero p { margin-top: 18px; font-size: 18px; max-width: 62ch; color: #EAF2FA; }
.hero-cta { display: inline-block; margin-top: 22px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; padding: 11px 18px; border-radius: 9px; min-height: 44px; }
.hero-cta:hover { background: #EAF2FD; }

main { padding: 44px 0 20px; }
.intro p { font-size: 17px; margin-bottom: 16px; color: var(--body); }
section.blk { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
section.blk h2 { font-size: 23px; color: var(--navy); margin-bottom: 10px; letter-spacing: -.01em; }
section.blk p { color: var(--body); }
ul.pts { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
ul.pts li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--body); }
ul.pts li::before { content: ''; position: absolute; left: 6px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.notice { margin-top: 38px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 20px; }
.notice h2 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.notice p { font-size: 15px; color: var(--muted); }

.launch { margin: 46px 0 60px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; box-shadow: 0 18px 44px -30px rgba(21, 42, 71, .5); }
.launch h2 { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.launch .lead { color: var(--muted); font-size: 15px; margin-top: 8px; margin-bottom: 22px; }
.roles { display: grid; gap: 14px; }
.role { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--bg); border-radius: 11px; padding: 16px 18px; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.role:hover { border-color: var(--blue); background: #F0F5FC; transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(21, 42, 71, .55); }
.role:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.role .rt { display: block; font-size: 17px; font-weight: 700; color: var(--navy); }
.role .rw { display: block; font-family: Consolas, "Cascadia Mono", monospace; font-size: 12px; color: var(--blue); margin-top: 2px; }
.role .rd { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; }
.role ul { list-style: none; margin-top: 11px; display: grid; gap: 5px; }
.role ul li { position: relative; padding-left: 18px; font-size: 14px; color: #42536E; }
.role ul li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.role .go { display: inline-block; margin-top: 13px; font-size: 14px; font-weight: 700; color: var(--blue); }
.role:hover .go { text-decoration: underline; }

footer { background: var(--navy); color: var(--pale); padding: 26px 0 90px; font-size: 14px; }
footer a { color: #7FB3E8; }

/* Enquiry bar (shared markup with the in-app bar). */
.cwx-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 -6px 24px rgba(24, 52, 94, .28); font-size: 15px; line-height: 1.45; }
.cwx-cta-in { max-width: 1100px; margin: 0 auto; padding: 11px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cwx-cta-txt { flex: 1 1 260px; min-width: 0; }
.cwx-cta-txt b { display: block; font-size: 15.5px; }
.cwx-cta-txt span { opacity: .86; font-size: 14px; }
.cwx-cta a.cwx-go { background: #fff; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 11px 18px; border-radius: 9px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.cwx-cta a.cwx-go:hover { background: #EAF2FD; }
.cwx-cta button.cwx-x { background: none; border: 0; color: #fff; opacity: .72; cursor: pointer; font-size: 20px; line-height: 1; padding: 0; width: 44px; height: 44px; flex: none; }
.cwx-cta button.cwx-x:hover { opacity: 1; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .hero .brandmark { height: 48px; }
  .hero p { font-size: 16px; }
  .top .wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 560px) {
  .cwx-cta-in { padding: 10px 12px; gap: 10px; }
  .cwx-cta-txt span { display: none; }
  .cwx-cta a.cwx-go { flex: 1 1 auto; justify-content: center; }
}
