/* Blueprint Studio marketing site. Colours chosen for WCAG 2.1 AA contrast. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --ink: #111827;
  --ink-2: #4b5563;
  --line: #dde2ea;
  --brand: #1f5fae;
  --brand-dark: #174a8a;
  --brand-tint: #e8f0fb;
  --accent: #eb6834;
  --good: #0f7a35;
  --deep: #0e2440;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(14, 36, 64, 0.12);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid #b35900; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 100; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0.3rem 0 1rem; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0.2rem 0 0.8rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--brand); margin: 0; }
.fine { font-size: 0.82rem; color: var(--ink-2); }

.btn { display: inline-block; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 8px; padding: 0.55rem 1rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 120ms; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-lg { padding: 0.8rem 1.3rem; font-size: 1.02rem; }
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.9rem; }
.btn[aria-pressed='true'] { background: var(--brand-tint); }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 750; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--brand) 0 50%, #86b6ef 50% 100%); display: inline-block; }
.brand.small { font-size: 0.95rem; }
.nav nav { display: flex; gap: 1.2rem; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; gap: 0.5rem; }
@media (max-width: 900px) { .nav nav { display: none; } }

.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #e8f0fb 0, rgba(232, 240, 251, 0) 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.4rem 0 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin: 0.35rem 0; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45rem; width: 0.9rem; height: 0.5rem; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.ticks.light li { color: #dbe6f5; }
.ticks.light li::before { border-color: #8fe3a9; }

/* Mock screens (illustrations built in HTML; fictional DEMO data) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; margin: 0; }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #f7f8fa; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e1; }
.mock-bar em { margin-left: auto; font-style: normal; font-size: 0.72rem; font-weight: 700; background: #222; color: #fff; border-radius: 999px; padding: 0.05rem 0.5rem; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.mock-hero-fig, .mock-tile { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.mock-hero-fig small, .mock-tile small, .mock-chart small { display: block; color: var(--ink-2); font-size: 0.78rem; }
.mock-hero-fig strong { font-size: 2.6rem; line-height: 1; display: block; margin: 4px 0; }
.mock-tile b { font-size: 1.5rem; }
.up { color: var(--good); font-size: 0.78rem; font-weight: 600; }
.mock-chart { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.stack-row { display: flex; align-items: center; gap: 2px; margin: 8px 0; }
.stack-row i { font-style: normal; font-size: 0.8rem; color: var(--ink); width: 92px; flex: none; text-align: right; padding-right: 8px; }
.seg { height: 14px; width: var(--w); display: inline-block; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg.r, .mock-legend b.r { background: #2a78d6; }
.seg.x, .mock-legend b.x { background: #eb6834; }
.seg.e, .mock-legend b.e { background: #c3c2b7; }
.mock-legend { display: flex; gap: 12px; font-size: 0.75rem; color: var(--ink-2); margin-top: 6px; }
.mock-legend b { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: 4px; vertical-align: -1px; }

.band { background: var(--deep); color: #fff; padding: 40px 0; }
.band p { color: #c7d4e6; margin: 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }

/* Walkthrough */
.walk { display: grid; grid-template-columns: 280px 1fr; gap: 28px; margin-top: 28px; }
@media (max-width: 900px) { .walk { grid-template-columns: 1fr; } }
.walk-steps { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) { .walk-steps { flex-direction: row; overflow-x: auto; } }
.walk-step { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 0.6rem 0.8rem; font: inherit; color: var(--ink); cursor: pointer; display: flex; gap: 0.6rem; align-items: center; }
.walk-step .n { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: var(--bg-alt); color: var(--ink-2); flex: none; }
.walk-step[aria-selected='true'] { background: var(--brand-tint); border-color: #c6d8f2; font-weight: 650; }
.walk-step[aria-selected='true'] .n { background: var(--brand); color: #fff; }
.walk-step.done .n { background: #d9f0e0; color: var(--good); }
.walk-panel { display: grid; gap: 16px; }
.walk-text h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.walk-text p { margin: 0; color: var(--ink-2); }
.walk-screen { min-height: 330px; }
.walk-screen .mock-body { animation: rise 320ms ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .walk-screen .mock-body { animation: none; } * { scroll-behavior: auto !important; } }
.walk-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.walk-dots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.walk-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.walk-dots span.on { background: var(--brand); width: 22px; border-radius: 999px; }
.w-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.w-table th, .w-table td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.w-table th { background: #f7f8fa; color: var(--ink-2); font-weight: 600; }
.pill { display: inline-block; border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.72rem; font-weight: 700; }
.pill.ok { background: #e3f4e8; color: #1d6b34; }
.pill.err { background: #fbe9e7; color: #a4221b; }
.pill.warn { background: #fff3d6; color: #7a4a00; }
.pill.info { background: #e6eefa; color: #184d8f; }
.w-flow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; }
.w-box { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; }
.w-arrow { color: var(--ink-2); }
.w-big { font-size: 2rem; font-weight: 750; }
.w-note { font-size: 0.8rem; color: var(--ink-2); }
.w-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-chip { display: inline-block; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; margin: 2px; font-size: 0.8rem; background: #fafbfc; }
.w-file { display: flex; align-items: center; gap: 10px; border: 1px dashed #b7c3d4; border-radius: 10px; padding: 14px; background: #fafcff; }
.w-file .ic { width: 34px; height: 40px; border-radius: 4px; background: #1d6b34; color: #fff; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; }

/* FlexProperty */
.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .fp-grid { grid-template-columns: 1fr; } }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 0; box-shadow: var(--shadow); }
.diagram figcaption { font-size: 0.82rem; color: var(--ink-2); margin-top: 8px; }
.dg-nodes text { font-size: 13px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.dg-nodes text.sub { font-size: 11px; font-weight: 400; fill: var(--ink-2); }
.n-v { fill: #e8f0fb; stroke: #1f5fae; }
.n-m { fill: #fff; stroke: #111827; }
.n-l { fill: #fff4ee; stroke: #c4521f; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { color: var(--ink-2); margin: 0; font-size: 0.95rem; }

.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sec-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.sec-list span { color: var(--ink-2); font-size: 0.93rem; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; }
details p { color: var(--ink-2); margin: 0.6rem 0 0; }

.cta { background: linear-gradient(135deg, #0e2440, #174a8a); color: #fff; }
.cta p { color: #dbe6f5; }
.req-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .req-grid { grid-template-columns: 1fr; } }
.req-form { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.req-form .fine, .req-form .form-status { color: var(--ink-2); margin: 0; }
.field { display: grid; gap: 4px; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: 0.92rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input, textarea { font: inherit; padding: 0.55rem 0.65rem; border: 1px solid #8d97a7; border-radius: 8px; width: 100%; color: var(--ink); background: #fff; }
input[aria-invalid='true'] { border-color: #a4221b; }
.choice { display: flex; gap: 0.5rem; align-items: center; font-size: 0.95rem; }
.choice input { width: auto; }
.hp { position: absolute; left: -9999px; }
.form-status.ok { color: var(--good); font-weight: 600; }
.form-status.err { color: #a4221b; font-weight: 600; }

.footer { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot-row nav { display: flex; gap: 1rem; }
.foot-row a { color: var(--ink-2); text-decoration: none; }
.field .choice { font-weight: 400; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -12px; left: 20px; margin: 0; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.plan .price { margin: 0.2rem 0; color: var(--ink-2); }
.plan .price strong { font-size: 1.7rem; color: var(--ink); letter-spacing: -0.01em; }
.plan-for { color: var(--ink-2); margin: 0 0 0.8rem; font-size: 0.95rem; }
.plan ul { margin: 0 0 1.2rem; padding-left: 1.1rem; flex: 1; }
.plan li { margin: 0.3rem 0; font-size: 0.95rem; }
.plan .btn { text-align: center; }
.plan-note { color: var(--ink-2); font-size: 0.92rem; margin-top: 22px; max-width: 900px; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* Content pages (solutions and legal) */
.page-hero { padding: 56px 0 36px; background: radial-gradient(1000px 420px at 85% -10%, #e8f0fb 0, rgba(232, 240, 251, 0) 60%), var(--bg); }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.crumbs { font-size: 0.88rem; color: var(--ink-2); margin: 0 0 0.6rem; }
.crumbs a { color: var(--ink-2); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose p, .prose li { color: var(--ink); }
.prose li { margin: 0.35rem 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.5rem 0.6rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); }
.callout { border-left: 4px solid var(--brand); background: var(--brand-tint); padding: 0.8rem 1rem; border-radius: 6px; margin: 1.2rem 0; }
.cta-band { margin: 2.6rem 0 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.cta-band p { margin-top: 0; }
.draft-note { border: 1px dashed #b07400; background: #fff8e6; padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.92rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.foot-cols h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; color: var(--ink); }
.foot-cols nav { display: flex; flex-direction: column; gap: 0.35rem; }
.foot-cols a { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.foot-cols a:hover { text-decoration: underline; }
.nav nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }
.page-hero + .section { padding-top: 28px; }
/* Wide tables scroll inside the column on small screens instead of widening the page. */
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; max-width: 100%; } }

/* One-minute product tour */
.video-frame { margin: 24px 0 12px; }
.video-frame video { display: block; width: 100%; max-width: 1040px; height: auto; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 10px; background: #0f2a4a; box-shadow: 0 12px 40px rgba(15, 42, 74, 0.18); }
.video-steps { max-width: 1040px; }
.video-steps summary { cursor: pointer; font-weight: 600; }
.video-steps ol { margin: 12px 0 0; padding-left: 1.4em; line-height: 1.6; }
#tour { scroll-margin-top: 80px; }
