
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;0,800;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy:     #0f1f3d;
  --navy-mid: #1e3a5f;
  --blue:     #2563eb;
  --gold:     #c9a227;
  --green:    #10b981;
  --amber:    #d97706;
  --red:      #dc2626;
  --slate:    #64748b;
  --white:    #ffffff;
  --grad:     linear-gradient(90deg, #2563eb, #c9a227);
  --ff-d: 'Fraunces', Georgia, serif;
  --ff-b: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body { font-family: var(--ff-b); background: #fff; color: #1e293b; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.page { max-width: 1060px; margin: 0 auto; padding-bottom: 60px; }
.grad-line { height: 4px; background: var(--grad); }

/* HEADER */
.hdr { background: var(--navy); position: relative; overflow: hidden; }
.hdr::before { content:''; position:absolute; top:-60px; right:-60px; width:400px; height:400px; background:radial-gradient(circle,rgba(37,99,235,.25) 0%,transparent 70%); pointer-events:none; }
.hdr::after  { content:''; position:absolute; bottom:-80px; left:30%; width:300px; height:300px; background:radial-gradient(circle,rgba(201,162,39,.12) 0%,transparent 70%); pointer-events:none; }
.hdr-inner { position:relative; z-index:1; padding:36px 44px 0; display:grid; grid-template-columns:1fr auto; gap:24px; align-items:start; }
.hdr-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(201,162,39,.15); border:1px solid rgba(201,162,39,.3); padding:4px 12px; border-radius:20px; font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.hdr h1 { font-family:var(--ff-d); font-size:32px; font-weight:700; color:#fff; line-height:1.2; margin-bottom:10px; max-width:600px; }
.hdr h1 em { font-style:italic; color:var(--gold); }
.hdr-sub { font-size:14px; color:#93c5fd; line-height:1.7; max-width:560px; margin-bottom:28px; }
.hdr-pills { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.hdr-pill { padding:5px 13px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:20px; font-size:11px; font-weight:600; color:#e2e8f0; }
.hdr-right { display:flex; flex-direction:column; align-items:flex-end; gap:10px; padding-top:4px; }
.hdr-logo { height:32px; width:auto; filter:brightness(0) invert(1); }
.hdr-meta { font-size:10px; color:#64748b; text-align:right; line-height:1.7; }

/* SECTIONS */
.sec      { padding: 32px 44px; }
.sec-slim { padding: 0 44px 32px; }
.sec-title { font-size:10px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; color:var(--slate); margin-bottom:16px; }

/* PROBLEM BOX */
.problem-box { background:linear-gradient(135deg,#fff7ed,#fef3c7); border:1px solid #fde68a; border-left:4px solid var(--amber); border-radius:0 10px 10px 0; padding:20px 24px; margin-bottom:24px; }
.problem-box h3 { font-size:15px; font-weight:700; color:#92400e; margin-bottom:8px; display:flex; align-items:center; gap:8px; }
.problem-box p { font-size:13px; color:#78350f; line-height:1.8; }
.problem-box p + p { margin-top:8px; }

/* ANSWER BOX */
.answer-box { background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%); border-radius:12px; padding:28px 32px; margin:0 0 28px; position:relative; overflow:hidden; }
.answer-box::before { content:'¹3'; position:absolute; top:10px; right:24px; font-size:80px; color:rgba(16,185,129,.15); line-height:1; pointer-events:none; font-family:var(--ff-d); }
.answer-label { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }
.answer-box p { font-size:14.5px; color:#e2e8f0; line-height:1.8; position:relative; z-index:1; }
.answer-box p + p { margin-top:10px; }
.answer-box strong { color:#fff; }

/* PLUGIN CARDS */
.plugin-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:28px; }
.plugin-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:18px 18px 16px; border-top:3px solid var(--blue); }
.plugin-card h4 { font-size:12px; font-weight:700; color:var(--navy-mid); margin-bottom:4px; }
.plugin-card .plugin-maker { font-size:10px; color:var(--slate); margin-bottom:10px; }
.plugin-card ul { padding-left:16px; }
.plugin-card li { font-size:11px; color:#475569; line-height:1.7; margin-bottom:3px; }
.plugin-card .plugin-gap { margin-top:10px; padding-top:10px; border-top:1px solid #e2e8f0; }
.plugin-card .plugin-gap-label { font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.8px; color:var(--red); margin-bottom:4px; }
.plugin-card .plugin-gap p { font-size:11px; color:#b91c1c; line-height:1.6; }

/* WORKFLOW COMPARISON */
.workflow-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:24px; }
.workflow-col { border-radius:10px; padding:20px 22px; }
.workflow-col.without { background:#fef2f2; border:2px solid #fecaca; }
.workflow-col.with    { background:#f0fdf4; border:2px solid #bbf7d0; }
.workflow-col h3 { font-size:13px; font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.workflow-col.without h3 { color:#991b1b; }
.workflow-col.with    h3 { color:#065f46; }
.workflow-step { display:flex; gap:10px; margin-bottom:10px; align-items:flex-start; }
.ws-num { width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; flex-shrink:0; margin-top:1px; }
.workflow-col.without .ws-num { background:#fee2e2; color:#991b1b; }
.workflow-col.with    .ws-num { background:#dcfce7; color:#065f46; }
.ws-text { font-size:11.5px; color:#374151; line-height:1.6; }
.ws-text strong { color:var(--navy-mid); }
.ws-text .bad  { color:#dc2626; font-weight:600; }
.ws-text .good { color:#059669; font-weight:600; }

/* THE BRIDGE — tracking flow diagram */
.bridge { background:linear-gradient(135deg,#f0f7ff,#e0eeff); border:1px solid #bfdbfe; border-radius:12px; padding:24px; margin-bottom:24px; }
.bridge h3 { font-size:14px; font-weight:700; color:var(--navy-mid); margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.bridge-flow { display:flex; align-items:stretch; gap:0; }
.bridge-node { flex:1; background:#fff; border:1px solid #dbeafe; border-radius:8px; padding:14px 12px; text-align:center; position:relative; }
.bridge-node .bn-icon { font-size:22px; margin-bottom:6px; display:block; }
.bridge-node .bn-title { font-size:11px; font-weight:700; color:var(--navy-mid); margin-bottom:4px; }
.bridge-node .bn-desc  { font-size:10px; color:var(--slate); line-height:1.5; }
.bridge-arrow { display:flex; align-items:center; padding:0 6px; color:var(--blue); font-size:18px; font-weight:700; flex-shrink:0; }
.bridge-node.sds { background:linear-gradient(135deg,var(--navy),var(--navy-mid)); border-color:var(--blue); }
.bridge-node.sds .bn-title { color:#93c5fd; }
.bridge-node.sds .bn-desc  { color:#e2e8f0; }
.bridge-note { margin-top:14px; font-size:11px; color:#1d4ed8; line-height:1.7; background:#eff6ff; border-radius:6px; padding:10px 14px; }

/* BENEFIT STRIPS */
.benefit-list { display:flex; flex-direction:column; gap:12px; margin-bottom:24px; }
.benefit-item { display:flex; gap:14px; align-items:flex-start; background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:14px 16px; }
.benefit-icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.benefit-body h4 { font-size:13px; font-weight:700; color:var(--navy-mid); margin-bottom:4px; }
.benefit-body p  { font-size:12px; color:#475569; line-height:1.7; }
.benefit-body strong { color:var(--navy-mid); }

/* SCENARIO BOX */
.scenario { background:#fff; border:1px solid #e2e8f0; border-radius:10px; margin-bottom:24px; overflow:hidden; }
.scenario-hd { background:var(--navy-mid); padding:12px 18px; display:flex; align-items:center; gap:10px; }
.scenario-hd h3 { font-size:13px; font-weight:700; color:#fff; }
.scenario-hd .scenario-badge { font-size:9px; font-weight:700; background:rgba(201,162,39,.3); color:var(--gold); border:1px solid rgba(201,162,39,.4); padding:2px 8px; border-radius:10px; letter-spacing:.5px; text-transform:uppercase; margin-left:auto; }
.scenario-body { padding:18px; }
.scenario-body p { font-size:13px; color:#334155; line-height:1.8; margin-bottom:10px; }
.scenario-body p:last-child { margin-bottom:0; }
.scenario-body strong { color:var(--navy-mid); }
.scenario-body code { background:#f0f4ff; padding:1px 5px; border-radius:3px; font-family:monospace; font-size:11px; color:var(--blue); }
.scenario-steps { display:flex; flex-direction:column; gap:8px; margin:12px 0; }
.scenario-step { display:flex; gap:12px; align-items:flex-start; }
.ss-dot { width:22px; height:22px; border-radius:50%; background:var(--blue); color:#fff; font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.ss-text { font-size:12px; color:#334155; line-height:1.7; }
.ss-text strong { color:var(--navy-mid); }

/* KEY POINT STRIP */
.key-points { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px; }
.key-point { background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:16px; border-top:3px solid var(--gold); }
.key-point .kp-icon { font-size:20px; margin-bottom:8px; display:block; }
.key-point h4 { font-size:12px; font-weight:700; color:var(--navy-mid); margin-bottom:5px; }
.key-point p  { font-size:11px; color:#475569; line-height:1.65; }

/* COMPATIBILITY NOTE */
.compat { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:8px; padding:16px 20px; margin-bottom:24px; display:flex; gap:12px; }
.compat-icon { font-size:22px; flex-shrink:0; }
.compat h4 { font-size:13px; font-weight:700; color:#065f46; margin-bottom:5px; }
.compat p  { font-size:12px; color:#14532d; line-height:1.7; }
.compat p strong { color:#065f46; }

/* FOOTER */
.footer { background:var(--navy); padding:20px 44px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-left { font-size:11px; color:#64748b; line-height:1.7; }
.footer-left strong { color:#93c5fd; }
.footer-right { display:flex; align-items:center; gap:10px; }
.footer-logo { height:22px; width:auto; filter:brightness(0) invert(1); opacity:.7; }
.footer-ver  { font-size:10px; color:#334155; font-weight:700; }

@media print {
  .hdr, .answer-box, .bridge-node.sds, .scenario-hd, .footer
    { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}