/* EDR capability statement — one US Letter page, same tokens as edr.css */
:root {
  --purple: #4a2a7a;
  --purple-deep: #24113f;
  --purple-soft: #b8a5d6;
  --purple-tint: #f4f0f9;
  --ink: #17141d;
  --gray: #57535f;
  --line: #e6e1ec;
  --white: #ffffff;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #e9e4f0; color: var(--gray); font: 400 10.5pt/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--purple); }

/* Screen toolbar */
.toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: var(--white); border-bottom: 1px solid var(--line); font: 600 15px/1 var(--body); }
.tb-back { color: var(--ink); text-decoration: none; }
.tb-back:hover { color: var(--purple); }
.tb-actions { display: flex; gap: 10px; }
.tb-btn { padding: 12px 18px; border-radius: 3px; background: var(--purple); color: var(--white); text-decoration: none; transition: background .2s; }
.tb-btn:hover { background: var(--purple-deep); }
.tb-ghost { background: none; color: var(--ink); border: 1.5px solid var(--ink); }
.tb-ghost:hover { background: var(--ink); color: var(--white); }

/* Sheet */
.sheet { width: 8.5in; min-height: 11in; margin: 32px auto 48px; background: var(--white); box-shadow: 0 30px 70px -30px rgba(36,17,63,.45); display: flex; flex-direction: column; }

.cs-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: .38in .45in .3in; border-bottom: 4px solid var(--purple); }
.cs-logo { width: 1.05in; height: 1.05in; clip-path: circle(48.5%); }
.cs-kicker { margin: 0 0 4px; font: 700 8pt/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--purple); }
.cs-title h1 { margin: 0; font: 850 30pt/.95 var(--display); font-variation-settings: "wdth" 76; text-transform: uppercase; color: var(--ink); }
.cs-tag { margin: 6px 0 0; font: 600 italic 10.5pt/1.3 var(--body); color: var(--gray); }
.cs-ids { display: grid; gap: 8px; text-align: right; }
.cs-ids span { display: block; font: 700 7pt/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--purple); }
.cs-ids b { font: 900 15pt/1.1 var(--display); font-variation-settings: "wdth" 80; color: var(--ink); }

.cs-body { flex: 1; display: grid; grid-template-columns: 2.35in 1fr; }

.cs-side { background: var(--purple-deep); color: #d9cfe8; padding: .32in .3in; }
.cs-side h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.18); font: 800 10pt/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.cs-side section + section { margin-top: .3in; }
.cs-side dl { margin: 0; }
.cs-side dt { margin: 12px 0 4px; font: 700 7.5pt/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--purple-soft); }
.cs-side dt:first-child { margin-top: 0; }
.cs-side dd { margin: 0 0 3px; font-size: 9.5pt; line-height: 1.35; color: var(--white); }
.cs-side dd small, .cs-contact small { color: var(--purple-soft); font-size: 8.5pt; }
.cs-side dd em { font-style: normal; display: inline-block; margin-left: 4px; padding: 0 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; font-size: 8pt; }
.cs-side dd.big { font: 900 22pt/1 var(--display); font-variation-settings: "wdth" 75; letter-spacing: .04em; }
.cs-side dd b { font-family: var(--display); }
.cs-contact p { margin: 0 0 9px; font-size: 9.5pt; line-height: 1.4; color: var(--white); }
.cs-contact p.name { font: 800 11pt/1.3 var(--display); }
.cs-contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }

.cs-main { padding: .3in .42in .3in .38in; }
.cs-main section + section { margin-top: .17in; }
.cs-main .cs-lead { margin-bottom: 6px; }
.cs-side dd.gap { margin-top: 8px; }
.cs-side dd .big { display: block; margin-top: 4px; font: 900 22pt/1 var(--display); font-variation-settings: "wdth" 75; letter-spacing: .04em; }
.cs-contact .phone { font-weight: 700; }
.cs-main h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 850 13pt/1 var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; color: var(--ink); }
.cs-main h2 span { font: 900 11pt/1 var(--display); color: var(--purple); }
.cs-main p { margin: 0; color: var(--ink); }
.cs-comp { list-style: none; margin: 0; padding: 0; }
.cs-comp li { position: relative; padding: 0 0 5px 16px; color: var(--gray); font-size: 10pt; line-height: 1.42; }
.cs-comp li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--purple); }
.cs-comp b { color: var(--ink); }
.cs-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cs-diff div { padding: 8px 11px; background: var(--purple-tint); border-left: 3px solid var(--purple); font-size: 9.5pt; line-height: 1.4; }
.cs-diff b { display: inline; font: 800 9.5pt/1.2 var(--display); color: var(--ink); }

.cs-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px .45in; background: var(--purple); color: var(--white); font: 700 7.5pt/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }

/* Phone: let the sheet flow */
@media screen and (max-width: 860px) {
  body { font-size: 15px; }
  .sheet { width: auto; min-height: 0; margin: 0; box-shadow: none; }
  .toolbar { padding: 12px 16px; }
  .tb-ghost { display: none; }
  .cs-head { grid-template-columns: auto 1fr; padding: 22px 18px; }
  .cs-ids { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; text-align: left; }
  .cs-title h1 { font-size: 28px; }
  .cs-body { grid-template-columns: 1fr; }
  .cs-side, .cs-main { padding: 24px 18px; }
  .cs-main { order: -1; }
  .cs-diff { grid-template-columns: 1fr; }
  .cs-foot { flex-direction: column; padding: 16px 18px; }
}

/* Print / PDF */
@page { size: letter; margin: 0; }
@media print {
  body { background: none; }
  .toolbar { display: none; }
  .sheet { margin: 0; box-shadow: none; width: 8.5in; height: 11in; overflow: hidden; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Tighter fit for the full original wording (screen + print) */
@media print, screen and (min-width: 861px) {
  .cs-head { padding: .26in .42in .22in; }
  .cs-logo { width: .9in; height: .9in; }
  .cs-title h1 { font-size: 26pt; }
  .cs-main { padding: .22in .38in .2in .32in; font-size: 9.6pt; line-height: 1.42; }
  .cs-main section + section { margin-top: .12in; }
  .cs-main h2 { margin-bottom: 6px; padding-bottom: 5px; font-size: 12pt; }
  .cs-comp li { font-size: 9.4pt; line-height: 1.38; padding-bottom: 3px; }
  .cs-diff { gap: 6px; }
  .cs-diff div { padding: 6px 10px; font-size: 9pt; line-height: 1.35; }
  .cs-diff b { font-size: 9pt; }
  .cs-side { padding: .26in .28in; }
  .cs-foot { padding: 10px .42in; }
}
