/* Wave 1 subpages: page hero and the six-block product template.
   Builds on the tokens and components in styles.css. */

/* Page hero: a compact version of the home hero */
.page-hero { background: var(--ink); color: #fff; padding: 72px 0 80px; border-bottom: 1px solid var(--line-dk); position: relative; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 100% 0%, rgba(27,179,166,.16), transparent 60%), radial-gradient(70% 110% at 0% 100%, rgba(62,143,212,.14), transparent 60%); pointer-events: none; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #7E96A8; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #AEC0CD; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--teal); }
.page-hero .eyebrow { color: var(--teal); display: inline-block; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; max-width: 22ch; margin-bottom: 22px; }
.page-hero h1 span { color: var(--teal); }
.page-hero p.sub { font-size: clamp(16px, 1.5vw, 18.5px); color: #C7D6E1; line-height: 1.65; max-width: 66ch; }
.page-hero .ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.page-hero .hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: #7E96A8; letter-spacing: .04em; }

/* Block label: "01 · Claim" style kicker above each template block */
.block-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dim); font-weight: 600; display: block; margin-bottom: 14px; }
.sec.dark .block-label { color: var(--teal); }

/* Claim and story */
.claim { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); max-width: 30ch; }
.story { font-size: 17.5px; color: #3c4a57; line-height: 1.75; max-width: 72ch; margin-top: 26px; }
.claim-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.claim-story .story { margin-top: 0; }
@media(max-width: 900px) { .claim-story { grid-template-columns: 1fr; gap: 28px; } }

/* Capabilities: four blocks, same shape on every product page */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.cap .num { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--teal-dim); }
.cap h3 { font-size: 19px; color: var(--navy); margin: 10px 0 10px; line-height: 1.2; }
.cap p { font-size: 14.5px; color: #3c4a57; line-height: 1.6; }
.cap .mono { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); margin-top: auto; padding-top: 16px; line-height: 1.55; }
@media(max-width: 1100px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .cap-grid { grid-template-columns: 1fr; } }

/* Deployment: facts list on a dark band */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: 14px; overflow: hidden; }
.deploy-grid div { background: var(--ink); padding: 26px 24px; }
.deploy-grid b { display: block; font-family: var(--display); font-size: 18px; color: #fff; margin-bottom: 8px; }
.deploy-grid span { font-size: 14px; color: #AEC0CD; line-height: 1.6; display: block; }
@media(max-width: 900px) { .deploy-grid { grid-template-columns: 1fr; } }

/* Evidence: things a visitor can inspect */
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evidence { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.evidence:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 20px 44px -28px rgba(14,58,95,.35); }
.evidence .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dim); }
.evidence h3 { font-size: 20px; color: var(--navy); }
.evidence p { font-size: 14.5px; color: #3c4a57; line-height: 1.6; }
.evidence .go { margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--teal-dim); }
@media(max-width: 900px) { .evidence-grid { grid-template-columns: 1fr; } }

/* Portfolio page */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px 38px; }
.feature h3 { font-size: 30px; color: var(--navy); margin: 12px 0 6px; }
.feature .prod-desc { margin-top: 8px; }
@media(max-width: 900px) { .feature { grid-template-columns: 1fr; padding: 30px 24px; } }
.coming { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); border-radius: 6px; padding: 4px 10px; display: inline-block; margin-top: 18px; align-self: flex-start; }
.prods-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media(max-width: 1000px) { .prods-grid.three { grid-template-columns: 1fr; } }

/* Text links inside sections */
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--teal-dim); margin-top: 22px; }
.text-link:hover { color: var(--navy); }
.sec.dark .text-link { color: var(--teal); }
.sec.dark .text-link:hover { color: #fff; }

/* Simple two-column offering list (consulting, training, trust) */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; }
.offer .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dim); }
.offer h3 { font-size: 22px; color: var(--navy); margin: 10px 0 12px; }
.offer p { font-size: 15px; color: #3c4a57; line-height: 1.62; }
.offer ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.offer li { font-size: 14px; color: #3c4a57; padding-left: 18px; position: relative; line-height: 1.5; }
.offer li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border: 2px solid var(--teal); border-radius: 50%; }
@media(max-width: 980px) { .offer-grid { grid-template-columns: 1fr; } }

/* Steps: how an engagement runs */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--teal); padding-top: 18px; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: .1em; }
.steps b { display: block; font-family: var(--display); font-size: 19px; color: #fff; margin: 8px 0 8px; }
.steps span { font-size: 14.5px; color: #AEC0CD; line-height: 1.6; display: block; }
@media(max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media(max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Legal page: long-form reading */
.prose { max-width: 820px; font-size: 16px; color: #3c4a57; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin: 0 0 8px; }
.prose h3 { font-size: 19px; color: var(--navy); margin: 28px 0 10px; }
.prose p + p { margin-top: 12px; }
.prose .updated { font-size: 15px; color: var(--ink-soft); }
.legal-toc { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Current section in the nav */
.navlinks a[aria-current="page"]:not(.nav-cta) { color: #fff; box-shadow: inset 0 -2px 0 var(--teal); padding-bottom: 4px; }

/* Illustrative concept images (products in development) */
.concept { margin-top: 36px; }
.concept svg { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid rgba(27,179,166,.22); }
.concept-note { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .03em; }
.status-chip { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #F2C46D; border: 1px solid rgba(224,163,58,.55); border-radius: 6px; padding: 3px 9px; margin-right: 10px; }
.prod-card .text-link { margin-top: 18px; }

/* Product screenshots */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.shot { margin: 0; }
.shot.wide { grid-column: 1 / -1; }
.shot.narrow img { max-width: 580px; }
.shot img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(9,27,46,.55); background: #101a2e; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.shot figcaption b { color: var(--navy); }
@media(max-width: 820px) { .shots { grid-template-columns: 1fr; } }
.shots-head { font-size: 22px; color: var(--navy); margin: 56px 0 6px; }
.shots-lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 24px; }

/* Portfolio chain diagram: rows link to product pages */
.fab-row { transition: fill .2s; }
a:hover > .fab-row, a:focus-visible > .fab-row { fill: rgba(27,179,166,.08); }

/* Insights: hub cards */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.insight-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 20px 44px -28px rgba(14,58,95,.35); }
.insight-card .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dim); }
.insight-card h3 { font-size: 21px; color: var(--navy); line-height: 1.2; }
.insight-card p { font-size: 14.5px; color: #3c4a57; line-height: 1.6; }
.insight-meta { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.insight-empty { grid-column: 1 / -1; font-size: 16px; color: var(--ink-soft); }
@media(max-width: 980px) { .insight-grid { grid-template-columns: 1fr; } }

/* Insights: article page */
.article-hero h1 { max-width: 24ch; }
.article-meta { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: #9DB4C4; letter-spacing: .02em; }
.article-meta b { color: #fff; font-family: var(--body); font-size: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 64px; justify-content: space-between; align-items: start; }
.article-body { max-width: 720px; font-size: 17.5px; line-height: 1.8; color: #2c3a47; }
.article-body > * + * { margin-top: 18px; }
.article-body .lede { font-size: 20px; line-height: 1.65; color: var(--navy); }
.article-body h2 { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); margin-top: 44px; }
.article-body h3 { font-size: 20px; color: var(--navy); margin-top: 32px; }
.article-body a { color: var(--teal-dim); font-weight: 600; border-bottom: 1px solid rgba(19,160,154,.35); }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body blockquote { border-left: 3px solid var(--teal); padding: 6px 0 6px 22px; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.35; color: var(--navy); letter-spacing: -.01em; }
.article-body figure { margin: 30px 0; }
.article-body figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.article-body pre { background: var(--ink); color: #CFE0EB; border-radius: 10px; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
.article-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; display: flex; flex-direction: column; }
.aside-card .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dim); }
.aside-card h3 { font-size: 20px; color: var(--navy); margin: 8px 0 6px; }
.aside-card p { font-size: 14px; color: #3c4a57; line-height: 1.55; margin-top: 6px; }
.aside-card .text-link { margin-top: 12px; font-size: 14px; }
@media(max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 40px; } .article-aside { position: static; } }

.evidence-grid.four { grid-template-columns: repeat(4, 1fr); }
@media(max-width: 1100px) { .evidence-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 700px) { .evidence-grid.four { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { font-size: 14.5px; color: #3c4a57; line-height: 1.55; padding-left: 20px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border: 2px solid var(--teal); border-radius: 50%; }

/* Model card (draft) */
.card-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.card-table th { text-align: left; width: 34%; padding: 10px 12px; color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line); vertical-align: top; }
.card-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbd { color: #8A5A00; font-style: italic; }

/* Training: course catalogue */
.course-list { display: flex; flex-direction: column; gap: 24px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; padding: 34px 32px; }
.course .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dim); }
.course h3 { font-size: 24px; color: var(--navy); margin: 10px 0 12px; line-height: 1.2; }
.course-head p { font-size: 15.5px; color: #3c4a57; line-height: 1.62; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.course-meta span { font-family: var(--mono); font-size: 11.5px; padding: 4px 10px; background: var(--paper-2); color: var(--navy); border-radius: 6px; }
.course-body details { border-top: 1px solid var(--line); padding: 12px 0; }
.course-body details:first-child { border-top: none; padding-top: 0; }
.course-body summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.course-body summary::-webkit-details-marker { display: none; }
.course-body summary::after { content: "+"; font-family: var(--mono); color: var(--teal-dim); font-size: 18px; }
.course-body details[open] summary::after { content: "–"; }
.course-body .check-list { margin-top: 12px; }
@media(max-width: 900px) { .course { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; } }

.cap-grid.six { grid-template-columns: repeat(3, 1fr); }
@media(max-width: 1000px) { .cap-grid.six { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 640px) { .cap-grid.six { grid-template-columns: 1fr; } }
.deploy-grid.four { grid-template-columns: repeat(2, 1fr); }
@media(max-width: 900px) { .deploy-grid.four { grid-template-columns: 1fr; } }
.steps.light li { border-top-color: var(--teal); }
.steps.light b { color: var(--navy); }
.steps.light span { color: #3c4a57; }
.steps.light li::before { color: var(--teal-dim); }

/* Illustrative product mock-ups (Eagle) */
.mock-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.mock { background: var(--ink); border: 1px solid rgba(27,179,166,.22); border-radius: 14px; padding: 22px 22px 20px; color: #E4EDF3; font-size: 13.5px; }
.mock-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: #7E96A8; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-dk); }
.mock-ok { color: var(--teal); }
.mock-k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--teal); margin-bottom: 8px; }
.mock-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: #AEC0CD; }
.mock-v { font-family: var(--mono); font-size: 12px; color: #E4EDF3; }
.mock-verdict { display: flex; align-items: center; gap: 16px; margin: 12px 0 6px; }
.mock-badge { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #F2C46D; border: 1px solid rgba(224,163,58,.55); border-radius: 6px; padding: 6px 12px; }
.mock-verdict b { font-family: var(--display); font-size: 30px; display: block; line-height: 1; }
.mock-verdict span { color: #AEC0CD; font-size: 12.5px; }
.mock-note { color: #AEC0CD; font-size: 12.5px; margin-bottom: 10px; }
.mock-ev { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line-dk); }
.mock-ev b { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.mock-ev .s { color: #F2C46D; } .mock-ev .e { color: #5fd6cb; } .mock-ev .u { color: #4FA3E8; }
.mock-rec, .mock-auth { margin-top: 14px; padding: 14px; border: 1px solid var(--line-dk); border-radius: 10px; background: rgba(255,255,255,.02); }
.mock-auth p { margin-bottom: 6px; }
.mock-tabs { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #7E96A8; margin-bottom: 14px; }
.mock-tabs .on { color: #fff; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
.mock-bar { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 10px; padding: 5px 0; color: #AEC0CD; }
.mock-bar i { display: block; height: 7px; border-radius: 4px; background: linear-gradient(90deg, #4FA3E8 var(--w), #16304A var(--w)); }
.mock-bar b { font-family: var(--mono); font-size: 12px; color: #E4EDF3; text-align: right; }
.mock-ctx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-ctx div { border: 1px solid var(--line-dk); border-radius: 8px; padding: 10px; }
.mock-ctx b { display: block; font-family: var(--display); font-size: 20px; color: var(--teal); }
.mock-ctx span { font-size: 11.5px; color: #AEC0CD; }
@media(max-width: 900px) { .mock-grid { grid-template-columns: 1fr; } }
