/* ============================================================================
 * site-sections.css — below-the-fold sections for the Nama one-page site.
 * The hero (dark) keeps its inline styles; everything here is the light,
 * flat-white editorial system from the Nama Design System.
 * ========================================================================== */

/* ── shared section scaffolding ── */
.sec { background: #FFFFFF; color: #09090B; position: relative; }
.sec.soft { background: #F7F8FA; }
.sec .wrap { max-width: 1248px; margin: 0 auto; padding: 104px 48px; position: relative; }
.sec .eyebrow2 {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #006ADF; margin-bottom: 18px;
}
.sec h2 {
  font-size: clamp(30px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.01em;
  font-weight: 600; color: #0B1220; margin: 0 0 16px; max-width: 680px; text-wrap: pretty;
}
.sec .lead { font-size: 17px; line-height: 1.55; color: #52525B; max-width: 580px; margin: 0 0 56px; text-wrap: pretty; }

/* graph-thread motif marks (toggled by the Graph motif tweak) */
.motif-mark {
  position: absolute; pointer-events: none; opacity: 0.5;
  right: 48px; top: 84px; width: 250px; height: 140px;
}
body[data-motif="bookends"] .motif-mark { display: none; }

/* ── S2 · proof ── */
.s-proof .wrap { padding: 72px 48px 84px; }
.s-proof .lab {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9CA1AB; font-weight: 600; margin-bottom: 26px;
}
.s-proof .logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.s-proof .logos img { filter: grayscale(1); opacity: 0.55; transition: opacity .2s ease, filter .2s ease; }
.s-proof .logos img:hover { opacity: 1; filter: none; }
.s-proof .logos img.aji { filter: brightness(0); opacity: 0.45; }
.s-proof .logos img.aji:hover { opacity: 0.7; filter: brightness(0); }
.s-proof .logos .txtlogo { font-size: 19px; font-weight: 700; color: #3F3F46; opacity: 0.6; letter-spacing: -0.01em; }
.s-proof .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.s-proof .stat { border-top: 1px solid #E4E4E7; padding-top: 22px; }
.s-proof .stat .n { font-size: 50px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: #0B1220; }
.s-proof .stat .n .u { color: #2684FF; }
.s-proof .stat .d { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #52525B; max-width: 300px; }
.s-proof .stat .c {
  margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #9CA1AB;
}

/* ── S2b · manifesto — the problem, stated once, big · DARK editorial beat ── */
.s-manifesto { background: #06090F; color: #EAF0FA; overflow: hidden; }
.s-manifesto .glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(85% 78% at 50% 28%, rgba(38,132,255,0.15) 0%, transparent 60%),
    linear-gradient(180deg, #0A0F1A 0%, #06090F 72%, #04060B 100%);
}
.s-manifesto .const { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.s-manifesto .wrap { max-width: 1100px; padding: 116px 48px 104px; text-align: center; position: relative; z-index: 1; }
.s-manifesto .mtxt {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.22; font-weight: 500;
  letter-spacing: -0.008em; color: #F4F8FF; margin: 0 0 64px; text-wrap: balance;
}
.s-manifesto .mtxt .hl { color: #589DFF; }
.s-manifesto .gaps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; max-width: 1000px; margin: 0 auto; }
.s-manifesto .gap { border-top: 1px solid rgba(159,176,199,0.18); padding-top: 18px; }
.s-manifesto .gap h3 { font-size: 16px; font-weight: 600; color: #F4F8FF; margin: 0 0 7px; }
.s-manifesto .gap p { font-size: 14px; line-height: 1.55; color: #AEBBD2; margin: 0; text-wrap: pretty; }

/* ── S3 · how it works ── */
.s-how .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s-how .step {
  background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 12px; padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.s-how .step .num { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: #006ADF; }
.s-how .step .viz {
  height: 168px; border-radius: 6px; background: #F7F8FB; border: 1px solid #EEF0F4;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s-how .step .viz img { max-width: 86%; max-height: 86%; object-fit: contain; }
.s-how .step .viz svg { display: block; }
.s-how .step h3 { font-size: 19px; font-weight: 600; color: #0B1220; margin: 0; }
.s-how .step p { font-size: 15px; line-height: 1.55; color: #52525B; margin: 0; text-wrap: pretty; }

/* ── S4 · architecture / product ── */
.s-arch .grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.s-arch .concepts { display: flex; flex-direction: column; gap: 8px; }
.s-arch .concept { padding: 22px 0; border-top: 1px solid #E4E4E7; display: flex; gap: 16px; }
.s-arch .concept:last-child { border-bottom: 1px solid #E4E4E7; }
.s-arch .concept .ic { color: #2684FF; flex: none; margin-top: 2px; }
.s-arch .concept h3 { font-size: 17px; font-weight: 600; color: #0B1220; margin: 0 0 6px; }
.s-arch .concept p { font-size: 14.5px; line-height: 1.55; color: #52525B; margin: 0; text-wrap: pretty; }

/* browser-chrome demo card (static recreation of a completed Searcher run) */
.demo {
  border: 1px solid #E4E4E7; border-radius: 12px; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 1px 2px rgba(26,26,26,0.05);
}
.demo .afc { animation: none; }
.demo .bar {
  height: 40px; background: #FAFAFA; border-bottom: 1px solid #E4E4E7;
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
}
.demo .bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.demo .bar .r { background: #EF4444; } .demo .bar .y { background: #F59E0B; } .demo .bar .g { background: #22C55E; }
.demo .bar .ttl { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #71717A; letter-spacing: 0.04em; }
.demo .body { padding: 18px; display: flex; flex-direction: column; gap: 13px; }

/* ── S5 · artifacts, not chats — narrative left, a real artifact right ── */
.s-art .lifecycle { margin: -18px 0 56px; display: flex; flex-direction: column; gap: 13px; }
.s-art .lc-rail { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.s-art .lc {
  font-size: 13px; font-weight: 600; color: #3F3F46;
  background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 999px; padding: 6px 14px;
}
.s-art .lc.final { color: #006ADF; border-color: #C7DEFF; background: #F5F9FF; }
.s-art .lc-sep { color: #C9CCD9; flex: none; }
.s-art .lc-keys { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA1AB; font-weight: 600; }
.s-art .lc-keys b { color: #006ADF; font-weight: 700; }
.s-art .art-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.s-art .art-group + .art-group { margin-top: 38px; }
.s-art .tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9CA1AB;
}
.s-art .art-group.win .tag { color: #006ADF; }
.s-art .art-group h3 { font-size: 22px; font-weight: 600; color: #0B1220; margin: 10px 0 16px; letter-spacing: -0.01em; }
.s-art .art-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.s-art .art-list li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: #52525B; }
.s-art .art-list li .mk {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #F4F4F5; color: #9CA1AB;
}
.s-art .art-group.win li { color: #1F2937; }
.s-art .art-group.win li .mk { background: #2684FF; color: #fff; }

/* the artifact itself — a governed, versioned piece of work */
.acard {
  background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 12px;
  box-shadow: 0 24px 56px -28px rgba(26,26,26,0.22); overflow: hidden;
  max-width: 520px; margin-left: auto;
}
.acard-top { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid #EEF0F4; }
.acard-top > svg { width: 16px; height: 16px; color: #2684FF; flex: none; }
.acard-top b { font-size: 13.5px; color: #0B1220; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-top .ver { font-size: 10.5px; font-weight: 700; color: #71717A; background: #F4F4F5; border-radius: 5px; padding: 2px 7px; flex: none; }
.acard-top .ok {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #166534; background: #DCFCE7; border-radius: 999px; padding: 3px 9px;
}
.acard-top .ok svg { width: 10px; height: 10px; }
.acard-body { padding: 15px 16px; font-size: 13.5px; line-height: 1.65; color: #1F2937; }
.acard-audit { border-top: 1px solid #EEF0F4; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 9px; background: #FBFCFE; }
.acard-audit .arow { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #52525B; }
.acard-audit .arow > svg { width: 13px; height: 13px; color: #9CA1AB; flex: none; }
.acard-audit .arow b { color: #0B1220; font-weight: 600; }
.acard-audit .arow .when { margin-left: auto; font-size: 11px; color: #9CA1AB; font-family: var(--font-mono); white-space: nowrap; }
.art-cap { margin-top: 14px; font-size: 12.5px; color: #71717A; max-width: 520px; margin-left: auto; text-align: right; }

/* ── S6 · capabilities ── */
.s-caps .cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.s-caps .card {
  background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.s-caps .card:hover { border-color: #A6CBFF; box-shadow: 0 12px 32px -16px rgba(15,23,42,0.16); }
.s-caps .card .viz {
  height: 132px; border-radius: 6px; background: #F7F8FB; border: 1px solid #EEF0F4;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s-caps .card .viz img { max-width: 84%; max-height: 84%; object-fit: contain; }
.s-caps .card h3 { font-size: 16.5px; font-weight: 600; color: #0B1220; margin: 0; }
.s-caps .card p { font-size: 13.5px; line-height: 1.5; color: #52525B; margin: 0; text-wrap: pretty; }

/* ── S7 · verticals + governance ── */
.s-gov .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.s-gov .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.s-gov .chip {
  font-size: 13.5px; font-weight: 600; color: #006ADF; background: #FFFFFF; white-space: nowrap;
  border: 1px solid #C7DEFF; border-radius: 999px; padding: 7px 15px;
}
.s-gov .panel { background: #FFFFFF; border: 1px solid #E4E4E7; border-radius: 8px; padding: 30px; }
.s-gov .panel h3 { font-size: 19px; font-weight: 600; color: #0B1220; margin: 0 0 20px; }
.s-gov .panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.s-gov .panel li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: #3F3F46; }
.s-gov .panel li svg { color: #059669; flex: none; margin-top: 3px; }
.s-gov .connectors {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid #EEF0F4;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.s-gov .connectors .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9CA1AB;
}
.s-gov .connectors img { height: 22px; filter: grayscale(1); opacity: 0.6; }

/* ── S7b · company · ten-year timeline ── */
.s-story .tl { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; position: relative; }
.s-story .tl::before { content: ''; position: absolute; left: 5px; right: 5px; top: 5.5px; height: 1px; background: #E4E4E7; }
.s-story .ms { position: relative; padding-top: 26px; }
.s-story .ms::before {
  content: ''; position: absolute; left: 1px; top: 0; width: 12px; height: 12px;
  border-radius: 50%; background: #FFFFFF; border: 2px solid #B9C7DC; box-sizing: border-box;
}
.s-story .ms.hi::before { border-color: #2684FF; background: #2684FF; }
.s-story .ms .yr { font-size: 14.5px; font-weight: 700; color: #0B1220; margin-bottom: 6px; }
.s-story .ms.hi .yr { color: #006ADF; }
.s-story .ms p { font-size: 13px; line-height: 1.5; color: #52525B; margin: 0; text-wrap: pretty; }

/* ── S8 · CTA (dark bookend) ── */
.s-cta { background: #06090F; color: #EAF0FA; position: relative; overflow: hidden; }
.s-cta .glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(90% 80% at 50% 30%, rgba(38,132,255,0.13) 0%, transparent 60%),
    linear-gradient(180deg, #0A0F1A 0%, #06090F 70%, #04060B 100%);
}
.s-cta .const { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.s-cta .wrap { max-width: 1248px; margin: 0 auto; padding: 128px 48px 120px; text-align: center; position: relative; }
.s-cta h2 {
  font-size: clamp(30px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.01em;
  font-weight: 600; color: #F4F8FF; margin: 0 auto 16px;
}
.s-cta .lead { font-size: 17px; line-height: 1.55; color: #AEBBD2; margin: 0 auto 40px; max-width: 520px; text-wrap: pretty; }
.s-cta .actions { display: flex; gap: 14px; justify-content: center; }
.s-cta .cta-reassure { margin: 18px 0 0; font-size: 13px; color: #6B7A96; letter-spacing: 0.02em; }
.s-cta .btn2 {
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  border-radius: 8px; padding: 12px 22px; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease; text-decoration: none;
}
.s-cta .btn2.primary { background: #2684FF; color: #fff; }
.s-cta .btn2.primary:hover { background: #006ADF; }
.s-cta .btn2.ghost { background: transparent; color: #D6DEEC; border-color: rgba(159,176,199,0.22); }
.s-cta .btn2.ghost:hover { background: rgba(159,176,199,0.08); }

/* ── S4b · customer quote (editorial serif moment) ── */
.s-quote .wrap { max-width: 980px; padding: 116px 48px 110px; text-align: center; }
.s-quote blockquote { margin: 0; }
.s-quote blockquote p {
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-size: clamp(24px, 2.7vw, 38px); line-height: 1.32; font-weight: 500;
  letter-spacing: -0.005em; color: #0B1220; margin: 0 0 32px; text-wrap: balance;
}
.s-quote footer { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.s-quote footer b { font-size: 14.5px; font-weight: 600; color: #0B1220; }
.s-quote footer span { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #9CA1AB; font-weight: 600; }

/* footer — multi-column, with a Security & Legal column for regulated buyers */
.site-foot { background: #04060B; color: #8A99B5; }
.site-foot .wrap { max-width: 1248px; margin: 0 auto; padding: 56px 48px 30px; }
.site-foot .foot-top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 48px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(159,176,199,0.12);
}
.site-foot .foot-brand { display: flex; flex-direction: column; gap: 15px; max-width: 320px; }
.site-foot .foot-brand > img { height: 48px; filter: brightness(0) invert(1); opacity: 0.9; align-self: flex-start; }
.site-foot .foot-brand p { font-size: 13.5px; line-height: 1.55; color: #8A99B5; margin: 0; text-wrap: pretty; }
.site-foot .foot-backed { display: flex; align-items: center; gap: 15px; margin-top: 3px; }
.site-foot .foot-backed .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #525F78; }
.site-foot .foot-backed img { filter: brightness(0) invert(1); opacity: 0.5; }
.site-foot .foot-backed .gdm { height: 13px; } .site-foot .foot-backed .nv { height: 22px; } .site-foot .foot-backed .cdl { height: 20px; }
.site-foot .foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.site-foot .foot-col { display: flex; flex-direction: column; gap: 11px; }
.site-foot .foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #525F78; margin: 0 0 4px; }
.site-foot .foot-col a { color: #C3CEE0; text-decoration: none; font-size: 14px; transition: color .15s ease; }
.site-foot .foot-col a:hover { color: #EAF0FA; }
.site-foot .foot-bottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; }
.site-foot .foot-bottom .cp { font-size: 12.5px; color: #6B7A96; }
.site-foot .foot-bottom a { color: #8A99B5; text-decoration: none; font-size: 13px; }
.site-foot .foot-bottom a:hover { color: #EAF0FA; }
.site-foot .foot-bottom .foot-sec { margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: #525F78; }

/* ── sticky nav — slides in past the hero, keeps the CTA at hand ── */
.snav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 60px;
  display: flex; align-items: center; gap: 36px; padding: 0 48px;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(9,9,11,0.07);
  transform: translateY(-100%); transition: transform .32s cubic-bezier(.3,.7,.3,1);
}
.snav.on { transform: none; }
.snav .sn-brand { display: flex; }
.snav .sn-brand img { height: 34px; }
.snav .sn-links { display: flex; gap: 26px; }
.snav .sn-links a { font-size: 14px; color: #3F3F46; text-decoration: none; transition: color .15s ease; }
.snav .sn-links a:hover { color: #09090B; }
.snav .sn-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.snav .sbtn {
  font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
  border-radius: 8px; padding: 8px 15px; border: 1px solid transparent; transition: background .15s ease;
}
.snav .sbtn.ghost { background: transparent; color: #3F3F46; border-color: #E4E4E7; }
.snav .sbtn.ghost:hover { background: #F4F4F5; }
.snav .sbtn.primary { background: #2684FF; color: #fff; }
.snav .sbtn.primary:hover { background: #006ADF; }

/* ── headline / audience tweaks ──
   Copy variants are swapped in place by site-tweaks-v2.js (single variant ships
   in the HTML, so crawlers see one clean H1 / sub / proof line — no hidden
   duplicate content). No display:none variant rules needed here anymore. */

/* ── scroll reveal (JS adds .rv; without JS everything is simply visible) ── */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.22,.7,.3,1); transition-delay: var(--rvd, 0ms); }
  .rv.rv-in { opacity: 1; transform: none; }
}

/* ── responsive ── */
@media (max-width: 980px) {
  .sec .wrap { padding: 72px 24px; }
  .snav { padding: 0 20px; gap: 18px; }
  .snav .sn-links { display: none; }
  .s-quote .wrap { padding: 80px 24px; }
  .motif-mark { display: none; }
  .s-proof .stats { grid-template-columns: 1fr; gap: 32px; }
  .s-manifesto .gaps { grid-template-columns: 1fr; }
  .s-story .tl { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .s-story .tl::before { display: none; }
  .s-how .steps { grid-template-columns: 1fr; }
  .s-arch .grid { grid-template-columns: 1fr; gap: 36px; }
  .s-art .art-grid { grid-template-columns: 1fr; gap: 40px; }
  .acard { margin-left: 0; }
  .art-cap { margin-left: 0; text-align: left; }
  .s-caps .cards { grid-template-columns: 1fr 1fr; }
  .s-gov .grid { grid-template-columns: 1fr; gap: 36px; }
  .site-foot .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .site-foot .wrap { padding: 44px 24px 28px; }
}
