/* NMC Consulting site styles, direction A "Confident navy".
   Brand palette from the Cloud-Halo app and Word reports: Navy #00268B, Blue #0066C8,
   Cyan #01A3F0, Ice Blue #DEE8F5, Charcoal. Montserrat headings, Inter body.
   Loads after any page-specific <style>, so these rules win and the older variable
   names are mapped onto the brand. New components use the n- prefix so they never
   collide with class names inside older pages. */

:root {
  color-scheme: light;
  --navy: #00268b;
  --navy-2: #001a63;
  --blue: #0066c8;
  --cyan: #01a3f0;
  --sky: #7fd3ff;
  --ice: #dee8f5;
  --ice-2: #eef3fa;
  --ink-c: #1f2933;
  --ink-2c: #4a5560;
  --rule: #dde5ef;
  --rule-strong: #c3d1e2;
  --char: #1c232b;
  --on-dark-2: #dbe6f7;
  --grad: linear-gradient(135deg, #00268b 0%, #0052b4 55%, #0a8fd8 100%);
  --grad-halo: linear-gradient(135deg, #0066c8, #01a3f0);
  --hero-img: url(/assets/band-services.webp);
  --heading: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --maxw: 1200px;

  /* Older page styles use these names. */
  --paper: #ffffff;
  --paper-2: #ffffff;
  --paper-3: var(--ice-2);
  --ink: var(--ink-c);
  --ink-soft: var(--ink-2c);
  --muted: #5e6973;
  --line: var(--rule);
  --line-soft: #e8edf4;
  --accent: var(--blue);
  --accent-deep: var(--navy);
  --accent-soft: var(--ice-2);
  --slate: var(--blue);
  --ochre: var(--blue);
  --c: var(--blue);
  --dark: var(--navy);
  --dark-2: var(--navy-2);
  --dark-line: #1e3f9a;
  --on-dark: #ffffff;
  --on-dark-mute: #c9d6ee;
  --serif: var(--heading);
  --sans: var(--body);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--ink-c); font: 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--navy); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; font-style: normal; }
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; margin: 0 0 20px; }
h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 800; margin: 0 0 16px; }
h3 { font-size: 19px; margin: 0 0 8px; }
h4 { font-size: 16px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.i, em.i { font-style: normal; }
main a:not(.btn):not(.n-card):not(.n-post):not(.n-qrow):not(.post), .prose a { color: var(--blue); text-underline-offset: 3px; }
main a:not(.btn):hover { color: var(--navy); }
.wrap, .w { max-width: var(--maxw); margin: 0 auto; padding-inline: max(24px, 4vw); }
.narrow { max-width: 820px; margin: 0 auto; padding-inline: 24px; }
section { padding-block: clamp(56px, 7vw, 96px); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: var(--ink-2c); max-width: 62ch; }
.muted { color: #5e6973; }
.small { font-size: 14px; }
svg.ic { width: 24px; height: 24px; flex: 0 0 auto; }

/* Template filler from the first version: neutralise wherever it remains. */
.eyebrow, .tag, .art-tag, .flagtag, .gtag, .ptag { text-transform: none !important; letter-spacing: 0 !important; background: none !important; border: 0 !important; padding: 0 !important; border-radius: 0 !important; font: 600 15px var(--body) !important; color: var(--sky) !important; }
.hero-meta, .strip, .hero-viz, .card .rule, .tick, .tk { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 15px/1.3 var(--heading); padding: 14px 24px; border-radius: 8px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg.ic { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg.ic { transform: translateX(3px); }
.btn .arw { display: none; }
.btn-primary, .b-blue { background: var(--blue); color: #fff !important; }
.btn-primary:hover, .b-blue:hover { background: var(--navy); box-shadow: 0 12px 24px -14px var(--navy); }
.btn-ghost, .btn-secondary { background: #fff; color: var(--navy) !important; border-color: var(--rule-strong); }
.btn-ghost:hover, .btn-secondary:hover { border-color: var(--navy); }
.btn-dark, .b-white { background: #fff; color: var(--navy) !important; }
.btn-dark:hover, .b-white:hover { box-shadow: 0 12px 26px -12px rgba(0,0,0,.55); }
.btn-dark-ghost, .b-line { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.btn-dark-ghost:hover, .b-line:hover { border-color: #fff; }
.actions, .hero-cta, .cta-actions, .row, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Header */
.sh { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.sh-in { max-width: var(--maxw); margin: 0 auto; padding: 10px max(24px, 4vw); display: flex; align-items: center; gap: 20px; }
.sh-logo img { height: 46px; width: auto; display: block; }
.sh-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.sh-nav a { color: var(--ink-c); text-decoration: none; font: 600 14.5px var(--heading); }
.sh-nav a:hover, .sh-nav a[aria-current="page"] { color: var(--blue); }
.sh-nav .btn { padding: 11px 18px; font-size: 14px; color: #fff; }
.sh-menu { display: none; margin-left: auto; background: #fff; border: 1px solid var(--rule-strong); border-radius: 6px; color: var(--navy); padding: 9px 14px; font: 600 14px var(--heading); cursor: pointer; }
@media (max-width: 960px) {
  .sh-menu { display: inline-flex; }
  .sh-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); }
  .sh-nav.open { display: flex; }
  .sh-nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .sh-nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Footer: soft charcoal */
.ft { background: var(--char); color: #c9d1da; padding-block: 56px 28px; font-size: 14.5px; }
.ft a { color: #e8edf3; text-decoration: none; }
.ft a:hover { color: var(--sky); }
.ft-g { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.ft h2 { font: 700 14px var(--heading); color: #fff; margin: 0 0 14px; letter-spacing: 0; }
.ft p { color: #c9d1da; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ft-logo { display: inline-block; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.ft-logo img { height: 38px; width: auto; display: block; }
.ft-legal { border-top: 1px solid #2f3a45; margin-top: 40px; padding-top: 20px; font-size: 13px; color: #93a0ad; display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (max-width: 820px) { .ft-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ft-g { grid-template-columns: 1fr; } }

/* Heroes: photo under a navy gradient. Applies to the new .n-hero and to the hero
   blocks on older pages (.phero, section.top, the article header). */
.n-hero, .phero, main > section.top, body > section.top, .article {
  position: relative; color: #fff; isolation: isolate;
  background: linear-gradient(100deg, rgba(0,26,99,.96) 0%, rgba(0,38,139,.9) 45%, rgba(0,70,165,.8) 100%), var(--hero-img) center/cover;
}
.n-hero, .phero, main > section.top, body > section.top, .n-band { overflow: hidden; }
.n-hero::after, .phero::after, main > section.top::after, body > section.top::after { content: ""; position: absolute; right: -140px; top: -180px; width: 540px; height: 540px; background: radial-gradient(circle, rgba(1,163,240,.33), transparent 65%); pointer-events: none; z-index: -1; }
.phero, main > section.top, body > section.top { padding-block: clamp(56px, 7vw, 96px) !important; border: 0 !important; }
.n-hero h1, .phero h1, section.top h1, .article h1 { color: #fff !important; }
.n-hero .lead, .phero .lead, section.top .lead, .article .art-dek, .n-hero p, .phero p, section.top p { color: var(--on-dark-2) !important; }
.phero .breadcrumb, .phero .breadcrumb a, .article .breadcrumb, .article .breadcrumb a, .n-hero .breadcrumb, .n-hero .breadcrumb a { color: #b9c9e6 !important; }
section.top .btn-primary, .phero .btn-primary { background: #fff; color: var(--navy) !important; }
section.top .btn-ghost, .phero .btn-ghost, section.top .btn-secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
section.top .meta, section.top .meta span, .article .art-meta, .article .art-meta b { color: #c9d6ee !important; }
section.top a:not(.btn), .phero a:not(.btn) { color: #fff; }
.phero .topics .topic { color: #fff; background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.25) !important; }
/* The article header sits inside a narrow column: paint the band edge to edge. */
.article { background: none; padding-block: clamp(40px, 6vw, 72px) !important; margin-bottom: 40px; }
.article::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background: linear-gradient(100deg, rgba(0,26,99,.96) 0%, rgba(0,38,139,.9) 45%, rgba(0,70,165,.8) 100%), var(--hero-img) center/cover; }
.article .art-tag { color: var(--sky) !important; }

/* Home hero with rate-card panel */
.n-hero .wrap { padding-block: clamp(56px, 7vw, 104px); }
.n-hero { padding-block: 0; }
.n-hero .wrap > :only-child { grid-column: 1 / -1; max-width: 780px; }
.breadcrumb { font-size: 14px; margin-bottom: 14px; }
.n-hero .actions { margin-top: 30px; }
.n-hero .w, .n-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.n-hero h1 span { color: var(--sky); }
.n-note { margin-top: 22px; font-size: 14px; color: #b9c9e6; display: flex; align-items: center; gap: 8px; }
.n-note svg.ic { width: 18px; height: 18px; color: var(--cyan); }
.n-quote { background: #fff; color: var(--ink-c); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,10,40,.7); overflow: hidden; }
.n-quote-h { background: var(--ice-2); padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); }
.n-quote-h b { font: 700 15px var(--heading); color: var(--navy); }
.n-quote-h small { color: var(--ink-2c); font-size: 13px; }
.n-qrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; transition: background .2s; }
.n-qrow:hover { background: #f6f9fd; }
.n-qrow .t { font: 600 15px var(--heading); color: var(--navy); display: block; }
.n-qrow .s { font-size: 13px; color: var(--ink-2c); display: block; }
.n-qrow .p { font: 700 15px var(--heading); white-space: nowrap; color: var(--ink-c); }
.n-quote-f { padding: 14px 22px; font-size: 13px; color: var(--ink-2c); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.n-quote-f a { font-weight: 600; }

/* Icon tiles */
.n-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); flex: 0 0 auto; }
.n-ico svg.ic { width: 20px; height: 20px; }
.n-ico.lg { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 10px 20px -10px var(--blue); }
.n-ico.lg svg.ic { width: 26px; height: 26px; }
.n-ico.halo { background: var(--grad-halo); }

/* Stats strip */
.n-stats { background: var(--navy-2); color: #fff; padding-block: 34px; }
.n-stats .w, .n-stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.n-stat b { display: block; font: 800 clamp(28px, 3vw, 38px)/1 var(--heading); color: #fff; white-space: nowrap; }
.n-stat b em { font-style: normal; color: var(--cyan); }
.n-stat span { display: block; margin-top: 8px; font-size: 14px; color: #b9c9e6; }

/* Section heads */
.n-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.n-head p { max-width: 56ch; color: var(--ink-2c); margin: 10px 0 0; }
.n-head h2 { margin: 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2c); }

/* Offer cards */
.n-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.n-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n-card { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 28px 24px 24px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.n-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(0,38,139,.45); border-color: var(--rule-strong); }
.n-card .n-ico { margin-bottom: 20px; }
.n-card .pr { font: 700 16px var(--heading); color: var(--ink-c); margin-bottom: 12px; }
.n-card .pr small { font: 500 13px var(--body); color: var(--ink-2c); }
.n-card p { font-size: 15px; color: var(--ink-2c); }
.n-card .go { margin-top: auto; display: flex; align-items: center; gap: 8px; font: 700 14px var(--heading); color: var(--blue); }
.n-card .go svg.ic { width: 16px; height: 16px; transition: transform .2s; }
a.n-card:hover .go svg.ic { transform: translateX(4px); }

/* Gradient band (Cloud-Halo) */
.n-band { background: var(--grad); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.n-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 20%, rgba(1,163,240,.45), transparent 70%); }
.n-band .w, .n-band .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.n-band h2 { color: #fff; }
.n-band p { color: var(--on-dark-2); }
.n-mark { display: flex; align-items: center; gap: 12px; font: 700 15px var(--heading); color: #fff; margin-bottom: 18px; }
.n-mark img { width: 36px; height: 36px; }
.n-ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.n-ticks li { display: flex; gap: 10px; color: #eaf1fb; }
.n-ticks svg.ic { width: 20px; height: 20px; color: var(--sky); margin-top: 2px; }

/* Sample report panel */
.n-dash { background: #fff; border-radius: 14px; color: var(--ink-c); box-shadow: 0 40px 80px -30px rgba(0,10,40,.6); padding: 20px; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s; }
.n-dash:hover { transform: none; }
.n-dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; color: var(--ink-2c); }
.n-dash-top b { font: 700 15px var(--heading); color: var(--navy); }
.n-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.n-kpi { background: var(--ice-2); border-radius: 10px; padding: 12px; }
.n-kpi small { display: block; font-size: 12px; color: var(--ink-2c); }
.n-kpi b { font: 700 19px var(--heading); color: var(--navy); white-space: nowrap; }
.n-kpi i { font-style: normal; font-size: 12px; font-weight: 600; }
.n-up { color: #b42318; } .n-dn { color: #067647; }
.n-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 8px 4px 0; border-bottom: 1px solid var(--rule); }
.n-bars div { flex: 1; border-radius: 5px 5px 0 0; background: #c9dbf2; transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.n-bars div:last-child { background: var(--blue); }
.moving .n-dash:not(.in) .n-bars div { transform: scaleY(.05); }
.n-months { display: flex; gap: 8px; font-size: 11px; color: var(--ink-2c); padding: 6px 4px 12px; }
.n-months span { flex: 1; text-align: center; }
.n-sav { display: grid; gap: 8px; }
.n-sav div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 8px; }
.n-sav em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 20px; background: #e3f4ea; color: #067647; }
.n-sav em.o { background: #fff4e0; color: #93510a; }
.n-sample, .n-band .n-sample { font-size: 12px; color: var(--ink-2c); margin: 12px 0 0; }

/* Steps */
.n-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.n-steps::before { content: ""; position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--navy), var(--cyan)); }
.n-step { position: relative; }
.n-step .n { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; box-shadow: 0 0 0 8px #fff; }
.n-step .n svg.ic { width: 28px; height: 28px; }
.n-step p { color: var(--ink-2c); font-size: 15.5px; margin-top: 8px; }
.n-ice .n-step .n { box-shadow: 0 0 0 8px var(--ice-2); }

/* Founder / photo split */
.n-ice { background: var(--ice-2); }
.n-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.n-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 60px -30px rgba(0,38,139,.5); margin: 0; }
.n-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-2c); }
.n-photo figcaption b { display: block; font: 700 15px var(--heading); color: var(--navy); }
.n-pull { font: 600 clamp(19px, 2vw, 23px)/1.45 var(--heading); color: var(--navy); border-left: 4px solid var(--cyan); padding-left: 20px; margin: 0 0 22px; }
.n-creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.n-creds div { display: flex; gap: 12px; background: #fff; border-radius: 10px; padding: 14px; font-size: 14.5px; border: 1px solid var(--rule); }
.n-creds svg.ic { color: var(--blue); }
.n-creds b { display: block; font: 700 14.5px var(--heading); color: var(--navy); }

/* Guide cards with photo */
.n-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.n-post { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); text-decoration: none; color: inherit; display: flex; flex-direction: column; background: #fff; transition: transform .25s, box-shadow .25s; }
.n-post:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(0,38,139,.4); }
.n-post .im { aspect-ratio: 16/8; background-size: cover; background-position: center; position: relative; }
.n-post .im span { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--navy); border-radius: 8px; padding: 6px 10px; font: 600 12.5px var(--heading); display: flex; gap: 6px; align-items: center; }
.n-post .im svg.ic { width: 15px; height: 15px; color: var(--blue); }
.n-post .bd { padding: 20px 22px 22px; }
.n-post p { color: var(--ink-2c); font-size: 15px; margin-top: 8px; }

/* Closing band over a photo */
.n-cta { color: #fff; background: linear-gradient(100deg, rgba(0,26,99,.94), rgba(0,82,180,.82)), url(/assets/band-home.webp) center/cover; }
.n-cta .w, .n-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.n-cta h2 { color: #fff; margin: 0; }
.n-cta p { color: var(--on-dark-2); margin: 10px 0 0; }
.n-cta .actions { margin-top: 0; }
.ctaband { background: linear-gradient(100deg, rgba(0,26,99,.94), rgba(0,82,180,.82)), url(/assets/band-home.webp) center/cover !important; color: #fff; }
.ctaband::before { display: none !important; }
.ctaband h2, .ctaband h3 { color: #fff !important; max-width: none; }
.ctaband p, .ctaband li { color: var(--on-dark-2); }
.ctaband a:not(.btn) { color: #fff; }

/* Rate tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.rates { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: #fff; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
table.rates th, table.rates td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
table.rates tr:last-child > * { border-bottom: 0; }
table.rates thead th { background: var(--navy); color: #fff; font: 600 14px var(--heading); }
table.rates tbody th { font: 700 15.5px var(--heading); color: var(--navy); }
table.rates tbody th a { color: var(--navy) !important; text-decoration: none; }
table.rates tbody th a:hover { color: var(--blue) !important; }
table.rates td.price { white-space: nowrap; font: 700 15.5px var(--heading); color: var(--ink-c); }
table.rates tr.group th { background: var(--ice-2); color: var(--navy); font-size: 14px; padding-block: 11px; }
table.rates tr.group th .n-ico { display: inline-grid; width: 28px; height: 28px; border-radius: 8px; vertical-align: middle; margin-right: 10px; }
table.rates tr.group th .n-ico svg.ic { width: 15px; height: 15px; }
table.rates tbody tr:not(.group):hover { background: #f8fbfe; }
.data-table th, .data-table td, .sample-table th, .sample-table td { border-bottom: 1px solid var(--rule); }
.data-table thead th, .sample-table thead th { font-family: var(--heading); color: var(--navy); font-size: 14px; border-bottom: 2px solid var(--navy); }
caption { text-align: left; font-weight: 600; padding-bottom: 8px; color: #5e6973; font-size: 14px; }
@media (max-width: 640px) {
  table.rates, table.rates tbody, table.rates tr, table.rates th, table.rates td { display: block; width: 100%; }
  table.rates thead { display: none; }
  table.rates tr { border-bottom: 1px solid var(--rule); padding: 12px 0; }
  table.rates tr.group { padding: 0; }
  table.rates th, table.rates td { border: 0; padding: 2px 16px; }
  table.rates tr.group th { padding: 10px 16px; }
  table.rates td.price { margin-top: 6px; }
}

/* Contact */
.n-contact { display: grid; gap: 14px; }
.n-contact > div { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 18px; }
.n-contact b { display: block; font: 700 15.5px var(--heading); color: var(--navy); }
.n-book { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.n-book a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none !important; color: inherit !important; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.n-book a:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(0,38,139,.45); border-color: var(--rule-strong); }
.n-book .t { font: 700 15px var(--heading); color: var(--navy); display: block; }
.n-book .s { font-size: 13.5px; color: var(--ink-2c); display: block; }
.n-book svg.go { width: 18px; height: 18px; color: var(--blue); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; background: none; border-radius: 0; }
.faq summary { cursor: pointer; font: 600 17px var(--heading); color: var(--navy); padding: 14px 0; }
.faq .ans { padding: 0 0 16px; color: var(--ink-2c); }

/* Older components: lift them into the new look */
section.alt { background: var(--ice-2); }
.card > .n-ico { margin-bottom: 16px; }
.principle .n-ico { margin-bottom: 4px; }
.n-card p b { color: var(--navy); font-family: var(--heading); font-weight: 700; }
.n-band .n-quote { box-shadow: 0 40px 80px -30px rgba(0,10,40,.6); }
.card, .rung, .post, .repcase, .cred, .callout, .selfcheck, .feature, .principle, .fact, .svc { border-radius: 14px !important; box-shadow: none; background: #fff; }
.post { text-decoration: none !important; color: inherit !important; border: 1px solid var(--rule); transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-6px) !important; box-shadow: 0 24px 44px -24px rgba(0,38,139,.4) !important; }
.post h3 { color: var(--navy); }
.rung.feat, .feat { background: var(--ice-2) !important; border-color: var(--rule-strong) !important; }
.quote { border-radius: 14px !important; }
.band { background: #fff; }
.band:nth-of-type(even) { background: var(--ice-2); }
.sprint-fees .price { background: var(--grad) !important; border-radius: 16px; }
.qlist .q { display: flex; gap: 12px; align-items: flex-start; padding-left: 0 !important; }
.qlist .q .m { display: grid !important; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ice); color: var(--blue); flex: 0 0 auto; font-size: 0 !important; position: static !important; }
.qlist .q .m svg.ic { width: 17px; height: 17px; }
.steps .step .n { display: grid !important; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 0 !important; }
.steps .step .n::before, .steps .step .n::after { display: none !important; content: none !important; }
.steps .step .n svg.ic { width: 24px; height: 24px; }

/* Forms */
input[type="email"], input[type="text"], input[type="number"] { font: inherit; padding: 11px 12px; border: 1px solid var(--rule-strong); border-radius: 8px; }

/* Motion: reveal on scroll, only once JS has marked the page as moving. */
.moving .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.moving .rv.in { opacity: 1; transform: none; }
.moving .n-cards .rv:nth-child(2), .moving .n-posts .rv:nth-child(2), .moving .n-steps .rv:nth-child(2) { transition-delay: .08s; }
.moving .n-cards .rv:nth-child(3), .moving .n-posts .rv:nth-child(3), .moving .n-steps .rv:nth-child(3) { transition-delay: .16s; }
.moving .n-cards .rv:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (max-width: 1000px) {
  .n-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-hero .w, .n-hero .wrap, .n-band .w, .n-band .wrap, .n-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .n-dash { transform: none; }
}
@media (max-width: 720px) {
  .n-stats .w, .n-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-cards, .n-cards.three, .n-posts, .n-steps, .n-creds { grid-template-columns: minmax(0, 1fr); }
  .n-steps::before { display: none; }
  .n-qrow { grid-template-columns: 36px minmax(0, 1fr); }
  .n-qrow .p { grid-column: 2; }
  .n-kpi b { font-size: 16px; }
}
@media (max-width: 460px) { .n-kpis { grid-template-columns: 1fr 1fr; } }

/* Links on dark bands stay white. */
.n-hero a:not(.btn), section.top a:not(.btn), .phero a:not(.btn):not(.topic), .n-cta a:not(.btn), .n-band > .wrap > div:first-child a:not(.btn), .n-stats a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.n-hero .n-quote a:not(.btn) { color: inherit !important; text-decoration: none; }
.n-hero .n-quote-f a { color: var(--blue) !important; }
