/* rManage public website, sign-up and Recsoft console. Self-contained: the
   portal's app.css is not loaded on these pages. */
:root {
  --navy: #0b1628;
  --navy-2: #13233d;
  --green: #39ad3e;
  --green-dark: #2a8a2f;
  --green-soft: #e9f6ea;
  --ink: #142033;
  --muted: #5b6778;
  --line: #e1e6ee;
  --surface: #ffffff;
  --page: #f5f7fb;
  --warn: #b7791f;
  --warn-soft: #fff6e5;
  --danger: #c53030;
  --danger-soft: #fdecec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 22, 40, .08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 16px/1.6 "Segoe UI", Inter, system-ui, -apple-system, Roboto, Arial, sans-serif;
}
a { color: var(--green-dark); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.site-logo img { height: 38px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover, .site-nav a.is-current { color: var(--green-dark); }
@media (max-width: 720px) {
  .site-header-inner { flex-wrap: wrap; padding: 10px 0; }
  .site-nav { gap: 14px; width: 100%; justify-content: space-between; }
  .site-nav-link-optional { display: none; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; line-height: 1.2; transition: background .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(57, 173, 62, .28); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(57, 173, 62, .18), transparent 60%), var(--navy); color: #fff; padding: 84px 0 96px; }
.hero h1 { color: #fff; max-width: 15em; }
.hero-lead { font-size: 1.2rem; color: #c9d3e3; max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.hero-note { color: #9fb0c8; font-size: .92rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 26px; }
.hero-card h3 { color: #fff; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; color: #dbe3ef; }
.tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }

/* sections */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.hero .kicker { color: #8fe293; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .feature { background: var(--page); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #c9d3e3; margin: 6px 0 0; }

/* pricing */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan-highlight { border: 2px solid var(--green); }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 12px 0 4px; }
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-tagline { color: var(--muted); }
.plan .check-list { margin: 18px 0 24px; flex: 1; }
.plan-current { border: 2px solid var(--navy); }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.fine-print { color: var(--muted); font-size: .9rem; }

/* Public demo: link and login */
.demo-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.demo-card h2 { margin-top: 0; }
.demo-card .btn { margin-top: 8px; }
.demo-login { margin: 0; background: var(--green-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.demo-login dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.demo-login dd { margin: 4px 0 0; }
.demo-login code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.2rem; font-weight: 700; color: var(--navy); user-select: all; overflow-wrap: anywhere; }
@media (max-width: 800px) { .demo-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }

/* forms */
.form-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form-ui { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel],
.field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6e1; border-radius: 10px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(57, 173, 62, .25); border-color: var(--green); }
.field-help { color: var(--muted); font-size: .88rem; }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; }
.field-has-error input, .field-has-error select { border-color: var(--danger); }
.workspace-input { display: flex; align-items: stretch; border: 1px solid #cfd6e1; border-radius: 10px; overflow: hidden; background: #fff; }
.workspace-input input[type=text] { border: 0; border-radius: 0; min-width: 0; }
.workspace-suffix { display: flex; align-items: center; padding: 0 12px; background: var(--page); color: var(--muted); border-left: 1px solid #cfd6e1; white-space: nowrap; font-size: .92rem; }
.workspace-status { font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.workspace-status.is-ok { color: var(--green-dark); }
.workspace-status.is-bad { color: var(--danger); }
.check-field { display: flex; gap: 10px; align-items: flex-start; }
.check-field input { margin-top: 5px; width: 18px; height: 18px; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--green-soft); color: var(--green-dark); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.busy-note { display: none; color: var(--muted); font-weight: 600; }
.is-busy .busy-note { display: block; }
.is-busy button[type=submit] { opacity: .6; pointer-events: none; }

/* prose (terms, privacy) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.draft-note { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 12px 16px; font-weight: 600; }

/* footer */
.site-footer { background: var(--navy); color: #9fb0c8; padding: 52px 0 28px; margin-top: 60px; font-size: .94rem; }
.site-footer a { color: #dbe3ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 38px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 8px; max-width: 26em; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h2 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* platform console */
.console-header { background: var(--navy); }
.console-header .site-nav a { color: #dbe3ef; }
.console-header .site-nav a:hover { color: #fff; }
.console-title { color: #fff; font-weight: 800; }
.console-main { padding-top: 32px; padding-bottom: 60px; }
.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-header h1 { font-size: 1.8rem; margin: 0; }
.page-header p { color: var(--muted); margin: 4px 0 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.stat strong { display: block; font-size: 1.7rem; color: var(--navy); }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-bar input, .filter-bar select { padding: 9px 12px; border: 1px solid #cfd6e1; border-radius: 10px; font: inherit; }
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.data-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--page); color: var(--muted); }
.pill-ok { background: var(--green-soft); color: var(--green-dark); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--danger-soft); color: var(--danger); }
.console-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .console-grid { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.action-stack { display: grid; gap: 18px; }
.action-stack .card { padding: 20px; }
.inline { display: inline; }
.pagination { display: flex; gap: 10px; align-items: center; margin-top: 14px; }

/* single-plan pricing with an estimator */
.plan-grid-single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.price-parts { display: grid; gap: 2px; margin: 12px 0 4px; }
.price-parts .plan-price { margin: 0; font-size: 2.1rem; }
.estimator { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0 0 18px; }
.estimator-title { display: block; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.estimator-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.estimator-fields label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.estimator-fields input { padding: 10px 12px; border: 1px solid #cfd6e1; border-radius: 10px; font: inherit; width: 100%; }
.estimator-total { margin: 12px 0 0; color: var(--muted); }
.estimator-total strong { font-size: 1.6rem; color: var(--navy); }
@media (max-width: 480px) { .estimator-fields { grid-template-columns: 1fr; } }

/* Product screenshots (home page) */
.hero-shot { position: relative; max-width: 1080px; margin: 56px auto 0; }
.browser-frame { position: relative; background: #e9edf3; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 28px 8px 8px; box-shadow: 0 30px 70px rgba(11, 22, 40, .28); }
.browser-frame::before { content: ''; position: absolute; top: 10px; left: 14px; width: 9px; height: 9px; border-radius: 50%; background: #f87171; box-shadow: 15px 0 0 #fbbf24, 30px 0 0 #34d399; }
.browser-frame img, .phone-frame img { display: block; width: 100%; height: auto; }
.browser-frame img { border-radius: 6px; }
.phone-frame { background: var(--navy); border: 1px solid rgba(255, 255, 255, .14); border-radius: 34px; padding: 9px; box-shadow: 0 24px 60px rgba(11, 22, 40, .35); max-width: 290px; }
.phone-frame img { border-radius: 26px; }
.hero-phone { position: absolute; right: -28px; bottom: 26px; width: 23%; }
.shot-note { margin: 16px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.hero .shot-note { color: #9fb0c8; }
.showcase { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; margin-top: 52px; }
.showcase.flip { grid-template-columns: .7fr 1.3fr; }
.showcase.flip .showcase-media { order: 2; }
.showcase .phone-frame { margin: 0 auto; }
.showcase-text h3 { font-size: 1.45rem; }
.showcase-text p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 1160px) { .hero-phone { right: 8px; } }
@media (max-width: 860px) {
  .hero-phone { display: none; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 20px; }
  .showcase.flip .showcase-media { order: 0; }
  .showcase .phone-frame { max-width: 240px; }
}

/* Website sign-in: choosing between organisations */
.org-choices { display: grid; gap: 10px; margin: 18px 0; }
.org-choices .inline { display: block; }

/* Console: contacts and enquiries */
.nav-count { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 800; text-align: center; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.contact-row { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-row.is-primary { background: linear-gradient(90deg, var(--green-soft), transparent 70%); margin: 0 -20px; padding: 14px 20px; }
.contact-main .pill { margin-right: 6px; }
.contact-lines { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; font-size: .94rem; }
.contact-row p { margin: 4px 0 0; }
.contact-edit summary, .contact-add summary { cursor: pointer; font-weight: 700; color: var(--green-dark); }
.contact-edit[open] form, .contact-add[open] form { margin-top: 12px; }
.contact-edit .inline { display: block; margin-top: 10px; }
.contact-add { border-top: 1px solid var(--line); padding-top: 14px; }
.enquiry-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.enquiry-head h2 { font-size: 1.2rem; margin: 8px 0 2px; }
.enquiry-message { background: var(--page); border-radius: 12px; padding: 14px 16px; margin: 12px 0; white-space: normal; }

/* Launch offer */
.offer-bar { background: linear-gradient(90deg, var(--green-dark), var(--green)); color: #fff; font-size: .93rem; }
.offer-bar-inner { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.offer-bar a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.offer-card { background: var(--navy); color: #fff; border-radius: 22px; padding: 36px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin-bottom: 40px; }
.offer-card h2 { color: #fff; margin-bottom: 8px; }
.offer-card p { color: #c9d3e3; margin: 0 0 10px; }
.offer-card .kicker { color: #8fe293; }
.offer-card p a, .page-hero p a { color: #8fe293; }
.offer-figure { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 22px; text-align: center; }
.offer-figure strong { display: block; font-size: 2.6rem; line-height: 1; color: #fff; }
.offer-figure span { color: #c9d3e3; }
.offer-figure s { color: #9fb0c8; }
@media (max-width: 800px) { .offer-card { grid-template-columns: 1fr; padding: 26px; } }
.plan-offer { background: var(--green-soft); color: var(--green-dark); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .92rem; margin: 6px 0 4px; }
.estimator-offer { margin: 6px 0 0; color: var(--green-dark); font-weight: 700; }

/* Inner pages */
.page-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(57, 173, 62, .16), transparent 60%), var(--navy); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; max-width: 18em; }
.page-hero p { color: #c9d3e3; font-size: 1.12rem; max-width: 40em; margin: 0; }
.page-hero .kicker { color: #8fe293; }
.page-hero .hero-actions { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-grid-3 { grid-template-columns: repeat(3, 1fr); }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section-alt .info-card { background: var(--page); }
.info-card h3 { margin-bottom: 8px; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.info-card ul { padding-left: 1.2em; color: var(--muted); }
.info-card p { color: var(--muted); }
@media (max-width: 900px) { .info-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .info-grid, .info-grid-3 { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.site-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.site-table th, .site-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.site-table th { background: #fafbfd; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.site-table tr:last-child td { border-bottom: 0; }
.priority { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.priority-critical { background: var(--danger-soft); color: var(--danger); }
.priority-high { background: var(--warn-soft); color: var(--warn); }
.priority-normal { background: var(--green-soft); color: var(--green-dark); }
.priority-low { background: var(--page); color: var(--muted); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--green-soft); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.callout-warn { background: var(--warn-soft); }
.callout p:last-child { margin-bottom: 0; }

/* Questions and answers */
.faq-group { margin-bottom: 36px; }
.faq-group h2 { font-size: 1.35rem; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 800; color: var(--green-dark); }
.faq[open] summary::after { content: '–'; }
.faq-body { padding: 0 20px 16px; color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .9rem; }
.legal-toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--green-dark); }
.legal-meta { color: var(--muted); font-size: .92rem; }
.prose h2 { scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* Contact and sitemap */
.contact-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 16px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (max-width: 760px) { .sitemap-grid { grid-template-columns: 1fr; } }
.home-callout { margin-top: 24px; }

/* Features page */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 4px; }
.jump-links a { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.jump-links a:hover { border-color: var(--green); color: var(--green-dark); }
.feature-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 36px; }
@media (max-width: 800px) { .feature-columns { grid-template-columns: 1fr; } }
.showcase-text .kicker { display: block; }
section[id] { scroll-margin-top: 80px; }
