/* =============================================================
   NordOps Consulting, v2 design for inner pages (set B), 18 Oct 2026.
   Loaded after style.css and v2.css, scoped to body.v2. It restyles the
   existing inner-page components in the homepage v2 system, so the approved
   markup and text (and with them the 11 translations) stay unchanged.

   Same system as v2.css: Epilogue headings with a light cyan emphasis,
   one accent (brand cyan), 18px panels / 10px chips / pill buttons,
   left-aligned headers, generous section rhythm, one reveal motion.
   ============================================================= */

/* ---------- Frame and rhythm ---------- */
body.v2 .container { max-width: var(--container); padding-left: 24px; padding-right: 24px; }
body.v2 section { padding: clamp(72px, 8vw, 120px) 0; }
body.v2 section:nth-of-type(even):not(.page-hero):not(.cta-section) { background: var(--v2-surface-2); }

/* ---------- Page hero: left-aligned, no centring ---------- */
body.v2 .page-hero {
  text-align: left;
  padding: calc(var(--nav-h) + clamp(48px, 6vw, 96px)) 0 clamp(48px, 5vw, 80px);
  border-bottom: 1px solid var(--v2-line);
  background: radial-gradient(90% 120% at 100% 0%, rgba(0, 200, 212, 0.10), transparent 55%), var(--v2-surface);
}
body.v2 .page-hero h1 {
  font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1.04;
  margin: 0 0 24px; max-width: 20ch; letter-spacing: -0.03em;
}
body.v2 .page-hero .lead { margin: 0; max-width: 62ch; font-size: clamp(17px, 1.4vw, 19px); font-weight: 400; color: var(--v2-text-2); }
body.v2 .page-hero .lead + .lead { margin-top: 16px; }
body.v2 .page-hero .back-row { text-align: left; margin-bottom: 28px; }
body.v2 .page-hero .back-link { border-radius: 999px; }
body.v2 .page-hero .btn-primary, body.v2 .page-hero .btn-outline { margin-top: 28px; }

/* ---------- Headings ---------- */
body.v2 .display-heading,
body.v2 section h2 {
  font-family: var(--font-heading); font-variation-settings: normal;
  font-size: clamp(30px, 3.8vw, 50px); font-weight: 700; line-height: 1.07;
  letter-spacing: -0.028em; max-width: 20ch; color: var(--v2-text);
}
body.v2 .display-heading em, body.v2 h1 em, body.v2 h2 em, body.v2 h3 em {
  font-family: var(--font-heading) !important; font-style: normal !important;
  font-weight: 400 !important; font-variation-settings: normal !important; color: var(--v2-accent) !important;
}
body.v2 .section-header {
  text-align: left; border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(36px, 4vw, 56px);
}
body.v2 .section-header h2 { margin: 0 0 16px; }
body.v2 .section-header p { margin: 0; max-width: 62ch; }
body.v2 section h3 { letter-spacing: -0.02em; }

/* ---------- Decorative hand-drawn icons: removed from view ---------- */
body.v2 .card-panel > svg, body.v2 .card-bare > svg, body.v2 .card-data > svg,
body.v2 .credential-card > svg, body.v2 .card > svg, body.v2 .card-accent-top > svg,
body.v2 .cta-section > .container > svg, body.v2 .portal-feature__icon,
body.v2 .contact-card-icon { display: none !important; }

/* ---------- Cards ---------- */
body.v2 .card-panel, body.v2 .credential-card, body.v2 .card, body.v2 .card-accent-top {
  background: var(--v2-surface-2); border: 0; border-radius: var(--v2-r);
  box-shadow: inset 0 0 0 1px var(--v2-line); padding: clamp(26px, 3vw, 40px);
  border-top: 0 !important;
}
body.v2 section:nth-of-type(even) .card-panel,
body.v2 section:nth-of-type(even) .credential-card { background: var(--v2-surface); }
body.v2 .card-panel::before { display: none; }
body.v2 .card-panel:hover, body.v2 .credential-card:hover, body.v2 .card:hover { transform: none; box-shadow: inset 0 0 0 1px var(--v2-line-2); }
body.v2 .card-panel h3, body.v2 .credential-card h3 { font-size: 21px; color: var(--v2-text); }
body.v2 .card-panel p, body.v2 .credential-card p { font-size: 16px; }
body.v2 .text-warning, body.v2 .text-success { color: var(--v2-text) !important; }

body.v2 .card-bare { border-top: 1px solid var(--v2-line); padding: 28px 0; }
body.v2 .card-bare h3, body.v2 .card-bare h4 { font-size: 19px; color: var(--v2-text); }
body.v2 .card-bare p { font-size: 16px; }

body.v2 .card-data {
  background: transparent; border: 0; border-radius: var(--v2-r);
  box-shadow: inset 0 0 0 1px var(--v2-line-2); padding: clamp(24px, 3vw, 36px);
}
body.v2 .card-data h3 {
  font-size: 20px; letter-spacing: -0.02em; text-transform: none; color: var(--v2-text); font-weight: 700;
}
body.v2 .card-data ul { list-style: none; padding: 0; margin: 0; }
body.v2 .card-data li { padding: 12px 0; border-top: 1px solid var(--v2-line); }

/* ---------- Grids: break the three-equal-cards rhythm ---------- */
body.v2 .grid-3 { gap: 16px; }
body.v2 section:nth-of-type(odd) .grid-3 { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); }
body.v2 section:nth-of-type(odd) .grid-3 > :first-child {
  background: radial-gradient(120% 80% at 0% 0%, rgba(0, 200, 212, 0.18), transparent 60%), linear-gradient(160deg, #10284a, #0b1830);
}
body.v2 .credential-grid { gap: 16px; }

/* ---------- Split sections ---------- */
body.v2 .split-section { gap: clamp(32px, 6vw, 96px); align-items: start; }
body.v2 .split-section__support .card-bare:first-child { border-top: 0; padding-top: 0; }

/* ---------- Quotes ---------- */
body.v2 .quote-block { border: 0; padding: 0; margin: 32px 0 0; background: none; }
body.v2 .quote-block::before, body.v2 .quote-block::after { display: none; }
body.v2 .quote-block p {
  font-family: var(--font-heading) !important; font-style: normal !important; font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.02em; color: var(--v2-text) !important;
  padding-left: 24px; border-left: 2px solid var(--v2-accent);
}

/* ---------- Buttons ---------- */
body.v2 .btn-outline {
  border-radius: 999px; padding: 14px 26px; border-color: var(--v2-line-2); color: var(--v2-text);
  transition: border-color .3s var(--v2-ease), color .3s var(--v2-ease), transform .3s var(--v2-ease);
}
body.v2 .btn-outline:hover { border-color: var(--v2-accent); color: var(--v2-accent); transform: translateY(-2px); background: transparent; }

/* ---------- Final CTA: left-aligned, two columns ---------- */
body.v2 .cta-section {
  text-align: left; padding: var(--v2-pad) 0;
  background: linear-gradient(180deg, var(--v2-surface) 0%, #0b2033 100%) !important; border-top: 1px solid var(--v2-line);
}
body.v2 .cta-section::before { display: none; }
body.v2 .cta-section > .container { text-align: left !important; }
body.v2 .cta-section h2 { margin: 0 0 20px; max-width: 22ch; font-size: clamp(30px, 3.6vw, 50px); }
body.v2 .cta-section p { margin: 0 0 32px; max-width: 58ch; }

/* ---------- How it works: timeline ---------- */
body.v2 .timeline::before { background: linear-gradient(180deg, var(--v2-accent), var(--v2-line-2)); width: 1px; }
body.v2 .timeline-num, body.v2 .timeline-step--milestone .timeline-num {
  background: var(--v2-surface); box-shadow: inset 0 0 0 1px var(--v2-accent); color: var(--v2-accent);
  border: 0; font-family: var(--font-heading); font-weight: 700;
}
body.v2 .timeline-step--milestone .timeline-num::after { display: none; }
body.v2 .timeline-step h3 { font-size: 21px; color: var(--v2-text); }
body.v2 .timeline-step p { font-size: 16px; }
body.v2 .timeline-badge, body.v2 .timeline-badge--payment, body.v2 .timeline-badge--access, body.v2 .timeline-badge--signature {
  background: var(--v2-accent-soft); color: var(--v2-accent); border-radius: 999px;
}
body.v2 .timeline-phase { color: var(--v2-accent); font-family: var(--font-heading); letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 600; }
body.v2 .timeline-phase::before { background: var(--v2-line); }

/* ---------- FAQ: accordion ---------- */
body.v2 .faq-item {
  border: 0; border-radius: var(--v2-r); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line);
  margin: 0 0 10px; padding: 0;
}
body.v2 .faq-item summary {
  font-family: var(--font-heading); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: var(--v2-text);
  padding: 22px 26px; letter-spacing: -0.01em;
}
body.v2 .faq-item[open] { box-shadow: inset 0 0 0 1px var(--v2-line-2); }
body.v2 .faq-item[open] summary { color: var(--v2-accent); }
body.v2 .faq-a { padding: 0 26px 24px; }
body.v2 .faq-a p { max-width: 68ch; }

/* ---------- Compare table ---------- */
body.v2 .compare-table { border-collapse: separate; border-spacing: 0; border-radius: var(--v2-r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--v2-line); }
body.v2 .compare-table th, body.v2 .compare-table td { border-color: var(--v2-line) !important; }
body.v2 .compare-table thead th { font-family: var(--font-heading); color: var(--v2-text); background: var(--v2-surface-3); }
body.v2 .compare-table .col-nordops { background: rgba(0, 200, 212, 0.07) !important; color: var(--v2-text); }
body.v2 .ind-yes { color: var(--v2-accent) !important; }
body.v2 .ind-mid { color: var(--v2-text-2) !important; }
body.v2 .ind-no { color: var(--v2-text-3) !important; }

/* ---------- Scenarios: one accent, neutrals carry the rest ---------- */
body.v2 .stat-number--warning, body.v2 .scenario-strip__stat--cost .scenario-strip__stat-value,
body.v2 .scenario-roi-tile--cost .scenario-roi-tile__value { color: var(--v2-text) !important; }
body.v2 .stat-number--success, body.v2 .scenario-roi-tile--return .scenario-roi-tile__value { color: var(--v2-text) !important; }
body.v2 .scenario-strip__stat--pay .scenario-strip__stat-value, body.v2 .scenario-roi-tile--pay .scenario-roi-tile__value,
body.v2 .scenario-strip__stat--roi .scenario-strip__stat-value, body.v2 .scenario-roi-tile--roi .scenario-roi-tile__value { color: var(--v2-accent) !important; }
body.v2 .scenario-strip__card, body.v2 .scenario-roi-tile, body.v2 .roi-box, body.v2 .soft-return, body.v2 .comparison-before, body.v2 .comparison-after {
  border-radius: var(--v2-r) !important; border-color: var(--v2-line) !important; background: var(--v2-surface-2) !important;
  box-shadow: inset 0 0 0 1px var(--v2-line);
}
body.v2 section:nth-of-type(even) .scenario-strip__card, body.v2 section:nth-of-type(even) .scenario-roi-tile,
body.v2 section:nth-of-type(even) .roi-box, body.v2 section:nth-of-type(even) .soft-return,
body.v2 section:nth-of-type(even) .comparison-before, body.v2 section:nth-of-type(even) .comparison-after { background: var(--v2-surface) !important; }
body.v2 .comparison-arrow { color: var(--v2-accent); }
body.v2 .soft-return__eyebrow { color: var(--v2-accent); letter-spacing: 0; text-transform: none; font-family: var(--font-heading); font-weight: 600; }

/* ---------- Data foundation (processor) ---------- */
body.v2 .processor-flow__step { border-radius: var(--v2-r); }
body.v2 .portal-features { gap: 16px; }
body.v2 .portal-feature { border-radius: var(--v2-r); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line); border: 0; padding: 28px; }
body.v2 .portal-feature h3 { font-size: 19px; color: var(--v2-text); }

/* ---------- About: founder ---------- */
body.v2 .career-timeline li { border-color: var(--v2-line); }
body.v2 .career-year { color: var(--v2-accent); font-family: var(--font-heading); font-weight: 600; }

/* ---------- Contact: cards and form ---------- */
body.v2 .contact-card {
  border: 0; border-radius: var(--v2-r); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line); padding: 28px;
}
body.v2 .contact-card:hover { transform: none; box-shadow: inset 0 0 0 1px var(--v2-accent); }
body.v2 .contact-card h3 { font-size: 19px; color: var(--v2-text); }
body.v2 .form-input { border-radius: var(--v2-r-sm); background: var(--v2-surface-3); border-color: var(--v2-line-2); color: var(--v2-text); }
body.v2 .form-input:focus { border-color: var(--v2-accent); box-shadow: 0 0 0 3px var(--v2-accent-soft); }
body.v2 .form-label { color: var(--v2-text-2); }

/* ---------- Insights index: editorial list ---------- */
body.v2 .insight-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.v2 .insight-card { border: 0 !important; border-radius: var(--v2-r); background: var(--v2-surface-2); box-shadow: inset 0 0 0 1px var(--v2-line); padding: clamp(26px, 3vw, 36px); }
body.v2 .insight-list .insight-card:first-child { background: radial-gradient(120% 90% at 0% 0%, rgba(0, 200, 212, 0.16), transparent 60%), linear-gradient(160deg, #10284a, #0b1830); }
body.v2 .insight-card:hover { transform: none; box-shadow: inset 0 0 0 1px var(--v2-accent); }
body.v2 .insight-card h2 { font-size: clamp(20px, 2vw, 26px); max-width: none; letter-spacing: -0.02em; }
body.v2 .insight-more { color: var(--v2-accent); }

/* ---------- Articles: editorial reading layout ---------- */
body.v2-article .page-hero h1 { max-width: 22ch; }
body.v2-article .article-body { max-width: calc(68ch + 48px); margin-left: max(0px, calc((100% - var(--container)) / 2)); margin-right: 0; background: transparent !important; }
body.v2-article .article-body p, body.v2-article .article-body li { font-size: 18px; line-height: 1.8; color: var(--v2-text-2); }
body.v2-article .article-body h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 3rem 0 1rem; max-width: 26ch; }
body.v2-article .article-body h3 { font-size: 21px; margin: 2rem 0 .6rem; color: var(--v2-text); }
body.v2-article .article-body a { color: var(--v2-text); text-decoration: underline; text-decoration-color: var(--v2-accent); text-underline-offset: 4px; }
body.v2-article .article-body ul, body.v2-article .article-body ol { padding-left: 1.2em; margin: 0 0 1.4rem; }
body.v2-article .byline { color: var(--v2-text-3); font-size: 15px; margin-top: 18px; }
body.v2-article section:nth-of-type(even):not(.page-hero):not(.cta-section) { background: var(--v2-surface); }

/* ---------- Legal: plain and readable ---------- */
body.v2-legal section:nth-of-type(even):not(.page-hero) { background: var(--v2-surface); }
body.v2-legal article, body.v2-legal .legal-body { max-width: 76ch; }
body.v2-legal article h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 1.25rem; }
body.v2-legal article h3 { font-size: 19px; color: var(--v2-text); }
body.v2-legal article p, body.v2-legal article li { font-size: 16px; line-height: 1.75; }
body.v2-legal .summary-table { border-radius: var(--v2-r-sm); }

/* ---------- 404 ---------- */
body.v2-404 section { min-height: calc(100dvh - 200px); display: flex; align-items: center; }

/* ---------- Leftover centring from the old design (inline styles): align to the frame ---------- */
body.v2 section:not(.page-hero) [style*="text-align:center"], body.v2 section:not(.page-hero) [style*="text-align: center"] { text-align: left !important; }
body.v2 section:not(.page-hero) [style*="margin:0 auto"], body.v2 section:not(.page-hero) [style*="margin: 0 auto"] { margin-left: 0 !important; }
body.v2 .contact-card, body.v2 .card-accent-top { text-align: left; }
body.v2 .card-accent-top p { margin-left: 0; margin-right: 0; }

/* ---------- Scenario labels and calculator buttons ---------- */
body.v2 .scenario-strip__num { letter-spacing: 0; text-transform: none; font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--v2-accent); }
body.v2 .btn-calc-outline, body.v2 .btn-calc-primary { border-radius: 999px !important; }

/* ---------- Phone ---------- */
@media (max-width: 1024px) {
  body.v2 section:nth-of-type(odd) .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.v2 section:nth-of-type(odd) .grid-3 > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  body.v2 .container { padding-left: 16px; padding-right: 16px; }
  body.v2 section:nth-of-type(odd) .grid-3, body.v2 .grid-3, body.v2 .insight-list { grid-template-columns: 1fr; }
  body.v2 .faq-item summary { padding: 18px 20px; }
  body.v2 .faq-a { padding: 0 20px 20px; }
  body.v2-article .article-body p, body.v2-article .article-body li { font-size: 17px; }
  body.v2-article .article-body { margin-left: 0; margin-right: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  body.v2 .btn-outline { transition: none; }
  body.v2 .btn-outline:hover { transform: none; }
}
